Skip to content

Conversation

@dallasbpeters
Copy link
Member

  • Added theme mode toggle in BNAnimatedMenuIcon and support for auto-inserting it in BNAppBar.
  • Enhanced BNAppBar with dropdown menus for tabs and improved mobile drawer functionality.
  • Normalized tab alignment and spacing, repositioned account Popper, and refined MuiAccordion styles.
  • Fixed issues with blank menu items and dividers in dropdowns.
  • Added documentation stories for new features and migrated Vite configuration for Storybook testing.

- Added Storybook test configuration using Vitest with Playwright support.
- Defined a new project for Storybook tests, enabling browser testing with specified settings.
- Included setup files for Vitest integration with Storybook.
- Introduced a theme toggle feature in the BNAnimatedMenuIcon, allowing users to switch between light, dark, and system modes.
- Enhanced BNAppBar to conditionally include the theme toggle in the menu items.
- Updated BNAppBarDrawer to sanitize menu items
- Improved tab dropdown functionality in BNAppBar
- Added new props and slot customization options
…ation

- Removed unnecessary state management for menu positioning in BNAnimatedMenuIcon.
- Updated BNAppBar to directly use processed menu items, eliminating the mobile drawer filter.
- Introduced a theme toggle component in BNAppBarDrawer, allowing users to switch themes.
- Enhanced menu item rendering logic to support nested items and improved accessibility.
- Adjusted styling and layout for better user experience in the app bar drawer.
- Added theme mode toggle in BNAnimatedMenuIcon and support for auto-inserting it in BNAppBar.
- Enhanced BNAppBar with dropdown menus for tabs and improved mobile drawer functionality.
- Normalized tab alignment and spacing, repositioned account Popper, and refined MuiAccordion styles.
- Fixed issues with blank menu items and dividers in dropdowns.
- Added documentation stories for new features and migrated Vite configuration for Storybook testing.
@dallasbpeters dallasbpeters marked this pull request as ready for review October 13, 2025 18:02
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds theme mode toggle functionality to the BNAppBar component and enhances tab functionality with dropdown menus. It also migrates the Vite configuration to support Storybook testing and refines various UI component styles.

Key changes include:

  • Theme toggle integration in BNAnimatedMenuIcon and BNAppBar with auto-insertion support
  • Enhanced tab functionality with dropdown menus for desktop and improved mobile drawer behavior
  • UI refinements for tab alignment, accordion styles, and menu positioning

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
vite.config.js Migrated from vitest.workspace.js to projects configuration with Storybook testing support
src/themes/base/components/MuiAppBar.ts Added tab normalization styles for consistent alignment and icon spacing
src/themes/base/components/MuiAccordion.ts Enhanced accordion styling with border radius and divider improvements
src/stories/CHANGELOG.mdx Updated changelog with new features, changes, and fixes
src/stories/BNAppBar.stories.tsx Added new stories for theme toggle, dropdown menus, and various scenarios
src/components/app-bar/BNAppBarDrawer.tsx Enhanced drawer with theme toggle component and improved menu item handling
src/components/app-bar/BNAppBar.tsx Added dropdown tab functionality and theme toggle integration
src/components/app-bar/BNAnimatedMenuIcon.tsx Implemented theme toggle using ToggleButtonGroup and improved menu positioning
package.json Version bump to 1.1.0

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- Extracted ThemeToggleItem component in BNAnimatedMenuIcon to prevent unnecessary re-renders.
- Refined menu item rendering logic for better accessibility and maintainability.
@RoleModel RoleModel deleted a comment from Copilot AI Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants