Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Discovery] - Create Document View component #644

@andycwilliams

Description

@andycwilliams

Note: This issue is marked for discovery. It is open for discussion and not necessarily decided upon.

Describe the Current Behavior/Feature:

In the Documents table, clicking on "Preview File" icon button from the grid opens the file directly. It may be better to have it instead direct to a separate page that displays the full information/metadata for that file.

Rationale:

The "Profile" icon button in the Contacts table already behaves in this way and it is good to have consistent design.

Besides, the term 'preview' makes it seem more like the user can glimpse a document rather than directly open it. Doing so may potentially exit out of the app unexpectedly, which could be frustrating for the user.

Proposed Changes:

Create a new component, perhaps called Document View, that opens when clicking on the "Preview File" icon button. There it will display a preview of the document plus the associated data.

Consult the Figma design:

2024-05-24 (2) - Copy

Also consider adding a button in the page that will open that file directly. In which case, the labeling should be clear and perhaps have a warning along the lines of "This will take you outside of the app. Proceed?".

Metadata

Metadata

Assignees

No one assigned

    Labels

    discoveryOpen discussion and exploration of topic on handenhancementEnhancement of existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions