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: globally disable underscore for links in menu items #11491

Merged
merged 1 commit into from
Nov 2, 2020

Conversation

ktmud
Copy link
Member

@ktmud ktmud commented Oct 29, 2020

SUMMARY

Globally disable underscore for links in menu items. Adding style overrides with styled components.

Developers should now use import { MenuItem } from "src/common/components", instead of Menu.Item.

Also makes antd exports explicit so that it's easier to override components under the same name.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before

#11395 (comment)

After

TEST PLAN

Manual

ADDITIONAL INFORMATION

@ktmud ktmud requested review from nytai and rusackas October 29, 2020 18:10
@ktmud
Copy link
Member Author

ktmud commented Oct 29, 2020

cc @kgabryje

@codecov-io
Copy link

codecov-io commented Oct 29, 2020

Codecov Report

Merging #11491 into master will decrease coverage by 4.24%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11491      +/-   ##
==========================================
- Coverage   66.54%   62.29%   -4.25%     
==========================================
  Files         873      873              
  Lines       41767    41762       -5     
  Branches     3826     3826              
==========================================
- Hits        27792    26017    -1775     
- Misses      13873    15566    +1693     
- Partials      102      179      +77     
Flag Coverage Δ
cypress ?
javascript 62.64% <100.00%> (+<0.01%) ⬆️
python 62.09% <ø> (+0.05%) ⬆️

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

Impacted Files Coverage Δ
superset-frontend/src/common/components/index.tsx 100.00% <100.00%> (ø)
superset-frontend/src/SqlLab/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/App.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/dashboard/index.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupColors.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/chart/ChartContainer.jsx 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/setup/setupFormatters.js 0.00% <0.00%> (-100.00%) ⬇️
superset-frontend/src/explore/reducers/index.js 0.00% <0.00%> (-100.00%) ⬇️
... and 179 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 854a461...7bcd436. Read the comment docs.

@ktmud ktmud mentioned this pull request Oct 29, 2020
5 tasks
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!

@ktmud ktmud merged commit 5d9448f into apache:master Nov 2, 2020
auxten pushed a commit to auxten/incubator-superset that referenced this pull request Nov 20, 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.

5 participants