Skip to content

set filename for share as file #586

@cw2k

Description

@cw2k

What happened

I recently share an QR VCF file, but it was shared with the wrong extension.

I also blame the Telegram app for not implementing a way to rename an attached file - however, that's not the right place to do so.

How Binary Eye can help

Binary Eye should offer a way to set the filename when sharing the QR code content to a file.

Ideas to implement

A text field that popped up before sharing?
That would do the trick.

However, I suggest adding a toast notification:
"Reminder: Binary Eye offers 'Set file name for sharing'. Use it in case you need it."

Implement that 'Set file name for sharing' menu item with a text field that offers the default name with the option to be edited by the user.

Extra stuff

To deter the file extension, some heuristics would be used. Maybe use some RegExp scanning
VCF <~> BEGIN:VCARD

Maybe open this up in options to be customized by the user within a multiline text field. Also add a link to this git repo and the appeal to do a PR if he does extensive work here in adding formats.

Notes:
Beware of that shitty Firefox implement on Android. Editing, going to another app for some time and coming back may trigger an app reload resulting in a blank text box with all your text lost.

Why is GitHub not saving ya text via JS until you send or cancel. Why Firefox is not doing that for the current text box (blue boader) and restore it in case of and app reload?

Okay maybe there is an extension to do this.
At least Firefox is the only browser that offers this option - 'Shame on you Google Chrome'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions