# workspace: Persist recent navigation history across sessions \(\#55034\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/09adbb01f6ed625a976339f014d6c11690aa6301)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 09adbb01f6ed625a976339f014d6c11690aa6301

Requested commit: 09adbb01f6ed625a976339f014d6c11690aa6301

Commit: 09adbb01f6ed625a976339f014d6c11690aa6301

Tree: bf0a8b4240f73a4c0ca1db524f264f7ab3d9786c

Author: Anıl Zeybek

Committer: GitHub

## Message

```
workspace: Persist recent navigation history across sessions (#55034)

Saves the recent navigation history (up to 20 entries) to the workspace
DB so it survives restarts. When reopening a workspace, persisted paths
that resolve to the current project are merged into the file finder's
history, deduplicated against files already opened in the session.


https://github.com/user-attachments/assets/3d8934e1-0da6-4445-8f3d-acc5597d7ac8

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes: https://github.com/zed-industries/zed/issues/56271

Release Notes:

- Improved file finder history to include recently opened files from
previous sessions.
```

## Parents

- [58006060d1af7d9862215dc20293c83916bb13a0](https://git.cafe/gitcafe/zed/commit/58006060d1af7d9862215dc20293c83916bb13a0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/09adbb01f6ed625a976339f014d6c11690aa6301?format=markdown)
