feat(tasks-ui): readability pass, height-budget fix and leftover sweep
The native port is finished off with the readability work the earlier rounds left open, plus the cleanup of everything the shadcn era or the older canvas left behind. - Geometry: node height is now composed from named parts (chrome, two title lines, meta row) and per-node extras, so a teammate card that carries a task line no longer gets clipped by the old fixed 68px budget; the layout spec follows the new model and GRAPH_ROW_STRIDE stays exported for it. - Readability: row rhythm (28-32px), three ink levels for title/meta/owner, truncation with title hints, current-row and hover expressed as an accent bar plus a hover fill (no shadows), phase frames and edges back on the l1/l2 hairlines, control cluster uniformly 28px, drawer durations on tabular figures, kill action revealed on hover/focus without shifting the row, no horizontal overflow at 360px. - Task window: the markdown body is pulled onto the page scale (12px body, 12/13px headings, tightened list indent and paragraph spacing) while the shared MarkdownText/markdownTextProps contract is untouched. - Cleanup: dead stylesheet rules, unused TSX exports and helpers, stale comments that still described the retired Variant-D canvas, zero-reference i18n keys across the dictionaries, and the Tailwind/shadcn/Variant-D narrative in the design doc, AGENTS.md and the plugin guide (kept as one short "why it was rolled back" section). Verified here: typecheck and lint clean; 133 files / 1413 tests; build with no radix-ui or --tw- strings in lib/client.js (988.9 KiB); the 70-assertion real-browser contract at 70/70 with the 20 reference screenshots regenerated; mount e2e 7/7.
This commit is contained in:
1 parent
ae4280c70e
commit
b554665bde
35 files changed
+856
-1388
No files matched your search
@@ -61,29 +61,16 @@ export const pt: Record<string, string> = {
|
||||
openWithSettingsRemove: 'Remover',
|
||||
openWithSettingsInvalidHint: 'Editores com nome ausente ou modelo sem {path} / scheme:// não aparecem no menu',
|
||||
newTab: 'Nova aba',
|
||||
openExplorer: 'Explorador',
|
||||
brokenSymlink: 'Symlink quebrado',
|
||||
openGit: 'Painel Git',
|
||||
newTerminal: 'Novo terminal',
|
||||
terminalLimit: 'Limite de terminais atingido (3)',
|
||||
close: 'Fechar',
|
||||
closeOtherTabs: 'Fechar outras abas',
|
||||
closeLeftTabs: 'Fechar abas à esquerda',
|
||||
closeRightTabs: 'Fechar abas à direita',
|
||||
floatDropHint: 'Solte para abrir em uma janela flutuante',
|
||||
dockToSidebar: 'Voltar para a barra lateral',
|
||||
pinTerminal: 'Fixar Terminal',
|
||||
pinAgentTerminal: 'Fixar Terminal do Agent',
|
||||
pinToWorkspace: 'Fixar no Workspace',
|
||||
pinToGlobal: 'Fixar Globalmente',
|
||||
unpinTerminal: 'Desafixar',
|
||||
pinnedTerminalTooltip: '{kind} · {scope} · {cwd}',
|
||||
pinnedTerminalKindUi: 'Terminal de UI',
|
||||
pinnedTerminalKindAgent: 'Terminal do Agent',
|
||||
pinnedTerminalScopeWorkspace: 'Fixado no workspace',
|
||||
pinnedTerminalScopeGlobal: 'Fixado globalmente',
|
||||
pinnedRailLabel: 'Terminais Fixados',
|
||||
closePinnedTerminal: 'Fechar Terminal',
|
||||
collapseBottomPanel: 'Recolher painel inferior',
|
||||
expandBottomPanel: 'Expandir painel inferior',
|
||||
terminalError: 'Falha na conexão do terminal',
|
||||
@@ -115,10 +102,6 @@ export const pt: Record<string, string> = {
|
||||
loading: 'Carregando…',
|
||||
error: 'Falha ao carregar',
|
||||
retry: 'Tentar novamente',
|
||||
splitLeft: 'Dividir à esquerda',
|
||||
splitRight: 'Dividir à direita',
|
||||
splitUp: 'Dividir acima',
|
||||
splitDown: 'Dividir abaixo',
|
||||
notRepo: 'Este diretório não é um repositório git',
|
||||
noChanges: 'Sem alterações',
|
||||
statusTruncated: 'Muitas alterações; exibindo apenas as primeiras 2000 entradas',
|
||||
@@ -128,7 +111,6 @@ export const pt: Record<string, string> = {
|
||||
unstageAll: 'Desfazer stage de tudo',
|
||||
commitPlaceholder: 'Mensagem de commit (Ctrl+Enter)',
|
||||
commit: 'Commit',
|
||||
commitError: 'Falha no commit',
|
||||
branch: 'Branch',
|
||||
worktree: 'Worktree',
|
||||
checkoutError: 'Falha ao alternar de branch',
|
||||
@@ -152,7 +134,6 @@ export const pt: Record<string, string> = {
|
||||
diffDeleted: 'Excluído',
|
||||
diffRenamed: 'Renomeado',
|
||||
diffExpand: 'Expandir mais {count} linhas',
|
||||
diffCollapse: 'Recolher',
|
||||
discard: 'Descartar alterações',
|
||||
discardTitle: 'Descartar alterações',
|
||||
discardDesc: 'Isso descarta as alterações do diretório de trabalho de "{path}" (não recuperável).',
|
||||
@@ -173,18 +154,14 @@ export const pt: Record<string, string> = {
|
||||
loadMore: 'Carregar mais',
|
||||
historyLoadError: 'Falha ao carregar mais histórico',
|
||||
produced: 'Produzidos',
|
||||
producedOpen: 'Abrir na barra lateral',
|
||||
disconnected: 'Terminal desconectado, reconectando…',
|
||||
exited: 'O processo do terminal saiu',
|
||||
noSession: 'Selecione uma conversa para usar a barra lateral',
|
||||
pluginNotLoaded: 'Plugin não carregado; aba indisponível:',
|
||||
hiddenFiles: 'Arquivos ocultos',
|
||||
parent: 'Diretório pai',
|
||||
copied: 'Copiado',
|
||||
copy: 'Copiar',
|
||||
newFile: 'Novo arquivo',
|
||||
openEditor: 'Abrir editor',
|
||||
gitDetail: 'Ver detalhes das alterações',
|
||||
referenceFile: '@arquivo',
|
||||
addToConversation: 'Adicionar à conversa',
|
||||
copyRelative: 'Copiar caminho relativo',
|
||||
@@ -228,7 +205,6 @@ export const pt: Record<string, string> = {
|
||||
settingsSchemeCustomDesc: 'Controle total: injete CSS personalizado (pode sobrescrever estilos internos) e defina a distância de deslocamento da barra de título',
|
||||
settingsSchemeDetectedSuffix: 'detectado',
|
||||
settingsCustomCssTitle: 'CSS personalizado',
|
||||
settingsCustomCssDesc: 'Estilos anexados ao final da página (quem vem depois vence em empate de cascata; use !important para sobrescrever variáveis inline escritas por JS)',
|
||||
settingsCustomCssPlaceholder: '/* ex.: reserve 36px para um shell com barra de título desenhada por conta própria */\nhtml[data-dsh-title-bar-height="36"] {\n --dsh-title-bar-strip: 36px !important;\n}',
|
||||
settingsSaveFailed: 'Falha ao salvar',
|
||||
settingsConflict: 'A configuração foi alterada em outra janela — tente novamente',
|
||||
@@ -251,7 +227,6 @@ export const pt: Record<string, string> = {
|
||||
settingsFontFamilyPlaceholder: '"JetBrains Mono", monospace',
|
||||
settingsFontSizeTitle: 'Tamanho da fonte do terminal',
|
||||
settingsFontSizeDesc: 'Tamanho da fonte do terminal em px (9–32, padrão 13)',
|
||||
settingsFontSizeSuffix: 'px',
|
||||
settingsShellTitle: 'Caminho do shell',
|
||||
settingsShellDesc: 'Shell iniciado para terminais de UI e do modelo (caminho absoluto ou executável puro). Vazio mantém a ordem legada: config.shell do yaml → $SHELL / shell de login / powershell.exe no Windows. Aplica-se aos terminais abertos depois',
|
||||
settingsShellPlaceholder: 'ex.: /bin/zsh (vazio = automático)',
|
||||
@@ -293,19 +268,14 @@ export const pt: Record<string, string> = {
|
||||
browserEmbedBlockedDesc: 'O site proíbe ser exibido dentro de outras páginas (X-Frame-Options / frame-ancestors), então não pode carregar na barra lateral. Abra-o diretamente no navegador.',
|
||||
browserEmbedAnyway: 'Carregar mesmo assim',
|
||||
subagent: 'Tarefas',
|
||||
openSubagent: 'Tarefas',
|
||||
subagentMainAgent: 'Agente principal',
|
||||
subagentEmpty: 'Nenhum subagente',
|
||||
subagentEmptyDesc: 'Subagentes gerados sob o agente principal aparecerão aqui',
|
||||
subagentRunning: 'Executando',
|
||||
subagentInactive: 'Inativo',
|
||||
subagentModeOneShot: 'De uso único',
|
||||
subagentModeContinuable: 'Continuável',
|
||||
subagentCount: '{count} subagentes',
|
||||
subagentCountRunning: '{count} subagentes · {running} executando',
|
||||
subagentDiagCorrupt: 'Corrompido',
|
||||
subagentDiagUnsupported: 'Não suportado',
|
||||
subagentDiagUnavailable: 'Indisponível',
|
||||
subagentThinking: 'Pensando…',
|
||||
sideChat: 'Chat lateral (beta)',
|
||||
sideChatNew: 'Novo tópico',
|
||||
@@ -326,10 +296,7 @@ export const pt: Record<string, string> = {
|
||||
sideChatThink: 'Pensamento',
|
||||
sideChatInjection: 'Contexto injetado',
|
||||
sideChatSend: 'Enviar',
|
||||
sideChatCancel: 'Parar',
|
||||
sideChatCancelTitle: 'Abortar o turno em execução (o trabalho na fila é mantido)',
|
||||
sideChatClose: 'Fechar tópico',
|
||||
sideChatCloseTitle: 'Liberar o agente do tópico (o histórico é mantido)',
|
||||
sideChatError: 'Erro no chat lateral: {message}',
|
||||
sideChatTurnUsage: 'Entrada {input} tok · Saída {output} tok',
|
||||
sideChatBlockCollapse: 'Recolher',
|
||||
@@ -365,7 +332,6 @@ export const pt: Record<string, string> = {
|
||||
jobDurationMinutes: '{minutes}m {seconds}s',
|
||||
jobDurationHours: '{hours}h {minutes}m',
|
||||
jobViewOutput: 'Ver saída',
|
||||
jobHideOutput: 'Ocultar saída',
|
||||
jobNoOutput: 'Sem saída ainda',
|
||||
jobNotReadYet: 'Aguardando o modelo ler esta tarefa; a saída aparece aqui quando o modelo executa job_output',
|
||||
jobOutputTruncated: 'Saída truncada',
|
||||
@@ -383,7 +349,6 @@ export const pt: Record<string, string> = {
|
||||
settingsViewModeGraphDesc: 'Grafo de nós em camadas, com zoom e deslocamento',
|
||||
settingsViewModeTree: 'Árvore',
|
||||
settingsViewModeTreeDesc: 'Árvore com indentação clássica, navegável pelo teclado',
|
||||
tasksWorkflowMember: 'Membro do workflow',
|
||||
tasksFoldCompleted: '✓ {count} concluídos',
|
||||
tasksFoldExpand: 'Expandir os nós concluídos',
|
||||
tasksFoldCollapse: 'Recolher os nós concluídos',
|
||||
@@ -404,7 +369,6 @@ export const pt: Record<string, string> = {
|
||||
tasksStateError: 'Erro',
|
||||
teamBoard: 'Quadro de tarefas da equipe',
|
||||
teamChip: 'Equipe {members} membros · {tasks} tarefas',
|
||||
teamMembers: 'Membros',
|
||||
teamTasksEmpty: 'Ainda não há tarefas compartilhadas',
|
||||
teamTaskCreate: 'Nova tarefa',
|
||||
teamTaskSubject: 'Assunto',
|
||||
|
||||
Reference in new issue
Block a user