Queue

The agent's todo list, split into what is left and what is done. A todo moves from one section to the other when it is done.

Usage

Queue

Add dark mode to the settings page.
Add a dark variant to the theme tokensRead the theme from a cookieAdd a toggle to the settings pageCheck contrast on the charts

Dark mode is in. The toggle is under Settings, Appearance.

import { NgTemplateOutlet } from '@angular/common';import {  Component,  DestroyRef,  ViewEncapsulation,  computed,  inject,  signal,} from '@angular/core';import {

A Trace with a collapsible line for each section, To do and Completed; the icon on each todo shows its status.

Anatomy

import {  ScTrace, ScTraceLine, ScTraceIcon, ScTraceTitle,  ScTraceCollapsible, ScTraceCollapsibleTrigger, ScTraceCollapsiblePanelContent,  ScCollapsible, ScCollapsibleTrigger, ScCollapsiblePanel,} from '@semantic-components/ui';
<div scTrace>  <div scCollapsible scTraceCollapsible [open]="true">    <button scCollapsibleTrigger scTraceCollapsibleTrigger>      <span scTraceLine>        <span scTraceIcon><svg siListTodoIcon></svg></span>        <span scTraceTitle>2 to do</span>      </span>    </button>    <div scCollapsiblePanel>      <div scTraceCollapsiblePanelContent>        <div scTrace>          <span scTraceLine>…</span>        </div>      </div>    </div>  </div>  <div scCollapsible scTraceCollapsible>… 1 completed …</div></div>

Statuses

The agent sends the whole list each time it updates it: render the latest. Mark the todo in progress as running only while the chat streams, so its title stops shimmering when the agent stops.

Todo statusSectionIconLine status
pendingTo dosiCircleIconnone
in_progressTo dosiCircleDotIcon"running" while the chat streams
completedCompletedsiCircleCheckIconnone

Examples

A todo with a description opens to show it; one without stays a line.

Descriptions

Update the registry snapshots
import { NgTemplateOutlet } from '@angular/common';import { Component, ViewEncapsulation } from '@angular/core';import {  ScCollapsible,  ScCollapsiblePanel,  ScCollapsibleTrigger,  ScTrace,  ScTraceCollapsible,  ScTraceCollapsiblePanelContent,  ScTraceCollapsibleTrigger,

RTL

إضافة مفتاح في صفحة الإعداداتفحص التباين في المخططات
إضافة نسخة داكنة لرموز السمةقراءة السمة من ملف تعريف الارتباط
import { Dir } from '@angular/cdk/bidi';import { Component, LOCALE_ID, ViewEncapsulation } from '@angular/core';import {  ScCollapsible,  ScCollapsiblePanel,  ScCollapsibleTrigger,  ScTrace,  ScTraceCollapsible,  ScTraceCollapsiblePanelContent,  ScTraceCollapsibleTrigger,

API reference

See the Trace.