[PR #3237] feat: Show if client needs updates #36906

Open
opened 2026-06-18 22:10:11 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/3237
Author: @Fredkiss3
Created: 6/10/2026
Status: 🔄 Open

Base: devHead: refactor/show-if-client-needs-update


📝 Commits (7)

  • 38203e5 ♻️ Remove queries that prefetch 1000 users/roles in private resources form
  • ab4d567 🏷️ types
  • 4cd0b9a 💄 Show updates available in the frontend, on sites & user devices
  • fe55956 ♻️ sites & clients should not get latest versions on the server
  • 1b6e9e8 ♻️ lt instead of lte
  • 4b703b5 💄 Show the latest new update in machine client table
  • 7a275c8 Merge branch 'dev' into refactor/show-if-client-needs-update

📊 Changes

9 files changed (+192 additions, -204 deletions)

View changed files

📝 messages/en-US.json (+1 -0)
📝 server/routers/client/listUserDevices.ts (+0 -25)
📝 server/routers/site/listSites.ts (+5 -131)
📝 src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx (+50 -5)
📝 src/components/MachineClientsTable.tsx (+46 -9)
📝 src/components/PrivateResourceForm.tsx (+3 -22)
📝 src/components/SitesTable.tsx (+15 -8)
📝 src/components/UserDevicesTable.tsx (+44 -4)
📝 src/lib/queries.ts (+28 -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

  • Show if machine clients & user devices need updating
  • Made it so that we fetch the latest versions for all repos in the frontend instead of the backend

Screenshots

Name Screenshot
User devices table image
Machine client table image
User device detail page image

🔄 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/3237 **Author:** [@Fredkiss3](https://github.com/Fredkiss3) **Created:** 6/10/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `refactor/show-if-client-needs-update` --- ### 📝 Commits (7) - [`38203e5`](https://github.com/fosrl/pangolin/commit/38203e522b4dcb24cd4d7b677c212178aeeb1b65) ♻️ Remove queries that prefetch 1000 users/roles in private resources form - [`ab4d567`](https://github.com/fosrl/pangolin/commit/ab4d567af9256849671cd736583d8de1e53178af) 🏷️ types - [`4cd0b9a`](https://github.com/fosrl/pangolin/commit/4cd0b9a0bb2e474f9ec5409cadfd90db1150dedb) 💄 Show updates available in the frontend, on sites & user devices - [`fe55956`](https://github.com/fosrl/pangolin/commit/fe55956079ce3d02da3aa771e9fb10308430c2b6) ♻️ sites & clients should not get latest versions on the server - [`1b6e9e8`](https://github.com/fosrl/pangolin/commit/1b6e9e8cfe80ce41a67f92ce86cc6a355facfb0f) ♻️ `lt` instead of `lte` - [`4b703b5`](https://github.com/fosrl/pangolin/commit/4b703b5c11b47042c7225fc78598aea30ab6392d) 💄 Show the latest new update in machine client table - [`7a275c8`](https://github.com/fosrl/pangolin/commit/7a275c86c2889f39f8a98b4bb9960a55ff589105) Merge branch 'dev' into refactor/show-if-client-needs-update ### 📊 Changes **9 files changed** (+192 additions, -204 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+1 -0) 📝 `server/routers/client/listUserDevices.ts` (+0 -25) 📝 `server/routers/site/listSites.ts` (+5 -131) 📝 `src/app/[orgId]/settings/clients/user/[niceId]/general/page.tsx` (+50 -5) 📝 `src/components/MachineClientsTable.tsx` (+46 -9) 📝 `src/components/PrivateResourceForm.tsx` (+3 -22) 📝 `src/components/SitesTable.tsx` (+15 -8) 📝 `src/components/UserDevicesTable.tsx` (+44 -4) 📝 `src/lib/queries.ts` (+28 -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 - Show if machine clients & user devices need updating - Made it so that we fetch the latest versions for all repos in the frontend instead of the backend ## Screenshots | Name | Screenshot | |---|---| | User devices table | <img width="3002" height="2122" alt="image" src="https://github.com/user-attachments/assets/5c499091-d205-41cb-99ac-e2f1d7cbba7e" /> | | Machine client table | <img width="3002" height="2122" alt="image" src="https://github.com/user-attachments/assets/b32b2fa3-875c-45b8-8dbc-55a0b35b2038" /> | | User device detail page | <img width="1304" height="594" alt="image" src="https://github.com/user-attachments/assets/185583a7-5ec1-4599-909d-8d11e1e70a6d" /> | --- <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-18 22:10:11 -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#36906