Skip to content

Add back button feature - #6

Merged
CHRaclette merged 5 commits into
mainfrom
dev
Jun 18, 2026
Merged

CHRaclette merged 5 commits into
mainfrom
dev

Conversation

@CHRaclette

Copy link
Copy Markdown
Contributor

This pull request makes several improvements to the MediaDrawer component 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:

  • Added a "Back" button (using ArrowLeft) to the MediaDrawer for improved navigation when multiple drawers are stacked; this uses the close method from the drawer context and appears only when appropriate. The button is passed via the new headerActions prop to DrawerContent. [1] [2] [3] [4] [5]
  • Removed the onClose prop from MediaDrawer and its usage in MediaDrawerRoot, simplifying the close logic and relying on the drawer context for closing actions. [1] [2]

UI/UX Improvements:

  • Enhanced the drawer's visual design with multi-layer overlays, improved gradients, and refined styling for elements such as the logo/title, meta information, action buttons, and overview text. Animations and drop shadows were added for a more polished look.
  • Limited the number of genre badges displayed to three and improved their appearance for better clarity and aesthetics.
  • Updated button and icon sizes, padding, and hover states for better accessibility and user experience.

Component API Changes:

  • Extended DrawerContent to accept an optional headerActions prop, 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.

@CHRaclette CHRaclette self-assigned this Jun 18, 2026
@CHRaclette CHRaclette added the enhancement New feature or request label Jun 18, 2026

@An0n-01 An0n-01 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

tuff tuff

@CHRaclette
CHRaclette merged commit 109ee4e into main Jun 18, 2026
2 checks passed
@mintlify

mintlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants