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

Site UX Change: Code Walkthrough Changes #37

Open
alisonhall opened this issue Feb 7, 2024 · 0 comments
Open

Site UX Change: Code Walkthrough Changes #37

alisonhall opened this issue Feb 7, 2024 · 0 comments
Labels
P3 Low priority work site ux changes that effect the website UX XL 7 days of effort.

Comments

@alisonhall
Copy link
Collaborator

alisonhall commented Feb 7, 2024

This ticket would have to be done separately from #109

Being able to view all of the HTML/CSS/JS of a code example at once would be useful, since it isn't immediately obvious if there is a different file/language in the example until someone selects the relevant step.

Having the code be themed would be useful to help distinguish standard keywords, and style any comments differently.

The Monaco Editor is one option for this custom code view, which allows code themes. Using the diff feature would be another way of highlighting the changes for the different steps.

This ticket should be broken up into smaller chunks:

  1. Having HTML/CSS/JS all in one widget (possibly tabs, like a Codepen)
  2. Syntax highlighting
  3. Code Diff.
@zoltan-dulac zoltan-dulac changed the title UI Suggestion: View full code of examples Site UX Change: Code Walkthrough Changes May 29, 2024
@alisonhall alisonhall added the site ux changes that effect the website UX label May 29, 2024
@zoltan-dulac zoltan-dulac added XL 7 days of effort. P3 Low priority work labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 Low priority work site ux changes that effect the website UX XL 7 days of effort.
Projects
None yet
Development

No branches or pull requests

2 participants