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

Refactored Embed #1888

Open
1 task
oskarkrawczyk opened this issue Sep 16, 2024 · 0 comments
Open
1 task

Refactored Embed #1888

oskarkrawczyk opened this issue Sep 16, 2024 · 0 comments
Assignees
Milestone

Comments

@oskarkrawczyk
Copy link
Member

oskarkrawczyk commented Sep 16, 2024

Embed is a bit dated at this point as it follows UI and code from JSFiddle 2.0.

A few ideas:

  • Split view - It would be good to refactor the UI, along with adding a split-view where the RESULTS can be visible along one of the code panels (JS, HTML, CSS).
  • Simplified editing - Another good feature would be a simplified way of editing inside of the embed - this would require the usage of CodeMirror inside of the embed and while that's additional kilobytes to download, the upside is that syntax coloring would be already there, no need to use the external library we have right now.
  • Loading optimization - lazy load the iframe itself and the results iframe, perhaps there are further optimizations that could be made.
  • Auto light-dark theme - following the theme of the parent website where the embed is... embedded.

Needs fixing:

@oskarkrawczyk oskarkrawczyk added this to the 3.1 milestone Sep 16, 2024
@oskarkrawczyk oskarkrawczyk self-assigned this Sep 16, 2024
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

No branches or pull requests

1 participant