Merge branch 'dev' of github.com:fosrl/pangolin into dev

This commit is contained in:
Owen
2026-06-09 16:10:35 -07:00
3 changed files with 24 additions and 5 deletions

View File

@@ -42,6 +42,7 @@ import { SwitchInput } from "@app/components/SwitchInput";
import { usePaidStatus } from "@app/hooks/usePaidStatus";
import { tierMatrix, TierFeature } from "@server/lib/billing/tierMatrix";
import { PaidFeaturesAlert } from "@app/components/PaidFeaturesAlert";
import { ExternalLink } from "lucide-react";
// Schema for general organization settings
const GeneralFormSchema = z.object({
@@ -279,7 +280,16 @@ function GeneralSectionForm({ org }: SectionFormProps) {
/>
</FormControl>
<FormDescription>
{t("newtAutoUpdateDescription")}
{t("newtAutoUpdateDescription")}{" "}
<a
href="https://docs.pangolin.net/manage/sites/configure-site#auto-update"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline inline-flex items-center gap-1"
>
{t("learnMore")}
<ExternalLink className="size-3.5 shrink-0" />
</a>
</FormDescription>
<FormMessage />
</FormItem>

View File

@@ -293,7 +293,7 @@ export default function GeneralPage() {
type="button"
variant="link"
size="sm"
className="text-sm text-muted-foreground underline px-0"
className="text-sm text-muted-foreground px-0"
onClick={() => {
form.setValue(
"autoUpdateOverrideOrg",
@@ -315,7 +315,16 @@ export default function GeneralPage() {
<FormDescription>
{t(
"siteAutoUpdateDescription"
)}
)}{" "}
<a
href="https://docs.pangolin.net/manage/sites/configure-site#auto-update"
target="_blank"
rel="noopener noreferrer"
className="text-primary hover:underline inline-flex items-center gap-1"
>
{t("learnMore")}
<ExternalLink className="size-3.5 shrink-0" />
</a>
</FormDescription>
<FormMessage />
</FormItem>