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

✨ Enhancement: The solution should be shown not directly added to the code #123

Open
Vineet1101 opened this issue Jan 20, 2025 · 3 comments
Labels
Status: Triage This is the initial status for an issue that requires triage.

Comments

@Vineet1101
Copy link

When someone click on the view solution it replaces the user code and so user is unable to find out the mistake that they were making

Image
Image

Solution: I think we should show solution side by side to the existing code in that way it will be easier for the user to find out mistake in their code.

Image
I mean something like this will be great

Are you working on this issue?
Yes

@erosb

@JeelRajodiya
Copy link
Member

JeelRajodiya commented Mar 4, 2025

@Vineet1101 This is a nice suggestion, but we have the content itself in the left side of the page. Can you suggest a better way to display the solution which mix with our existing designs?

@JeelRajodiya JeelRajodiya added the Status: Triage This is the initial status for an issue that requires triage. label Mar 4, 2025
@RoaaFouda
Copy link
Contributor

I suggest that maybe when "view solution" is pressed, a box pops up with the solution right under the test cases. Another slightly more complex solution would be to add a new tab to the coding editor which has the solution, so the user can switch between the two (their code and the solution). Feel free to take those suggestions into consideration or explore alternative ideas.

@RoaaFouda
Copy link
Contributor

Also, If @Vineet1101 is currently working on this issue, I wouldn't want to interfere. but if not, I'd be happy to take it on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This is the initial status for an issue that requires triage.
Projects
None yet
Development

No branches or pull requests

3 participants