# Add settings events \(\#3847\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 850a9e33e3aedccbb88934d65787c5ec22e2d064

Requested commit: 850a9e33e3aedccbb88934d65787c5ec22e2d064

Commit: 850a9e33e3aedccbb88934d65787c5ec22e2d064

Tree: a950cd7ad8b6d732ad7cf3115f078904d4a78d7a

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Add settings events (#3847)

Adds the infractucture for settings events and specifically tracks theme
settings. Currently, we only take note of the theme at app open and when
the user switches the theme with the theme selector. Changes at the
config file are ignored, as putting code that low leads to a lot of
chances of reporting theme events when the user hasn't done anything.
This change is done in both Zed 1 and Zed 2.

I'll open up a PR on zed.dev and adjust the database accordingly.

Release Notes:

- N/A
```

## Parents

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

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

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