Skip to content

refactor: clean up leagueicon implementation#7516

Open
ElectricalBoy wants to merge 13 commits into
mainfrom
lis-cleanup
Open

refactor: clean up leagueicon implementation#7516
ElectricalBoy wants to merge 13 commits into
mainfrom
lis-cleanup

Conversation

@ElectricalBoy
Copy link
Copy Markdown
Collaborator

@ElectricalBoy ElectricalBoy commented May 15, 2026

How did you test this change?

included test

@ElectricalBoy ElectricalBoy marked this pull request as ready for review May 18, 2026 02:20
@ElectricalBoy ElectricalBoy requested review from a team as code owners May 18, 2026 02:20
@ElectricalBoy ElectricalBoy force-pushed the lis-cleanup branch 2 times, most recently from 999dcfd to 072ea49 Compare May 18, 2026 02:31
Comment on lines +123 to +130
'[[',
table.concat(Array.extend(
'File:' .. icon,
'link=' .. link,
Logic.emptyOr(name, link),
size and (size .. 'x' .. size .. 'px') or nil
), '|'),
']]'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why not use icon/image widget?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

because everything has to be slapped with tostring() anyway to avoid existing usages breaking, I didn't bother to import it
either way I don't have a strong opinion

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.

2 participants