Skip to content

Cannot delete file from field in modal dialog #1832

Open

Description

@jadsonlourenco

The latest version 3.2.0 has a new design for some parts, but the File buttons to "Download/Replace/Remove" was a good UX.

Before (good)
Screen Shot 2021-10-05 at 12 03 25

Now (missing the delete button):
Screen Shot 2021-10-05 at 12 03 34

Activity

  1. parse-github-assistant commented on Oct 5, 2021

    @parse-github-assistant

    Thanks for opening this issue!

    • ❌ Please edit your post and use the provided template when creating a new issue. This helps everyone to understand your post better and asks for essential information to quicker review the issue.
  2. mtrezza commented on Oct 5, 2021

    @mtrezza
    Member

    @jadsonlourenco Thanks for opening this issue. Can you please use the provided template when opening an issue and explain in more detail what specifically you want to change and why. The template should guide you with that.

  3. mtrezza commented on Oct 9, 2021

    @mtrezza
    Member

    @jadsonlourenco Under the new UI, deleting a file works just like deleting any other field value by pressing the delete key. If this does not work in the modal dialog, then this would be a bug.

    Could you clarify what the issue is - are you just preferring the old UI or are you unable to delete the file?

  4. jadsonlourenco commented on Oct 9, 2021

    @jadsonlourenco
    ContributorAuthor

    Good, but I don't know about this keyboard shortcut, most of the time on desktop and mobile we use mouse/touch. On the preview version, as we can see on the images, was three buttons, including one to delete by clicking/touching on it.
    So, how can we delete a file with mouse/touch now?

  5. mtrezza commented on Oct 9, 2021

    @mtrezza
    Member

    So, how can we delete a file with mouse/touch now?

    It should work the same as with every other field. How do you delete the content of a file/text/pointer field in the data browser?

  6. added
    type:bugImpaired feature or lacking behavior that is likely assumed
    and removed on Oct 9, 2021
  7. 19 remaining items

  8. jadsonlourenco commented on Oct 10, 2021

    @jadsonlourenco
    ContributorAuthor

    As you said, and as we have before, using the buttons for the "File" type was the same UI on the data browser and dialog.

  9. mtrezza commented on Oct 10, 2021

    @mtrezza
    Member

    Well, I think this approach to double click and delete the string should save undefined on the database.

    And how would you save an empty string then?

    As you said, and as we have before, using the buttons for the "File" type was the same UI on the data browser and dialog.

    Do you have an idea for a UI that works for all fields, not just for the file field?

  10. jadsonlourenco commented on Oct 10, 2021

    @jadsonlourenco
    ContributorAuthor

    And how would you save an empty string then?

    Did you need it? Example?

    Do you have an idea for a UI that works for all fields, not just for the file field?

    No, but the "fields" are different types of data, can have different approaches in the UI.

  11. mtrezza commented on Oct 10, 2021

    @mtrezza
    Member

    Did you need it? Example?

    I personally don't need it, but some else may need it, like you need the file buttons. 🙂

    No, but the "fields" are different types of data, can have different approaches in the UI.

    Different approaches for the same UI object seems rather confusing, and it means more code to maintain. Can you say which action specifically is difficult for you in a touch UI - adding a new file or deleting an existing file?

  12. jadsonlourenco commented on Oct 10, 2021

    @jadsonlourenco
    ContributorAuthor

    Different approaches for the same UI object seems rather confusing, and it means more code to maintain. Can you say which action specifically is difficult for you in a touch UI - adding a new file or deleting an existing file?

    I mean for the same input type, so, like the File with buttons, the same on data browser and the dialog, on previews version.

    No, I never used mobile to send or change "File" input, and discovered now that the "delete" key can be used.

  13. mtrezza commented on Oct 10, 2021

    @mtrezza
    Member

    No, I never used mobile to send or change "File" input, and discovered now that the "delete" key can be used.

    I understand that you want to have the buttons back, but can you help me understand why. Which action specifically do you find difficult to do without the buttons, and is that on touch or desktop?

  14. jadsonlourenco commented on Oct 11, 2021

    @jadsonlourenco
    ContributorAuthor

    I understand that you want to have the buttons back...

    No, I have the buttons on my Parse Dashboard installation, 2.1.0, and it works, so, no problem.

    This issue is just to share that in the current version we don't have an option to delete the File with "click", just with the keyboard - which is not easy to know - on the dialog and data browser.
    I want the same as you, a good UI/UX (we have) for this project.

  15. mtrezza commented on Oct 11, 2021

    @mtrezza
    Member

    This issue is just to share that in the current version we don't have an option to delete the File with "click", just with the keyboard

    That is consistent behavior with all other fields. That is why the buttons have been removed, to have a consistent UI.

    The issue I see though is that the modal dialog behaves differently than the data browser. In the modal dialog it's not possible to delete any field (set it to undefined). I think that should be fixed, and it also seems to be the issue you originally brought up.

    Do you have any suggestion how to solve that in the dialog UI for any field (not just file field).

  16. jadsonlourenco commented on Oct 11, 2021

    @jadsonlourenco
    ContributorAuthor

    Do you have any suggestion how to solve that in the dialog UI for any field (not just file field).

    Well, can be an icon/button to "unset", more clean to say what this action will do. But visually, not a hidden key shortcut.

    Another suggestion for the File field: edit the file URL as a string, someone can need it too.

  17. mtrezza commented on Oct 11, 2021

    @mtrezza
    Member

    an icon/button to "unset"

    Do you mean like this?
    image

    Another suggestion for the File field: edit the file URL as a string, someone can need it too.

    Good idea! Feel free to open a separate issue for this.

  18. jadsonlourenco commented on Oct 11, 2021

    @jadsonlourenco
    ContributorAuthor

    Yes, I will do research about it, and back with ideas and solutions. Keep this issue for now.

  19. mtrezza commented on Oct 11, 2021

    @mtrezza
    Member

    Great, thanks for your effort Jadson!

  20. added
    bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)
    on Oct 14, 2021
  21. removed
    bounty:$10Bounty applies for fixing this issue (Parse Bounty Program)
    on Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions