notsoocool / codecache

CodeCache is a dynamic web application designed to streamline the way developers manage and access code snippets. The platform provides a comprehensive library of code snippets, allowing users to save, organize, and retrieve useful code snippets for various programming languages and use cases.
https://codecache.tech
MIT License
18 stars 56 forks source link

Edit Snippet Feature #78

Closed inkerton closed 1 month ago

inkerton commented 1 month ago

Is your feature request related to a problem? Please describe. Currently their is no way of editing the snippets. I want to give an edit option as weel to the user I was thinking of giving an edit option beside the delete icon in the My Profile page.

Describe the solution you'd like Solution would be to let the user Edit the snippet and save the edited snippet.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

inkerton commented 1 month ago

@notsoocool Assign the issue to me and let me know what type of edit page you want. I submitted a PR for delete snippet. Also I keep getting this error I was not sure if I should make a separate issue for it. If this would count I will first work on this bug then work on edit.

image

inkerton commented 1 month ago

here since title is required in the model no snippet has null as a title but I don't know why this error occured . @notsoocool

notsoocool commented 1 month ago

@notsoocool Assign the issue to me and let me know what type of edit page you want. I submitted a PR for delete snippet. Also I keep getting this error I was not sure if I should make a separate issue for it. If this would count I will first work on this bug then work on edit.

image

sometimes it shows this error, because ig the snippet are not loaded which reflects in this error

notsoocool commented 1 month ago

Is your feature request related to a problem? Please describe. Currently their is no way of editing the snippets. I want to give an edit option as weel to the user I was thinking of giving an edit option beside the delete icon in the My Profile page.

Describe the solution you'd like Solution would be to let the user Edit the snippet and save the edited snippet.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

i will assign this issue to you, but first complete the delete feature as mentioned