feat(settings): redesign settings UI and localize help text#1933
feat(settings): redesign settings UI and localize help text#1933bajrangCoder merged 15 commits intoAcode-Foundation:mainfrom
Conversation
Greptile SummaryThis PR redesigns the Acode settings UI with a cleaner two-tier layout (main overview + detail pages), category grouping with section cards, a new Key changes:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[settingsPage called] --> B[normalizeSettings\nextract note, attach info getter]
B --> C[listItems\nbuild DOM items]
C --> D{item has category?}
D -- yes --> E[buildListContent\nwrap in section card]
D -- no --> F[flat list item]
E --> G[children array\nsections + flat items]
F --> G
G --> H{note exists?}
H -- top --> I[unshift note]
H -- bottom --> J[push note]
H -- no note --> K
I --> K[$list.content = children]
J --> K
C --> L[searchItems\nflat list of items]
K --> M{shouldEnableSearch?}
M -- united or separate>5 --> N[search icon added to header]
N --> O[searchBar component]
O --> P{typing in search}
P --> Q[createSearchHandler]
Q -- united --> R[query all uiSettings pages]
Q -- separate --> S[filter searchItems by text]
R --> T[buildSearchContent\ngroup by data-searchGroup]
S --> T
T --> U[render grouped\nsearch results]
K --> V[item click]
V --> W[resolveItemInteraction]
W --> X{item type}
X -- select --> Y[select dialog]
X -- checkbox --> Z[toggle checkbox]
X -- prompt --> AA[prompt dialog]
X -- file/folder --> AB[FileBrowser]
X -- color --> AC[colorPicker]
X -- link --> AD[openInBrowser]
Y & Z & AA & AB & AC --> AE[updateItemValueDisplay\nsync tail or inline value]
AE --> AF[callback key, value]
|
|
@greptileai check again |
This PR improves the settings experience with a cleaner settings layout, better grouping, and clearer help text across the redesigned settings screens.
Demo