Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV: Move Activity Pub configuration to dedicated admin panel #78

Merged
merged 17 commits into from
Apr 19, 2024

Conversation

angusmcleod
Copy link
Contributor

@pmusaraj This moves the ActivityPub settings to a dedicated admin panel, which both prepares us for Tag actors and also improves the Actor CRUD (e.g. the extension to category custom fields is no longer required).

Screenshot 2024-03-16 at 18 31 20

@angusmcleod angusmcleod mentioned this pull request Apr 12, 2024
@pmusaraj
Copy link
Contributor

@angusmcleod so sorry for the delay here, I'm now ready to review this, but any chance you can address the merge conflict with main?

@angusmcleod
Copy link
Contributor Author

@pmusaraj Ready!

@pmusaraj pmusaraj changed the title Create activity pub admin panel DEV: Move Activity Pub configuration to dedicated admin panel Apr 18, 2024
Copy link
Contributor

@pmusaraj pmusaraj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, made a few cosmetic code changes, but otherwise it's solid, thanks!

@options={{hash
none="admin.discourse_activity_pub.actor.model_type.none"
}}
/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a followup, since we're only going to have one of two options here (a category or a tag), I would prefer a radio button or something else here other than a dropdown. It's fine for now, though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's possible there could also be Group (i.e. user group) and even custom Persons (i.e. users) here too. We may not have either, but other actor types are conceivable.

@pmusaraj
Copy link
Contributor

Oh one last thing @angusmcleod, it would be more consistent if the UI for this was under the plugins tab. As in:

image

Hopefully that's not too big of an ask.

@angusmcleod
Copy link
Contributor Author

angusmcleod commented Apr 19, 2024

@pmusaraj I've made the move: ecabfd7

@pmusaraj pmusaraj merged commit e28ffd0 into discourse:main Apr 19, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants