Teach admin-fe about custom source URLs #838
2 changed files with 19 additions and 1 deletions
|
@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
|
||||
## UNRELEASED
|
||||
|
||||
## Added
|
||||
- It is now possible to display custom source URLs in akkoma-fe;
|
||||
the settings are part of the frontend configuration
|
||||
|
||||
## Fixed
|
||||
- Media proxy no longer attempts to proxy embedded images
|
||||
|
||||
|
|
|
@ -1194,7 +1194,9 @@
|
|||
showInstanceSpecificPanel: false,
|
||||
subjectLineBehavior: "email",
|
||||
theme: "pleroma-dark",
|
||||
webPushNotifications: false
|
||||
webPushNotifications: false,
|
||||
backendCommitUrl: "",
|
||||
|
||||
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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue
might we want to set these to the default of this git just for consistency overall?
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)