[PR #1767] [MERGED] Make site and resource niceId editable #19847

Closed
opened 2026-05-21 21:06:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/1767
Author: @Pallavikumarimdb
Created: 10/28/2025
Status: Merged
Merged: 11/9/2025
Merged by: @oschwartz10612

Base: devHead: feat/make-niceId-editable


📝 Commits (10+)

  • 8e1bb6a add niceId inside info box
  • 84d24d9 niceId inside resource info
  • 3294912 Make site niceId editable
  • feb0bd5 make resource niceid editable
  • f85d9f8 fix col
  • 50ac52d fix lint
  • ac5fe14 update url to prevent page redirect
  • 66124f0 move site niceId details to general setting page
  • aeda85f move resource niceid update to general page
  • ddc14d1 Rename nice id to Identifier in the ui

📊 Changes

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

View changed files

📝 messages/en-US.json (+9 -1)
📝 server/routers/resource/updateResource.ts (+50 -0)
📝 server/routers/site/updateSite.ts (+25 -1)
📝 src/app/[orgId]/settings/resources/[niceId]/general/page.tsx (+38 -9)
📝 src/app/[orgId]/settings/sites/[niceId]/general/page.tsx (+53 -33)
📝 src/components/ResourceInfoBox.tsx (+17 -8)
📝 src/components/ResourcesTable.tsx (+0 -16)
📝 src/components/SiteInfoCard.tsx (+12 -3)
📝 src/components/SitesTable.tsx (+0 -24)

📄 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

  1. Make site and resource niceId editable
  2. Hide site and resource "niceId" in the tables, and only show more info when clicking edit

How to test?


🔄 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/1767 **Author:** [@Pallavikumarimdb](https://github.com/Pallavikumarimdb) **Created:** 10/28/2025 **Status:** ✅ Merged **Merged:** 11/9/2025 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `feat/make-niceId-editable` --- ### 📝 Commits (10+) - [`8e1bb6a`](https://github.com/fosrl/pangolin/commit/8e1bb6a6fd462fd9838b917dc7ca4deeac8c3cab) add niceId inside info box - [`84d24d9`](https://github.com/fosrl/pangolin/commit/84d24d9bf52b698913a6096938b2cba52fa2f38f) niceId inside resource info - [`3294912`](https://github.com/fosrl/pangolin/commit/32949127d28fc0aa2604a9f6c033d80ab2990733) Make site niceId editable - [`feb0bd5`](https://github.com/fosrl/pangolin/commit/feb0bd58c809febd5c2c2f38b3a69b080faea8dc) make resource niceid editable - [`f85d9f8`](https://github.com/fosrl/pangolin/commit/f85d9f8b6e034945549dedcf0940c45bee9e3889) fix col - [`50ac52d`](https://github.com/fosrl/pangolin/commit/50ac52d3163916396cc8c0f71bcbfc56246d2b65) fix lint - [`ac5fe14`](https://github.com/fosrl/pangolin/commit/ac5fe1486a5dd4d0005e4317b968545cdb179abf) update url to prevent page redirect - [`66124f0`](https://github.com/fosrl/pangolin/commit/66124f09c49ec0b899e6e9c942720b2f9fa177b3) move site niceId details to general setting page - [`aeda85f`](https://github.com/fosrl/pangolin/commit/aeda85fcfb5d8f1cb89e224a3d0925a2890b258d) move resource niceid update to general page - [`ddc14d1`](https://github.com/fosrl/pangolin/commit/ddc14d164ee42457dc042f2bd62660a3a3f95145) Rename nice id to Identifier in the ui ### 📊 Changes **9 files changed** (+204 additions, -95 deletions) <details> <summary>View changed files</summary> 📝 `messages/en-US.json` (+9 -1) 📝 `server/routers/resource/updateResource.ts` (+50 -0) 📝 `server/routers/site/updateSite.ts` (+25 -1) 📝 `src/app/[orgId]/settings/resources/[niceId]/general/page.tsx` (+38 -9) 📝 `src/app/[orgId]/settings/sites/[niceId]/general/page.tsx` (+53 -33) 📝 `src/components/ResourceInfoBox.tsx` (+17 -8) 📝 `src/components/ResourcesTable.tsx` (+0 -16) 📝 `src/components/SiteInfoCard.tsx` (+12 -3) 📝 `src/components/SitesTable.tsx` (+0 -24) </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 1. Make site and resource niceId editable 2. Hide site and resource "niceId" in the tables, and only show more info when clicking edit ## How to test? --- <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-21 21:06:45 -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#19847