Repository navigation
Description
Split from #5194 (itself split from #5156, item 4 of 7 of #4708).
What the screens do now
The change for #5194 has the chat pickers, the breadcrumb's project switcher and Home read Home's page of projects (GET /api/app/projects/sidebar, 100, the pinned first) and, while that page does not hold every project, the server's name search for what is typed (GET /api/app/projects/search, 20 at most), with a selected project past the page read by id (GET /api/app/projects/:id). The rules they share are in services/platform/app/features/projects/lib/project-choices.ts; the projects feature's hook is useProjectChoices (app/features/projects/hooks/queries.ts).
The automations screens still read every project the caller can read, through useProjects (projects/queries:listProjects, GET /api/app/projects, no LIMIT). Paths under services/platform/app/features/automations/components/:
- pickers: the blank and upload dialogs' target project (
blank-automation-dialog.tsx,upload-automation-dialog.tsx, a plainSelect), the template setup (template-setup.tsx), the issue import's project, reached from the run actions (run-actions.tsx→automation-run-dialog.tsx→issue-import-fields.tsx) and from the issue-import continuation (issue-import-continuation.tsx), and the project bindings (project-bindings-section.tsx, aMultiSelect); - names only: the list's projects column (
automations-list.tsx), and the editor and the trigger editor, which keep the automation's bound projects (automation-editor.tsx,trigger-editor.tsx).
What to do
- Each single-project picker offers
useProjectChoicesfor what is typed, with the selected project resolved by id, instead ofuseProjects; a plainSelectthat has to reach a project past the page becomes aSearchableSelect. - The project bindings need a
MultiSelectthat searches on the server: it reports what is typed (asSearchableSelect'sonSearchChangedoes), and every bound project stays offered, read by id when the page lacks it. - A screen that only names projects reads the projects it names (by id, or the bindings' own rows), never every project.
Done means:
- no automations screen loads every project the caller can read;
- a project past Home's 100 can still be picked, bound and shown;
- tests cover a picker with more projects than one page holds.
The settings screens, and retiring the app's whole-list read once this lands, are #5205.
Activity
perf(platform): search projects on the server in the pickers
perf(platform): move the automations screens onto project search
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
tale-code-bot commentedon Nov 1, 2026
Landed on Tale's feature line: feature train #5241 landed on
release/0.6by rebase at 2026-11-01T01:56:42Z, and this change is now commit 4f8c787 there (perf(platform): search projects on the server in automations screens). It ships with Tale 0.6.0.GitHub closes issues by itself only for commits on
main, so the feature-train role closes this one as completed. Task: TALE-289.perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
21 remaining items
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens
perf(platform): search projects on the server in the pickers
perf(platform): search projects on the server in automations screens