Skip to content

fix: refresh dashboard list after bulk delete - #12945

Merged
rusackas merged 1 commit into
apache:masterfrom
michael-s-molina:fix-dashboard-bulk-delete
Feb 9, 2021
Merged

fix: refresh dashboard list after bulk delete#12945
rusackas merged 1 commit into
apache:masterfrom
michael-s-molina:fix-dashboard-bulk-delete

Conversation

@michael-s-molina

Copy link
Copy Markdown
Member

SUMMARY

Refresh dashboard list after bulk delete.

@junlincc

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

before

after

TEST PLAN

1 - Go to dashboad list
2 - Delete an item using bulk delete
3 - The item should be deleted and the list refreshed

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov-io

codecov-io commented Feb 4, 2021

Copy link
Copy Markdown

Codecov Report

Merging #12945 (0e5ac04) into master (c440d98) will increase coverage by 8.69%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12945      +/-   ##
==========================================
+ Coverage   53.17%   61.87%   +8.69%     
==========================================
  Files         449      545      +96     
  Lines       14826    20138    +5312     
  Branches     3959     5265    +1306     
==========================================
+ Hits         7884    12460    +4576     
- Misses       6942     7465     +523     
- Partials        0      213     +213     
Flag Coverage Δ
cypress ?
javascript 61.87% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...perset-frontend/src/views/CRUD/chart/ChartList.tsx 71.65% <ø> (-2.66%) ⬇️
...rontend/src/views/CRUD/dashboard/DashboardList.tsx 73.87% <0.00%> (+9.74%) ⬆️
superset-frontend/src/views/App.tsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/views/menu.tsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/views/index.tsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupPlugins.ts 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupFormatters.ts 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/reducers/index.js 0.00% <0.00%> (-100.00%) ⬇️
... and 463 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 c440d98...0e5ac04. Read the comment docs.

@junlincc junlincc added the listview:dashboards Related to the Dashboards' list label Feb 4, 2021
@willbarrett
willbarrett requested a review from nytai February 4, 2021 20:18
@willbarrett

Copy link
Copy Markdown
Member

Can we add a test for this change?

@junlincc
junlincc self-requested a review February 4, 2021 21:01
@junlincc

junlincc commented Feb 4, 2021

Copy link
Copy Markdown
Member

@michael-s-molina yes, please do add test, thanks Michael!

@amitmiran137 @simcha90 when i tried to bulk delete a dashboard that i gave access to gamma users, it threw an error. it worked when I delete just the one dashboard. can you open a PR to handle this edge case? thanks

@michael-s-molina
michael-s-molina force-pushed the fix-dashboard-bulk-delete branch from 727e48f to 07ace8a Compare February 5, 2021 14:07
@pull-request-size pull-request-size Bot added size/S and removed size/XS labels Feb 5, 2021
@michael-s-molina

michael-s-molina commented Feb 5, 2021

Copy link
Copy Markdown
Member Author

@willbarrett @junlincc Tests added.

@michael-s-molina
michael-s-molina force-pushed the fix-dashboard-bulk-delete branch from 07ace8a to 45488d3 Compare February 5, 2021 16:00
@michael-s-molina
michael-s-molina force-pushed the fix-dashboard-bulk-delete branch from 45488d3 to 0e5ac04 Compare February 8, 2021 19:38
@rusackas
rusackas merged commit d5e6190 into apache:master Feb 9, 2021
amitmiran137 pushed a commit to simcha90/incubator-superset that referenced this pull request Feb 10, 2021
* master:
  fix: UI toast typo (apache#13026)
  feat(db engines): add support for Opendistro Elasticsearch (AWS ES) (apache#12602)
  fix(build): black failing on master, add to required checks (apache#13039)
  fix: time filter db migration optimization (apache#13015)
  fix: untranslated text content of Dashboard page (apache#13024)
  fix(ci): remove signature requirements for commits to master (apache#13034)
  fix: add alerts and report to default config (apache#12999)
  docs(changelog): add entries for 1.0.1 (apache#12981)
  ci: skip cypress if no code changes (apache#12982)
  chore: add cypress required checks for branch protection (apache#12970)
  Refresh dashboard list after bulk delete (apache#12945)
  Updates storybook to version 6.1.17 (apache#13014)
  feat: Save datapanel state in local storage (apache#12996)
  fix: added text and changed margins (apache#12923)
  chore: Swap Slack Url 2 more places (apache#13004)
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.0 First shipped in 1.2.0 labels Mar 12, 2024
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels listview:dashboards Related to the Dashboards' list size/S 🚢 1.2.0 First shipped in 1.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants