-
Notifications
You must be signed in to change notification settings - Fork 738
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
App navigation refactor #12084
App navigation refactor #12084
Conversation
Build Artifacts
|
Remove unneeded core API exports.
Delete unneeded logout side nav entry.
Update for useUser composable.
Update apiSpec. Make icon and url required. Add url sort for consistent ordering.
…tion item. Handle when it has no defined subroutes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I may have more comprehension questions, but so as to get this moving again after delaying, I'll start with the questions I have, and then follow up as needed once I digest the answers :)
Hi @rtibbles, here are the issues I was able to identify:
profile-mydownloads.mp4
The same is also valid for the Mac app: 2024-05-08_16-07-25.mp4
|
These all seem like problems - although I thought I had handled the icon colour already. One thing to note is that because I moved the location of the sign out string, this will remain unlocalized until we've done the translation pass to reinstate the translated string. |
Hey @ellipsis, give me a code review |
OK! Reviewing this PR... Responding to this comment by @rtibbles. For more information about Ellipsis, check the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 4762360 in 2 minutes and 43 seconds
More details
- Looked at
2925
lines of code in44
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. /kolibri/core/assets/src/views/AppBar.vue:19
- Draft comment:
The implementation of centralized navigation items usingregisterNavItem
is well-executed. It simplifies the management of navigation items across different parts of the application. Good job on enhancing maintainability and consistency! - Reason this comment was not posted:
Confidence changes required:0%
The PR description and the changes made in the code indicate that the navigation items are now being registered and managed centrally, which is a significant improvement in terms of maintainability and consistency across the application. The use ofregisterNavItem
in various components to define navigation items is consistent with the goal of centralizing navigation configuration. This approach not only reduces redundancy but also simplifies the management of navigation-related features.
Workflow ID: wflow_rqX52Vp7RqvnfxvQ
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
⌛ 6 days left in your free trial, upgrade for $20/seat/month or contact us.
@marcellamaki have addressed comments. @pcenov I have fixed all the reported issues (except the internationalized Sign out, which will not be fixed until we redo translations, as noted). |
Hi @rtibbles - I confirm that the reported issues are fixed now. While regression testing I spotted just one more - in mobile view the ellipsis button is positioned too close to the right, it's oval-shaped when clicked and the dots are white: 2024-05-17_17-05-10.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good to go on my side, one the small final UI updated that Peter noticed is fixed. (I am also not opposed to that being follow up if it's not a super quick fix, but it seems like it might be easier to just fix rather than open an issue for it)
Summary
References
Fixes #11731
Fixes #10395
Reviewer guidance
Test navigation in each of the SPAs, and also in app mode on a touch device to ensure that the bottom app bar is properly populating
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)Summary:
Refactors app navigation by updating the registration API, introducing a
useNav
composable, and removing outdated patterns.Key points:
useNav
composable for better state management.Generated with ❤️ by ellipsis.dev