sethyuan / logseq-plugin-kanban-board

Draggable, editable Kanban view.
MIT License
62 stars 2 forks source link

Tag colors are recomputed when renaming a board #18

Closed almereyda closed 1 year ago

almereyda commented 1 year ago

Observed behaviour

When a board is renamed, all its associated tag colors are reevaluated.

Expected behaviour

Tag colors remain as they are.

Screenshots

Before Click on title to edit Edit and press Enter After
Bildschirmfoto vom 2023-11-15 02-28-17 Bildschirmfoto vom 2023-11-15 02-28-32 Bildschirmfoto vom 2023-11-15 02-28-40 Bildschirmfoto vom 2023-11-15 02-28-46

This does not happen when editing the board title in the block.

Before Click on block to edit Edit and press Esc After
Bildschirmfoto vom 2023-11-15 02-28-46 Bildschirmfoto vom 2023-11-15 02-31-24 Bildschirmfoto vom 2023-11-15 02-31-32 Bildschirmfoto vom 2023-11-15 02-31-50

Please note that the title of the board will update in near-real time when editing the block.

almereyda commented 1 year ago

After the previous example with two tags showed the color of the primary tag as stable, it also changed (and got reassigned to another tag) when three tags were present.

Point in time Image
Before Bildschirmfoto vom 2023-11-15 02-36-16
After grafik

It appears that the color codes themselves are stable, and are derieved from a precomputed list.

sethyuan commented 1 year ago

I'll investigate.

sethyuan commented 1 year ago

This is fixed, a new version is released. Also, the tag spacing issue is also fixed and released.

almereyda commented 1 year ago

Very well received. Thanks for the prompt intervention.

Verified locally with v1.17.8