mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-11 03:12:55 +00:00
- Opening a folder dropped the active filter. agentsListPath() always built off the bare /agents/manage root, so from /agents/manage/mine it navigated to /agents/manage?folder=..., and filterFromPath() then read back `all`. A regression from making the filters routable: they used to be component state, which a replace-navigation left alone. The helper now takes the filter and builds off agentsFilterPath(), which also fixes the other half — switching filter while inside a folder re-navigates to the filtered path with the folder kept, instead of the sync effect pulling it back to the unfiltered URL. - Both manage-agents handlers cleared the selected agent and closed the mobile nav before returning early for a modifier-click, so opening the list in a new tab mutated the tab you stayed on. The modifier check and preventDefault() now run first. - The detail breadcrumbs had the name precedence inverted. Tools.tsx shows `customName || displayName` throughout, so a renamed tool kept its old name in the breadcrumb alone. ToolConfig now matches, and RemoteDeviceConfig leads with device?.name as its own heading does.