owncloud/android

[FEATURE REQUEST] Open and create .url shortcut files

TheOneRing opened this issue · 2 comments

Please implement support for creating and opening .url files.
The feature should behave similarly to owncloud/ios-app#1344 but follow the normal android UX.

TASKS

  • Research (if needed)
  • Create branch feature/open_create_url_shortcut_files
  • Development tasks
    • Create dialog fragment with url and name file inputs
    • Upload the file to the server
    • Click on file url and download
    • Open alert dialog to navigate to browser
    • Redirect to the browser
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/open_create_url_shortcut_files into master

Some Android specific details:

  • Shortcuts should be a new option in the FAB menu

  • We need an icon, similar to the iOS one, for the .url files

  • As first iteration, only two input fields: name (taking care of name conflicts) and url (with no validation, but error handling). Later, we can take advantage of deeplinks as iOS does (open to discussion)

quick info about .url files

https://fileinfo.com/extension/url
https://www.lyberty.com/encyc/articles/tech/dot_url_format_-_an_unofficial_guide.html

Hello @tbsbdr!
With reference to this issue, I have doubts about the choice of the icon. To align them with iOS and web, I have chosen the same icon. Is this correct? Image below:

Captura de pantalla 2024-06-07 a las 13 57 53

On the other hand, I have put the shortcut icon as the last item in the list in the FAB. Is this order correct?

  1. Upload
  2. New folder
  3. New shortcut

Captura de pantalla 2024-06-07 a las 13 58 08