floccus icon indicating copy to clipboard operation
floccus copied to clipboard

Android app: Preventing multiple bookmarks

Open WebworkrNet opened this issue 3 years ago • 0 comments

Describe the feature you'd like to request

Currently, the Floccus app (for Android) does not check if the URL already exists in the database when creating or editing an existing bookmark. This can therefore result in a bookmark being created multiple times. A control function should prevent this.

Based on https://github.com/floccusaddon/floccus/discussions/1271.

Describe the solution you'd like

Standard case

The control function warns if the URL is identical and prevents it from being saved.

Similar URLs with and without a slash at the end

It is necessary to consider how to deal with this. One possibility would be to issue a warning in the case of a similar URL, but to allow the user to save it with the help of a query (yes / no). Alternatively, saving without a query could be denied as in the standard case.

Describe alternatives you've considered

Extension 1:

Ideally, the path and name of the existing URL should be returned to the user.

Extension 2:

Based on extension 1, offer the user to edit the existing bookmark instead.

WebworkrNet avatar Nov 03 '22 21:11 WebworkrNet