Add source, listed and configured filters to admin app list (#24779)
Closes twentyhq/core-team-issues#2792 ## What Improves the admin panel "All App Registrations" list: - **Filters** in the existing search filter dropdown, grouped by section: - **Source**: NPM / Tarball / OAuth / Local (multi-select, defaults to NPM) - **Listed**: Listed / Not listed - **Configured**: Configured / Not configured - **Total count**: the section description now shows the number of registrations matching the current filters (`(N matching)`), same pattern as the admin chats page. - **Ordering**: removed the client-side re-sort by `isConfigured` so the list follows the server's `createdAt DESC` order. ## How - `findAllApplicationRegistrations` (admin resolver) accepts three new optional args: `sourceTypes`, `isListed`, `isConfigured`. - `sourceTypes` and `isListed` are plain SQL predicates. `isConfigured` is computed from variables/installs (`isConfiguredBatch`), so when that filter is set the service fetches the matching rows, filters on the computed status, and paginates in memory — keeping `totalCount` and `hasMore` correct. - Frontend reuses the existing `SearchInput` filter dropdown pattern (`MenuItemToggle` + `DropdownMenuSectionLabel`); the pre-installed-only toggle is untouched. <img width="1467" height="1067" alt="image" src="https://github.com/user-attachments/assets/acc9b1c7-6fed-4a7f-9bb8-5487a1ce27fc" />
M
martmull committed
4883eaabf0e0e8a5e1aec79b66b941c04af083a7
Parent: 4901a96
Committed by GitHub <noreply@github.com>
on 8/25/2026, 5:48:28 PM