Cyotek.AddProjects
Cyotek.AddProjects copied to clipboard
Changing the filter text resets selection
When you're batch adding projects, you want to be able to select project across multiple filters, so whenever we check something we should add it to a checked list rather than relying on the checked property (potentially even changing the checkbox to a button to avoid confusion) and have a separate list view with the added projects (allowing to remove them from there). This way they would survive changes in filtering and enable even more productivity.
PS: I might do this myself and PR, just created the issue so that it's reported.
Thanks for the suggestion!
After thinking about it, I think having an internal list of selections which is preserved even if the visual list is filtered would be fine - I don't like the idea of complicating the UI by adding a second list and extra buttons etc. I would probably just add a new label below the list which states "nnn projects selected (xxx items hidden)" so it's more obvious that additional items are selected.
Or just change the filter code to not remove checked items which would be even simpler.
Feel free to raise a PR if you want otherwise I'll add something myself when I get some free time.
Thank you for coding this in the first place! Great tool! Regarding the second list, the idea is that the user knows exactly what's selected at all times, could be a second list, could be sticky items on this list (maybe better UX), what do you think?