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

[Feature] - Add favouriting feature to snippets #147

Open
pl44t opened this issue Jan 2, 2025 · 3 comments
Open

[Feature] - Add favouriting feature to snippets #147

pl44t opened this issue Jan 2, 2025 · 3 comments
Labels
enhancement New feature or request future Might implement in the future

Comments

@pl44t
Copy link
Contributor

pl44t commented Jan 2, 2025

What feature would you like to see?

Add the ability to favourite snippets, which ones are favourited can be stored in local browser storage, favourites can be viewed in a Favourites page, maybe accessable from the top of the language dropdown menu?

@technoph1le technoph1le added enhancement New feature or request future Might implement in the future labels Jan 3, 2025
@ashukr07
Copy link
Contributor

It will Browser Specific storage. Favorites saved in one browser won't be accessible in another browser, as localStorage is not shared across browsers or devices. So if any user switched to other device his favourite snippets will be lost.
Also if by mistake user cleared the localStorage manually, then also it will be lost.

I think it would be better if we store the favourites snippets of user at a backend storage. We would then also need an authentication system to sign up the user.

@pl44t
Copy link
Contributor Author

pl44t commented Jan 10, 2025

i think having to integrate a authentication system will add another level of unneeded complexity to the project currently. But as outlined in the Vision.md for v2.0, there are plans for an authentication system for private snippets within personal accounts, which would make this a more possible addition.

@ashukr07
Copy link
Contributor

yeah makes sense, by that time we can go with the local storage feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request future Might implement in the future
Projects
None yet
Development

No branches or pull requests

3 participants