feat: add icon and description to preset dropdown#21694
Merged
Conversation
jakehwll
commented
Jan 27, 2026
| <SelectContent> | ||
| {presets?.toSorted(sortByDefault).map((preset) => ( | ||
| <SelectItem value={preset.ID} key={preset.ID}> | ||
| <span className="overflow-hidden text-ellipsis block"> |
Contributor
Author
Contributor
Documentation CheckNo Changes NeededThis PR adds icon display support to the Tasks preset dropdown, bringing UI parity with the workspace creation screen. The existing documentation in Since this is a UI-only enhancement with no new configuration or API changes, no documentation updates are required. Users who have already defined icons in their workspace presets will automatically see them displayed in the Tasks UI after this change. Automated review via Coder Tasks |
preset dropdownpreset dropdown
jaaydenh
approved these changes
Jan 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Closes #20598
This pull-request implements a very basic change to also render the
iconof thePresetwhen we've specifically defined one within the template. Furthermore, theres aⓘicon with a description.Preview