-
Notifications
You must be signed in to change notification settings - Fork 2
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: Move editor console to tab #3578
Conversation
Removed vultr server and associated DNS entries |
41b9c6e
to
9397f0d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this, feels much more like a "console" and always great to reduce overlapping windows / a lot of vertical scrolling !
Separate file for StyledTab
feels very clean to maintain ➕
)} | ||
<StyledTab value="Console" label="Console" tabTheme="dark" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much tidier 🙌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solid improvement!
Small nit / personal opinion would be that the black is maybe too dark. I'm not sure if a colour close to the header would work a bit better maybe?
I think there's a whole redesign we could do here anyway, and using a lib like https://react-json-view.microlink.io/ to make the whole "console" concept a whole lot more useful!
Thanks both, I agree the dark is somewhat overpowering, I've changed to the same |
What does this PR do?
🚧 Edit sidebar icon replacement pt2 🚧
Replaces console icon with a dedicated tab for the console. This is given a 'dark' theme with corresponding prop for dark tabs.
I've also moved
StyledTab
to its own file, I was unsure whether this should remain in the current folder, or be moved to the wider UI components folders, as it is only used in this place. Open to suggestions on this one.Example:
https://3578.planx.pizza/lambeth/apply-for-planning-permission