Commit 2211b10
fix(workspace): port 2 A2 UX fixes — palette :active + locked-premium upgrade CTA
A2 cross-project audit: 12 remaining HelpmateAI Day-37 UI fixes
visually + code diffed against Job Agent. 10 DISMISS (Job Agent's
independently-built frontend already does the right thing — icon-only
mobile search clustered with the avatar, fixed FAB assistant panel vs
inline margin-top:auto ask-group, fully inline-styled FeedbackButtons,
data-active accent palette rows, Step-7b tier-limit Notice + in-scope
.b-notice-action CTA, expires_at retention labels, etc.). Only TWO
real defects ported:
7913bb6 — command-palette :active touch press. CommandPalette sets
data-active only via onMouseEnter / Arrow keys (no touch path), so a
tapped row on a phone got zero press feedback. Added `.b-cmd-item
:active` (+ icon) mirroring the existing `[data-active="true"]`
treatment exactly, so touch and keyboard selection look identical.
Pure additive CSS.
425a87d + 11a18d8 — locked Premium toggle had no actionable upgrade
(P1). On Free the toggle was HTML-`disabled`, so its only upgrade
hint was a hover `title` — invisible on touch, dead control. The
toggle was already always-visible (11a18d8's "obvious/visible" half
is satisfied), so only the actionable-locked-state needed porting.
Split the disabled reasons: tier-locked stays interactive (a tap
calls the new onPremiumLockedUpgrade -> WorkspaceShell surfaces the
SAME upgrade Notice + .b-notice-action CTA the 429 tier-limit path
uses, with workspaceQuota.upgrade_url); analysisLoading /
out-of-credits remain real disables. Controlled `checked` stays false
when tier-locked so premium never flips on. Reuses the established
Notice mechanism — no new toast/CSS.
tsc + eslint clean. Command palette regression-checked (renders fine,
:active is additive). Premium-toggle path code-verified (reuses the
already-rendered Notice+action surface); a live check would need a
provisioned resume+JD workspace.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b82e772 commit 2211b10
3 files changed
Lines changed: 60 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7444 | 7444 | | |
7445 | 7445 | | |
7446 | 7446 | | |
| 7447 | + | |
| 7448 | + | |
| 7449 | + | |
| 7450 | + | |
| 7451 | + | |
| 7452 | + | |
| 7453 | + | |
| 7454 | + | |
| 7455 | + | |
| 7456 | + | |
| 7457 | + | |
| 7458 | + | |
| 7459 | + | |
| 7460 | + | |
| 7461 | + | |
| 7462 | + | |
| 7463 | + | |
7447 | 7464 | | |
7448 | 7465 | | |
7449 | 7466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
| |||
137 | 145 | | |
138 | 146 | | |
139 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
140 | 159 | | |
141 | 160 | | |
142 | 161 | | |
| |||
238 | 257 | | |
239 | 258 | | |
240 | 259 | | |
| 260 | + | |
241 | 261 | | |
242 | | - | |
243 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
244 | 274 | | |
245 | 275 | | |
246 | 276 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2097 | 2097 | | |
2098 | 2098 | | |
2099 | 2099 | | |
| 2100 | + | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
| 2104 | + | |
| 2105 | + | |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
2100 | 2111 | | |
2101 | 2112 | | |
2102 | 2113 | | |
| |||
0 commit comments