| name | firefly-navbar-config |
| description | 修改 Firefly 导航栏配置。Use when adding or reordering nav links, menu children, or search method in src/config/navBarConfig.ts, and when needed sync page toggles in src/config/siteConfig.ts. |
Firefly Navbar Config
Overview
Adjust navigation links and search behavior while respecting page toggle dependencies.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
- src/config/navBarConfig.ts
- src/config/siteConfig.ts
Common Keys
- links[] / children[] / external / icon / name / url
- navBarSearchConfig.method
- siteConfig.pages.sponsor / pages.guestbook / pages.bangumi (affects dynamic menu visibility)
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.