Skip to content

feat(navigation): align stories and structure#13

Merged
marklearst merged 1 commit into
pr/03-vitestfrom
pr/13-navigation
Jan 8, 2026
Merged

feat(navigation): align stories and structure#13
marklearst merged 1 commit into
pr/03-vitestfrom
pr/13-navigation

Conversation

@marklearst
Copy link
Copy Markdown
Owner

Overview
feat(navigation): align stories and structure

Changes

  • feat(navigation): align stories and structure

Copilot AI review requested due to automatic review settings January 8, 2026 03:27
Copy link
Copy Markdown

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 aligns the navigation and breadcrumb-navigation components with the project's current coding standards and improves their Storybook stories structure. The changes primarily focus on code formatting, modernizing imports, migrating from react-popper to @floating-ui/react, and enhancing story interactivity.

Key changes:

  • Migration from react-popper to @floating-ui/react for popover positioning
  • Standardization of code style (single quotes, no semicolons, experimental ternaries) to match prettier configuration
  • Modernization of imports (type imports, direct React type imports instead of React namespace)
  • Addition of test files for Navigation and BreadcrumbNavigation components
  • Refactoring of stories to use args/argTypes pattern for better interactivity

Reviewed changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/components/navigation/navigation.tsx Updated imports and formatting to match project standards
src/components/navigation/navigation.test.tsx Added new test file covering basic navigation functionality
src/components/navigation/navigation.stories.tsx Refactored story to use args/argTypes pattern with interactive controls
src/components/navigation/navigation-popover.tsx Migrated from react-popper to @floating-ui/react, updated imports and formatting
src/components/navigation/navigation-popover-panel.tsx Updated to use floating-ui refs and removed attributes prop, aligned formatting
src/components/navigation/navigation-popover-overlay.tsx Simplified imports and updated formatting
src/components/navigation/navigation-popover-context.tsx Updated context types for floating-ui API, aligned formatting
src/components/navigation/navigation-popover-button.tsx Updated ref callback for floating-ui, aligned formatting
src/components/navigation/navigation-group.tsx Updated imports and applied experimental ternary formatting
src/components/navigation/navigation-group-item-tag.tsx Modernized imports and aligned formatting
src/components/navigation/navigation-disclosure.tsx Updated imports and applied experimental ternary formatting
src/components/navigation/navigation-disclosure-panel.tsx Modernized imports and aligned formatting
src/components/navigation/index.ts Updated quote style to match project standards
src/components/breadcrumb-navigation/index.tsx Updated quote style to match project standards
src/components/breadcrumb-navigation/breadcrumb-navigation.tsx Modernized imports and aligned formatting
src/components/breadcrumb-navigation/breadcrumb-navigation.test.tsx Added new test file covering basic breadcrumb functionality
src/components/breadcrumb-navigation/breadcrumb-navigation.stories.tsx Updated imports and aligned formatting with project standards
src/components/breadcrumb-navigation/breadcrumb-navigation-item.tsx Modernized imports and aligned formatting
src/components/breadcrumb-navigation/breadcrumb-navigation-arrow.tsx Simplified imports and updated formatting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from pr/12-icons to pr/03-vitest January 8, 2026 03:50
@marklearst marklearst merged commit c61adb4 into pr/03-vitest Jan 8, 2026
8 of 11 checks passed
@marklearst marklearst deleted the pr/13-navigation branch January 8, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants