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: icon to icons for listviewcomponent #15408

Merged
merged 5 commits into from
Jul 1, 2021

Conversation

pkdotson
Copy link
Member

@pkdotson pkdotson commented Jun 27, 2021

SUMMARY

this pr refactors the listview icon and and cardview icon to the new icons component

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

before
Screen Shot 2021-06-27 at 5 26 08 AM

after
Screen Shot 2021-06-30 at 4 33 35 AM

TESTING INSTRUCTIONS

got to any of the listviews to view card and list icons

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • 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

@codecov
Copy link

codecov bot commented Jun 27, 2021

Codecov Report

Merging #15408 (99674c6) into master (09c44d0) will decrease coverage by 0.10%.
The diff coverage is 62.73%.

❗ Current head 99674c6 differs from pull request most recent head 26cb774. Consider uploading reports for the commit 26cb774 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15408      +/-   ##
==========================================
- Coverage   77.23%   77.12%   -0.11%     
==========================================
  Files         975      974       -1     
  Lines       50610    50817     +207     
  Branches     6212     6727     +515     
==========================================
+ Hits        39090    39195     +105     
- Misses      11313    11407      +94     
- Partials      207      215       +8     
Flag Coverage Δ
javascript 71.77% <65.53%> (+<0.01%) ⬆️
presto ?

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

Impacted Files Coverage Δ
...erset-frontend/src/components/AnchorLink/index.jsx 95.83% <ø> (ø)
...rset-frontend/src/components/ErrorMessage/types.ts 100.00% <ø> (ø)
...src/components/FilterableTable/FilterableTable.tsx 82.26% <ø> (ø)
superset-frontend/src/components/Icons/index.tsx 100.00% <ø> (ø)
superset-frontend/src/components/Select/Select.tsx 0.00% <0.00%> (ø)
superset-frontend/src/constants.ts 100.00% <ø> (ø)
superset-frontend/src/dashboard/actions/hydrate.js 1.72% <ø> (ø)
...frontend/src/dashboard/components/Header/index.jsx 67.15% <ø> (ø)
...dashboard/components/SliceHeaderControls/index.tsx 76.98% <ø> (ø)
...c/dashboard/components/gridComponents/Markdown.jsx 82.82% <ø> (ø)
... and 55 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 09c44d0...26cb774. Read the comment docs.

@michael-s-molina
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@michael-s-molina Ephemeral environment creation is currently limited to committers.

@michael-s-molina
Copy link
Member

@michael-s-molina Ephemeral environment creation is currently limited to committers.

😢 @rusackas?

@rusackas
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

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

@michael-s-molina
Copy link
Member

@pkdotson The alignment is a little bit up after the change. This problem is happening in more than one place when the new icon component is being used. Maybe we can find a global solution for this?

@michael-s-molina
Copy link
Member

Another thing is that the icon is not centralized inside the button or the button should have more height.
Screen Shot 2021-06-30 at 7 28 44 AM

Copy link
Member

@rusackas rusackas left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the alignment tweak.

@rusackas rusackas merged commit 7f2f51b into apache:master Jul 1, 2021
@rusackas rusackas deleted the icons-listview branch July 1, 2021 18:36
@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2021

Ephemeral environment shutdown and build artifacts deleted.

cccs-RyanS pushed a commit to CybercentreCanada/superset that referenced this pull request Dec 17, 2021
* initial commit

* fix dashboard cypress tests

* fix more tests

* fix more tests

* fix listviews
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 29, 2021
* initial commit

* fix dashboard cypress tests

* fix more tests

* fix more tests

* fix listviews
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
* initial commit

* fix dashboard cypress tests

* fix more tests

* fix more tests

* fix listviews
@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 preset-io size/S 🚢 1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants