You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/07/18 18:07:49 UTC
[GitHub] [superset] Antonio-RiveroMartnez opened a new pull request, #20753: fix(reports): Confirmation message after deleting reports
Antonio-RiveroMartnez opened a new pull request, #20753:
URL: https://github.com/apache/superset/pull/20753
### SUMMARY
After deleting a report users would get stuck on with the modal open even after the report was actually deleted. It was caused because the resourceId was undefined when refreshing the data, so, we must use the chart info instead so the resourceId is not `undefined`
### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
BEFORE:
![error](https://user-images.githubusercontent.com/38889534/179573588-1fb46351-f1f9-4c1d-8990-676be2c69873.gif)
AFTER:
![test](https://user-images.githubusercontent.com/38889534/179573692-2cff0988-060a-4472-9401-1fe020fac529.gif)
### TESTING INSTRUCTIONS
1. open a chart in explore and create report
2. go to the manage report from 3 dot menu on top right in explore
3. DELETE chart report
Expected Results:
1. The modal closes after you click `DELETE` and the toast shows the success message
2. The report is deleted
### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] codecov[bot] commented on pull request #20753: fix(reports): Confirmation message after deleting reports
Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #20753:
URL: https://github.com/apache/superset/pull/20753#issuecomment-1188121741
# [Codecov](https://codecov.io/gh/apache/superset/pull/20753?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#20753](https://codecov.io/gh/apache/superset/pull/20753?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (8f8ab6e) into [master](https://codecov.io/gh/apache/superset/commit/92f3621c754a4f3ddb99285aad273296be26567e?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (92f3621) will **not change** coverage.
> The diff coverage is `0.00%`.
> :exclamation: Current head 8f8ab6e differs from pull request most recent head d31f19f. Consider uploading reports for the commit d31f19f to get more accurate results
```diff
@@ Coverage Diff @@
## master #20753 +/- ##
=======================================
Coverage 66.26% 66.26%
=======================================
Files 1754 1754
Lines 66678 66678
Branches 7049 7049
=======================================
Hits 44181 44181
Misses 20700 20700
Partials 1797 1797
```
| Flag | Coverage Δ | |
|---|---|---|
| javascript | `51.92% <0.00%> (ø)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Impacted Files](https://codecov.io/gh/apache/superset/pull/20753?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [superset-frontend/src/reports/actions/reports.js](https://codecov.io/gh/apache/superset/pull/20753/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3VwZXJzZXQtZnJvbnRlbmQvc3JjL3JlcG9ydHMvYWN0aW9ucy9yZXBvcnRzLmpz) | `39.39% <0.00%> (ø)` | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/superset/pull/20753?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/superset/pull/20753?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [92f3621...d31f19f](https://codecov.io/gh/apache/superset/pull/20753?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] rusackas merged pull request #20753: fix(reports): Confirmation message after deleting reports
Posted by GitBox <gi...@apache.org>.
rusackas merged PR #20753:
URL: https://github.com/apache/superset/pull/20753
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org