ProjectDrawdown / global-research-platform

Drawdown Global Research Platform - UI
Other
20 stars 19 forks source link

Issue # 40 - allow selected solutions to be distinct from non-selected in portfolio edit #77

Closed janeenault closed 2 years ago

janeenault commented 2 years ago

Fixes #40

This PR builds on the solution for Issue #46 - dries it up by moving that solution to a reusable hook and then applying it to the portfolio view and edit page.

Also includes a fix for a scrolling issue on the Edit Portfolio page.

Here's some screenshots from my devstack: image

p.s. it might be easier to simply merge this PR and NOT merge https://github.com/ProjectDrawdown/global-research-platform/pull/70 - since this PR contains the fix introduced there.

eethann commented 2 years ago

Nice custom hook to DRY up the filtering. Good pattern for future updates as well. Thanks!