You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use shared dark-theme colors for links and dropdown triggers while preserving
hover, keyboard focus, and current-page feedback.
Open dropdowns on desktop mouse hover, retain touch click toggling, and bridge
the trigger-to-menu gap. Center menus on their triggers with viewport and
mobile drawer edge avoidance through Idea React positioning.
Render desktop navigation outside a dialog to prevent automatic focus on
About after refresh, while retaining the mobile drawer and keyboard focus
restoration.
Validated Simplified Chinese and English navigation with mouse, keyboard,
mobile touch, and mixed-input simulations. TypeScript, ESLint, formatting,
and production build checks passed.
Wrap each dropdown Menu in NavItem and restore its default div root to match
Bootstrap 6 and Idea React navbar examples without nesting list items.
Connect NavbarToggler aria-controls to a stable navigation ID shared by the
desktop container and mobile drawer across breakpoint changes.
Desktop hover opening and trigger-centered menus with edge avoidance are
intentional UX customizations requested for this site. Bootstrap deliberately
uses click-to-open menus; this change does not treat that upstream default as
a bug. Touch clicking and keyboard focus behavior remain supported.
CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.
Parsing warnings: 1
Validation error: Unrecognized key: "code_generation" at "reviews"
If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
No actionable comments were generated in the recent review.
Reviewing files that changed from the base of the PR and between b1a3778 and d128995.
Files ignored due to path filters: 2
package.json is excluded by none and included by none
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml and included by none
Files selected for processing: 4
components/Navigator/MainNavigator.module.css
components/Navigator/MainNavigator.tsx
components/Navigator/MainNavigatorMenu.tsx
pages/_document.tsx
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
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
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.
Checklist(清单):
变更内容
NavItem > Menu结构,并补齐导航按钮的aria-controls关联。交互定制说明
Bootstrap 的一级菜单默认通过点击展开,本 PR 的桌面悬停展开、菜单居中及边缘避让属于本站的 UX 定制。实现优先复用 Idea React 的定位和键盘操作能力,局部样式使用 CSS Modules。
Closes #123
Summary by CodeRabbit