Uh oh!
There was an error while loading. Please reload this page.
feat(console): business-first Approvals Inbox revamp - #1643
Merged
Conversation
Rebuilds the approvals inbox from a developer debug view into a business workbench, consuming the enriched row contract from objectstack-ai/objectstack#1728: - Rows lead with the flow's display label + record title link and the requester's name instead of flow:manager_review / opaque ids; status badges use semantic colors (emerald/amber/red/slate) and waiting times get aging tints (amber >1d, red >3d). - Drawer: business summary card (record link, requester, formatted key payload fields), action timeline, raw JSON collapsed; actor override is admin-only; disabled Approve/Reject always explain why; Recall is wired to the new endpoint behind a confirmation. - My Pending matching now sees better-auth's single `role` string (incl. comma-separated lists) — role-addressed approvals previously never reached the tab; pending resolves all identities in ONE comma-separated request; the tab badge is a dedicated my-pending count instead of drifting with the active tab's rows. - Bulk approve gains a confirmation dialog (reject already had one) and failures report which records failed, not just a count. - Search covers record titles / requester names / process labels; new status filter on the non-pending tabs. - Quick actions on row hover, j/k/Enter/x/a/r keyboard flow, card layout on mobile, humanized error toasts, and full i18n across all ten locales (approvalsInbox.* keys). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Companion to objectstack-ai/objectstack#1728. Rebuilds the Approvals Inbox from a developer debug view into a business workbench. Full e2e review + redesign rationale: tested against the showcase app (approve / reject / recall / multi-step chain / bulk / keyboard / mobile all verified in-browser).
P0 fixes
buildApproverIdentitiesonly read arolesarray, but better-auth sessions carry a singlerolestring (possibly comma-separated). Both shapes resolve now.approverIdrequest (the server already supported it).HTTP_404: Not found.P1 — information architecture
approvalsInbox.*keys in all ten locales (locale-parity test green).P2 — efficiency
j/k/Enter/x/a/rkeyboard flow with a hint line, card layout on mobile (the table used to truncate to 2 columns at 375px).Test plan
@object-ui/i18n: 100/100 (incl. locale-parity) ✅tsc --noEmitclean on console + i18n ✅recalled+ timeline entry, bulk approve confirm → 2 approved, keyboard a/r, mobile cards, zero console errors ✅🤖 Generated with Claude Code