mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 05:39:49 -05:00
[PR #1375] [MERGED] Preserve subdomain input when selecting a base domain #2531
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1375
Author: @Pallavikumarimdb
Created: 8/28/2025
Status: ✅ Merged
Merged: 8/30/2025
Merged by: @oschwartz10612
Base:
dev← Head:Fix/domain-picker-issue📝 Commits (5)
bc335d1preserve subdomain with sanitizeSubdomain and validateSubdomain18bb6caallows typing flow while providing helpful validatione8a6efdsubdomain validation consistent54764dfunify subdomain validation schema to handle edge casese3bd3fbconsistent full domain📊 Changes
4 files changed (+179 additions, -106 deletions)
View changed files
📝
server/lib/schemas.ts(+4 -3)📝
src/app/[orgId]/settings/resources/[resourceId]/general/page.tsx(+21 -12)📝
src/components/DomainPicker.tsx(+95 -91)➕
src/lib/subdomain-utils.ts(+59 -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.
Description
This PR resolves #1373 and #1369 , where a subdomain entered before selecting a base domain was not saved when creating or editing a resource.
Changes introduced:
How to test?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.