Commit Graph
7 Commits
Author SHA1 Message Date
Alessandro 397bcaa39a Share Files across independent chat and welcome views
Give each chat its own folder, history, selection and pending operations by default, with a setting to share one browsing session. Preserve the existing fileBrowser API and expose an embedded owner so welcome panels reuse the real address bar, tree, file actions and shared configuration.

Keep picker and rename prompts attached to their originating view across chat switches. Scope mount cleanup and uploads to their owners, and adapt narrow panes to retain readable paths and file names. Component and extension loaders remain unchanged.

Validated with 36 targeted pytest tests, 10 Node view tests, and live Docker UI checks covering chat switching, file actions, shared settings, narrow layouts and modal/canvas handoff.
2026-11-01 00:07:46 +01:00
linkliti 76dcea4c6a Deduplicate file browser store helpers and fix settings indentation
Extract navigateStack, closeOrRestorePicker, runNextFrame, and absolutizeSuggestionPath helpers so mirrored back/forward bodies, picker close/restore branches, double-rAF callbacks, and suggestion path absolutization each keep one source of truth, update the nav history contract test to the merged shape, and fix the settings field closing-tag indentation.
2026-09-16 14:59:15 +03:00
linkliti 1443888dd7 Rename the path bar style entries to Breadcrumbs and Text
Update the Files path bar style option labels and description to Breadcrumbs and Text and align the settings DOX clause with the new wording.
2026-09-15 15:46:58 +03:00
linkliti 2066b9e3cd Make file rows fully clickable and navigate without a loading overlay
Move the open-and-navigate click from the name cell to the whole row with a pointer cursor while the selection and actions cells opt out, remove the full-area Loading files overlay and its stylesheet so directory switches keep the listing mounted with only the path-submit spinner as feedback, and place the Path bar style entry directly under View in the Files appearance settings. Cover the seamless navigation and row click contracts in the navigation test suite; all 24 tests pass.
2026-09-13 14:28:54 +03:00
linkliti 7f23928100 Add path bar modes with folder autocomplete to file browser
Replace the fixed raw path input with a configurable path bar offering folder crumb buttons with overflow navigation and a plain text mode, both sharing one shell-owned field frame with an icon-state machine where the pencil focuses the input and the check submits. Add directory autocomplete with keyboard navigation, no-op and failure guards, persisted preference in Files settings, and tooltip wrapping for long paths. Cover the contracts in the navigation test suite; all 17 tests pass.
2026-09-12 23:45:31 +03:00
Alessandro 8426c137eb Preserve file tree ancestors and make the starting folder configurable
Keep parent folders clickable during nested navigation in Files and Editor.
Folder names open directories while chevrons inspect branches, preserving
loaded children and sharing pending directory requests. Scroll the selected
folder or file into view after rendering without disrupting manual branch
inspection.

Default local trees to /a0 and add a browser-local starting folder setting
shared with Editor. Keep remote folders in their own tree and retain the
configured local root when navigating outside it through the path bar.

Update regression coverage and ownership docs. Verified with 18 focused
tests and live Files/Editor checks, including preference persistence after
reload, automatic selection scrolling, and narrow layouts.
2026-09-12 21:05:25 +02:00
Alessandro 9f5417bd92 Move File Browser controls into general Settings
Add a dedicated File Browser category containing appearance defaults, remote
connections and plugin controls, file limits, and archive limits. Move the
remember-location preference from Workdir and retain existing control behavior.

Open the category from the gear beside the file-tree toggle and from provider
plugin shortcuts. Use standard Settings rows and spacing, add a file-tree
subtitle, and synchronize immediate limit changes with the Settings draft so
Save cannot overwrite them with stale values.

Validation: focused settings/navigation tests passed in the 145-test Core run.
Verified category navigation, gear routing, search, limit updates and restoration,
and desktop/mobile layouts against localhost:32081.
2026-09-09 01:40:18 +02:00