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

Add post content_type selector to the compose box #842

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

Steffo99
Copy link
Contributor

Currently, specific to akkoma .

Waiting for more info on the current implementation status of the feature on pleroma .

Likely that other server implementations have this feature as well; will add those as soon as I get an account on each of them, but will probably come in a different pull request.

@Steffo99
Copy link
Contributor Author

Could use a "Default content type" option in the settings menu, as one already exists in Akkoma.

@Steffo99 Steffo99 marked this pull request as ready for review September 28, 2024 05:58
@Steffo99 Steffo99 marked this pull request as draft September 28, 2024 06:01
@Steffo99
Copy link
Contributor Author

Seems like a list of supported post content_types is returned in /instance at .pleroma.metadata.post_formats. Maybe it might be worth populating the list from there?

@tsmethurst
Copy link

tsmethurst commented Sep 30, 2024

GoToSocial supports this flag too, just so you know :) For text/plain and text/markdown at least.

@Steffo99
Copy link
Contributor Author

This should now work with any Mastodon API implementation!

I've tried it only on Mastodon Glitch Edition / Chuckya Edition, since that's the only other software I have accounts on at the moment.

I guess I could use accounts on more instances!

@Steffo99 Steffo99 marked this pull request as ready for review October 11, 2024 03:30
@Steffo99
Copy link
Contributor Author

This needs a bit more testing I think, reverting to draft.

@Steffo99 Steffo99 marked this pull request as draft October 12, 2024 19:39
@cheeaun cheeaun added enhancement New feature or request pleroma akkoma labels Oct 14, 2024
@Steffo99 Steffo99 marked this pull request as ready for review October 27, 2024 05:37
# Conflicts:
#	src/components/ICONS.jsx
#	src/components/compose.jsx
#	src/locales/en.po
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
akkoma enhancement New feature or request pleroma
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants