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): undo and redo buttons weird alignment #16417

Merged
merged 6 commits into from
Aug 25, 2021

Conversation

MaxHuiYYDS
Copy link
Contributor

SUMMARY

dashboard-ui:
I think it related to PR #13037, which help add 8px marginRight when there are more than one element. But it may not apply for this situation, in order not to affect other components, I add the showMarginRight prop in Button Component.

###: BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

1:dashboard-ui: BEFORE:

image

1:dashboard-ui: AFTER:

image

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue: Fixes [dashboard][cosmetic]undo and redo buttons weird alignment  #16365
  • [] 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

@MaxHuiYYDS
Copy link
Contributor Author

@junlincc @ktmud please help review, thanks.

@junlincc junlincc changed the title Fix [dashboard][cosmetic]undo and redo buttons weird alignment Fix(dashboard): undo and redo buttons weird alignment Aug 24, 2021
@junlincc
Copy link
Member

/testenv up

@github-actions
Copy link
Contributor

@junlincc Container image not yet published for this PR. Please try again when build is complete.

@github-actions
Copy link
Contributor

@junlincc Ephemeral environment creation failed. Please check the Actions logs for details.

@MaxHuiYYDS
Copy link
Contributor Author

@michael-s-molina please help me review this PR, thanks.

@michael-s-molina michael-s-molina changed the title Fix(dashboard): undo and redo buttons weird alignment fix(dashboard): undo and redo buttons weird alignment Aug 25, 2021
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.

Thanks for the fix 👍🏼

@michael-s-molina michael-s-molina merged commit 6a2cec5 into apache:master Aug 25, 2021
amitmiran137 pushed a commit to nielsen-oss/superset that referenced this pull request Aug 26, 2021
* upstream/master: (25 commits)
  chore(ci): bump pylint to 2.10.2 (apache#16463)
  fix: prevent page crash when chart can't render (apache#16464)
  chore: fixed slack invite link (apache#16466)
  fix(native-filters): handle null values in value filter (apache#16460)
  feat: add function list to auto-complete to Clickhouse datasource (apache#16234)
  refactor(explore): improve typing for Dnd controls (apache#16362)
  fix(explore): update overwrite button on perm change (apache#16437)
  feat: Draggable and Resizable Modal (apache#16394)
  refactor: sql_json view endpoint (apache#16441)
  fix(dashboard): undo and redo buttons weird alignment  (apache#16417)
  fix: setupPlugin in chart list page (apache#16413)
  fix: Disable Slack notification method if no api token (apache#16367)
  feat: add Shillelagh DB engine spec (apache#16416)
  fix: copy to Clipboard order (apache#16299)
  docs: make FEATURE_FLAGS.md reference a link (apache#16415)
  chore(viz): bump superset-ui to 0.17.87 (apache#16420)
  feat: add activate command (apache#16404)
  Revert "fix(explore): let admin overwrite slice (apache#16290)" (apache#16408)
  fix(explore): retain chart ownership on query context update (apache#16419)
  chore: Removes the TODOs and uses the default page size (apache#16422)
  ...
opus-42 pushed a commit to opus-42/incubator-superset that referenced this pull request Nov 14, 2021
* fix(dashboard-ui): undo and redo buttons weird alignment

* fix(Explore control pane): keyboard nav & focus

* lint: lint frontend

* fix: fix redo and undo button style

* lint: lint line

* lint: lint line

Co-authored-by: xuzhebin <maxhui2020@gmail.com>
QAlexBall pushed a commit to QAlexBall/superset that referenced this pull request Dec 28, 2021
* fix(dashboard-ui): undo and redo buttons weird alignment

* fix(Explore control pane): keyboard nav & focus

* lint: lint frontend

* fix: fix redo and undo button style

* lint: lint line

* lint: lint line

Co-authored-by: xuzhebin <maxhui2020@gmail.com>
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 1.4.0 labels Mar 13, 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.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[dashboard][cosmetic]undo and redo buttons weird alignment
4 participants