web: motion across panes and rows, and the last polish
- Panes fade in on a destination/tab/selection change only; list rows FLIP when they move (sort, star, filter) and fade in when they appear; removals close the gap through the same move. Reduced-motion users get none of it. - Modal panels (audit, viewers, diff, tool calls, confirmations) arrive with a short scale/fade. - A collapsed list hides its filter/sort toolbars; the Refresh tooltip is stamped as soon as a populated list first paints. - The smoke settles after a sort before measuring a row for a click.
This commit is contained in:
@@ -269,6 +269,7 @@ function renderPipelineRow(pipeline, latestRuns, runsKnown, now) {
|
||||
{
|
||||
class: `row${state.selectedPipelineId === pipeline.id ? " selected" : ""}`,
|
||||
"data-pipeline-id": String(pipeline.id),
|
||||
"data-animate-key": `pipeline:${pipeline.id}`,
|
||||
onclick: () => selectPipeline(pipeline),
|
||||
},
|
||||
...children,
|
||||
|
||||
@@ -119,6 +119,7 @@ function renderRunRow(run, now) {
|
||||
const row = h("button", {
|
||||
class: `row run-row${state.selectedRunId === run.id ? " selected" : ""}`,
|
||||
"data-run-id": String(run.id),
|
||||
"data-animate-key": `run:${run.id}`,
|
||||
onclick: () => selectRun(run.id),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user