mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-29 22:54:38 +02:00
Archiving the currently selected inbox item used to clear the selection and leave the detail panel empty, forcing the user to click the next item to keep going. Pick the next (older) item from the deduplicated list, falling back to the previous (newer) one when archiving at the bottom, and only clear when nothing is left. Route the detail panel's onDone path through the same handleArchive so the auto-select behavior is shared. Co-authored-by: multica-agent <github@multica.ai>