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
Implementing site-specific resource browsing.
Site-specific resource listing: Shows only resources that target the selected site
Search and filtering: Users can search through resources for that site
🔄 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/1421
**Author:** [@Pallavikumarimdb](https://github.com/Pallavikumarimdb)
**Created:** 9/5/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `enhancement/making-resources-browsable-under-sites`
---
### 📝 Commits (9)
- [`aab2b93`](https://github.com/fosrl/pangolin/commit/aab2b935c6cfda3823a1c803da36a28a2690c421) basic frontend layout
- [`2d7b9b4`](https://github.com/fosrl/pangolin/commit/2d7b9b42858b89c73786ab18f5b1a34241c50fd4) fetch and show resources related to site
- [`9445995`](https://github.com/fosrl/pangolin/commit/94459954f59b71c044750fb7325bba1d06f71ef4) search box
- [`57247a8`](https://github.com/fosrl/pangolin/commit/57247a89c2ea218c623683c69d7956f42567d641) type error fix
- [`e7039ee`](https://github.com/fosrl/pangolin/commit/e7039eed17f04b3654200d6c828b2a0b88b171e6) layout change
- [`26fb5e3`](https://github.com/fosrl/pangolin/commit/26fb5e3f19648df48be21bffce61dd436d6d5c24) list targets inside directory tree
- [`ace2d0b`](https://github.com/fosrl/pangolin/commit/ace2d0b4c9e5772b0d969f24ffe0839765c8d688) file name change
- [`aac6355`](https://github.com/fosrl/pangolin/commit/aac6355a8c7acd2006c1d92b9d9798cb42b55ebf) move inside components
- [`ff539a4`](https://github.com/fosrl/pangolin/commit/ff539a49ae12592e9ea6a06dae6f820fafa23ef9) en-us added
### 📊 Changes
**13 files changed** (+1370 additions, -2 deletions)
<details>
<summary>View changed files</summary>
📝 `messages/en-US.json` (+15 -1)
📝 `server/auth/actions.ts` (+2 -0)
📝 `server/routers/external.ts` (+14 -0)
📝 `server/routers/site/index.ts` (+2 -0)
➕ `server/routers/site/listResourcesForSite.ts` (+217 -0)
➕ `server/routers/site/listSiteTargets.ts` (+169 -0)
➕ `src/app/[orgId]/settings/sites/[niceId]/configuration/page.tsx` (+234 -0)
➕ `src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/resourceItem.tsx` (+167 -0)
➕ `src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/siteConfigTypes.ts` (+113 -0)
➕ `src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/siteConfigurations.tsx` (+131 -0)
➕ `src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/siteNode.tsx` (+233 -0)
➕ `src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/targetItem.tsx` (+68 -0)
📝 `src/app/[orgId]/settings/sites/[niceId]/layout.tsx` (+5 -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
**Implementing site-specific resource browsing.**
- Site-specific resource listing: Shows only resources that target the selected site
- Search and filtering: Users can search through resources for that site
Fixes: #1293
## How to test?
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1421
Author: @Pallavikumarimdb
Created: 9/5/2025
Status: ❌ Closed
Base:
dev← Head:enhancement/making-resources-browsable-under-sites📝 Commits (9)
aab2b93basic frontend layout2d7b9b4fetch and show resources related to site9445995search box57247a8type error fixe7039eelayout change26fb5e3list targets inside directory treeace2d0bfile name changeaac6355move inside componentsff539a4en-us added📊 Changes
13 files changed (+1370 additions, -2 deletions)
View changed files
📝
messages/en-US.json(+15 -1)📝
server/auth/actions.ts(+2 -0)📝
server/routers/external.ts(+14 -0)📝
server/routers/site/index.ts(+2 -0)➕
server/routers/site/listResourcesForSite.ts(+217 -0)➕
server/routers/site/listSiteTargets.ts(+169 -0)➕
src/app/[orgId]/settings/sites/[niceId]/configuration/page.tsx(+234 -0)➕
src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/resourceItem.tsx(+167 -0)➕
src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/siteConfigTypes.ts(+113 -0)➕
src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/siteConfigurations.tsx(+131 -0)➕
src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/siteNode.tsx(+233 -0)➕
src/app/[orgId]/settings/sites/[niceId]/configuration/siteConfigComponents/targetItem.tsx(+68 -0)📝
src/app/[orgId]/settings/sites/[niceId]/layout.tsx(+5 -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
Implementing site-specific resource browsing.
Fixes: #1293
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.