Repository navigation
Add back button feature - #6
Merged
Merged
Conversation
|
Docs PR opened: cinepro-org/docs#28 Added a June 18, 2026 changelog entry covering the new media drawer back button and refreshed drawer visuals. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes several improvements to the
MediaDrawercomponent and related UI, focusing on enhanced navigation, improved design and accessibility, and code simplification. The most notable changes are the addition of a "Back" button for multi-layer navigation, visual and interactive upgrades to the drawer's content, and the removal of now-unnecessary props.Navigation and Drawer Behavior:
ArrowLeft) to theMediaDrawerfor improved navigation when multiple drawers are stacked; this uses theclosemethod from the drawer context and appears only when appropriate. The button is passed via the newheaderActionsprop toDrawerContent. [1] [2] [3] [4] [5]onCloseprop fromMediaDrawerand its usage inMediaDrawerRoot, simplifying the close logic and relying on the drawer context for closing actions. [1] [2]UI/UX Improvements:
Component API Changes:
DrawerContentto accept an optionalheaderActionsprop, allowing for flexible placement of custom header controls like the new "Back" button. [1] [2]These changes collectively improve the usability, maintainability, and appearance of the media drawer feature.