docs(web-ui): note live-ticking approval request-age chip + precise stale threshold
This commit is contained in:
parent
4731b64f3e
commit
b6cda34371
1 changed files with 6 additions and 2 deletions
|
|
@ -657,8 +657,12 @@ renderApprovals`) with three stacked sections:
|
||||||
- **identity header** — glyph, `#id`, agent, kind chip, (for
|
- **identity header** — glyph, `#id`, agent, kind chip, (for
|
||||||
`apply_commit`) the short proposal sha as `<code>`, and a
|
`apply_commit`) the short proposal sha as `<code>`, and a
|
||||||
right-aligned `requested <N> ago` relative time from
|
right-aligned `requested <N> ago` relative time from
|
||||||
`ApprovalView.requested_at` — amber once the request has been
|
`ApprovalView.requested_at`. The chip ticks live every second
|
||||||
pending ≥ 1h so a stale approval stands out.
|
via a `data-requested-at` attribute + client-side interval (no
|
||||||
|
re-render). Turns amber once the request has been pending ≥ 1h
|
||||||
|
so a stale approval stands out; the `.stale` class flips
|
||||||
|
precisely at the 3600s boundary rather than at the next
|
||||||
|
`renderApprovals` call.
|
||||||
- **what-changed body** — the manager's description, then
|
- **what-changed body** — the manager's description, then
|
||||||
drill-in triggers: `↳ view diff` opens the diff in the side
|
drill-in triggers: `↳ view diff` opens the diff in the side
|
||||||
panel; `↳ commit on forge ↗` deep-links the proposal commit
|
panel; `↳ commit on forge ↗` deep-links the proposal commit
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue