Repository navigation
UI polish for #37901: View Request opens the tasks tab, Withdraw asks first, Workflows tabs - #38702
Conversation
- View Request opens the asset's Activity Feeds & Tasks tab with the request selected (classic and AI mode), instead of the standalone task page - Withdraw request asks for confirmation in a 400px modal - ConfirmationModal takes an optional width (default unchanged, 520) - Pending-request menu moved into PendingRequestMenu - Workflows page filter uses core Tabs instead of ButtonGroup - New locale keys in all 21 languages
Code Review
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source
UI browser testsRan: all test files (no impact map from main yet) Result: ✅ 1070 passed · 154 skipped Changed code executed by these browser tests: 3 / 37 lines (8%)
Changed files no browser test loads
|
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Describe your changes:
Part of #37901. This is a UI-polish hand-off into
feat/lifecycle-exits, notmain. Merge it into that branch after review.Counterpart Collate PR: open-metadata/openmetadata-collate#8973 (Transitions editor).
I polished the lifecycle request UX from #37901:
…/activity_feed/tasks?taskId=<id>), in both classic and AI mode. Before, it opened the standalone/tasks/<id>page.ConfirmationModalat 400px, with the title "Withdraw request?" and a message naming the requested and current stage. The confirm button shows a spinner while withdrawing.ConfirmationModaltakes an optionalwidth. The default stays 520, so every other caller is unchanged.EntityStatusBadgeintoPendingRequestMenu. This kept complexity under the lint limit, and the test ids are unchanged.Tabsinstead ofButtonGroup.Type of change:
High-level design:
These are UI-only changes, with no backend or API changes. The task link uses the existing
taskIdquery parameter that the inbox already reads (useLinkedTaskId).Screenshots: before and after, light and dark
These were taken in Collate, because OpenMetadata shows the status badge only for Metrics. Each image is a 2×2 grid. Columns are Before (#37901 as is) and After. Rows are Light (classic mode) and Dark (AI mode).
Workflows page tabs

Pending request menu

View Request → Activity Feeds & Tasks, request selected (before: standalone task page)

Withdraw asks first (before: withdrew immediately)

Tests:
Use cases covered
Unit tests
TaskListV1.component.test.tsxis new, with 7 cases: linked task, off-page fetch, fetch failure, later page, and the user's later pick.EntityStatusBadge.test.tsxcovers the confirm and cancel flow and the tasks-tab link.WorkflowsPage.test.tsxnow looks for tab roles.ActivityFeed,EntityStatusBadge,ConfirmationModalandWorkflowsPage: all passed (343 at the last full run of these folders).tscare clean on changed files.Backend integration tests
Playwright (UI) tests
LifecycleRequest.spec.tswas updated so Withdraw confirms in the modal.Manual test steps
Checklist:
11284a3e014againstREVIEW.md.c91a1e50e7a: 🔴 View Request selected the wrong task when the request wasn't on the loaded page. It now fetches the task by id, and the link is used once.TaskListV1users, such as incidents, now honour?taskId=too, which is harmless.🤖 Generated with Claude Code