Keep IDE RightPane views alive
What does this MR do?
Introduces a Vuex module for managing panes and update the IDE's RightPane to keep certain views alive.
Screenshots
Scenario 1:
Scenario 2:
- Note how the pipeline list component stays alive
- Note how the pipeline tab opens / closes the current view
- Note how the job details component refreshes on open / close
Notes for reviewer
Why do we need to keep views alive?
The upcoming Web Terminal feature requires this. gitlab-ee#5426
It also improves the existing UX.
Why do some views need to not be kept alive?
Some views caused issues when they were not disposed (namely jobs-detail
). It may also be preferable for these views to reload themselves when opened / closed.
Why a brand new Vuex module?
This actually makes the code simpler by not polluting the root Vuex module. It also creates an opportunity for reuse.
What are the relevant issue numbers?
- gitlab-ee#5426
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides
Edited by Paul Slaughter