Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Mobile: @ picker lists threads under a "Files" heading, mixed in with files

Aperta Adatta ai principianti
#15,659 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
84/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
mobile-dev

Direzione di ricerca

Inizia da apps/mobile/src/features/threads/use-composer-command-menu.ts e ComposerCommandPopover.tsx. Traccia il modo in cui il trigger del percorso combina i risultati di thread e file, quindi verifica come vengono selezionati groupLabel e emptyText. Il lavoro è completato quando le corrispondenze di thread e file sono distinguibili e lo stato vuoto non descrive i risultati dei thread come file.

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

Descrizione

bug via-triage

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. Open a thread in the mobile app, in an environment with other threads.
  2. Type @ plus a few letters that match both thread titles and file names, e.g. @Rev.

Expected behavior

Threads and files are distinguishable at a glance: separate "Threads" and "Files" groups, or at least a heading that does not claim everything is a file.

Actual behavior

One flat list under a single "FILES" heading. Up to five thread matches come first, each marked only by a small trailing "Thread" label that truncates on longer titles ("Thre…"); files follow with no separator. The empty state has the same problem: it reads "No matching files or folders." even though threads were searched too.

Impact

Cosmetic issue on its own. It becomes a real obstacle combined with the picker not scrolling on Android (#15658): the thread rows fill the visible area and push every file out of reach.

Version or commit

main @ 4ee6bfd50e

Environment

Android 16 emulator (Pixel), T3 Code Dev client built from the commit above. The code is shared with iOS; not tested there.

Screenshots

Thread rows listed under a FILES heading

Cause

apps/mobile/src/features/threads/use-composer-command-menu.ts returns threads and paths as one array for the path trigger:

return [...threadItems, ...pathSearch.entries.map(...)];

and ComposerCommandPopover.tsx picks the heading and empty text from the trigger kind alone (groupLabel: path → "Files"; emptyText: "No matching files or folders."), so it has no notion of the list containing two kinds of item.

Related

#15156 covers the @ search closing on a space, which is why a multi-word thread title cannot be typed to narrow this list.

Lingua principale
TypeScript
Stelle
24.8k
Fork
6.4k
Merge medio
8h 34m
PR unite (30g)
243

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 pingdotgg/t3code

Tutte le issue di pingdotgg/t3code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.