Skip to content

Polish task readiness, sticky actions and timestamp placement - #5643

Merged
danieljhkim merged 1 commit into
agent-mainfrom
orbit/ORB-17512-4994c039
Oct 22, 2026
Merged

danieljhkim merged 1 commit into
agent-mainfrom
orbit/ORB-17512-4994c039

Conversation

@orbit-agent-01

Copy link
Copy Markdown
Contributor

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.

  1. 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.

  2. 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.

  3. 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

  • Expanded lock readiness displays the status once and each holder ID once, in a clickable Held by row; multiple holders wrap, unknown holders remain explicit, and dependency/live-run blockers retain their distinct meaning and working links.
  • Applicable lifecycle actions remain visible throughout scrolling in the task detail opened from Drain/Tasks, including full-page and narrow panel/sheet layouts. The footer does not obscure the last content, focused controls or opened forms, and preserves existing status/tab/readonly/confirmation/pending behavior.
  • Created and Updated form one subdued metadata group at the end of Overview content, above and outside the sticky action bar. Values/time formatting are preserved, the row wraps at 375px, and timestamps no longer appear loose beneath action buttons.
  • Attach rendered dark-theme before/after evidence at desktop and 375px, including long-content scrolled states, and record navigation, scroll and applicable action-state checks and outcomes. Use isolated fixtures for mutations; do not claim source-string assertions as visual verification.

Execution Summary

Click to expand

Outcome: success

Changes:

  • Expanded lock readiness now shows the status once, unique clickable holders under Held by, a separate Live run row and explicit unknown-holder fallback. Depends on links and compact badges remain intact.
  • Overview lifecycle controls share an opaque sticky footer with a divider, safe-area padding and a bounded scrolling Reject composer. Full-height pane/pinned-detail containers anchor short tasks too. Existing action handlers, status/tab availability, pending/read-only safeguards and Comment placement are preserved.
  • Created/Updated now form a subdued wrapping metadata group at the end of Overview, outside the footer, retaining absTimeNode and UTC/Local behavior.
  • Updated the UI design document and extended the shipped dashboard browser harness with behavioral regressions; no source-text tests or Rust test sources added.

Acceptance evidence:

  1. PASSED: Chromium rendered five unique holders from duplicate conflict input at 1440px/375px; holders wrapped on the phone. Task/workspace hrefs and holder/dependency navigation passed; unknown-holder, dependency-status and live-run-only cases retained distinct meanings.
  2. PASSED: Real .task-detail-body scrolling at top/middle/end in pane, full page and phone sheet kept the footer at the viewport bottom. Drain wait-card navigation opened the shared renderer. Pixel hit tests found focused editor Cancel and enlarged Reject Cancel unobscured. Reject cancel restored focus; submit posted the fixture note. Archive dismiss sent nothing; confirm posted once. Existing suite passed status gating, Ship pending/duplicate protection, review-claim approval refusal, tab scope, comment draft/refresh and navigation. Final read-only desktop/375px captures show disabled controls, a visible reason and bottom anchoring; no forwarded writes occurred.
  3. PASSED: Timestamp DOM membership, exact UTC fixture values, desktop alignment, phone wrapping, full visibility above the footer and absence outside Overview passed. Existing UTC/local persistence and non-UTC-zone behavior passed.
  4. PASSED: 24 attached dark screenshots include six base captures and final desktop/375px, long-content scrolled, timestamp, unknown-holder, Reject, short-task, Drain-entry and read-only views. Every file is below 1 MiB. All mutations were isolated browser API fixtures, without touching live task state or dispatching work.

Validation (final candidate; browser-kit environment sourced, Cargo checks sequential):

  • PASSED: node crates/orbit-web/tests/http_api/dashboard_task_panel_browser.mjs "$PLAYWRIGHT_MODULE" .orbit/tmp/presentation/checks — new regressions plus the existing navigation/draft/action suite.
  • PASSED: dashboard_host_switch_browser.mjs via scratch copy adding a footer capture; final desktop and phone read-only capture scenarios.
  • PASSED: make ci-guards.
  • PASSED: cargo fmt --all -- --check.
  • PASSED: scripts/build-budget.py -- cargo clippy -p orbit-web --lib --bins -- -D warnings -D clippy::disallowed_methods.
  • PASSED: scripts/build-budget.py -- cargo clippy -p orbit-web --all-targets -- -D warnings -A clippy::disallowed_methods.
  • PASSED: RUSTDOCFLAGS="-D warnings" scripts/build-budget.py -- cargo doc --no-deps -p orbit-web.
  • PASSED: scripts/build-budget.py -- cargo test -p orbit-web --lib dashboard_assets — 1 passed.
  • PASSED: scripts/build-budget.py -- cargo test -p orbit-web --test http_api dashboard_assets — 13 passed; one unrelated opt-in context-basename browser case remains ignored and was NOT RUN.
  • EXPECTED FAILURE: new browser regression with base tasks.js failed on the duplicated lock heading; qa/base-regression.log records it.
  • FAILED then corrected: the initial HTTP asset invocation omitted the browser-kit library environment and Chromium lacked libatk. Sourcing the verified kit resolved the runner setup; the final invocation passed without product changes or weaker checks.
  • PASSED: git diff --check and final status reconciliation.
  • NOT RUN: blanket CI gates per AGENTS.md; golden regeneration, local CodeQL and docs-index regeneration have no applicable trigger. Static docs-index verification passed. Required hosted PR checks remain pipeline-owned; the injected task names no final validation commands.

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:

  • qa/qa-evidence.json maps steps, expected/actual observations, commands, limits and reconciliation.
  • qa/task-panel-result.json and qa/host-switch-assertions.json hold browser results; qa/*.log holds final gates, initial environment failure and baseline regression evidence.
  • screenshots/before-page-dark-1440.png
  • screenshots/before-page-scrolled-dark-1440.png
  • screenshots/before-pane-dark-1440.png
  • screenshots/before-pane-dark-375.png
  • screenshots/before-pane-scrolled-dark-1440.png
  • screenshots/before-pane-scrolled-dark-375.png
  • screenshots/presentation-from-drain-dark-375.png
  • screenshots/presentation-page-end-dark-1440.png
  • screenshots/presentation-page-scrolled-dark-1440.png
  • screenshots/presentation-page-top-dark-1440.png
  • screenshots/presentation-pane-dark-1440.png
  • screenshots/presentation-pane-dark-375.png
  • screenshots/presentation-pane-scrolled-dark-1440.png
  • screenshots/presentation-pane-scrolled-dark-375.png
  • screenshots/presentation-reject-dark-1440.png
  • screenshots/presentation-reject-dark-375.png
  • screenshots/presentation-short-task-dark-375.png
  • screenshots/presentation-timestamps-dark-1440.png
  • screenshots/presentation-timestamps-dark-375.png
  • screenshots/presentation-unknown-holder-dark-1440.png
  • screenshots/presentation-unknown-holder-dark-375.png
  • screenshots/host-read-only-1440.png
  • screenshots/host-read-only-footer-dark-1440.png
  • screenshots/host-read-only-footer-dark-375.png

Validation

  • Not reported

Branch Freshness

  • Base ref: origin/agent-main
  • Head ref: orbit/ORB-17512-4994c039
  • Behind base: 0
  • Ahead of base: 1

Orchestrated-By: sol

…[ORB-17512]

Planned-By: codex
Orchestrated-By: sol
@danieljhkim
danieljhkim merged commit e589dff into agent-main Oct 22, 2026
9 checks passed
@danieljhkim
danieljhkim deleted the orbit/ORB-17512-4994c039 branch October 22, 2026 02:55
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.

2 participants