19300: Adds un-maximize functionality to the MPV component suite.
authorLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 26 Oct 2022 19:58:10 +0000 (16:58 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 26 Oct 2022 19:58:10 +0000 (16:58 -0300)
commit993c6c511af30163a2826d6992720b6be397943b
treed0732f0c186ff4b929e6ebd2784a10e2180e958a
parenta9890137daf68e5aca89e98cf02a738665fbe8d8
19300: Adds un-maximize functionality to the MPV component suite.

When a panel is maximized, the un-maximize action restores the previous
panel state, unless another panel has been shown/hidden between the
maximize and un-maximize actions. In that edge case, the original panel
visibility state is restored.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
src/components/multi-panel-view/multi-panel-view.tsx