Teach admin-fe about custom source URLs #838

Open
Oneric wants to merge 1 commit from Oneric/akkoma:custom-source into develop

View file

@ -1194,7 +1194,9 @@
showInstanceSpecificPanel: false,
subjectLineBehavior: "email",
theme: "pleroma-dark",
webPushNotifications: false
webPushNotifications: false,
backendCommitUrl: "",
Review

might we want to set these to the default of this git just for consistency overall?

might we want to set these to the default of this git just for consistency overall?
Review

If you want to we can, though the more places explicitly specify the URLs, the more places need updating if the URLs ever change
(e.g. if the redirect from pleroma-fe → akkoma-fe ever breaks or we’d want to update the default URL to akkoma-fe directly; hosting cost and/or upkeep effort gets too much and this migrates to another forge; etc)

If you want to we can, though the more places explicitly specify the URLs, the more places need updating if the URLs ever change *(e.g. if the redirect from pleroma-fe → akkoma-fe ever breaks or we’d want to update the default URL to akkoma-fe directly; hosting cost and/or upkeep effort gets too much and this migrates to another forge; etc)*
frontendCommitUrl: ""
}
],
children: [
@ -1398,6 +1400,18 @@
label: "Stop Gifs",
type: :boolean,
description: "Whether to pause animated images until they're hovered on"
},
%{
key: :backendCommitUrl,
label: "Backend Commit URL",
type: :string,
description: "URL prefix for backend commit hashes"
},
%{
key: :frontendCommitUrl,
label: "Frontend Commit URL",
type: :string,
description: "URL prefix for frontend commit hashes"
}
]
},