android-app icon indicating copy to clipboard operation
android-app copied to clipboard

[feature request] create public links

Open ghost opened this issue 6 years ago • 11 comments

It would be nice to be able to create public links similar to the web interface.

ghost avatar Nov 03 '18 16:11 ghost

Good suggestion. Do you have an idea how it should be possible? I mean w.r.t. the user interface. How shall a user reach this feature?

Strubbl avatar Nov 04 '18 17:11 Strubbl

In the articles setting is one choise Copy original URL and there I would expect also a choise like Create Public URL or something similar.

ghost avatar Nov 21 '18 15:11 ghost

And after selecting that menu option?

Shall the public link URL be available in the app somehow or does it not matter what the public URL is? Or just a toast message with or without the link URL?

Strubbl avatar Nov 21 '18 19:11 Strubbl

I would expect the same behavior as the copy original URL function has: that the URL is now copied to the clipboard. That would fit my specific usecase.

But in my opinion there could be in addition also the option to choose would URL gets shared when the share button is selected

Thanks for your interest and your questions, that helps a lot understanding what I want ;)

ghost avatar Nov 21 '18 20:11 ghost

Hello, any news about this feature? It would be great!

To make it easy, I would just add a button in the menu, below the existing "Share" button. The list of actions would be: Share original link Share public link Modify the title ... Thanks in advance!

biva avatar Feb 27 '21 13:02 biva

Any news about this feature? For me, this is one of the most important things that is missing... I have to open the web interface every time.

retiolus avatar Nov 01 '22 14:11 retiolus

I am not sure if the API does expose a method to implement this feature. Am i overlooking anything? https://app.wallabag.it/api/doc

Strubbl avatar Nov 01 '22 20:11 Strubbl

There's a public flag with description "will generate a public link for the entry" on PATCH /api/entries/{entry} and there's a field allowing to construct a public link. Shouldn't be a lot of work, mostly implementing UI, but I haven't gotten around to doing it.

di72nn avatar Nov 01 '22 23:11 di72nn

I tried to add this option but so far it only works when the article has already been made public once through the web interface.

case R.id.menuCopyPublicURL:
                article.setIsPublic(Boolean.TRUE);
                copyUrlToClipboard(activity, url + "/share/" + article.getPublicUid());
                return true;

I don't quite understand what article.setIsPublic(Boolean.TRUE); does, since it doesn't make the article public.

image

retiolus avatar Nov 02 '22 02:11 retiolus

This would be a huge benefit to my workflow, thanks everyone for working on this!

matt-wirth avatar Apr 27 '23 13:04 matt-wirth

It seems the web app just calls URL https://mywallabaginstance.com/share/{articleid}. It then forwards you to the publicly available url. Shouldn't the app also be able to to something similar (catching the resulting url and copying to clipboard?)

freakshock88 avatar Jun 29 '23 20:06 freakshock88