Repository navigation
Repair Skills, Routines and Apps UI regressions - #2807
Conversation
Keep one-click custom MCP and in-place Bot Setup. Repair Teach-a-Bot and What-if surfaces and reuse team status badges. Co-authored-by: Guido Vizoso <guido.vizoso9@gmail.com>
guidovizoso
left a comment
There was a problem hiding this comment.
Thanks Sam, most of this is good, and Routines, the badges and the trial dialog now match #2792 exactly.
Three things before I approve, all commented inline:
- Delete skill should be a
DeleteRowin the actions card, as it now is on routines, not a lone button under a rule. - The Skills-only heading sizes, the
mt-6gaps and the hand-drawn Proposed skills section should go. If bigger section headings are better, let's changePageSectionfor every screen, in its own PR. - Record a task lost its browser-available check, so people without a browser reach a blocked page. Was that intended?
The rest are smaller comments, not blockers.
| <Fragment key={group.label}> | ||
| {index > 0 && <Separator />} | ||
| <Item | ||
| className="cursor-pointer text-left hover:bg-muted focus-visible:bg-muted" |
There was a problem hiding this comment.
These are the only Items in the app with a hover written by hand. Other rows that act when pressed, like Run now on a routine, don't highlight, because Item only does [a]:hover:bg-muted. If button rows should highlight, that's one line in Item ([button]:hover:bg-muted) in its own PR, so every such row gets it. Not blocking.
There was a problem hiding this comment.
Keeping the hover local for these two immediate actions in this pass. During click-through they looked like plain text without hover, and adding a chevron suggested navigation. This uses the existing clickable Item treatment from the Artifacts screen (cursor-pointer, text-left, hover:bg-muted) and preserves keyboard focus. A broader change to button rows can be reviewed separately.
| return ( | ||
| // `isolate` gives the pattern its own stacking context, so it sits behind the text, not on it. | ||
| <Empty className="relative isolate mt-2 overflow-hidden rounded-lg"> | ||
| <Empty className="relative isolate mt-4 overflow-hidden rounded-lg border border-border"> |
There was a problem hiding this comment.
Not blocking, but this changes every empty state: it gets its edge back and moves to mt-4, while PageRows stays flat at mt-2. A section with rows now has no edge, an empty one has one, and it sits 8px lower. I'd rather settle this in the PR about the flat lists than here.
There was a problem hiding this comment.
Restored mt-2 to match populated PageRows. The patterned empty-state frame was explicitly requested during visual review, so I kept the edge and left the flat populated rows alone.
guidovizoso
left a comment
There was a problem hiding this comment.
Thanks Sam, all three addressed. Looks good.
davidmckayv
left a comment
There was a problem hiding this comment.
Re-approved at 196cdff. The conflict resolution keeps both #2818's Bot owner labels and the reviewed DeleteRow (skill-agents only reorders an import). The look-guard allowlist only shrinks (what-if-result drops darkColor). CI: 35 passed, 3 skipped. The earlier queue failure was the Share-dialog flake that #2829 fixes.
What this changes
Design decisions
Use PageRows, Item, Tabs, theme tokens and a shared shadcn-style Badge. The immediate Learning actions omit navigation chevrons. Skills uses standard section headings and spacing. One bordered card keeps instructions beside the required tools. Delete is the last Manage row, beneath team grants where applicable. Record a task follows the browser capability check. Manual Learning from existing sources keeps its own permissions. Empty proposals disappear because there is nothing to review. The desktop sign-in treatment is outside this pass.
The shared Badge and PageEmpty changes are included with their consumers for review. There is overlap with #2792 on Apps, Routines and badges. This builds on the already-merged #2799.
Where it runs
Web and desktop web UI. The app reuses existing APIs and permission checks. It adds no server state, listeners, schedules, database changes or release-policy changes. The local signup experiments, mock Learning sources and test account are excluded.
Changelog
OpenBot app.
Proof
96 focused Skills, Learning, Apps and Routines tests passed locally. Checked both Learning action rows for hover and keyboard focus in Chrome. Biome passed on the changed TypeScript files.
The app typecheck and all 168 active tests across the 15 changed test files also passed. The Chromium Skills layout test passed in light and dark at both 390px and 1440px.
After review, 82 focused tests and the four Chromium skill-detail layout checks passed. The empty-state frame retains the previously reviewed pattern and now uses the same top gap as populated rows. Apps follows the standard gap beneath tabs.
Dark desktop · Light phone · Dark phone