Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new App Launcher Navigation #158

Merged
merged 7 commits into from
Mar 20, 2024
Merged

Implement new App Launcher Navigation #158

merged 7 commits into from
Mar 20, 2024

Conversation

jbouder
Copy link
Collaborator

@jbouder jbouder commented Mar 14, 2024

Reference Issues or PRs

N/A

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

Screenshots

Screenshot 2024-03-14 at 4 54 02 PM Screenshot 2024-03-14 at 4 54 13 PM Screenshot 2024-03-14 at 4 54 24 PM

Any other comments?

  • Added Top Navigation (App Bar) to layout
  • Added new Profile Menu to Top Navigation
  • Added Side Navigation (Drawer) to layout
  • Updated Main area for new navigation
  • Updates to underlying jhub_apps service to support consistent layout

Copy link

vercel bot commented Mar 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jhub-apps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 3:54pm
jhub-apps-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 3:54pm

Comment on lines -6 to -16
return window.jhdata
? window.jhdata
: JSON.parse(localStorage.getItem('jhdata') || '{}');
};

/**
* Store JupyterHub data in local storage for non-hub pages
* @param data
*/
export const storeJhData = (data: JhData) => {
localStorage.setItem('jhdata', JSON.stringify(data));
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Realized we had an endpoint for getting user data, so removed this and replaced with accessing from endpoint and storing in global storage

@aktech
Copy link
Member

aktech commented Mar 19, 2024

Can you merge the latest main, that's probably why the docs deployment is failing.

@aktech
Copy link
Member

aktech commented Mar 20, 2024

nitpick: If there are too many of them on the sidebar, we can't see the last one:

Screen.Recording.2024-03-20.at.10.18.11.am.mov

@jbouder
Copy link
Collaborator Author

jbouder commented Mar 20, 2024

The plan right now is to put the services under expandable sections, which would be collapsed by default, so that should help. We just don’t have the mechanism yet for categorization. That said, it might be worth mentioning during our design/dev sync this week as something to reconsider.

@jbouder jbouder closed this Mar 20, 2024
@jbouder jbouder reopened this Mar 20, 2024
Copy link
Member

@aktech aktech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! 🎉

@aktech aktech merged commit 25418d8 into nebari-dev:main Mar 20, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants