Repository navigation
feat(files): árvore de arquivos, filtro por nome e .md/.html formatados - #17
Merged
Merged
Conversation
… e html Arquivos vira árvore (pastas abrem no lugar, filhos sob demanda, teclado WAI-ARIA, pastas abertas lembradas), com filtro por nome (pastas abertas + arquivos do git). O visualizador desenha .md (estilo do chat) e .html (iframe sandbox vazio), com alternância Visualizar | Código lembrada por formato. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- árvore reinicia ao trocar de pasta ou painel (key); homeRoot só vale para a pasta do painel - filtro por nome mantém só arquivos cujo nome contém o texto; clique/Enter em pasta dobra e desdobra no resultado - criar pasta com guarda de ocupado e recarga só da pasta afetada - ARIA: treeitem focável com level/expanded/selected/setsize/posinset e filhos em role=group - html no visualizador com CSP no documento (nada é buscado fora) - CSS só com tokens (--content-w, --palette-w, --icon-size); bundle.css, DESIGN.md e CHANGELOG em sincronia - pastas abertas lembradas: as 200 mais recentes dentro da raiz; childPath único - regressão sem sleep fixo Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tbc-joaovitor
added a commit
that referenced
this pull request
Oct 9, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que muda
/api/workspace/directories);treeitemcomaria-level/expanded/selected/setsize/posinset,group), com ↑↓, →, ←, Home, End, Enter e Esc./api/pane/files, só arquivos do git, com o aviso na tela);src/lib/deep/inner) e o trecho destacado;http/https/mailto) e a troca Visualizar | Código; Editar só no Código.<iframe sandbox="">viasrcdoc, sem scripts e sem a mesma origem, com CSP no documento (default-src 'none'), então nada externo carrega. O aviso "Scripts desativados nesta visualização" aparece na tela.data-feedback-privateno conteúdo exibido.bundle.css(só as seções FileTree e FileViewer; as do portal não foram tocadas), DESIGN.md, i18n pt/ko/ja/zh e CHANGELOG.Verificação
typecheck,buildetest:unit(1821 pass, 0 fail).files-tree-regression.ts(novo),changed-files-regression.tsefeedback-regression.tspassam.srcdoc: a regressão vê requisições paraexample.com/x.pnges.csse falha./code-review highe/security-review. A segurança não teve achados; os 10 achados de código foram corrigidos.--disable-features=IsolateSandboxedIframes. Sem isso o Playwright não enxerga as requisições do iframe sandboxed, e o teste da CSP passaria mesmo sem a correção.Limites
truncated.🤖 Generated with Claude Code