Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify dashboards #974

Merged
merged 12 commits into from
Sep 25, 2018
Merged

Unify dashboards #974

merged 12 commits into from
Sep 25, 2018

Conversation

bjoernricks
Copy link
Contributor

No description provided.

If a dashboard at the main dashboard is removed also remove the default
settings for this dashboard.
Allow to pass a id generator function to createRow, createItem and
convertDefaultContent functions.
When creating a new dashboard at the main page allow to pass an array of
default displays.
Remove the hack to put the defaults of the dashboards into the store
when the dashboard is rendered for the first time.
When a new dashboard will be added to the main page allow to select a
"template" of displays to show initially.
These dashboards can now be created at the main page.
@codecov
Copy link

codecov bot commented Sep 25, 2018

Codecov Report

Merging #974 into master will increase coverage by <.01%.
The diff coverage is 20.63%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #974      +/-   ##
=========================================
+ Coverage    9.12%   9.13%   +<.01%     
=========================================
  Files         819     814       -5     
  Lines       26748   26625     -123     
  Branches     5713    5713              
=========================================
- Hits         2441    2432       -9     
+ Misses      21966   21856     -110     
+ Partials     2341    2337       -4
Impacted Files Coverage Δ
gsa/src/web/store/dashboard/settings/actions.js 25.71% <ø> (ø) ⬆️
gsa/src/web/routes.js 0% <ø> (ø) ⬆️
gsa/src/web/components/dashboard/dashboard.js 0% <0%> (ø) ⬆️
gsa/src/web/pages/start/newdashboarddialog.js 0% <0%> (ø) ⬆️
gsa/src/web/pages/start/page.js 0% <0%> (ø) ⬆️
gsa/src/web/components/bar/menubar.js 0% <0%> (ø) ⬆️
gsa/src/web/components/sortable/grid.js 0% <0%> (-8.74%) ⬇️
gsa/src/web/pages/start/dashboard.js 0% <0%> (ø) ⬆️
gsa/src/web/components/sortable/utils.js 100% <100%> (ø)
gsa/src/web/components/sortable/item.js 0% <0%> (-66.67%) ⬇️
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c54792...2925bef. Read the comment docs.

@swaterkamp swaterkamp merged commit 81aef58 into greenbone:master Sep 25, 2018
@bjoernricks bjoernricks deleted the unify-dashboards branch September 25, 2018 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants