nicoespeon / trello-kanban-analysis-tool

💤 [Not maintained] Analyse Kanban metrics from a Trello board -
http://nicoespeon.com/trello-kanban-analysis-tool/
MIT License
114 stars 32 forks source link

Selected lists mess up when you select another board #31

Closed bastienEichenberger closed 8 years ago

bastienEichenberger commented 8 years ago

Hi, I just saw a little bug. When I change the active Board I have the same list on _Work begin_and Work end. If I clich on Work end the data aren't loaded. When I click on the button refresh data I don't obtain new datas.

capture d ecran 2016-06-07 a 09 15 39 capture d ecran 2016-06-07 a 09 15 46

nicoespeon commented 8 years ago

Thanks for pointing out @bastienEichenberger!

The fact that the last list isn't correctly selected when you change the selected board is a behavior I want to improve indeed. I edited your issue to deal with that little bug in UX.

Concerning the fact that data doesn't update after you select the appropriate list, I noticed this to be a regression from #30. I’ll find out why and solve this issue in this PR. I’ll let you know when I'm done =)

Thanks for catching those!

nicoespeon commented 8 years ago

Well I concluded wrong and it's not related at all to #28 / #30.

This is an actual bug: something is not getting properly updated when a new board is selected. It stays on locally stored values of selected lists, which may not match the new board ones, hence this behavior.

nicoespeon commented 8 years ago

Use case

Change selected board.

It seems to mess up with localStorage values.