Commit Graph
6 Commits
Author SHA1 Message Date
Alessandro cb068179c9 Add configurable sidebar chat and message search
Search loaded chat and task titles and messages from the sidebar, with Standard, Compact, and No search modes in the existing filters menu. Preserve project, status, and activity filters, keep matching child conversations accessible, and leave Welcome Chats search independent.

Show compact, title-aligned excerpts with Unicode-safe match emphasis and no duplicate title previews. Use the Search placeholder and the chat composer's background, border, and focus transition. Retain authentication, query validation, stale-response protection, and keyboard navigation.

Validation: 33 focused Python tests and both frontend suites passed. Checked search modes, persistence, child/task fixtures, dark and light themes, keyboard focus, and touch emulation against the live Docker runtime. Final CSS polish was visually checked; git diff --check passed.
2026-10-31 03:12:00 +01:00
linkliti 4603ac4baf refactor(plugins): serve the tasks and memory surfaces through plugin extension points
Serve the tasks dropdown entry and the tasks and memory welcome cards through plugin extension points, and drop the corresponding core markup including the header tasks entry and the hardcoded memory card. Keep the shared flatpickr preload in the core page head and drop the memory entry tooltip. Repoint the chat naming and sidebar folders stores at the plugin task store and update the sidebar DOX wording.

Validation: pytest tests/test_scheduler_editor.py tests/test_webui_extension_surfaces.py tests/test_sidebar_row_actions.py
2026-10-21 23:37:31 +03:00
Alessandro 52744fe7b1 Fix sidebar folder lag during activity and focus updates
Replace repeated full-context family scans with a fresh parent-child index shared within each grouping and filter pass.

Retain unchanged configuration, ordering, project lists and rendered sections to avoid unnecessary sidebar reconciliation. Preserve reactive row metadata, nested family pins, sorting, filters and collapse behavior without a persistent cache.

Add frontend regressions and document the state-identity contracts. Verified the frontend suite, 33 focused Python tests and 17 live browser checks. In a local 274-chat sample, median activity updates fell from about 67 ms to 15 ms; unchanged focus refreshes produced zero sidebar DOM mutations.
2026-10-06 21:31:33 +02:00
Alessandro 3397c4f87c Reduce sidebar agent indentation and remove row tooltips
Reduce indentation from 30px to 25px at the first two child levels, preserving the deeper-level taper.

Remove new-chat and overflow tooltips from sidebar rows while retaining accessible labels and both Chats header tooltips. Update sidebar contracts to match.

Validation: 7 focused pytest checks passed, sidebar folder frontend checks passed, and live browser checks confirmed row labels and header tooltips.
2026-09-23 18:44:19 +02:00
Alessandro 1b2165714d perf(sidebar-folders): reuse rendered rows during dragging
Every drag hover rebuilt and sorted folders, repeatedly scanning chat families as the visible list grew. Reuse the rendered sections and rows for insertion targets and retain the existing target when the indicated gap has not changed.

Keep folder pin boundaries, family moves, and manual ordering behavior intact. Frontend checks and 24 native drags pass in both directions after sort-mode changes. In the 240-chat browser fixture, median hover-handler time fell from about 10 ms to 0.1 ms.
2026-09-23 14:54:05 +02:00
Alessandro 6c10ef62a1 feat(sidebar-folders): organize chats and tasks by project
Group sidebar chats and scheduler tasks into collapsible project folders,
with a flat-view option and creation-time sorting by default. Keep view,
sort, project, status, and activity controls in the sidebar menu.

Preserve nested parallel workers, integrate Pin to Top, and support new
chats in explicit projects, manual reordering, and whole-family project
moves. Keep pinned folders together and reject project changes for running
chats or scheduled tasks. Persist ordering and view preferences through
plugin-owned APIs and the existing settings contract.

Include documentation, backend and frontend regression coverage, and a
generated 256x256 WebP thumbnail under 20 KB.

Validation: 69 focused pytest checks and the Node frontend suite passed.
Live browser checks covered folder/flat views, Bots 1.2.1 compatibility,
workers, pins, sorting, and drag/drop, including 30 pinned-folder boundary
cases. The thumbnail is 17,930 bytes and serves correctly in the live UI.
2026-09-22 23:05:11 +02:00