Re-scoped and moved to reader module.

  • Add autocomplete widget
  • Add link widgets
  • Move 'publishing' elements to separate group
  • Add new image widget that makes uploading images pretty
  • Add new file widget that makes uploading images pretty
  • refactor AP outbox element in the reader context
  • make exceptions for websub and webmention
  • document the reader form mode in the UI too
  • listen to form display to remove all the rest?
  • add template overrides and setting to hide filter guidelines

Original idea:

Wild dream, inspired by Mastodon, cf screenshot.

Post form

It should be possible to create a single simple form with many options like:

Currently I have many content types which have mapping of AP properties to their field. But it's kind of easy to just create one content type with all properties. When submitting this node then, the post privacy will take care of to/cc etc, all other properties (body, media will be mapped too).

  • It would live in a dedicated form which can be called on a route, or inside something else (e.g. within the Reader module).
  • So, It doesn't replace the addActivityPubOutboxFormElement element which exists, that can still live on.

Some thoughts:

  • To use this form, you'd have to configure something in the back-end to tell which AP type config to use, in most cases, something like a 'Note'. Now, I even think it should be possible to map itself to multiple (e.g. reply could go into another content type, since that's how my content is organized on my site at the moment too) and submit will save into the right content type. Of course, in case that's hard to get right, we can always document how to do this programmatically.
CommentFileSizeAuthor
Screenshot from 2022-11-07 11-05-20.png20.04 KBswentel
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Issue fork reader-3319423

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

swentel created an issue. See original summary.

swentel’s picture

Issue summary: View changes
swentel’s picture

Component: Code » Reader integration
swentel’s picture

Project: ActivityPub » Reader
Version: 1.0.x-dev »
Component: Reader integration » Code
Issue summary: View changes
swentel’s picture

Project: Reader » Personal reader
Version: » 1.0.x-dev

Better project ;)

swentel’s picture

Title: Create a post form that does it all » Finetune node forms
swentel’s picture

Issue summary: View changes

swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes
swentel’s picture

Issue summary: View changes

swentel’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

swentel’s picture

Status: Fixed » Closed (fixed)