| name | firefly-sidebar-config |
| description | 修改 Firefly 侧边栏布局配置。Use when changing sidebar position, component order, per-page visibility, or mobile bottom widgets in src/config/sidebarConfig.ts. |
Firefly Sidebar Config
Overview
Arrange sidebar widgets and responsive behavior across post and non-post pages.
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/sidebarConfig.ts
Common Keys
- enable / position / showRightSidebarOnPostPage
- leftComponents[] / rightComponents[] / mobileBottomComponents[]
- component.type / enable / position / showOnPostPage / showOnNonPostPage / configId
- component.responsive.collapseThreshold
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.