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

Add option to select language while adding the snippet #7

Closed Suhas-Koheda closed 1 month ago

Suhas-Koheda commented 1 month ago

Describe the bug It looks like the language section in the add snippet does not check if the language is valid or not it would be good if there is a drop down to choose the languages from the below such

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Add Snippet'
  2. Click on 'Language'
  3. Any language can be written

Expected behavior A drop down can be added to enable user to chose form one of the programming langauge

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

github-actions[bot] commented 1 month ago

👋 Welcome to our repository! We're glad you're here. If you have any questions, feel free to ask. Here's a guide to help you get started: GETTING_STARTED.

Suhas-Koheda commented 1 month ago

hey @notsoocool if you feel the issue is valid can you please assign this to me i would like to solve this under gssoc24 extnd and hacktoberfest

notsoocool commented 1 month ago

Sure! Thank you for pointing this out. Before proceeding, kindly make sure to review the contributing guidelines and the coding standards for the project to maintain consistency. We encourage the use of a dropdown to restrict language input and ensure that users can only select from supported languages.

Feel free to suggest a list of commonly used programming languages if you have one in mind, or I can provide one for you. You can create a branch for this issue and submit a pull request once you're ready.