control panel: code hygiene after the UI pass — table grammar and card shells into the kit, redeclared kit classes retired, BEM contractions, dead code, and the sidebar's dropped i18n #1444
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1444
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Control-panel UI pass (Ben, 2026-09-10 → 09-12, commit
078cd5b3, merged to main 2026-09-12). The end-of-pass Standards review (CODING-STANDARDS.md + the smell baseline) found the items below. None changes behaviour; each is a refactor with the existing unit tests as the net. Filed as one ticket so the swarm does them as one commit series, not fifteen.What to do
th / td / tr:last-childblock is byte-identical (bar numbers) indashboard/src/components/members/MembersScreen.vue,members/KomitiPanel.vue,members/ManageGroupsDialog.vue,backups/BackupsOverviewScreen.vue,backups/BackupsFirstRunScreen.vue. Add.oc-table(+__numright-aligned tabular cell,__row--actclickable row) topackages/ui-kit/src/baseLayer.css; the five screens wear it. NOTE the.oc-rowhazard already recorded in those files: the kit's.oc-rowis a FLEX row and must never land on a<tr>.1.5px solid var(--oc-line) / panel / 10pxis restated inshell/DeviceCard.vue,shell/ServiceCards.vue,shell/SystemCard.vue,shell/FleetDiagram.vueinstead of.oc-card(DDR 0151).FleetDiagram.vuere-types the.oc-pilltones the pass deleted from FleetScreen — useOcPill..oc-field/.oc-hintindevice-add/AddDeviceScreen.vueandRentServerScreen.vue(1.5px/8px inputs vs the kit's 1px/4px worn by InviteScreen);.oc-linkinmonitoring/AlertContactCard.vueandmembers/InviteScreen.vue; an unused.oc-ledeincatalogue/CatalogueScreen.vue. Delete the copies, wear the kit's.shell/DeviceCards.vue≡shell/ServiceCards.vue(diff = 4 lines) → oneOcGhostCardin the kit or a shared component.lib/stackExport.tsEXPORT_TITLE≡EXPORT_BUTTON→ one.oc-rent__q,__sizeh,__cta(RentServerScreen),oc-place__pic, CatalogueScreen--cand,__prod,__hist,__unavail,__reqd,__sugs/__sug, SelectDeviceDialog__card-prod/__card-desc, SelectRoleServicesScreenoc-select__cath, ServiceCards/SystemCard__prod. Spell them out.provisioning/SelectRoleServicesScreen.vuekeepstileFace/TILE_FACE_KEY/logoForand the Browse-tab comments for a toggle nothing writes any more — logos are a requirement of the card now (Ben, 2026-09-11), so drop the toggle and always show the mark. Unused exports:hasServiceMark,ServerPreset,UplinkState,DeviceRole,gatewayRowName;OverviewScreen.vuecommunityNameprop;SelectDeviceDialog.vue&__go--quiet. The prototype benchdashboard/tests/e2e/preview-harness/{fleet-diagram.html,fleetDiagram.ts,prototypes/*}(~800 lines) is referenced by nothing — delete on Ben's word (it was the three-option fleet-diagram comparison; the chosen option isFleetDiagram.vue).packages/ui-kit/src/components/NavChrome.vuedropped$t('kit.nav.*')for literals and a hand pluraliser; the four localenav:blocks inpackages/ui-kit/src/i18n/index.tsare dead. Restore$t(the kit otherwise localises;dashboard/tests/unit/i18n.test.tsis the net).!beyond DOM lookups —InviteScreen.vue,ManageGroupsDialog.vue,catalogue/CatalogueSurface.vue,monitoring/FleetServicesStatusScreen.vue,SelectRoleServicesScreen.vue,SystemCard.vue(props.source!.catalogueBrowse!()),ServiceCards.vue,PlaceScreen.vue,RentServerScreen.vue. Guard or narrow instead.'System'category literal (SystemCard, ServiceCards, CatalogueScreen) → oneSYSTEM_CATEGORYexport inlib/catalogue.ts; the tone → OcPill mapping inline in BackupsOverviewScreen and MembersScreen → one helper;chipGlyphbad→▲ in DeviceCard vs bad→● in FleetDiagram → one glyph table.lib/brandkit.tsPALETTE_PRESETSholds hex in production lib (ADR 0122 lists preset swatches as fake data). Move to the brand-kit seam's answer or the fake.snakeize(req) as WireMintCodeRequestinlib/api/enrollClient.tshides thatname/kind/locationare not in the generated wire type — that becomes honest when #1431 lands; until then narrow the cast so a dropped field is a type error.Acceptance criteria
pnpm -C dashboard testandpnpm -C packages/ui-kit testgreen;vue-tscclean;eslintclean.grep -rn "border: 1.5px solid var(--oc-line)" dashboard/srcfinds only the kit;grep -rn "\.oc-link\|\.oc-field {" dashboard/srcfinds no redeclaration.grep -rn '\$t(' packages/ui-kit/src/components/NavChrome.vuefinds the nav labels again and the harness in all four locales reads the sidebar translated.dialogstate, the Overview's device/System/service/members rows, the sidebar chrome — unit debt from Ben's 2026-09-10/11 UI pass #1399Blocked —
agent-blocked(cannot-proceed: the prerequisite UI pass is not inmain)This ticket is the Standards-review fallout of the control-panel UI pass whose Parent line names "commit
078cd5b3, merged to main 2026-09-12". That commit and its code are not present in this repository'smain(HEAD1e5bdf60), so there is nothing here to refactor.Verified against the current tree:
git cat-file -t 078cd5b3→fatal: Not a valid object name— the parent commit is not an ancestor ofmain.dashboard/orpackages/:shell/DeviceCard.vue,shell/DeviceCards.vue,shell/ServiceCards.vue,shell/SystemCard.vue,shell/FleetDiagram.vue,catalogue/CatalogueScreen.vue,catalogue/CatalogueSurface.vue,provisioning/RentServerScreen.vue,provisioning/SelectDeviceDialog.vue,provisioning/PlaceScreen.vue,lib/stackExport.ts.dashboard/tests/e2e/preview-harness/does not exist; item 10'sPALETTE_PRESETSis not inlib/brandkit.ts.NavChrome.vuealready localises with$t('kit.nav.*')(lines 37/47/106) and the fournav:locale blocks inpackages/ui-kit/src/i18n/index.tsare live (last touched by #1380, 2026-09-10). There is no dropped-i18n regression to restore.grep -rn "border: 1.5px solid var(--oc-line)" dashboard/src→ empty). Item 3's.oc-field {/.oc-linkappear in ~24 unrelated screens (backups/provisioning/mail/members), not the two files named (AddDeviceScreen/RentServerScreen,AlertContactCard/InviteScreen) —AlertContactCard.vuehas no.oc-linkredeclaration at all.Only fragments of the ticket have a real subject here:
monitoring/AlertContactCard.vue,provisioning/SelectRoleServicesScreen.vue,lib/catalogue.ts,lib/brandkit.ts, and the item-11snakeize(req) as WireMintCodeRequestcast inlib/api/enrollClient.ts. The other ten items reference code that has not landed. Doing only the fragments — or inventing the missing components — would neither be the filed scope nor satisfy the acceptance greps (which describe a different tree), and risks colliding with the real UI-pass merge when it arrives.What a human must do to re-arm
Merge the control-panel UI pass (parent commit
078cd5b3/ its rebased equivalent) intomainso the named components exist, then re-addready-for-agent. If the pass landed under different paths/SHAs, please update this ticket's file references and acceptance greps to the merged tree and re-arm. Until the pass is inmain, this hygiene series has no subject to act on..oc-system-alerttype breaks the #258 product-type-scale guard (0.72em / 0.82em under ADR 0122's 0.85em floor) #1446