Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork49
feat: move code diff to separate tab#3286
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
is the diff default selected after submit or uri has hash target demo? If yes, then i'm ok with this. |
Yes, it's automatically selected on page load |
Hey, thanks for proposal. The idea behind demo is solely using it for simple code snippets to show bugs, typically 5-10 lines of code. It should not be used as "IDE" or coding editor. Saying that it's a feature, not a bug :) One way to try this out would be optional switcher, but that could lead to pretty confusing DX. I'm open to simpler UI that would solve your problem, and navigated to short demo files at the same time. |



Hello!
I've had several issues with the existing diff system:
So I decided to try and change that! This PR moves the diff into a separate
Difftab which allows you to: quickly switch back and forth between the code and the diff, it reduces horizontal scrolling, and every diff section has its own scroll bar if needed.Before
After
Thanks!