Skip to content

Repair Skills, Routines and Apps UI regressions - #2807

Merged
samjulien merged 13 commits into
mainfrom
codex/ui-audit-local
Dec 3, 2026
Merged

samjulien merged 13 commits into
mainfrom
codex/ui-audit-local

Conversation

@samjulien

@samjulien samjulien commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

What this changes

  • Skills groups recording, manual Learning and proposal review directly below Your skills. Each allowed source has a keyboard-accessible action row that highlights on hover. A pending proposal opens for review. Clearing the queue hides that subsection and leaves manual Learning available.
  • Skill details group the instructions with the tools they need, show app and tool glyphs, and give Delete an explicit destructive action.
  • Sidebar follow-up requested in local review: Artifacts sits below conversation search.
  • Apps uses shared line tabs, tighter search spacing and a theme-aware GitHub mark. Routines gets a dedicated edit page and groups its controls. Restore patterned empty states and the first-routine welcome, and clean up list, trial and warning treatments.

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.

  • Skills. Record a task, start Learning from available sources, and review proposed skills on the Skills page. Skill details show the instructions and required tools together.
  • Apps and Routines. Browse apps with clearer tabs and search spacing, edit a routine on its own page, and find Artifacts below conversation search.

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.

Skill detail at desktop width in light mode

Dark desktop · Light phone · Dark phone

@guidovizoso guidovizoso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. Delete skill should be a DeleteRow in the actions card, as it now is on routines, not a lone button under a rule.
  2. The Skills-only heading sizes, the mt-6 gaps and the hand-drawn Proposed skills section should go. If bigger section headings are better, let's change PageSection for every screen, in its own PR.
  3. 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"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@samjulien
samjulien requested a review from guidovizoso December 2, 2026 21:32
guidovizoso
guidovizoso previously approved these changes Dec 2, 2026

@guidovizoso guidovizoso left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Sam, all three addressed. Looks good.

@samjulien
samjulien added this pull request to the merge queue Dec 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026

@davidmckayv davidmckayv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Merged via the queue into main with commit df19b66 Dec 3, 2026
38 checks passed
@samjulien
samjulien deleted the codex/ui-audit-local branch December 3, 2026 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants