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

Ouverte
#110 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
Une demi-journée
Accessibilité débutants
45/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
Active
Domaine
frontend

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C++
Étoiles
243
Forks
21
Merge moyen
15 h 6 min
PR mergées (30 j)
57

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de callstackincubator/codex-mobile-dev-plugin

Toutes les issues de callstackincubator/codex-mobile-dev-plugin

Issues similaires

Plus d'issues C++

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.