When the archive view's filter is set to "Archived Only" and the user deletes (or unarchives) the last archived thread, the toggle button becomes disabled because there are no archived threads left. With the filter still pinned to "Archived Only", the list goes empty and there's no way for the user to switch back to the All view. This fixes it by automatically falling back to `ThreadFilter::All` inside `update_items` whenever the current filter is `ArchivedOnly` but the store has no archived entries. Since `update_items` is invoked from the `ThreadMetadataStore` observer, this covers all paths that mutate the store, not only deletions triggered from this view. Release Notes: - Fixed the agent thread archive view getting stuck on an empty "Archived Only" list after the last archived thread was removed. --------- Co-authored-by: Neel <neel@zed.dev>
1 file changedLine totals unavailable