Skip to content

Support configurable icons for issue types#38

Merged
textfuel merged 2 commits intotextfuel:mainfrom
seflue:feat/type-icons
Apr 13, 2026
Merged

Support configurable icons for issue types#38
textfuel merged 2 commits intotextfuel:mainfrom
seflue:feat/type-icons

Conversation

@seflue
Copy link
Copy Markdown
Contributor

@seflue seflue commented Apr 10, 2026

Closes #37

Adds an optional gui.typeIcons map. Types with a configured icon render as the icon in the issue list, unconfigured types keep their full text. Empty by default.

gui:
  typeIcons:
    Bug: "🐞"
    Story: "📖"
    Sub-task: "📎"

@seflue seflue requested a review from textfuel as a code owner April 10, 2026 11:02
Copy link
Copy Markdown
Owner

@textfuel textfuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice contribution, thanks for picking this up! The feature is clean and the config design is intuitive

left a couple of minor comments on the diff, around emoji width handling and an easy optimization. Nothing blocking, just things worth looking at before merge

the overall approach is solid, especially how it stays fully opt-in and doesnt touch behavior when typeIcons isnt configured. good stuff!

Comment thread pkg/tui/views/issues.go Outdated
Comment thread pkg/tui/views/issues.go Outdated
Issue types in the list view can now show user-defined
icons instead of the type name. Configured via
gui.typeIcons map in config.yml.
@seflue seflue requested a review from textfuel April 10, 2026 12:27
Copy link
Copy Markdown
Owner

@textfuel textfuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, gonna test locally and merge. thanks for the updates!

Comment thread pkg/tui/views/issues.go
@textfuel textfuel merged commit ee54238 into textfuel:main Apr 13, 2026
2 checks passed
textfuel pushed a commit that referenced this pull request May 2, 2026
* boilerplate ported and adjusted off PR #38

* fix: proper padding for fields with no statusIcon

* @seflue review: column alignment compacted from if-else to max() && typo

Co-authored-by: Sebastian Flügge <[email protected]>

* add typeIcon and statusIcon info to docs

---------

Co-authored-by: Sebastian Flügge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuring icons for issue types in the issue list

2 participants