Commit b2ef7f6c authored by Tim Zallmann's avatar Tim Zallmann

Merge branch 'ide-pipeline-panel-resizable' into 'master'

Allow IDE pipeline panel to be resizable

Closes #47538

See merge request gitlab-org/gitlab-ce!19558
parents 2c05c857 91254c11
...@@ -5,6 +5,7 @@ import Icon from '../../../vue_shared/components/icon.vue'; ...@@ -5,6 +5,7 @@ import Icon from '../../../vue_shared/components/icon.vue';
import { rightSidebarViews } from '../../constants'; import { rightSidebarViews } from '../../constants';
import PipelinesList from '../pipelines/list.vue'; import PipelinesList from '../pipelines/list.vue';
import JobsDetail from '../jobs/detail.vue'; import JobsDetail from '../jobs/detail.vue';
import ResizablePanel from '../resizable_panel.vue';
export default { export default {
directives: { directives: {
...@@ -14,6 +15,7 @@ export default { ...@@ -14,6 +15,7 @@ export default {
Icon, Icon,
PipelinesList, PipelinesList,
JobsDetail, JobsDetail,
ResizablePanel,
}, },
computed: { computed: {
...mapState(['rightPane']), ...mapState(['rightPane']),
...@@ -40,12 +42,16 @@ export default { ...@@ -40,12 +42,16 @@ export default {
<div <div
class="multi-file-commit-panel ide-right-sidebar" class="multi-file-commit-panel ide-right-sidebar"
> >
<div <resizable-panel
class="multi-file-commit-panel-inner"
v-if="rightPane" v-if="rightPane"
class="multi-file-commit-panel-inner"
:collapsible="false"
:initial-width="350"
:min-size="350"
side="right"
> >
<component :is="rightPane" /> <component :is="rightPane" />
</div> </resizable-panel>
<nav class="ide-activity-bar"> <nav class="ide-activity-bar">
<ul class="list-unstyled"> <ul class="list-unstyled">
<li> <li>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment