Skip to content

fix(tasktypeedit): move the icon renderer off the bare fa prefix - #26

Merged
mastacontrola merged 1 commit into
mainfrom
fix-tasktypeedit-bare-fa-prefix
Aug 24, 2026
Merged

fix(tasktypeedit): move the icon renderer off the bare fa prefix#26
mastacontrola merged 1 commit into
mainfrom
fix-tasktypeedit-bare-fa-prefix

Conversation

@mastacontrola

Copy link
Copy Markdown
Member

The icon column composes its class as fa fa- + the stored taskTypes.ttIcon value:

return '<i class="fa fa-' + data + '"></i>';

fa is still the solid alias in FA7 so this renders, but it is the last call site in this repo left on the old prefix after the FA7 port — and it evades the icon-name check, because the name is concatenated on so the literal ends at the quote and matches nothing.

No data change here. The values it renders are the taskTypes rows repaired by FOGProject/fogproject#1338, which corrects the seven FA4 outline names FA7 dropped (plus-square-o, hdd-o, arrow-circle-o-down, arrow-circle-o-up, hourglass-o, flag-o, and bookmark-o in taskStates).

The icon column composes its class as `fa fa-` + the stored taskTypes.ttIcon
value. `fa` is still the solid alias in Font Awesome 7 so this rendered, but it
is the last call site in this repo left on the old prefix after the FA7 port,
and it evades the icon-name check because the name is concatenated on -- the
literal ends at the quote, so nothing matches it.

No data change here. The values it renders are the taskTypes rows repaired by
FOGProject/fogproject#1338, which corrects the seven FA4 outline names FA7
dropped.

Co-Authored-By: Claude <noreply@anthropic.com>
@mastacontrola
mastacontrola merged commit d468018 into main Aug 24, 2026
2 checks passed
@mastacontrola
mastacontrola deleted the fix-tasktypeedit-bare-fa-prefix branch August 24, 2026 02:20
mastacontrola added a commit to FOGProject/fogproject that referenced this pull request Aug 24, 2026
Carries FOGProject/fog-plugins#26, which moves the tasktypeedit icon renderer
off the bare `fa` prefix -- the plugin half of the same cleanup this PR makes
in core.

Verified by fetching the release into the tree: stamp reads v1.6.16 and the
renderer in the installed copy emits `fas fa-`.

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant