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): unable to resize due to the overlapped droptarget #28772

Conversation

justinpark
Copy link
Member

SUMMARY

This commit fixes the resizing issues on last item in #28746 and #28395 by applying the inset location only while dragging.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

Before:

ChartResize-ezgif com-optimize (1)

After:

after--dropzone.mov

TESTING INSTRUCTIONS

Extend a widget to the entire width, then resize it again to narrow it down.

ADDITIONAL INFORMATION

  • Has associated issue:
  • 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

@dosubot dosubot bot added change:frontend Requires changing the frontend dashboard Namespace | Anything related to the Dashboard labels May 29, 2024
@justinpark justinpark force-pushed the hotfix--unable-resize-due-to-inset-dropzone branch from e53c6ac to 9ffa172 Compare May 29, 2024 23:42
@michael-s-molina
Copy link
Member

@rtexelm

@justinpark justinpark force-pushed the hotfix--unable-resize-due-to-inset-dropzone branch from 9ffa172 to 6296211 Compare May 30, 2024 17:55
@justinpark
Copy link
Member Author

@rtexelm could you help this code review?

Copy link
Member

@rtexelm rtexelm left a comment

Choose a reason for hiding this comment

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

Yeah, this is definitely more appropriate. LGTM

@justinpark justinpark merged commit ce568c3 into apache:master May 30, 2024
31 checks passed
EnxDev pushed a commit to EnxDev/superset that referenced this pull request May 31, 2024
@michael-s-molina michael-s-molina added the v4.0 Label added by the release manager to track PRs to be included in the 4.0 branch label Jun 4, 2024
michael-s-molina pushed a commit that referenced this pull request Jun 5, 2024
eschutho pushed a commit that referenced this pull request Jun 23, 2024
@mistercrunch mistercrunch added 🍒 4.0.2 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels labels Jul 24, 2024
irublev pushed a commit to HighviewPower/superset that referenced this pull request Oct 29, 2024
vinothkumar66 pushed a commit to vinothkumar66/superset that referenced this pull request Nov 11, 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 change:frontend Requires changing the frontend dashboard Namespace | Anything related to the Dashboard size/S v4.0 Label added by the release manager to track PRs to be included in the 4.0 branch 🍒 4.0.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants