mrdoob / glsl-sandbox

Shader editor and gallery.
https://glslsandbox.com/
MIT License
1.55k stars 260 forks source link

Searchable Comments and User accounts #19

Closed matthewwachter closed 2 years ago

matthewwachter commented 11 years ago

It would be pretty handy to be able to search through the comments section of the code for certain codes. This would make it easier to find codes made by certain artists.

The option to search through code would be nice too. For instance, the other day I was trying to find implementations of barrel distortion.

Having the option to sign in with a Sandbox user account (with maybe an optional link to social media sites) might ease this process a bit. It would also be nice to be able to leave comments on other peoples code some where other than in the code itself. If there existed some sort of comment board linked to each piece of code that would be sweet.

-Matt

emackey commented 10 years ago

I don't think GLSL Sandbox will ever have user accounts. But I really want a search option, that searches code & comments for a string, and returns something like a filtered view of the gallery page with matches. @jfontan is this doable?

jpryne commented 10 years ago

Keywords would be nice for this too. New issue?

jfontan commented 10 years ago

I have to check free text search in mongo. The code is stored in an array of strings with each version and the search should be done with all versions of all effects.

I don't think adding new fields will be good. Maybe if I can do the text search we can add the keywords/tags as comments. Something like:

// #raycasting #sphere