Shared dashboards: Export and import of shared dashboards#3559
Conversation
Test results 27 files 27 suites 45m 12s ⏱️ Results for commit c2ad147. ♻️ This comment has been updated with latest results. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## feat/support-loading-shared-dashboards #3559 +/- ##
=======================================================================
Coverage 62.20% 62.20%
=======================================================================
Files 611 611
Lines 44925 44925
Branches 43 43
=======================================================================
Hits 27946 27946
Misses 16969 16969
Partials 10 10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
hmpf
left a comment
There was a problem hiding this comment.
I'll do a manual test of the whole shebang.
72e875f to
d3ee6c1
Compare
786c8d9 to
51b48a4
Compare
Yeah, I kinda agree. It makes sense as a separate action, and would be consistent between owned and shared dashboards. Export is not really a "setting" anyways. |
0c679f8 to
bb94025
Compare
51b48a4 to
af45959
Compare
bb94025 to
f3078e4
Compare
af45959 to
a56d931
Compare
|
Added a follow-up task (#3564) to add consistency to the export function |
5340d39 to
edd62b1
Compare
a56d931 to
c2ad147
Compare
| <i class="fa fa-download" title="Export dashboard"></i> | ||
| </a> | ||
| <div id="export-action-tooltip" role="tooltip"> | ||
| Download this dashboards definition into a file that can later be imported by pressing the + next to the tab list |
There was a problem hiding this comment.
| Download this dashboards definition into a file that can later be imported by pressing the + next to the tab list | |
| Download this dashboard's definition into a file that can later be imported by pressing the + next to the tab list |
c2ad147 to
3271252
Compare
771f0a7
into
feat/support-loading-shared-dashboards
|



Scope and purpose
Resolves #3558, part of #2344.
Dependent on #3553.
This PR adds support for exporting shared dashboards, and an export action to the widget actions. I also added tests for the export view, as there were none.
In addition, I fixed a weird bug where a non-admin can't open the import modal due to this fun typo:
/îndex/dashboard/importmodalinstead of/index/dashboard/importmodal.Screenshots
Export dashboard action on shared dashboards
Contributor Checklist
Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to NAV can be found in the
Hacker's guide to NAV.
<major>.<minor>.x). For a new feature or other additions, it should be based onmaster.