mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-23 18:41:42 -05:00
[PR #2034] [MERGED] refactor: Update <DomainPicker /> to accept default values
#2833
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/2034
Author: @Fredkiss3
Created: 12/10/2025
Status: ✅ Merged
Merged: 12/17/2025
Merged by: @miloschwartz
Base:
dev← Head:refactor/domain-picker-default-value📝 Commits (10+)
fbd3802♻️ Update domain picker component to accept default valuesde684b2🔇 remove console.logaab0471🏷️ fix typescript errors6fc54bc♻️ set default value on domain picker modal in proxy resource pagee02fa7c♻️ pass the default domainId instead of the base domainfccff9cMerge branch 'dev' into refactor/domain-picker-default-valuec98d61a♻️ pass default value to domain pickerb133593🚸 now the domain picker is deterministic3ad4a76♻️ pass default subdomain value to org auth page settingsd3d5a1c🚸 triggernulldomain change if the user switches from another domain type tofree domain optionto prevent the modal from registering it as a valid value📊 Changes
5 files changed (+266 additions, -221 deletions)
View changed files
📝
src/app/[orgId]/settings/resources/proxy/[niceId]/general/page.tsx(+30 -8)📝
src/app/[orgId]/settings/resources/proxy/create/page.tsx(+2 -0)📝
src/components/DomainPicker.tsx(+205 -207)📝
src/components/private/AuthPageSettings.tsx(+17 -6)📝
src/lib/queries.ts(+12 -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
Also updated the fetch logic (fetch domains) to use react query instead.
c56574e431screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.