diff --git a/platform/frontend/src/app/agents/page.client.tsx b/platform/frontend/src/app/agents/page.client.tsx index b546d84e01c..d7f356aac81 100644 --- a/platform/frontend/src/app/agents/page.client.tsx +++ b/platform/frontend/src/app/agents/page.client.tsx @@ -621,6 +621,7 @@ function Agents({ initialData }: { initialData?: AgentsInitialData }) { actions={!isDeletedView ? : undefined} > }> [data-pointer-events-none]) { pointer-events: none; } + +/* ── Data table: request in flight ── + The sweeping half of ``'s loading bar. The bar's track, colours + and fade-in live in the component; only the animation needs a keyframe, and + the width belongs with it because the two are one motion. */ + +@keyframes archestra-table-loading-sweep { + 0% { + transform: translateX(-100%); + } + 100% { + transform: translateX(340%); + } +} + +.archestra-table-loading-sweep { + width: 30%; + animation: archestra-table-loading-sweep 1.1s ease-in-out infinite; +} + +/* Motion sensitivity: hold the bar still and fill the track instead. It still + marks the table as busy, which is the information the bar carries. */ +@media (prefers-reduced-motion: reduce) { + .archestra-table-loading-sweep { + width: 100%; + animation: none; + } +} diff --git a/platform/frontend/src/app/knowledge/connectors/_parts/connector-documents-table.tsx b/platform/frontend/src/app/knowledge/connectors/_parts/connector-documents-table.tsx index 61028090b67..2063d1eab6c 100644 --- a/platform/frontend/src/app/knowledge/connectors/_parts/connector-documents-table.tsx +++ b/platform/frontend/src/app/knowledge/connectors/_parts/connector-documents-table.tsx @@ -283,6 +283,7 @@ export function ConnectorDocumentsTable({
: undefined} > - +