1 of 4
206 selected, 173 still match
You select all 206 matching rows, then make the filter stricter. Now only 173 of them match. The app cannot know if you still want all 206, so it asks: keep all 206, trim to 173, or start over.
Fieldset · 2026 · filter builder
A filter builder over 50,000 rows. It keeps your edits, and it asks you before it changes what you selected.
problem
When you change a filter, most apps guess what you meant or throw away your edits.
decision
When the app cannot know what you meant, it asks. Your edits stay until you save them or drop them.
result
A working demo you can try. I kept the hard logic apart from the screen code, and it has tests.
try each one in the demo
1 of 4
You select all 206 matching rows, then make the filter stricter. Now only 173 of them match. The app cannot know if you still want all 206, so it asks: keep all 206, trim to 173, or start over.
2 of 4
Edit a saved view, switch to another, then come back. Your edits are still there, marked unsaved. One click brings back the saved version.
3 of 4
A saved view can use a field that was deleted. The view still works. It marks that condition as ignored and skips it. You can then pick a different field for it.
4 of 4
Nobody can rename, delete or save over the “All companies” view, so you can always go back to it. I added this lock after I saved over that view by accident.
how it is built
I built it with React and TypeScript, with no server. Your browser makes the 50,000 rows, the same rows every time. Only about 30 rows are on the page at once. I kept filtering, sorting, selection, and saved views apart from the React code, so I could write tests for the hard parts.
The karaoke bar's QR code opened a PDF with thousands of songs. I built a song list you can search.
Code code