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

feat(viz picker): Remove some tags, refactor Recommended section #27708

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

kgabryje
Copy link
Member

@kgabryje kgabryje commented Mar 27, 2024

SUMMARY

Implements changes from discussion #27557

  1. Remove the Recommended tags section and move the charts in "Popular" to a "Featured" section underneath All Charts, "Featured" is selected by default
  2. Remove the following tags:
  • Aesthetic
  • Coordinates
  • Deprecated
  • Description
  • Discrete
  • Experimental
  • Vertical
  1. Bar Chart (legacy) : Remove Popular/Featured tag from Bar Chart (legacy)
  2. Collapse Tags section by default

Also, refactored the svg icons used in viz picker (ballot, category, tags) as their viewboxes were weird, which resulted in additional css used to make them look good

CC @yousoph

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

image

After:

image

TESTING INSTRUCTIONS

Open the viz picker, verify that Recommended section is gone and Featured contains all charts with "Popular" tag, verify that everything looks good

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • 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

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 69.77%. Comparing base (349e496) to head (0d8d05d).
Report is 3 commits behind head on master.

Files Patch % Lines
...ponents/controls/VizTypeControl/VizTypeGallery.tsx 77.77% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #27708      +/-   ##
==========================================
- Coverage   69.77%   69.77%   -0.01%     
==========================================
  Files        1911     1911              
  Lines       75056    75061       +5     
  Branches     8362     8364       +2     
==========================================
+ Hits        52374    52376       +2     
- Misses      20630    20631       +1     
- Partials     2052     2054       +2     
Flag Coverage Δ
javascript 57.48% <77.77%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yousoph
Copy link
Member

yousoph commented Mar 27, 2024

/testenv up

Copy link
Contributor

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

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

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

Thank you for the improvement @kgabryje!

My only non-blocking comment would be to replace the Featured icon with a ⭐

Screenshot 2024-03-28 at 08 25 28

@kgabryje
Copy link
Member Author

My only non-blocking comment would be to replace the Featured icon with a ⭐

@yousoph @kasiazjc wdyt?

@kasiazjc
Copy link
Contributor

kasiazjc commented Apr 2, 2024

My only non-blocking comment would be to replace the Featured icon with a ⭐

@yousoph @kasiazjc wdyt?

@michael-s-molina also thought about ⭐️ at first, but we already use it for "favorites", so wanted to avoid duplicates. Sadly ant-d doesnt have the best choice for icons, but the other contenders (besides pin) would be:
image
or just
image
Thoughts @kgabryje @michael-s-molina ?

@kgabryje
Copy link
Member Author

kgabryje commented Apr 2, 2024

The first one looks good!

@michael-s-molina
Copy link
Member

@kasiazjc The first one works. There's also:

Screenshot 2024-04-02 at 13 18 00 Screenshot 2024-04-02 at 13 19 22

I'll let you make the call 😉

@kasiazjc
Copy link
Contributor

kasiazjc commented Apr 2, 2024

@kasiazjc The first one works. There's also:

Screenshot 2024-04-02 at 13 18 00 Screenshot 2024-04-02 at 13 19 22
I'll let you make the call 😉

Actually I think fire works well 🔥
Cc: @kgabryje

@kgabryje
Copy link
Member Author

kgabryje commented Apr 3, 2024

image

@kasiazjc @michael-s-molina Looks pretty good 🙂

@kgabryje kgabryje force-pushed the feat/update-viz-picker branch from 0d8d05d to 1f00e8a Compare April 3, 2024 09:52
@michael-s-molina
Copy link
Member

Thank you! 🔥

@kgabryje kgabryje merged commit c314999 into apache:master Apr 3, 2024
33 checks passed
Copy link
Contributor

github-actions bot commented Apr 3, 2024

Ephemeral environment shutdown and build artifacts deleted.

jzhao62 pushed a commit to jzhao62/superset that referenced this pull request Apr 4, 2024
EandrewJones pushed a commit to UMD-ARLIS/superset that referenced this pull request Apr 5, 2024
EnxDev pushed a commit to EnxDev/superset that referenced this pull request Apr 12, 2024
betodealmeida pushed a commit that referenced this pull request Apr 25, 2024
qleroy pushed a commit to qleroy/superset that referenced this pull request Apr 28, 2024
eschutho pushed a commit that referenced this pull request Jun 5, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 4.1.0 labels Nov 27, 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 plugins size/L 🚢 4.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants