# Feature flag overrides \(\#54206\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ec9be5c332f79986b046a2985e003766591ec82f

Requested commit: ec9be5c332f79986b046a2985e003766591ec82f

Commit: ec9be5c332f79986b046a2985e003766591ec82f

Tree: 8a110a3843ac9b9cade41a857a9180297b6ac8fd

Author: Mikayla Maki

Committer: GitHub

## Message

```
Feature flag overrides (#54206)

This PR revamps our feature flag system, to enable richer iteration. 

Feature flags can now:
- Support enum values, for richer configuration
- Be manually set via the settings file
- Be manually set via the settings UI

This PR also adds a feature flag to demonstrate this behavior, a
`agent-thread-worktree-label`, which controls which how the worktree tag
UI displays.

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

Release Notes:

- N/A
```

## Parents

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

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