RFC: handling of third-party frontends in default available FE list #945

Merged
Oneric merged 3 commits from Oneric/akkoma:third-party-frontends into develop 2025-11-27 21:32:03 +00:00
Owner

This works and is low-friction for installs via mix tasks, but won’t show any indication when installing via admin-fe or via manually calling API with a pre-configured third-party frontend. (And I have no intention of patching admin-fe myself)
This PR includes the additon of pleroma’s pleroma-fe from #944 as an example.

More thorough and harder to miss would be if installing a third-party frontend required explicit acknowledgement in the form of a third-party flag being passed or so (which will definetly need an admin-fe patch though)

Yet another possibility, but with the most friction for installs, is to just never pre-configure third-party frontends in the default install, but at least make it easier for admins to manually add them. Atm if admins want to add a frontend to the default available list, they’ll need to copy the whole default list (or drop all default frontends). We could instead provide another, by default empty, list for third-party frontends and merge them at runtime.

Note, even now third-party frontends can already be installed and updated without needing any configuration by explicitly passing the build URL/file/dir; this is poosbile via both mix and admin-fe.

This works and is low-friction for installs via `mix` tasks, but won’t show any indication when installing via admin-fe or via manually calling API with a pre-configured third-party frontend. *(And I have no intention of patching admin-fe myself)* This PR includes the additon of pleroma’s pleroma-fe from #944 as an example. More thorough and harder to miss would be if installing a third-party frontend required explicit acknowledgement in the form of a `third-party` flag being passed or so *(which will definetly need an admin-fe patch though)* Yet another possibility, but with the most friction for installs, is to just never pre-configure third-party frontends in the default install, but at least make it easier for admins to manually add them. Atm if admins want to add a frontend to the default available list, they’ll need to copy the whole default list *(or drop all default frontends)*. We could instead provide another, by default empty, list for third-party frontends and merge them at runtime. Note, even now third-party frontends can already be installed and updated without needing any configuration by explicitly passing the build URL/file/dir; this is poosbile via both `mix` and admin-fe.
Oneric force-pushed third-party-frontends from bc457e1715
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending approval
ci/woodpecker/pr/build-arm64 Pipeline is pending approval
ci/woodpecker/pr/docs Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/test/1 Pipeline is pending approval
ci/woodpecker/pr/test/2 Pipeline is pending approval
to fde9471529
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
2025-06-29 17:30:27 +00:00
Compare
First-time contributor

any chance of this getting merged?

any chance of this getting merged?
First-time contributor

ping since this is getting stale. i thought akkoma merges are supposed to be faster than pleroma's?

ping since this is getting stale. i thought akkoma merges are supposed to be faster than pleroma's?

apologies, this ended up down on the list of priorities

i am unsure as to the value it brings, but it doesn't seem actively bad so it is what it is

fine by me

apologies, this ended up down on the list of priorities i am unsure as to the value it brings, but it doesn't seem actively bad so it is what it is fine by me
Oneric force-pushed third-party-frontends from fde9471529
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
to 8f237d5a63 2025-11-13 21:12:14 +00:00
Compare
Oneric force-pushed third-party-frontends from 8f237d5a63 to 847517e9a0
All checks were successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
2025-11-14 12:51:35 +00:00
Compare

in testing with updated admin-fe -> new properties should be exposed via the admin API view, as that's how we populate the list

in testing with updated admin-fe -> new properties should be exposed via the [admin API](https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/lib/pleroma/web/admin_api/views/frontend_view.ex) view, as that's how we populate the list

assuming the above, admin-fe patch at AkkomaGang/admin-fe#28

assuming the above, admin-fe patch at https://akkoma.dev/AkkomaGang/admin-fe/pulls/28
Oneric force-pushed third-party-frontends from 847517e9a0
All checks were successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
to 98a94ce080
Some checks failed
ci/woodpecker/pr/test/2 Pipeline failed
ci/woodpecker/pr/test/1 Pipeline failed
2025-11-22 22:51:36 +00:00
Compare
Author
Owner

new properties should be exposed via the admin API view

added sth; does this look good? (also see comment on admin-fe PR)

> new properties should be exposed via the admin API view added sth; does this look good? (also see comment on admin-fe PR)
Oneric force-pushed third-party-frontends from 98a94ce080
Some checks failed
ci/woodpecker/pr/test/2 Pipeline failed
ci/woodpecker/pr/test/1 Pipeline failed
to 29d4f1fd71
All checks were successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
2025-11-22 23:22:16 +00:00
Compare
Oneric force-pushed third-party-frontends from 29d4f1fd71
All checks were successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
to 798beec97b
All checks were successful
ci/woodpecker/pr/test/2 Pipeline was successful
ci/woodpecker/pr/test/1 Pipeline was successful
2025-11-23 16:06:18 +00:00
Compare

ayeaye captain, all looks ok to me

ayeaye captain, all looks ok to me
Oneric merged commit 70877306af into develop 2025-11-27 21:32:03 +00:00
Oneric deleted branch third-party-frontends 2025-11-27 21:32:03 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!945
No description provided.