feat(fonts): add target-based font assignments in font manager and option to set app font#1994
Conversation
…tion to set app font
Greptile SummaryThis PR extends the font manager with per-target font assignment (app UI, editor, and terminal independently or all at once) and adds a dedicated "App font" setting in the app settings page. The implementation is well-structured: Key changes:
Minor issues found (all P2):
Confidence Score: 5/5Safe to merge; all findings are minor P2 style/UX improvements with no correctness or data-integrity impact. The logic for font application, settings persistence, startup initialisation, and error fallbacks is all correct. The three flagged issues are purely cosmetic or a minor redundancy and do not affect runtime behaviour. src/pages/fontManager/fontManager.js — contains the three P2 issues; all other files are clean. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[User opens Font Manager] --> B[renderFonts]
B --> C[Default item getAppliedTargets]
B --> D[Per-font items getAppliedTargets]
C --> E{User taps item}
D --> E
E --> F[chooseApplyTarget fontName or '']
F --> G[select dialog App / Editor / Terminal / All]
G -->|app| H[fonts.setAppFont save appFont]
G -->|editor| I[fonts.setEditorFont save editorFont]
G -->|terminal| J[updateActiveTerminals save terminalSettings.fontFamily]
G -->|all| K[setAppFont + setEditorFont + updateActiveTerminals save all three]
H --> L[appSettings.update]
I --> L
J --> L
K --> L
L --> M[toast + renderFonts]
Reviews (1): Last reviewed commit: "fix" | Re-trigger Greptile |
No description provided.