floccus icon indicating copy to clipboard operation
floccus copied to clipboard

[Android] Add option to define a default parent folder when creating bookmark from share menu

Open heapifyman opened this issue 2 years ago • 3 comments

Describe the feature you'd like to request

When creating a new bookmark from the share menu the new bookmark's parent folder seems to be set to the top-most folder of the bookmarks tree by default.

I usually collect bookmarks from different apps on my mobile in one folder, for example "read later", for example when I want to save an interesting blog post, tweet, etc. but don't have time to read it entirely at the moment. I then re-organise the bookmarks in a desktop browser.

It would be nice if I could define my "read later" folder as the default parent folder, so that it is automatically set as the parent folder whenever I create a new bookmark from the share menu.

Describe the solution you'd like

The option could be added to the "Mobile settings" section. It could be named "Default folder for new bookmarks", for example.

It would be a single input field that behaves just like the "parent folder" input field in the new bookmarks form.

By default it would be the bookmark tree's root folder.

Tapping into the input field would the "Choose a folder" view and let me select an existing folder as the new default parent folder.

Describe alternatives you've considered

n/a

heapifyman avatar Nov 12 '22 22:11 heapifyman

Seems a good idea!

But even simpler I think: what about Floccus keeping in memory the last folder used ? Like this when you share a new bookmark, the last folder you used is directly selected.

It could also work in your situation, and it's the default behavior when saving a bookmark on desktop browsers.

pinpontitit avatar Nov 13 '22 03:11 pinpontitit

But even simpler I think: what about Floccus keeping in memory the last folder used ?

That would improve things for me. Not sure if other users' workflow might be affected by the change? But if it is the default behaviour on desktop anyway it makes sense to harmonise it.

Maybe it could be a first step and in a second step one could still think about adding an option to the UI to overwrite the default folder?

One question: when you say "in memory" would that "survive" restarts of the app or the phone?

heapifyman avatar Nov 13 '22 09:11 heapifyman

would that "survive" restarts of the app or the phone? Yes, the same way Floccus saves your bookmarks or your settings, (I guess it uses something like LocalStorage, EDIT: @capacitor/storage)

pinpontitit avatar Nov 13 '22 18:11 pinpontitit