Use Select for known options and take vocabularies from the server #1760

Closed
opened 2026-11-02 04:14:38 +00:00 by sam · 2 comments
Owner

Native select or free text where the options are known:

  • ui/src/accounts/PersonalTokensCard.vue:78-80: NativeSelect for four lifetimes.
  • ui/src/settings/CredentialBindingsPage.vue:47, 52: service and organisation as free text; the store already has credentialServices (ui/src/stores/settings.ts:515).
  • ui/src/curators/CuratorsPage.vue:134-177: model, tools (comma text) and memory engine.
  • ui/src/settings/AgentProfilesPage.vue:87: tools as comma text.
  • ui/src/org/OrgAccessPage.vue:157: policy object kind; ui/src/org/OrgModelsPage.vue:99-104: provider class.
  • ui/src/chat/ChatChooseCard.vue:78-86: model choice as a row of buttons.

Local copies of server vocabulary: provider classes (ui/src/settings/SystemModelsPage.vue:42, 78), step and workflow titles (ui/src/workflows/labels.ts:3-7, workflow-graph.ts:150-167), container default and warning rule (ui/src/settings/ContainerRuntimePage.vue:29, 58-66), channel labels written twice (CanaryStatusCard.vue:68-72, UpdateSettingsCard.vue:22-26), a new connection defaulting to github (ConnectionsPage.vue:71).

Done when: known lists use Select or TagsInput fed by the server, and the local copies are deleted (confirm a server source exists for each first).

Native select or free text where the options are known: - `ui/src/accounts/PersonalTokensCard.vue:78-80`: NativeSelect for four lifetimes. - `ui/src/settings/CredentialBindingsPage.vue:47, 52`: service and organisation as free text; the store already has `credentialServices` (`ui/src/stores/settings.ts:515`). - `ui/src/curators/CuratorsPage.vue:134-177`: model, tools (comma text) and memory engine. - `ui/src/settings/AgentProfilesPage.vue:87`: tools as comma text. - `ui/src/org/OrgAccessPage.vue:157`: policy object kind; `ui/src/org/OrgModelsPage.vue:99-104`: provider class. - `ui/src/chat/ChatChooseCard.vue:78-86`: model choice as a row of buttons. Local copies of server vocabulary: provider classes (`ui/src/settings/SystemModelsPage.vue:42, 78`), step and workflow titles (`ui/src/workflows/labels.ts:3-7`, `workflow-graph.ts:150-167`), container default and warning rule (`ui/src/settings/ContainerRuntimePage.vue:29, 58-66`), channel labels written twice (`CanaryStatusCard.vue:68-72`, `UpdateSettingsCard.vue:22-26`), a new connection defaulting to `github` (`ConnectionsPage.vue:71`). Done when: known lists use Select or TagsInput fed by the server, and the local copies are deleted (confirm a server source exists for each first).
sam added the mediumtask labels 2026-11-02 04:14:38 +00:00
sam self-assigned this 2026-11-02 04:14:38 +00:00
Author
Owner

Partially done in 0d0cd091 — the sites with a server source are converted: token lifetimes NativeSelect→Select; credential binding service/org are Selects fed by credentialServices and the org list; curator + agent-profile tools are TagsInput (comma text gone); curator model, org/system provider class and chat model choice are Selects fed by /api/config's model catalog (SystemModelsPage's local CLASSES list deleted). Verified: task check passed on the committed tree (one gate failure was a disk-quota hiccup from a stale bin/, cleared and re-ran clean).

Not converted — no server source exists for them today, per the issue's "confirm a server source exists first": policy object kind, curator memory engine, update channel labels, connection-type default (github), container default/warning, and step titles (x-step-types carries only name/needs_repository/settings). Those would need a server-side catalogue addition first — worth a follow-up issue if you want them.

Partially done in 0d0cd091 — the sites with a server source are converted: token lifetimes NativeSelect→Select; credential binding service/org are Selects fed by credentialServices and the org list; curator + agent-profile tools are TagsInput (comma text gone); curator model, org/system provider class and chat model choice are Selects fed by /api/config's model catalog (SystemModelsPage's local CLASSES list deleted). Verified: task check passed on the committed tree (one gate failure was a disk-quota hiccup from a stale bin/, cleared and re-ran clean). Not converted — no server source exists for them today, per the issue's "confirm a server source exists first": policy object kind, curator memory engine, update channel labels, connection-type default (github), container default/warning, and step titles (x-step-types carries only name/needs_repository/settings). Those would need a server-side catalogue addition first — worth a follow-up issue if you want them.
Author
Owner

Fixed in 0d0cd091 and pushed to main. Gate: task check exited 0 on the committed tree.

Fixed in 0d0cd091 and pushed to main. Gate: task check exited 0 on the committed tree.
sam closed this issue 2026-11-07 06:09:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1760