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

Suggestion - Faster Search #1810

Open
greggman opened this issue Apr 14, 2023 · 1 comment
Open

Suggestion - Faster Search #1810

greggman opened this issue Apr 14, 2023 · 1 comment
Assignees

Comments

@greggman
Copy link

I'm just passing this on in the interest what works for me that others might find beneficial if you added to JSFiddle.

A couple of years ago I wrote my own clone of JSFiddle. I had 2 things I wanted

  1. An editor I preferred (yea, I know, emacs vs vim 😂)
  2. Faster search

In my clone, I keep a list of all of the names of the user's fiddles in localstorage. Syncing can ask the server (give me only the fiddles that are newer than <date>) and I've stored the date of last sync also in localStorage so updating is quick.

But, the bigger win is, search is instant

What this means is it has become my go-to site for personal working examples and code snippets because it's quick to find them. Search was added to JSFiddle but, at least for me, it's too slow to be useful. The live thumbnails are beautiful as well but they're slow for my use case, partly because only about 6 results fit on the screen, partly because they're often distracting from the titles, if I have multiple titles with similar looks.

Because the one I'm using is fast, I have over 900 code samples and growing. Maybe others would also find that use case better served with faster search UI in JSFiddle?

Screen.Recording.2023-04-14.at.15.25.47.mov
@oskarkrawczyk
Copy link
Member

I was cleaning up issues before the release of 3.0 and stumbled across this one which I've missed.

Very cool idea, I might just try it out since I plan to show fiddle listing inside of the editor.

@oskarkrawczyk oskarkrawczyk self-assigned this Apr 20, 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

2 participants