refactor(app): improve terminal profile modal form and zinc button contrast
- Extract terminal profile add/edit modal into a reusable component with shared FormField/FormTextInput primitives. - Add inline validation, save-pending state, and keyboard navigation. - Fix zinc theme primary button foreground contrast by using accentForeground/destructiveForeground tokens. Closes #1484
This commit is contained in:
@@ -1642,7 +1642,10 @@ export const ar: TranslationResources = {
|
||||
nameLabel: "Name",
|
||||
commandLabel: "Command",
|
||||
argsLabel: "Arguments",
|
||||
nameRequired: "Name is required",
|
||||
commandRequired: "Command is required",
|
||||
argsHint: "Space-separated arguments passed to the command",
|
||||
saving: "Saving...",
|
||||
remove: "Remove",
|
||||
removeConfirmTitle: "Remove profile?",
|
||||
removeConfirmMessage: 'Remove "{{name}}"?',
|
||||
|
||||
@@ -1648,7 +1648,10 @@ export const en = {
|
||||
nameLabel: "Name",
|
||||
commandLabel: "Command",
|
||||
argsLabel: "Arguments",
|
||||
nameRequired: "Name is required",
|
||||
commandRequired: "Command is required",
|
||||
argsHint: "Space-separated arguments passed to the command",
|
||||
saving: "Saving...",
|
||||
remove: "Remove",
|
||||
removeConfirmTitle: "Remove profile?",
|
||||
removeConfirmMessage: 'Remove "{{name}}"?',
|
||||
|
||||
@@ -1680,7 +1680,10 @@ export const es: TranslationResources = {
|
||||
nameLabel: "Name",
|
||||
commandLabel: "Command",
|
||||
argsLabel: "Arguments",
|
||||
nameRequired: "Name is required",
|
||||
commandRequired: "Command is required",
|
||||
argsHint: "Space-separated arguments passed to the command",
|
||||
saving: "Saving...",
|
||||
remove: "Remove",
|
||||
removeConfirmTitle: "Remove profile?",
|
||||
removeConfirmMessage: 'Remove "{{name}}"?',
|
||||
|
||||
@@ -1685,7 +1685,10 @@ export const fr: TranslationResources = {
|
||||
nameLabel: "Name",
|
||||
commandLabel: "Command",
|
||||
argsLabel: "Arguments",
|
||||
nameRequired: "Name is required",
|
||||
commandRequired: "Command is required",
|
||||
argsHint: "Space-separated arguments passed to the command",
|
||||
saving: "Saving...",
|
||||
remove: "Remove",
|
||||
removeConfirmTitle: "Remove profile?",
|
||||
removeConfirmMessage: 'Remove "{{name}}"?',
|
||||
|
||||
@@ -1672,7 +1672,10 @@ export const ru: TranslationResources = {
|
||||
nameLabel: "Name",
|
||||
commandLabel: "Command",
|
||||
argsLabel: "Arguments",
|
||||
nameRequired: "Name is required",
|
||||
commandRequired: "Command is required",
|
||||
argsHint: "Space-separated arguments passed to the command",
|
||||
saving: "Saving...",
|
||||
remove: "Remove",
|
||||
removeConfirmTitle: "Remove profile?",
|
||||
removeConfirmMessage: 'Remove "{{name}}"?',
|
||||
|
||||
@@ -1623,7 +1623,10 @@ export const zhCN: TranslationResources = {
|
||||
nameLabel: "Name",
|
||||
commandLabel: "Command",
|
||||
argsLabel: "Arguments",
|
||||
nameRequired: "Name is required",
|
||||
commandRequired: "Command is required",
|
||||
argsHint: "Space-separated arguments passed to the command",
|
||||
saving: "Saving...",
|
||||
remove: "Remove",
|
||||
removeConfirmTitle: "Remove profile?",
|
||||
removeConfirmMessage: 'Remove "{{name}}"?',
|
||||
|
||||
Reference in New Issue
Block a user