Commit e1c5d0a
committed
refactor(ui): reorganize IA + design refresh on the superapp blueprint
Restructure the existing desktop app (no new features) so future superapp
surfaces (Chat, Agents, Models) are config additions, not layout work — per
mcpmux.space/superapp/03-experience-design.md.
Information architecture:
- Navigation is now data (lib/navigation.ts): a top "use" zone (Home) and
Library / Control zones; Settings pinned to the sidebar footer. Adding a
future page = one NavEntry.
- Newcomer naming, plumbing words demoted to subtitles: Dashboard → Home,
My Servers → Tools, Built-in Servers → Context, Clients → Apps; SpacesPage
heading fixed from "Workspaces" → "Spaces" (collided with the actual
Workspaces page); Discover gets a Compass icon (was a duplicate Server).
- NavItem store keys and every data-testid are unchanged (ADR-003 contract).
Design refresh (on-template: flat tints + solid accent strips, no gradients):
- Sidebar: accent-strip active state, refined zone labels, hover micro-
motion, hint tooltips on every item.
- Home extracted from App.tsx into features/home/HomePage.tsx; stat tiles
redesigned as clickable shortcuts (accent strip, tinted icon, hover lift)
that navigate to the page they count.
- New shared PageHeader (@mcpmux/ui) — one header pattern (tracking-tight
title, capped subtitle, pinned actions); adopted by Tools, Apps, and Home.
- Per-Space accent system (lib/spaceAccent.ts): deterministic curated hue
per Space id, applied to the SpaceSwitcher glyph tile and the status-bar
Space dot — instant context awareness across the app.
Tests updated for renamed labels (testids untouched): wdio + Playwright
specs and page objects (Dashboard→Home, My Servers→Tools, Connections→Apps,
Built-in Servers→Context, stat-card labels, welcome copy).
Verified: vitest 174 passed, tsc clean, eslint 0 errors, production web
build green.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent 96ac65e commit e1c5d0a
36 files changed
Lines changed: 1721 additions & 1285 deletions
File tree
- apps/desktop/src
- components
- features
- builtinServers
- clients
- home
- registry
- servers
- spaces
- lib
- packages/ui/src
- components
- common
- layout
- tests/e2e
- pages
- specs
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
6 | 32 | | |
7 | 33 | | |
8 | 34 | | |
| |||
68 | 94 | | |
69 | 95 | | |
70 | 96 | | |
71 | | - | |
| 97 | + | |
72 | 98 | | |
73 | | - | |
| 99 | + | |
74 | 100 | | |
75 | 101 | | |
76 | 102 | | |
77 | | - | |
| 103 | + | |
78 | 104 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
83 | 116 | | |
84 | 117 | | |
85 | 118 | | |
86 | | - | |
| 119 | + | |
87 | 120 | | |
88 | 121 | | |
89 | 122 | | |
90 | 123 | | |
91 | 124 | | |
92 | | - | |
| 125 | + | |
93 | 126 | | |
94 | | - | |
| 127 | + | |
95 | 128 | | |
96 | 129 | | |
97 | | - | |
| 130 | + | |
98 | 131 | | |
99 | 132 | | |
100 | 133 | | |
101 | | - | |
| 134 | + | |
102 | 135 | | |
103 | 136 | | |
104 | 137 | | |
105 | 138 | | |
106 | 139 | | |
107 | 140 | | |
108 | 141 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
115 | 147 | | |
116 | 148 | | |
117 | | - | |
118 | | - | |
| 149 | + | |
| 150 | + | |
119 | 151 | | |
120 | | - | |
| 152 | + | |
121 | 153 | | |
122 | 154 | | |
123 | 155 | | |
| |||
168 | 200 | | |
169 | 201 | | |
170 | 202 | | |
171 | | - | |
| 203 | + | |
172 | 204 | | |
173 | 205 | | |
174 | 206 | | |
| |||
Lines changed: 15 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | | - | |
| 169 | + | |
169 | 170 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
| |||
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
186 | | - | |
| 188 | + | |
187 | 189 | | |
188 | 190 | | |
189 | 191 | | |
| |||
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
195 | | - | |
| 197 | + | |
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| |||
0 commit comments