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

WIP Split Pane #798

Merged
merged 11 commits into from
Jul 30, 2024
Merged

WIP Split Pane #798

merged 11 commits into from
Jul 30, 2024

Conversation

michaelhelper
Copy link
Collaborator

just a draft.
I added a button and a hacky split pane view

@michaelhelper michaelhelper linked an issue Jul 19, 2024 that may be closed by this pull request
@curran
Copy link
Contributor

curran commented Jul 19, 2024

Excellent start! Please re-build based on #802

That provides a foundation where you can make the icon clicking do something - probably dispatch a new action that transforms the pane from a leafPane to a splitPane. Good luck!

@curran
Copy link
Contributor

curran commented Jul 19, 2024

Actually, I could merge this if we revert the changes commenting out the DOM removal AND put the new icon behind a feature flag. Ideally the icon could represent a split pane. The "+" symbol may not be the best.

@michaelhelper
Copy link
Collaborator Author

VScode icon for split view:
image

@michaelhelper
Copy link
Collaborator Author

michaelhelper commented Jul 23, 2024

  • new action type
  • call reducer (ex set active file id)
  • Utilize find pane
  • new update pane function - new similar split pane function
  • editor cache key should be differnt for the same file open it differnt pane
  • move icon to top right

@curran
Copy link
Contributor

curran commented Jul 23, 2024

Added my commit. Back to you!

moved the split view icon to the top right of the editor and add moved the tooltip labels for the run code button and split view icon to display below the icons.
the new split pane reducer takes a leaf pane and converts it into a split pane with two leaf pane childern with the same tabs as the original leaf pane before the split.
@curran curran changed the title added fork button WIP Split Pane Jul 30, 2024
@curran curran marked this pull request as ready for review July 30, 2024 18:47
@curran curran merged commit 79de3df into main Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split Pane View
2 participants