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

refactor(annotation): improve annotation modal #15359

Merged
merged 1 commit into from
Jul 9, 2021

Conversation

stephenLYZ
Copy link
Member

SUMMARY

  • remove no sense status isHidden
  • fix the bug that the modal data will be cleared when the modal is opened again
  • add create/update toast to give a better feedback

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

before

2021-06-24.5.20.49.mov

after

2021-06-24.5.22.21.mov

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

@codecov
Copy link

codecov bot commented Jun 24, 2021

Codecov Report

Merging #15359 (bd9a9a0) into master (352656a) will increase coverage by 0.00%.
The diff coverage is 81.91%.

❗ Current head bd9a9a0 differs from pull request most recent head 4dc29ed. Consider uploading reports for the commit 4dc29ed to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##           master   #15359   +/-   ##
=======================================
  Coverage   77.16%   77.17%           
=======================================
  Files         973      975    +2     
  Lines       50523    50583   +60     
  Branches     6184     6202   +18     
=======================================
+ Hits        38986    39035   +49     
- Misses      11331    11341   +10     
- Partials      206      207    +1     
Flag Coverage Δ
javascript 71.77% <81.81%> (+0.01%) ⬆️

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

Impacted Files Coverage Δ
...nd/src/common/hooks/useComponentDidUpdate/index.ts 0.00% <0.00%> (ø)
...ilterScopingModal/CrossFilterScopingForm/index.tsx 84.61% <ø> (ø)
...ntend/src/views/CRUD/annotation/AnnotationList.tsx 76.92% <ø> (ø)
...tend/src/views/CRUD/annotation/AnnotationModal.tsx 60.74% <14.28%> (-2.23%) ⬇️
...ConfigModal/FiltersConfigForm/FilterScope/state.ts 95.65% <66.66%> (-4.35%) ⬇️
superset/viz.py 56.52% <66.66%> (+0.05%) ⬆️
...odal/FiltersConfigForm/FilterScope/ScopingTree.tsx 90.62% <80.00%> (-5.03%) ⬇️
...ConfigModal/FiltersConfigForm/FilterScope/utils.ts 95.94% <83.33%> (-2.57%) ⬇️
...onfigModal/FiltersConfigForm/FiltersConfigForm.tsx 69.97% <90.90%> (+0.85%) ⬆️
...odal/FiltersConfigForm/FilterScope/FilterScope.tsx 88.88% <92.00%> (+2.68%) ⬆️
... and 5 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 352656a...4dc29ed. Read the comment docs.

@rusackas rusackas self-requested a review June 28, 2021 16:51
@rusackas
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@rusackas Ephemeral environment spinning up at http://54.188.214.198:8080. Credentials are admin/admin. Please allow several minutes for bootstrapping and startup.

Copy link
Member

@lilykuang lilykuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manually tested. LGTM 👍

@zhaoyongjie zhaoyongjie merged commit 7e9674a into apache:master Jul 9, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jul 9, 2021

Ephemeral environment shutdown and build artifacts deleted.

cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.3.0 labels Mar 12, 2024
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 size/S 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants