Filters: ILIKE and any-column minors, and a cancel for filtered counts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- mysql, postgresql, react, rust, sqlite, tauri, typescript
Direzione di ricerca
Start with src-tauri/src/driver/{postgres,mysql,sqlite}.rs, src-tauri/src/manager.rs, and src/features/grid/, then read the deferred tasks in docs/notes/plan-03-followups.md and the filtered-count note in docs/notes/plan-05-followups.md. Reproduce the filtered-count and filter-minor behaviors across the listed database paths. Done means the UI can cancel a long filtered count and remain usable, each listed minor has a test or documentation, and the stated test, lint, and Rust checks pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
Known behaviour from plan 3 Task 8: a high exact_count_threshold setting makes filtered counts scan up to that many rows; they hold the browse connection until done and have no user-facing cancel. Several filter minors from Task 2 and Task 6 are grouped here.
To do
- Add a user-facing cancel for a running filtered count (Cancelled state in the grid footer, count shown as approximate afterwards); avoid holding the whole browse connection if possible.
ILIKEon MySQL_bincollations is case-sensitive: fall back toLOWER()comparison or document it in the filter hint.- The any-column filter does not see PostgreSQL
bytea[]as binary. - PostgreSQL simple-query path maps errors with
map_err, notmap_live_err(lost-connection classification). - MySQL filtered path takes about 5 round trips: merge
DEALLOCATEand the variable clear; aKILLin the middle of cleanup may leave session variables set. ILIKEtyped in the quick bar is accepted on MySQL / SQLite: hintLIKEinstead.
Acceptance criteria
- A filtered count above the threshold can be cancelled from the UI and the grid stays usable.
- Each minor fixed with a test or documented.
-
pnpm test && pnpm lintgreen (pluscargo clippy --all-targets -- -D warningsandpnpm test:rustwhen Rust changes)
Likely files touched
src-tauri/src/driver/{postgres,mysql,sqlite}.rs(filters, counts)src-tauri/src/manager.rssrc/features/grid/(filters bar, footer)
Linked docs
docs/notes/plan-03-followups.md(Deferred Task 2, Task 6, Task 8)docs/notes/plan-05-followups.md(Open: filtered counts)
- Lingua principale
- TypeScript
- Stelle
- 0
- Fork
- 0
- Merge medio
- 1h 2m
- PR unite (30g)
- 41
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Cemoche/tablemax
-
accessibility area:frontend size:S status:ready type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:backend size:S status:ready type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
area:infra good first issue size:S status:ready type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
area:docs good first issue size:S status:ready type:task
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area:infra size:S status:ready type:task
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Cemoche/tablemax
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
phivk/rubiks-lab#33 ·
I maintainer di solito rispondono entro 1 giorno
-
BUG:Edit Album strips spaces from the password so albums with a leading/trailing space in the password can't be editedForse già presa @ManyaJain111 l’ha presa oggi. Apertabug enhancement possible-duplicate
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
AOSSIE-Org/PictoPy#1637 · 4 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
chaitin/MonkeyCode#1437 ·
I maintainer di solito rispondono entro 1 giorno
-
rtdb-info-connected-order test: unhandled 'connection is closed' rejection fails the CLI suiteAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
area:cards enhancement migration ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
fil-donadoni/tolaria#6309 ·
I maintainer di solito rispondono entro 1 giorno