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): top dropdown indicator in tab moved closer to the bottom edge #12658

Merged
merged 1 commit into from
Jan 23, 2021

Conversation

kkucharc
Copy link
Contributor

SUMMARY

Really small fix in drag and drop indicator in tabs area: it is moved a few pixels down to be below the tab name area.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:
before

After:
after

TEST PLAN

  1. Go to dashboards
  2. Choose a dashboard (can be Tabbed Dashboard)
  3. Go to edit mode
  4. Add chart (or markdown) to the tabs area

I tested with native filters enabled and disabled.

ADDITIONAL INFORMATION

Connected to: #12486

  • 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

@kkucharc
Copy link
Contributor Author

@ktmud @junlincc tell me if it looks fine for you :)

@codecov-io
Copy link

codecov-io commented Jan 21, 2021

Codecov Report

Merging #12658 (0c183c6) into master (f2b8029) will decrease coverage by 3.10%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #12658      +/-   ##
==========================================
- Coverage   66.93%   63.83%   -3.11%     
==========================================
  Files        1018      486     -532     
  Lines       49793    29985   -19808     
  Branches     4877        0    -4877     
==========================================
- Hits        33330    19140   -14190     
+ Misses      16340    10845    -5495     
+ Partials      123        0     -123     
Flag Coverage Δ
cypress ?
javascript ?
python 63.83% <ø> (-0.31%) ⬇️

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

Impacted Files Coverage Δ
superset/sql_validators/postgres.py 50.00% <0.00%> (-50.00%) ⬇️
superset/databases/commands/create.py 83.67% <0.00%> (-8.17%) ⬇️
superset/databases/commands/update.py 85.71% <0.00%> (-8.17%) ⬇️
superset/db_engine_specs/sqlite.py 90.62% <0.00%> (-6.25%) ⬇️
superset/databases/commands/test_connection.py 84.78% <0.00%> (-4.35%) ⬇️
superset/utils/celery.py 96.42% <0.00%> (-3.58%) ⬇️
superset/models/core.py 85.86% <0.00%> (-2.99%) ⬇️
superset/views/core.py 72.82% <0.00%> (-2.48%) ⬇️
superset/db_engine_specs/mysql.py 89.79% <0.00%> (-2.05%) ⬇️
superset/datasets/api.py 89.49% <0.00%> (-1.83%) ⬇️
... and 540 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 f2b8029...0c183c6. Read the comment docs.

@junlincc junlincc changed the title fix: top dropdown indicator in tab moved closer to the bottom edge fix(dashboard): top dropdown indicator in tab moved closer to the bottom edge Jan 21, 2021
@junlincc junlincc requested review from junlincc and ktmud January 21, 2021 14:04
@junlincc junlincc added the dashboard:editmode Related to te Dashboard edit mode label Jan 21, 2021
@ktmud
Copy link
Member

ktmud commented Jan 21, 2021

Looks good

@ktmud
Copy link
Member

ktmud commented Jan 21, 2021

Was your screenshot based on some other branch? Because when I tested locally the indicator width is still a little off:

Snip20210121_210

@kkucharc kkucharc force-pushed the 12486-top-tabs-indicator branch from 5985d4a to 0c183c6 Compare January 22, 2021 12:15
@kkucharc
Copy link
Contributor Author

Was your screenshot based on some other branch? Because when I tested locally the indicator width is still a little off:

Snip20210121_210

Thank you @ktmud for checking! I was pretty sure that I'm working on current master (without previous PR it my changes wouldn't help). Now, it's rebased and everything double checked.

@adam-stasiak would you like to test?

@junlincc
Copy link
Member

tested, LGTM! ✅ Thanks for the fix!

@zhaoyongjie zhaoyongjie merged commit dc740ec into apache:master Jan 23, 2021
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.2.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 dashboard:editmode Related to te Dashboard edit mode size/XS 🚢 1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants