fpdcc / ccfp-asset-dashboard

CCFP Asset Dashboard
0 stars 1 forks source link

Add ability to select multiple projects in CIP Planner #258

Closed jim-z closed 11 months ago

jim-z commented 11 months ago

Currently have to add projects one at a time to build portfolio. If you have sorted based on year, etc. you have to resort every time you add a new project. Adding the ability to select multiple projects to add to portfolio would make this much less cumbersome.

xmedr commented 11 months ago

Hey @jim-z, how would you feel about us adding a way to have the sort persist between additions? I have an example of that change below with the Quarter sort persisting. This way the process stays the same just with a quality of life change. Or would you want to stick to selecting multiple projects? No worries either way!

ezgif-3-1aec6cf75e

jim-z commented 11 months ago

@xmedr this might suffice if it is easier to implement for the time being. One other related issue I forgot to mention is that my sort results displayed on multiple pages. When I added a project from page 3 of 5, I would also get forced back to page 1 of 5 and then have to navigate back to where I left off by remembering what projects were above and below the one I had just added.

xmedr commented 11 months ago

@jim-z Ah you're right I see that happening for me too, thanks for flagging! I've got another quick change in there now that lets the page number persist between selections as well. It also allows you to change the sort/filter and stay on the same page. Got another demo of that here, what do you think?

(Note: the tables here show 5 results per page, just so that I have more pages to flip through for testing/demoing) page-persist

These were super quick changes, so if we wanted to explore the multiple selection method as well I can chat with the others to see what they think!