-
Notifications
You must be signed in to change notification settings - Fork 333
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
Regression: Prefilling create_post
form from URL parameters no longer works
#1913
Comments
In case this helps: Taking a quick look at the git history, it might be possible that #977 broke this functionality. |
I'm gonna toss in, I feel like this might be a bigger issue than this issue's activity would suggest. Without this functionality, third-party apps have no way to add Lemmy as a share target for an article (ie those "Share to FB", "Share to Twitter" buttons attached to many articles/sites...there's no way to add a "Share to Lemmy" button). The friction this causes may have an impact on Lemmy adoption rate, and certainly an impact on perceived ease-of-use. PS I recognize that due to the federated nature, a "Share to Lemmy" button would likely require an extra step to choose the instance, which adds some friction anyway. |
This still appears to be an issue on the latest Lemmy versions (as tested on |
Working on this now. The only thing that I think will end up different is the language, since we use IDs for those instead of the 2 character locale names. |
Sweet, thx. |
Requirements
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
Foo bar
Technical Details
N/A
Lemmy Instance Version
0.18.1
Lemmy Instance URL
https://links.roobre.es
The text was updated successfully, but these errors were encountered: