Skip to content

feat(desktop): add recently opened tabs tracking#3526

Merged
ComputelessComputer merged 6 commits intomainfrom
feat/track-recent-tabs
Feb 2, 2026
Merged

feat(desktop): add recently opened tabs tracking#3526
ComputelessComputer merged 6 commits intomainfrom
feat/track-recent-tabs

Conversation

@ComputelessComputer
Copy link
Collaborator

@ComputelessComputer ComputelessComputer commented Feb 1, 2026

Summary

Adds tracking of recently opened tabs in the desktop application, allowing users to see and navigate back to tabs they've previously visited.

Review & Testing Checklist for Human

  • Verify the recently opened list updates correctly when opening, switching, and closing tabs — confirm no duplicate entries or stale references to closed/deleted sessions
  • Check that the tracking state persists across app restarts (if intended) or resets cleanly on launch (if ephemeral)
  • Test with a large number of tabs to confirm the list is bounded and doesn't grow unboundedly in memory

Suggested test plan: Open several different tab types (notes, chat, calendar, settings), switch between them, close a few, then check the recently opened list. Verify ordering reflects actual usage recency and that closed tabs are handled gracefully (either removed or shown as re-openable).

Notes

Link to Devin run: https://app.devin.ai/sessions/1b9ae9acc87349e393883ca54ed961c6
Requested by: @ComputelessComputer

@netlify
Copy link

netlify bot commented Feb 1, 2026

Deploy Preview for hyprnote canceled.

Name Link
🔨 Latest commit 13d52d2
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69802d8495ded70008888165

@netlify
Copy link

netlify bot commented Feb 1, 2026

Deploy Preview for hyprnote-storybook canceled.

Name Link
🔨 Latest commit 13d52d2
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote-storybook/deploys/69802d8425f3af0008c8fb79

Tests were failing because code accessed Tauri runtime internals
(window.__TAURI_INTERNALS__.metadata) and tauri-generated commands
during unit tests. Add a global window mock exposing __TAURI_INTERNALS__
metadata (currentWindow/currentWebview labels) and mock tauri command
helpers in the test setup so tests can run in the JS test environment
without a real Tauri runtime.
Guard against corrupted or manually modified stored data causing runtime
errors when accessing recentlyOpenedSessionIds. Add runtime checks after
JSON.parse to ensure the parsed value is an array of strings; return an
empty array if validation fails or parsing throws.
@ComputelessComputer ComputelessComputer merged commit 6aae256 into main Feb 2, 2026
18 of 19 checks passed
@ComputelessComputer ComputelessComputer deleted the feat/track-recent-tabs branch February 2, 2026 05:10
@devin-ai-integration devin-ai-integration bot changed the title add recently opened tabs tracking feat(desktop): add recently opened tabs tracking Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments