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

fix: dashboard tab only shows move cursor when editing #11480

Merged

Conversation

rusackas
Copy link
Member

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before (display mode, wrong cursor):
before

After (display)
after-display

After (edit mode)
after-edit

TEST PLAN

ADDITIONAL INFORMATION

  • Has associated issue: Fixes [dashboard tab] cursor shape #11471
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

@codecov-io
Copy link

codecov-io commented Oct 29, 2020

Codecov Report

Merging #11480 into master will decrease coverage by 4.35%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #11480      +/-   ##
==========================================
- Coverage   66.60%   62.25%   -4.36%     
==========================================
  Files         862      862              
  Lines       41212    41208       -4     
  Branches     3716     3716              
==========================================
- Hits        27451    25654    -1797     
- Misses      13660    15376    +1716     
- Partials      101      178      +77     
Flag Coverage Δ
#cypress ?
#javascript 62.69% <ø> (ø)
#python 61.99% <ø> (ø)

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

Impacted Files Coverage Δ
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%) ⬇️
superset-frontend/src/setup/setupPluginsExtra.js 0.00% <0.00%> (-100.00%) ⬇️
... and 172 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 e024267...93df56f. Read the comment docs.

@@ -46,7 +46,7 @@
}
}

& .dragdroppable-tab {
& .dragdroppable-tab[draggable='true'] {
Copy link
Member

Choose a reason for hiding this comment

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

Why was this not a problem before? Was dragdroppable-tab dynamically added but somehow it's not possible to do so in the new implementation?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, it's all a big pile of overrides!

The prior situation was "cursor:move" all the way down to the tab text, which was an <input type="button"> which had an override with cursor:pointer via this super simple selector:
.dashboard-component-tabs .nav-tabs>li .editable-title input[type=button]

Instead of a button, that tab text is now in a span, so the override is not being applied. It happened here via #10936

@suddjian suddjian merged commit 68d493e into apache:master Oct 29, 2020
@rusackas rusackas deleted the fixing-erroneous-dashboard-tab-cursor branch October 29, 2020 15:14
@graceguo-supercat
Copy link

thank you!

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/XS 🚢 1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dashboard tab] cursor shape
7 participants