# client: Persist last used organization \(\#52505\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3b66f9076e56318993b2ad158f339e7ce14244de

Requested commit: 3b66f9076e56318993b2ad158f339e7ce14244de

Commit: 3b66f9076e56318993b2ad158f339e7ce14244de

Tree: a3c83b61257186f5e562966dca09867e1f46522c

Author: Neel

Committer: GitHub

## Message

```
client: Persist last used organization (#52505)

## Context

Persists last used organization through restart. Opted to do this via
`kvp` instead of `settings.json` since the value could change often, and
we would have to persist an ID rather than a friendly name.

Closes CLO-568.

## How to Review

<!-- Help reviewers focus their attention:
- For small PRs: note what to focus on (e.g., "error handling in
foo.rs")
- For large PRs (>400 LOC): provide a guided tour — numbered list of
files/commits to read in order. (The `large-pr` label is applied
automatically.)
     - See the review process guidelines for comment conventions -->

## Self-Review Checklist

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

Release Notes:

- N/A
```

## Parents

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

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