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 : Change menu name and reorder items #11993

Merged
merged 2 commits into from
Dec 13, 2020

Conversation

maloun96
Copy link
Contributor

SUMMARY

https://trello.com/c/gDvXud8G/43-explorechange-menu-label-and-order
change label "Explore Chart" to "View Chart in Explore"
Reorder items

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE
image
AFTER
image

TEST PLAN

  1. Log in
  2. Go to any Dashboard with charts
  3. Click "..." on the chart

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

@maloun96
Copy link
Contributor Author

@junlincc @rusackas

@codecov-io
Copy link

codecov-io commented Dec 10, 2020

Codecov Report

Merging #11993 (df26511) into master (7e6f04f) will decrease coverage by 0.17%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11993      +/-   ##
==========================================
- Coverage   63.75%   63.57%   -0.18%     
==========================================
  Files         941      940       -1     
  Lines       45654    45575      -79     
  Branches     4389     4373      -16     
==========================================
- Hits        29106    28976     -130     
- Misses      16371    16423      +52     
+ Partials      177      176       -1     
Flag Coverage Δ
javascript 62.73% <0.00%> (-0.17%) ⬇️
python 64.07% <ø> (-0.19%) ⬇️

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

Impacted Files Coverage Δ
...d/src/dashboard/components/SliceHeaderControls.jsx 12.32% <0.00%> (ø)
superset/examples/energy.py 27.50% <0.00%> (-72.50%) ⬇️
superset-frontend/src/explore/exploreUtils.js 55.47% <0.00%> (-15.33%) ⬇️
...erset-frontend/src/SqlLab/components/ResultSet.tsx 66.82% <0.00%> (-9.48%) ⬇️
superset/db_engine_specs/sqlite.py 65.62% <0.00%> (-9.38%) ⬇️
...perset-frontend/src/messageToasts/actions/index.ts 80.76% <0.00%> (-7.70%) ⬇️
...nd/src/explore/components/controls/TextControl.tsx 42.85% <0.00%> (-5.53%) ⬇️
.../src/explore/components/AdhocMetricEditPopover.jsx 54.76% <0.00%> (-4.98%) ⬇️
...nd/src/dashboard/components/FiltersBadge/index.tsx 90.47% <0.00%> (-4.77%) ⬇️
superset/reports/commands/execute.py 92.50% <0.00%> (-3.80%) ⬇️
... and 47 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 7e6f04f...df26511. Read the comment docs.

Copy link
Member

@junlincc junlincc left a comment

Choose a reason for hiding this comment

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

some typos...please check ticket in trello again🙏 @maloun96

View Chart in Explore
Share Chart
Maximize Chart
Download as Image
Export CSV

@zuzana-vej
Copy link
Contributor

I like the new order, thanks @junlincc. cc: @graceguo-supercat @ktmud

@maloun96
Copy link
Contributor Author

@junlincc check it now!

@ktmud
Copy link
Member

ktmud commented Dec 10, 2020

Are we using Trello for task management now? Because the link is a private board.

@rusackas
Copy link
Member

Are we using Trello for task management now? Because the link is a private board.

That's just being used internally, to mirror Github issues and add color to them, or to track/prioritize little odds and ends that are not on Github. That link isn't really relevant in this context. @maloun96 you might want to just remove it ;)

Copy link
Member

@ktmud ktmud left a comment

Choose a reason for hiding this comment

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

It seems the AFTER screenshot is not accurate. But I like the changes in the code.

Can we also have consistent casing for "Share chart" (vs "Share Chart")?

@junlincc
Copy link
Member

@maloun96 Thanks for fixing the typo.
NEW AFTER
Screen Shot 2020-12-11 at 7 01 35 PM

However, the instruction in Trello is below - capitalizing each word
View Chart in Explore
Share Chart
Maximize Chart
Download as Image
Export CSV

I scanned through most of the menuitem in Superset and the casing is a MESS across the product...
is there a standard for capitalizing (or not capitalizing) each word in the menuitem? if not, we SHOULD have one @mihir174

Screen Shot 2020-12-11 at 7 17 03 PM

Screen Shot 2020-12-11 at 7 16 38 PM

Screen Shot 2020-12-11 at 7 17 08 PM

Screen Shot 2020-12-11 at 7 21 55 PM

@rusackas
Copy link
Member

Merging, as this fixes the acute issue. I'll open a new PR that capitalizes a few things, and we can expand on various capitalization cleanup items in there, with the input of @mirhir174

@rusackas rusackas merged commit 022d755 into apache:master Dec 13, 2020
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.0.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.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants