Skip to content

Regression: Prefilling create_post form from URL parameters no longer works #1913

Closed
@nadiamoe

Description

@nadiamoe

Requirements

  • This is a bug report, and if not, please post to https://lemmy.ml/c/lemmy_support instead.
  • Please check to see if this issue already exists.
  • It's a single bug. Do not report multiple bugs in one issue.
  • It's a frontend issue, not a backend issue; Otherwise please create an issue on the backend repo instead.

Summary

Prior to Lemmy 1.18.0, it was possible to use parameters in the URL to load a "New Post" form with some fields prefilled, e.g.:

https://lemmy.instance/create_post?lang=en&url=https%3A%2F%foo.bar&title=Foo+Bar&community_id=1&body=Description+of+foo+bar

This was super useful for bookmarklets and "share" style URLs.

Unfortunately this does not seem to work anymore. I'm not sure if the names of the GET parameters have changed, or if this feature was dropped along the way.

Steps to Reproduce

  1. Navigate to /create_post?title=Foo+bar
  2. Observe that the Title form field is not prepopulated with Foo bar

Technical Details

N/A

Lemmy Instance Version

0.18.1

Lemmy Instance URL

https://links.roobre.es

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions