-
Notifications
You must be signed in to change notification settings - Fork 650
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
Epub viewer settings side bar redesigned #11156
Epub viewer settings side bar redesigned #11156
Conversation
Build Artifacts
|
e444ef3
to
5d1cf18
Compare
Kudos @Akila-I , this looks good! 👏🏽 Keyboard navigation is very smooth, and thank you so much for implementing the additional context in the I've run the accessibility checker after testing with the screen reader, just to be sure that I covered all the angles. It revealed several issues that would be important in some formal accessibility audit, but all pre-existing and none relevant to your GSoC work. One single point for improvement that I would recommend at this point, given the low push, is to add the missing aria labels for the two current themes (yellow and blue). As you can see, both are missing the |
Thank you for the feedback @radinamatic , sure I can add the missing labels for existing themes. |
Since adding those missing label would be changes independent from your current work, it should be safe to add in #11041 👍🏽 |
I think I might first update the design for the mobile view as well. so that we can merge a responsive UI feature |
need to modify the mobile view
4ee0e6a
to
8e40d0d
Compare
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 formally still a draft, but looks good to go! 🙂 💯
Made it ready to review. Thanks for the feedback |
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.
Hi - looks great! I added just a few very small comments for readability if you're able to get to them. Overall, really good work! Excited to get this merged :) I think it should be good to go as soon as these updates are in.
kolibri/plugins/epub_viewer/assets/src/views/AddEditCustomThemeModal.vue
Show resolved
Hide resolved
kolibri/plugins/epub_viewer/assets/src/views/CustomThemeItem.vue
Outdated
Show resolved
Hide resolved
kolibri/plugins/epub_viewer/assets/src/views/SettingsSideBar.vue
Outdated
Show resolved
Hide resolved
kolibri/plugins/epub_viewer/assets/src/views/SettingsSideBar.vue
Outdated
Show resolved
Hide resolved
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.
Thanks @Akila-I! 🎉
9cb8a25
into
learningequality:epub-custom-themes
Summary
With the user customized themes introduced in the epub viewer, the name of the themes is identified as an important attribute to be showed to the user. Also the compact view of the DELETE and EDIT buttons associated with each custom theme makes the settings side bar UI look overpopulated with items in it.
This PR refers to the designs from the Kolibri design team. As the first step of implementing the new design, The settings side bar view is modified to give user a simple and intuitive set of items to navigate through.
Also the focus management in the Modals to select different colors for the themes is implemented as well.
This PR is followed by the changes introduced in #11041 .
Screenshots
Before (Desktop view)
After (Desktop view)
Before (Mobile view)
After (Mobile view)
References
Figma design for the new EPUB viewer settings : https://www.figma.com/file/zpwcUcGR8D0hKUGvZU8kf3/Enhanced-EPUB-Renderer?type=design&node-id=0%3A1&mode=design&t=CgU7rA96zHncjSwZ-1
Reviewer guidance
Followings can be experienced in reviewing:
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)