TraceSift drop zone rejects files in browser panels without File.path

Aberta
#110 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
45/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Domínio
frontend

Direção de pesquisa

The payload names no source files. Start by finding the TraceSift drop handler in the browser panel code, the part that requires File.path and shows the 'Cannot be read from a drop here' message. Reproduce by passing a standard File object with a Chrome Performance JSON to that handler. Done means either the dropped file is analyzed locally, or the native file-picker requirement is shown before a drop is attempted, with existing size limits kept.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

bug

What happened

The presenter dragged a profile from Finder into the TraceSift upload pane in the T3 Code browser panel. The pane showed Cannot be read from a drop here. Click to choose it from disk. The drop handler requires a host-specific File.path and rejects the file before it checks the profile format. The same condition affects supported JSON files in browser hosts that expose only standard File objects.

Expected behavior

Test dropping a supported Chrome Performance JSON in T3 Code. Where the panel can import a dropped file, accept it and analyze it locally. Where only a native file picker is supported, make that interaction clear before the user attempts a drop. Keep the existing local processing and profile size limits.

Linguagem predominante
C++
Estrelas
243
Forks
21
Merge médio
15h 6min
PRs com merge (30d)
57

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de callstackincubator/codex-mobile-dev-plugin

Todas as issues de callstackincubator/codex-mobile-dev-plugin

Issues semelhantes

Mais issues de C++

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.