feat(ui): enhance settings modal styling and add priority tags tabs

- Rename `.settings-open-location-button` to `.settings-action-link` for better semantic meaning
- Add enhanced hover/focus states with accent colors and border transitions
- Implement tabbed interface for priority tags with LoRA, checkpoint, and embedding sections
- Improve input styling with consistent error states and example code formatting
- Remove deprecated grid layout in favor of tab-based organization
- Add responsive tab navigation with proper focus management and visual feedback
This commit is contained in:
Will Miao
2025-10-11 19:43:22 +08:00
parent 87842385c6
commit 5fe5e7ea54
16 changed files with 259 additions and 99 deletions

View File

@@ -258,8 +258,8 @@
"title": "Priority Tags",
"description": "Customize the tag priority order for each model type. The first match becomes the folder name and powers tag suggestions.",
"placeholder": "celebrity(celeb|celebrity), stylized, character(char)",
"help": "Separate entries with commas. Add aliases inside parentheses using the | symbol.",
"aliasHint": "Tip: Keep canonical names short and meaningful. You can use new lines to group related entries.",
"example": "Example: celebrity(celeb|celebrity), stylized, character(char)",
"helpLinkLabel": "Open priority tags help",
"modelTypes": {
"lora": "LoRA priority",
"checkpoint": "Checkpoint priority",
@@ -267,7 +267,7 @@
},
"saveSuccess": "Priority tags updated.",
"saveError": "Failed to update priority tags.",
"loadingSuggestions": "Loading suggestions",
"loadingSuggestions": "Loading suggestions...",
"validation": {
"missingClosingParen": "Entry {index} is missing a closing parenthesis.",
"missingCanonical": "Entry {index} must include a canonical tag name.",