[PR #1977] [MERGED] fix: bugs introduced in separate-tables #11594

Closed
opened 2026-05-06 16:16:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/1977
Author: @Fredkiss3
Created: 12/4/2025
Status: Merged
Merged: 12/4/2025
Merged by: @miloschwartz

Base: clients-userHead: fix/some-fixes


📝 Commits (4)

  • 0ceed4c 📦 update lockfile
  • d37ff6e 🐛 resource rols & resource clients shouldn't have the same query key
  • 1c5c36f ♻️ set the staleTime to Zero for queries so that they are refetched everytime
  • ba09479 ♻️ organize imports

📊 Changes

4 files changed (+934 additions, -7 deletions)

View changed files

📝 package-lock.json (+931 -3)
📝 src/app/[orgId]/settings/resources/client/page.tsx (+1 -2)
📝 src/components/TanstackQueryProvider.tsx (+1 -1)
📝 src/lib/queries.ts (+1 -1)

📄 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.

Description

there was one bug introduced in #1960 and #1967

  • resource roles & resource clients queries had the same query key

Other changes:

  • updated the staleTime for queries to 0 so that all queries are always refetched when needed, this allows us to not need to invalidate queries when updating data.

🔄 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/1977 **Author:** [@Fredkiss3](https://github.com/Fredkiss3) **Created:** 12/4/2025 **Status:** ✅ Merged **Merged:** 12/4/2025 **Merged by:** [@miloschwartz](https://github.com/miloschwartz) **Base:** `clients-user` ← **Head:** `fix/some-fixes` --- ### 📝 Commits (4) - [`0ceed4c`](https://github.com/fosrl/pangolin/commit/0ceed4c812c5e06962490d75f00615d4d16a9961) 📦 update lockfile - [`d37ff6e`](https://github.com/fosrl/pangolin/commit/d37ff6e15b073eca2fd707d5047513c085f1ccb5) 🐛 resource rols & resource clients shouldn't have the same query key - [`1c5c36f`](https://github.com/fosrl/pangolin/commit/1c5c36fc12482803c2033c847475940f54cabc79) ♻️ set the `staleTime` to Zero for queries so that they are refetched everytime - [`ba09479`](https://github.com/fosrl/pangolin/commit/ba0947982754944eb30cbb90a74d25f9a144a353) ♻️ organize imports ### 📊 Changes **4 files changed** (+934 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+931 -3) 📝 `src/app/[orgId]/settings/resources/client/page.tsx` (+1 -2) 📝 `src/components/TanstackQueryProvider.tsx` (+1 -1) 📝 `src/lib/queries.ts` (+1 -1) </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. ## Description there was one bug introduced in #1960 and #1967 - resource roles & resource clients queries had the same query key **Other changes:** - updated the `staleTime` for queries to `0` so that all queries are always refetched when needed, this allows us to not need to invalidate queries when updating data. --- <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-05-06 16:16:40 -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#11594