diff options
author | Phil Hughes <me@iamphill.com> | 2018-06-07 19:49:47 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-06-07 19:49:47 +0100 |
commit | 91254c11b102ceeb79e787a693616ecf8ecb6ba9 (patch) | |
tree | 90d091e2fa3e866e5bc3f6ffdfc5f978406c9d48 | |
parent | ba4dc01ea83c261c4054c32482b021a1005a1968 (diff) | |
download | gitlab-ce-91254c11b102ceeb79e787a693616ecf8ecb6ba9.tar.gz |
Allow IDE pipeline panel to be resizable
Closes #47538
-rw-r--r-- | app/assets/javascripts/ide/components/panes/right.vue | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/assets/javascripts/ide/components/panes/right.vue b/app/assets/javascripts/ide/components/panes/right.vue index aafd6a15a78..dd7fc8f1e01 100644 --- a/app/assets/javascripts/ide/components/panes/right.vue +++ b/app/assets/javascripts/ide/components/panes/right.vue @@ -5,6 +5,7 @@ import Icon from '../../../vue_shared/components/icon.vue'; import { rightSidebarViews } from '../../constants'; import PipelinesList from '../pipelines/list.vue'; import JobsDetail from '../jobs/detail.vue'; +import ResizablePanel from '../resizable_panel.vue'; export default { directives: { @@ -14,6 +15,7 @@ export default { Icon, PipelinesList, JobsDetail, + ResizablePanel, }, computed: { ...mapState(['rightPane']), @@ -40,12 +42,16 @@ export default { <div class="multi-file-commit-panel ide-right-sidebar" > - <div - class="multi-file-commit-panel-inner" + <resizable-panel v-if="rightPane" + class="multi-file-commit-panel-inner" + :collapsible="false" + :initial-width="350" + :min-size="350" + side="right" > <component :is="rightPane" /> - </div> + </resizable-panel> <nav class="ide-activity-bar"> <ul class="list-unstyled"> <li> |