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: Create reusable input field component and cleanup code #1017

Closed
1 task done
siiddhantt opened this issue Jun 28, 2024 · 1 comment · Fixed by #1027
Closed
1 task done

🚀 Feature: Create reusable input field component and cleanup code #1017

siiddhantt opened this issue Jun 28, 2024 · 1 comment · Fixed by #1027
Assignees
Labels
enhancement New feature or request frontend help wanted Extra attention is needed javascript Pull requests that update Javascript code

Comments

@siiddhantt
Copy link
Collaborator

🔖 Feature description

Create a reusable input field component to replace redundant Tailwind CSS classes, ensuring consistent styling and cleaner code.

🎤 Why is this feature needed ?

Reduce redundancy, ensure consistency, improve maintainability, enhance code quality, and clean up the codebase.

✌️ How do you aim to achieve this?

Identify common patterns, create a reusable component, replace existing fields and test thoroughly.

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@siiddhantt siiddhantt added enhancement New feature or request frontend documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Jun 28, 2024
@dartpain dartpain added the help wanted Extra attention is needed label Jun 28, 2024
@utin-francis-peter
Copy link
Contributor

Hi, @dartpain @siiddhantt

I've studied the repetitive usage of text input across multiple files - like APIKeyModal, PromptsModal, APIKeys, and Upload- and currently designing the component.

I also noted an editable div element is used for entering prompts which could also use the Input component in view.

Kindly assign me the issue.

@dartpain dartpain added the javascript Pull requests that update Javascript code label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend help wanted Extra attention is needed javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants