Merge dashboardCommandCenter to master (#697)

* Initial work of adding tab in the dashboard (#526)

* refactor dashboard to have the home tab

* formatting

* fix grid layout issue

* fix initailize issue in database dashboard

* Add action bar to the panel and add close tab to the dashboard (#562)

* add action bar to the panel and add close tab to the dashboard

* formatting

* Tab contribution (#564)

* added contrib

* disabled edit for extensions; fixed new name for insights contrib

* fix merge issue

* move file

* formatting

* fix builds

* moving imports

* Expand on tab contrib (#581)

* added contrib

* disabled edit for extensions; fixed new name for insights contrib

* fix merge issue

* move file

* formatting

* fix builds

* adding to contrib

* updated contrib

* format

* moving imports

* updated contribution to map to current design

* implemented actually using provider and edition filtering

*  Refactor and fix issues in close tab and add the placeholder for pin tab (#588)

* refactor and fix issues in close tab and add the placeholder for pin tab

* formatting

* remove the redundant code

* add clear all tabs in dashboard page init

* Initial work for adding a feature tab dialog (#594)

* initial work for add new dashboard tab

* formatting

* fix add panel action issue

* fix breaking change

* fix issues and tab and panels

* formatting

* minor fix

* address comments

* Add tab status to add extension tab dialog (#610)

* add tab status to add extension tab dialog

* add tab status to add extension tab dialog

* rename add feature tab action

* address comments

* Webview widget (#618)

* getting closer

* webview widget now works

* fix problem with rerendering webview

* formatting

* ensure that webview only shows up for extensions

* formatting

* comments

* fix more compile issues

* Change dashboard page init (#640)

* changed init of serverpage

* formatting

* Webview tab (#638)

* getting closer

* webview widget now works

* fix problem with rerendering webview

* formatting

* ensure that webview only shows up for extensions

* formatting

* comments

* fix more compile issues

* refacting stuff

* added inital webview tab

* piped through messaging and tested

* Implement pin/unpin feature and always on tabs (#629)

* implement pin/unpin feature

* fix issue where insight can't be loaded after reopen

* fix tab look and feel

* implement always show tabs

* make AddFeatureTabAction to track always show and pinned tabs

* formatting

* make dashboard tabs looks like the UX design

* load always show before pinned tab

* fix regression in panel for restore and connection dialog

* fix merge conflict

* don't worry about no widgets if its a webview (#656)

* expose the dashboard server info when a webview is rendering (#644)

* Fix few issues in dashboard command center (#655)

* fix reloading insight wigets and create new tab when there is no extension

* show possible tabIDs in the setting file

* formatting

* address comment

* fix import name

* fixes problem with size of webview widget being wrong (#654)

*  Refactor tab contribution to support content type (#685)

* refactor tab contribution to support content type

* formatting

* address comment

* fix rendering tab issue (#694)

* Add layout option to panel for supporting horizontal and vertical navigation bar  (#700)

* Add left navigation panel for inner tab in the dashboard

* add layout option in panel

* remove panel option in dashboard Page
This commit is contained in:
Abbie Petchtes
2018-02-15 10:27:47 -08:00
committed by GitHub
parent dfc212369a
commit b61fbc806b
72 changed files with 2535 additions and 372 deletions

View File

@@ -155,6 +155,15 @@
background: url('ellipsis.svg') center center no-repeat;
}
.hc-black .icon.new,
.vs-dark .icon.new {
background: url('new_inverse.svg') center center no-repeat;
}
.vs .icon.new {
background: url('new.svg') center center no-repeat;
}
.hc-black .icon.new-query,
.vs-dark .icon.new-query {
background: url('newquery_inverse.svg') center center no-repeat;
@@ -181,3 +190,21 @@
.vs .icon.edit {
background: url('edit.svg') center center no-repeat;
}
.hc-black .icon.pin,
.vs-dark .icon.pin {
background: url('pin_inverse.svg') center center no-repeat;
}
.vs .icon.pin {
background: url('pin.svg') center center no-repeat;
}
.hc-black .icon.unpin,
.vs-dark .icon.unpin {
background: url('unpin_inverse.svg') center center no-repeat;
}
.vs .icon.unpin {
background: url('unpin.svg') center center no-repeat;
}

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#231f20;}.cls-2{fill:#212121;}</style></defs><title>new_16x16</title><polygon class="cls-1" points="13.59 2.21 13.58 2.22 13.58 2.2 13.59 2.21"/><path class="cls-2" d="M16,7.5v1H8.5V16h-1V8.5H0v-1H7.5V0h1V7.5Z"/></svg>

After

Width:  |  Height:  |  Size: 336 B

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#fff;}</style></defs><title>new_inverse_16x16</title><polygon class="cls-1" points="13.59 2.21 13.58 2.22 13.58 2.2 13.59 2.21"/><path class="cls-1" d="M16,7.5v1H8.5V16h-1V8.5H0v-1H7.5V0h1V7.5Z"/></svg>

After

Width:  |  Height:  |  Size: 320 B

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>pin</title><path d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0l-3,3a3.51,3.51,0,0,1,.15.61,4.21,4.21,0,0,1,0,.63,3.89,3.89,0,0,1-.1.92,3.44,3.44,0,0,1-.29.78,4,4,0,0,1-.46.7q-.27.33-.62.68l-3-3L1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.77,3.77,0,0,1,3.39,6.3,3.94,3.94,0,0,1,6.09,6.2l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM13.27,6a1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.58,1.58,0,0,0,.05.41c0,.13.07.26.11.39L6.33,7.37,6,7.23l-.34-.12L5.26,7a2.63,2.63,0,0,0-.39,0A2.91,2.91,0,0,0,4,7.14a2.79,2.79,0,0,0-.78.38l5.26,5.26A2.88,2.88,0,0,0,8.87,12,2.8,2.8,0,0,0,9,11.14a2.63,2.63,0,0,0,0-.39,2.77,2.77,0,0,0-.08-.36A3.49,3.49,0,0,0,8.77,10l-.15-.37,3.84-3.84.39.11A1.58,1.58,0,0,0,13.27,6Z"/></svg>

After

Width:  |  Height:  |  Size: 947 B

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#fff;}</style></defs><title>pin_inverse</title><path class="cls-1" d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0l-3,3a3.51,3.51,0,0,1,.15.61,4.21,4.21,0,0,1,0,.63,3.89,3.89,0,0,1-.1.92,3.44,3.44,0,0,1-.29.78,4,4,0,0,1-.46.7q-.27.33-.62.68l-3-3L1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.77,3.77,0,0,1,3.39,6.3,3.94,3.94,0,0,1,6.09,6.2l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM13.27,6a1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.58,1.58,0,0,0,.05.41c0,.13.07.26.11.39L6.33,7.37,6,7.23l-.34-.12L5.26,7a2.63,2.63,0,0,0-.39,0A2.91,2.91,0,0,0,4,7.14a2.79,2.79,0,0,0-.78.38l5.26,5.26A2.88,2.88,0,0,0,8.87,12,2.8,2.8,0,0,0,9,11.14a2.63,2.63,0,0,0,0-.39,2.77,2.77,0,0,0-.08-.36A3.49,3.49,0,0,0,8.77,10l-.15-.37,3.84-3.84.39.11A1.58,1.58,0,0,0,13.27,6Z"/></svg>

After

Width:  |  Height:  |  Size: 1015 B

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><title>unpin</title><path d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0L11.71,8H10.29l2.17-2.17.4.11a1.59,1.59,0,0,0,.41.05,1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.59,1.59,0,0,0,.05.41c0,.13.07.26.11.4L6.33,7.37,6,7.23l-.34-.12L5.27,7a2.63,2.63,0,0,0-.39,0A3,3,0,0,0,4,7.14a2.77,2.77,0,0,0-.78.38L7,11.29v1.42L5.5,11.2,1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.74,3.74,0,0,1,3.4,6.3,4,4,0,0,1,4.89,6a3.59,3.59,0,0,1,.61.05,4.51,4.51,0,0,1,.6.14l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM11.5,9a3.41,3.41,0,0,1,1.36.27,3.51,3.51,0,0,1,1.86,1.86,3.54,3.54,0,0,1,0,2.73,3.51,3.51,0,0,1-1.86,1.86,3.54,3.54,0,0,1-2.73,0,3.51,3.51,0,0,1-1.86-1.86,3.54,3.54,0,0,1,0-2.73,3.51,3.51,0,0,1,1.86-1.86A3.41,3.41,0,0,1,11.5,9ZM9,12.5a2.45,2.45,0,0,0,.2,1,2.49,2.49,0,0,0,1.33,1.33,2.45,2.45,0,0,0,1,.2,2.49,2.49,0,0,0,.72-.11,2.43,2.43,0,0,0,.66-.31L9.41,11.12a2.43,2.43,0,0,0-.31.66A2.49,2.49,0,0,0,9,12.5Zm4.59,1.38a2.43,2.43,0,0,0,.31-.66A2.49,2.49,0,0,0,14,12.5a2.38,2.38,0,0,0-.2-1,2.56,2.56,0,0,0-1.33-1.33,2.38,2.38,0,0,0-1-.2,2.49,2.49,0,0,0-.72.11,2.43,2.43,0,0,0-.66.31Z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1 @@
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><style>.cls-1{fill:#fff;}</style></defs><title>unpin_inverse</title><path class="cls-1" d="M15.55,5.84q-.26.26-.5.47a3,3,0,0,1-.51.36,2.41,2.41,0,0,1-.57.23,2.73,2.73,0,0,1-.7.08,2.67,2.67,0,0,1-.51,0L11.71,8H10.29l2.17-2.17.4.11a1.59,1.59,0,0,0,.41.05,1.7,1.7,0,0,0,.81-.2L10.21,1.92a1.7,1.7,0,0,0-.2.81,1.59,1.59,0,0,0,.05.41c0,.13.07.26.11.4L6.33,7.37,6,7.23l-.34-.12L5.27,7a2.63,2.63,0,0,0-.39,0A3,3,0,0,0,4,7.14a2.77,2.77,0,0,0-.78.38L7,11.29v1.42L5.5,11.2,1.06,15.65,0,16l.35-1.06L4.8,10.5l-3-3,.35-.35A3.74,3.74,0,0,1,3.4,6.3,4,4,0,0,1,4.89,6a3.59,3.59,0,0,1,.61.05,4.51,4.51,0,0,1,.6.14l3-3a2.67,2.67,0,0,1,0-.51A2.7,2.7,0,0,1,9.09,2a2.48,2.48,0,0,1,.23-.57A3,3,0,0,1,9.68,1q.22-.25.47-.5ZM11.5,9a3.41,3.41,0,0,1,1.36.27,3.51,3.51,0,0,1,1.86,1.86,3.54,3.54,0,0,1,0,2.73,3.51,3.51,0,0,1-1.86,1.86,3.54,3.54,0,0,1-2.73,0,3.51,3.51,0,0,1-1.86-1.86,3.54,3.54,0,0,1,0-2.73,3.51,3.51,0,0,1,1.86-1.86A3.41,3.41,0,0,1,11.5,9ZM9,12.5a2.45,2.45,0,0,0,.2,1,2.49,2.49,0,0,0,1.33,1.33,2.45,2.45,0,0,0,1,.2,2.49,2.49,0,0,0,.72-.11,2.43,2.43,0,0,0,.66-.31L9.41,11.12a2.43,2.43,0,0,0-.31.66A2.49,2.49,0,0,0,9,12.5Zm4.59,1.38a2.43,2.43,0,0,0,.31-.66A2.49,2.49,0,0,0,14,12.5a2.38,2.38,0,0,0-.2-1,2.56,2.56,0,0,0-1.33-1.33,2.38,2.38,0,0,0-1-.2,2.49,2.49,0,0,0-.72.11,2.43,2.43,0,0,0-.66.31Z"/></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB