Add styles configuration - #169
Merged
whyisdifficult merged 4 commits intoFeb 3, 2026
Merged
Conversation
Allow users to customize status colors in search results via work_item_status_styles config option. Custom mappings merge with built-in defaults (done=green, in progress=blue, etc.).
Allow users to customize type colors in search results via work_item_type_styles config option. Custom mappings merge with built-in defaults (bug=red, epic=yellow, task=blue).
whyisdifficult
requested changes
Jan 30, 2026
Owner
|
@stianse let's also update the CHANGELOG with the changes that will be included in the next release. Example: ## [Unreleased] - 2026-01-30
### Improvement
- Add support for defining styles foe different components |
Move styling-related config from flat top-level keys into a nested `styling` configuration block for better organization and discoverability. Rename fields to `work_item_status_colors` and `work_item_type_colors` for clarity.
Contributor
Author
|
@whyisdifficult I've pushed another commit to implement you suggestion. Nested config is a cleaner approach! I was a bit unsure on where the detailed documentation about the specific styling config should go. I put an example in |
whyisdifficult
self-requested a review
February 3, 2026 13:09
whyisdifficult
approved these changes
Feb 3, 2026
tmeijn
pushed a commit
to tmeijn/dotfiles
that referenced
this pull request
Apr 2, 2026
This MR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [pipx:jiratui](https://github.com/whyisdifficult/jiratui) ([changelog](https://github.com/whyisdifficult/jiratui/blob/main/CHANGELOG.md)) | `1.6.2` → `1.7.0` |  |  |  |  | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>whyisdifficult/jiratui (pipx:jiratui)</summary> ### [`v1.7.0`](https://github.com/whyisdifficult/jiratui/blob/HEAD/CHANGELOG.md#170---2026-03-28) [Compare Source](whyisdifficult/jiratui@v1.6.2...v1.7.0) ##### Added - Add support for defining custom styles for work item status and type colors via the `styling` configuration key; by [@​stianse](https://github.com/stianse) in [#​169](whyisdifficult/jiratui#169) - Implement `active_sprint_on_startup` config flag by [@​spomata](https://github.com/spomata) in [#​170](whyisdifficult/jiratui#170) - Add styles configuration by [@​stianse](https://github.com/stianse) in [#​169](whyisdifficult/jiratui#169) - Allow customization of some components styling: priority, status and type by [@​whyisdifficult](https://github.com/whyisdifficult) in [#​173](whyisdifficult/jiratui#173) - Use canonical value for styling work item statuses and types by [@​whyisdifficult](https://github.com/whyisdifficult) in [#​172](whyisdifficult/jiratui#172) ##### Bug Fixes - `search_on_startup` config value was always overridden by CLI by [@​spomata](https://github.com/spomata) in [#​168](whyisdifficult/jiratui#168) ##### Changed - Drop support for Python 3.10 and 3.11 by [@​whyisdifficult](https://github.com/whyisdifficult) in [#​184](whyisdifficult/jiratui#184) ##### Minor Improvements - Upgrade `textual` to `v8.2.0` - Upgrade `pydantic-settings[yaml]` - Upgrade `gitpython` - Upgrade `click` - Upgrade `textual-image` - Upgrade `pytest-cov` - Upgrade `pytest` - Upgrade `pytest-asyncio` - Upgrade `mypy` - Upgrade `pre-commit` - Upgrade `ruff` - Bump requests from 2.32.4 to 2.33.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​182](whyisdifficult/jiratui#182) - Bump urllib3 from 2.5.0 to 2.6.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​183](whyisdifficult/jiratui#183) - Bump aiohttp from 3.13.1 to 3.13.3 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​185](whyisdifficult/jiratui#185) - Upgrade Independence used for generating documentation - Improve SEO for the official website by [@​whyisdifficult](https://github.com/whyisdifficult) in [#​171](whyisdifficult/jiratui#171) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiI0My4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIlJlbm92YXRlIEJvdCIsImF1dG9tYXRpb246Ym90LWF1dGhvcmVkIiwiZGVwZW5kZW5jeS10eXBlOjptaW5vciJdfQ==-->
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Users have different Jira workflows with custom statuses and custom issue types that aren't covered by the built-in color defaults. This feature allows users to define their own color mappings in the config file.
The color mapping is merged with the built-in defaults, so it may both add to and override the existing colors.
Example config: