Skip to content

feat(admin): enhance TagInput with validation limits and template optimization#478

Merged
husamettinarabaci merged 2 commits into
developfrom
feat/add-taginput-component
Feb 1, 2026
Merged

feat(admin): enhance TagInput with validation limits and template optimization#478
husamettinarabaci merged 2 commits into
developfrom
feat/add-taginput-component

Conversation

@idris999-c

@idris999-c idris999-c commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

feat(admin): enhance TagInput with validation limits and template optimization

📄 Summary

Enhance the TagInput component to provide a more robust and flexible tagging experience. This PR introduces strict validation enforcement (hard limits), prevents duplicate entries, and optimizes the internal template structure using Svelte 5 snippets. The component now offers better layout control and a more refined UI, aligning with the project's premium design standards.


🧩 Affected Module

  • Source Code
  • Documentation
  • CI / Infra

Component Updates

  • TagInput: Implemented centralized validation logic, hard-coded min/max tag limits, and optimized the template with Svelte 5 snippets for better maintainability and performance. Removed boxed styling from the delete action for a cleaner aesthetic.
  • Input: Added unstyled support to allow raw input rendering when used inside complex parent containers like TagInput. Exposed the onkeydown handler for better event management.
  • Row: Introduced an inline flex property to support specialized layouts where the row should only occupy the width of its content.

✅ Checklist

  • My branch name follows format: feat/add-taginput-component
  • My PR title follows Conventional Commits format
  • My code is formatted with Prettier
  • I ran static analysis and resolved warnings
  • I ran tests successfully
  • I ensured this PR has no unrelated changes
  • This PR is ready for review

🔗 Related Issue

Closes #221

@idris999-c idris999-c self-assigned this Jan 29, 2026
@github-actions github-actions Bot added the module:source Source Code label Jan 29, 2026
@husamettinarabaci husamettinarabaci merged commit f404194 into develop Feb 1, 2026
9 checks passed
@husamettinarabaci husamettinarabaci deleted the feat/add-taginput-component branch February 1, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:source Source Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants