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

React resizable panels #2398

Merged
merged 14 commits into from
Aug 23, 2023
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Jul 31, 2023

  • Replace react-split-pane with react-resizable-panels everywhere in preparation for merging a bottom query panel UX
  • UX modification: slightly modifies the custom function UX
Screen.Recording.2023-08-17.at.5.41.46.PM.mov

Also closes #2516

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jul 31, 2023
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Aug 2, 2023
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 17, 2023
@bharatkashyap bharatkashyap added the core Infrastructure work going on behind the scenes label Aug 17, 2023
@@ -152,8 +152,8 @@ test('must correctly size new layout columns', async ({ page }) => {
const secondFullWidthBoundingBox3 = await getNthFullWidthBoundingBox(1);
const thirdFullWidthBoundingBox3 = await getNthFullWidthBoundingBox(2);

expect(firstFullWidthBoundingBox3!.width).toBe(secondFullWidthBoundingBox3!.width);
Copy link
Member

Choose a reason for hiding this comment

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

I think this is because of minor differences in the resize handler widths:
Screenshot 2023-08-18 at 3 59 32 PM

Sufficiently minor to ignore in my opinion

Copy link
Member

Choose a reason for hiding this comment

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

I think that's fine if there's no easy better solution!

@bharatkashyap bharatkashyap marked this pull request as ready for review August 21, 2023 10:18
Copy link
Member Author

@Janpot Janpot left a comment

Choose a reason for hiding this comment

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

@bharatkashyap Can't approve my own PR, but this looks good to me 👍 . Thanks for completing this work.

Let's keep an eye on bvaughn/react-resizable-panels#182 for the pixel based sizes

@bharatkashyap bharatkashyap enabled auto-merge (squash) August 22, 2023 13:51
@bharatkashyap bharatkashyap merged commit c75aae6 into mui:master Aug 23, 2023
@Janpot Janpot mentioned this pull request Aug 28, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Page explorer panel height should presist
3 participants