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

Implement Textarea component #7

Merged
merged 6 commits into from
Jun 18, 2024
Merged

Conversation

chessurisme
Copy link
Member

@chessurisme chessurisme commented May 24, 2024

❓ What type of PR is this?

  • Refactor ♻️
  • Feature ✨
  • Bug Fix 🛠️
  • Optimization 🚀
  • Documentation Update 📄
  • CI/CD 🤖

💬 Description

This PR includes a Textarea component class with methods of creation and removal.

This is responsible for creating a custom textarea in the DOM.

🎟️ Related Tickets & Documents

🃏 Added/updated tests?

We encourage you to keep the code coverage percentage at 90% and above.

  • Yes
  • No, because this is not necessary.
  • No, and this is why: I haven't write it yet.
  • I need help with writing tests

📚 Resources for Reviewers

🌿 What branch would you like to merge this into?

feature/components

📷 [optional] What gif best describes this PR or how it makes you feel?

Add Textarea class to handle creation and removal of textareas based on
the provided configuration. The class has methods to create and remove
the textarea elements.
Implement a function to create a textarea element based on the provided
configuration. The function utilizes configuration verification from the
`isConfigVerified` utility and sets attributes using the `setAttributes`
function. It creates a textarea container with specified text content
and attributes such as id, class, placeholder, and readonly.
This function removes a textarea element from the DOM.
@chessurisme chessurisme marked this pull request as ready for review May 24, 2024 11:13
@chessurisme chessurisme self-assigned this May 24, 2024
@chessurisme chessurisme added the ✨ enhancement New feature or request label May 24, 2024
@chessurisme chessurisme added this to the Quiz Manager 1.0 milestone May 24, 2024
Updated import paths in component files to use module resolution aliases
defined in jsconfig.json. This change improves code readability and
maintainability by replacing relative paths with aliases.
Combine multiple files into a single file to reduce unnecessary module
creation. This change simplifies navigation and improves codebase
organization.
@chessurisme chessurisme merged commit 5bc1237 into feature/components Jun 18, 2024
1 check passed
@chessurisme chessurisme deleted the feature/textarea branch June 18, 2024 10:20
@chessurisme chessurisme mentioned this pull request Jun 18, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant