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

Aperta
#110 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
243
Fork
21
Merge medio
15h 6m
PR unite (30g)
57

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstackincubator/codex-mobile-dev-plugin

Tutte le issue di callstackincubator/codex-mobile-dev-plugin

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.