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

refactor: app structure improvements #239

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

devcatalin
Copy link
Member

This PR...

Changes

  • moved leftMenu and rightManu state to ui store
  • simplified App.tsx by moving panes logic to new PaneManager component

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

- moved leftMenu and rightManu state to ui store
- simplified App.tsx by moving panes logic to new PaneManager component
return (
<StyledContent style={{height: contentHeight}}>
<StyledRow style={{height: contentHeight + 4}}>
<StyledColumnLeftMenu>
Copy link
Member

Choose a reason for hiding this comment

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

would it make sense to further split this into LeftToolbar, LeftPane, CenterPane, RightPane and RightToolbar components? (they could be in the same file...)

@devcatalin devcatalin merged commit 899e88b into main Aug 12, 2021
@devcatalin devcatalin deleted the catalinhoha/refactor/app-structure branch August 12, 2021 10:46
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.

None yet

2 participants