Repository navigation
Polish task readiness, sticky actions and timestamp placement - #5643
Merged
Merged
Conversation
…[ORB-17512] Planned-By: codex Orchestrated-By: sol
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 free
to 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.
Task
ORB-17512 — Polish task readiness, sticky actions and timestamp placement
Description
Outcome
Daniel requests one dashboard task covering three related task-detail presentation fixes, illustrated by his attached screenshots. The detail is reachable from the Drain panel as well as the Tasks view.
Remove duplicated lock-wait wording. The expanded readiness block currently shows “Waiting on locks · waits on ORB-17508” followed by “Waits on ORB-17508”. Use a status-only heading “Waiting on locks” and a single “Held by” row with clickable task IDs. Show each holder once, preserve task/workspace navigation, wrap multiple holders, and retain an honest unknown-holder fallback. Preserve distinct dependency and live-run blocker information with appropriate labels; do not discard these to remove duplication. Keep compact wait badges elsewhere useful.
Keep lifecycle actions visible while scrolling. Put the existing Ship, Reject and Archive controls (and Approve where already applicable) in one sticky footer/action bar anchored to the task detail panel's own visible scroll viewport, with an opaque dark surface, subtle top divider and adequate bottom padding/safe-area spacing. Content must not disappear underneath it. Preserve current action availability by status/tab, read-only refusals, disabled/pending state, confirmation flows and keyboard accessibility. The Comment form/action stays in its existing context. This is layout work, with no auto-dispatch or lifecycle-policy change.
Give timestamps a clear home. Group Created and Updated in a single subdued, labeled metadata row at the end of the task's Overview content, immediately above and outside the sticky action bar. Use one horizontal row where space permits, wrapping cleanly on narrow screens. Preserve the actual timestamp values and existing UTC/time-format behavior. Do not leave two loose timestamp lines beneath the action buttons, and do not make timestamps consume sticky footer space.
Modification anchors
crates/orbit-web/assets/dashboard/js/tasks.js: buildDrainReadiness, buildTaskDetail, buildActionsRow and buildTaskTimestamps; css/task-detail.css contains task-stamps styles; css/tasks.css owns the pane/page scroll layout. drain-waits.js is supporting context for structured holders, run IDs and dependencies; prefer fixing the expanded renderer without altering compact badge contracts. ORB-17511 separately owns moving Back to list to the upper right; preserve that change and allow context locks to serialize overlapping tasks rather than duplicating its scope.
Validation and authority
Verify the rendered dark dashboard at desktop and 375px phone widths, with long content, multiple/unknown lock holders, and applicable action/readonly states. Exercise scrolling in the real container and check focused controls and opened forms remain reachable; use disposable task fixtures for any mutating navigation/action checks. Attach before/after screenshots, including scrolled states. Run focused behavior checks only; do not add source-text-matching tests or speculative unit coverage for layout. File only; no promotion or dispatch requested.
Acceptance Criteria
Execution Summary
Click to expand
Outcome: success
Changes:
Acceptance evidence:
Validation (final candidate; browser-kit environment sourced, Cargo checks sequential):
Reconciliation:
Starting HEAD 2895ec7; starting git status was clean. Exactly six deliverable paths remain: the three selected JS/CSS files, crates/orbit-web/tests/http_api/dashboard_task_panel_browser.mjs, new crates/orbit-web/tests/http_api/dashboard_task_presentation_browser.mjs, and docs/design/user-interface/2_design.md. The two browser files supply regression/interaction evidence; the design document removes stale behavior descriptions, explaining all paths outside the initial selectors. No pre-existing edits, renames, deletions, cleanup or non-deliverable leftovers. Scratch/evidence remain under ignored .orbit/tmp only. Changes are uncommitted; no lifecycle transition, promotion or dispatch was performed.
Assessment: All four criteria have candidate evidence. The shared renderer and original lifecycle handlers remain the implementation boundary. Evidence is rendered Chromium with disposable API fixtures rather than a live scheduler/store; no live mutation is claimed. The footer deliberately bounds an enlarged Reject composer to half the viewport and scrolls its contents.
Artifacts:
Validation
Branch Freshness
origin/agent-mainorbit/ORB-17512-4994c039Orchestrated-By: sol