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

[Bug]: Rapid table and database searches are not debounced

Aperta
#4,411 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@hutiefang76 ci sta già lavorando.

Dal 4/10/2026.

  • #4414 di @hutiefang76 — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
frontend

Direzione di ricerca

Start at the dashboard table/database menu and the regression runner that mounts the TablesMenu setup with fake timers. Run the five reported cases and verify that rapid input makes one request for the final keyword, clearing replaces pending work, and unmounting cancels callbacks.

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

Descrizione

type:bug
What happened?

Rapid typing schedules one search per input event because each event creates a separate debounce wrapper. Clearing the field leaves earlier callbacks pending, and pending callbacks survive component unmount.

Expected: one request for the final keyword per field after 300ms; clear replaces the pending search; unmount cancels callbacks that have not run.

Affects Versions

master at 061eb724e93592fe87cf44b61af34c1d799f5db6

What table formats are you seeing the problem on?

No response

What engines are you seeing the problem on?

No response

How to reproduce
  1. Open the dashboard table/database menu.
  2. Type several characters into either search field within 300ms.
  3. Inspect the search requests: every pending callback runs instead of only the last.
  4. Repeat while clearing the field or leaving the view before 300ms. Earlier pending callbacks still run.
Relevant log output

Anything else

The regression runner compiles and mounts the actual TablesMenu setup with fake timers. All five cases fail on the base and pass with per-instance timers and unmount cleanup. A tested fix is ready in hutiefang76/amoro branch fix/table-menu-search-debounce.

Are you willing to submit a PR?
  • Yes I am willing to submit a PR!
Code of Conduct
  • I agree to follow this project's Code of Conduct
Lingua principale
Java
Stelle
1.2k
Fork
398
Merge medio
3g 11h
PR unite (30g)
23

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 apache/amoro

Tutte le issue di apache/amoro

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.