[PR #3130] [MERGED] feat: add label filter column to sites, resource & client tables #34627

Closed
opened 2026-06-17 04:14:27 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/3130
Author: @Fredkiss3
Created: 5/22/2026
Status: Merged
Merged: 5/27/2026
Merged by: @miloschwartz

Base: devHead: feat/filter-on-label-column


📝 Commits (8)

  • 76aea31 add label filter column to sitesTable
  • fd1813f Merge branch 'dev' into feat/filter-on-label-column
  • 9188339 label filter column
  • 36fbd88 label filter column for private resources
  • facbb8f label filter column on the clients table
  • df098f5 ♻️ pass default user search params query to user devices table
  • 94949aa ♻️ fix search params on other tables too
  • 6d14a4d 💄 fix blueprint toast color

📊 Changes

13 files changed (+779 additions, -456 deletions)

View changed files

📝 messages/en-US.json (+2 -0)
📝 server/routers/client/listClients.ts (+47 -3)
📝 server/routers/resource/listResources.ts (+41 -3)
📝 server/routers/site/listSites.ts (+50 -3)
📝 server/routers/siteResource/listAllSiteResourcesByOrg.ts (+47 -3)
📝 src/components/ClientResourcesTable.tsx (+15 -59)
📝 src/components/CreateBlueprintForm.tsx (+1 -1)
📝 src/components/HealthChecksTable.tsx (+3 -2)
src/components/LabelColumnFilterButton.tsx (+187 -0)
📝 src/components/MachineClientsTable.tsx (+30 -55)
📝 src/components/ProxyResourcesTable.tsx (+15 -5)
📝 src/components/SitesTable.tsx (+340 -322)
📝 src/components/UserDevicesTable.tsx (+1 -0)

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Summary

Main changes:

  • Add the label filter column to the different tables

Other changes:

  • Also fix a bug on multiple controlled data table, where the query search params weren't passed from the URL to the search input
  • Fix blueprint toast success color

Screenshots

Name Screenshot
Site labels column
Proxy Resource labels column Screenshot 2026-05-26 at 22 46 47
Private Resource labels column Screenshot 2026-05-26 at 23 57 42
Machine Client labels column Screenshot 2026-05-26 at 23 57 54

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/3130 **Author:** [@Fredkiss3](https://github.com/Fredkiss3) **Created:** 5/22/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@miloschwartz](https://github.com/miloschwartz) **Base:** `dev` ← **Head:** `feat/filter-on-label-column` --- ### 📝 Commits (8) - [`76aea31`](https://github.com/fosrl/pangolin/commit/76aea311a4e3fead0cacf69dedd2092de59a40d4) ✨ add label filter column to sitesTable - [`fd1813f`](https://github.com/fosrl/pangolin/commit/fd1813f3a7e4894985dbe0c28842baa7e4efb99b) Merge branch 'dev' into feat/filter-on-label-column - [`9188339`](https://github.com/fosrl/pangolin/commit/91883397e62624c563f4e8e847b0df25313d8194) ✨ label filter column - [`36fbd88`](https://github.com/fosrl/pangolin/commit/36fbd8818c367295522c58a49967dd74cb641b04) ✨ label filter column for private resources - [`facbb8f`](https://github.com/fosrl/pangolin/commit/facbb8f0a4d4226b48c4f1a8f7b50b86b6990b03) ✨ label filter column on the clients table - [`df098f5`](https://github.com/fosrl/pangolin/commit/df098f55bae64a3481082c1fa46b1847785c7941) ♻️ pass default user search params query to user devices table - [`94949aa`](https://github.com/fosrl/pangolin/commit/94949aa3fd2b7752fac75892c163ac16a691476c) ♻️ fix search params on other tables too - [`6d14a4d`](https://github.com/fosrl/pangolin/commit/6d14a4df499fe696562b835992edb68b46dd6847) 💄 fix blueprint toast color ### 📊 Changes **13 files changed** (+779 additions, -456 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+2 -0) 📝 `server/routers/client/listClients.ts` (+47 -3) 📝 `server/routers/resource/listResources.ts` (+41 -3) 📝 `server/routers/site/listSites.ts` (+50 -3) 📝 `server/routers/siteResource/listAllSiteResourcesByOrg.ts` (+47 -3) 📝 `src/components/ClientResourcesTable.tsx` (+15 -59) 📝 `src/components/CreateBlueprintForm.tsx` (+1 -1) 📝 `src/components/HealthChecksTable.tsx` (+3 -2) ➕ `src/components/LabelColumnFilterButton.tsx` (+187 -0) 📝 `src/components/MachineClientsTable.tsx` (+30 -55) 📝 `src/components/ProxyResourcesTable.tsx` (+15 -5) 📝 `src/components/SitesTable.tsx` (+340 -322) 📝 `src/components/UserDevicesTable.tsx` (+1 -0) </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Summary **Main changes:** - Add the label filter column to the different tables **Other changes:** - Also fix a bug on multiple controlled data table, where the query search params weren't passed from the URL to the search input - Fix blueprint toast success color ## Screenshots | Name | Screenshot | |---|---| | Site labels column | <video src="https://github.com/user-attachments/assets/a63e2c6e-f1db-4feb-8ea4-28812df00dcd"></video> | | Proxy Resource labels column | <img width="2938" height="2122" alt="Screenshot 2026-05-26 at 22 46 47" src="https://github.com/user-attachments/assets/b7d506c5-3a49-4242-b361-40af19c96619" /> | | Private Resource labels column | <img width="1469" height="1061" alt="Screenshot 2026-05-26 at 23 57 42" src="https://github.com/user-attachments/assets/820bd402-5fe2-4cc4-bf6d-21f0dee09b82" /> | | Machine Client labels column | <img width="1469" height="1061" alt="Screenshot 2026-05-26 at 23 57 54" src="https://github.com/user-attachments/assets/8f817a26-462b-4947-b8c8-7289b83f0adf" /> | --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-17 04:14:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#34627