Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Discovery] - Create Document View component #644

Open
andycwilliams opened this issue May 28, 2024 · 0 comments
Open

[Discovery] - Create Document View component #644

andycwilliams opened this issue May 28, 2024 · 0 comments
Labels
discovery Open discussion and exploration of topic on hand enhancement Enhancement of existing features

Comments

@andycwilliams
Copy link
Member

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?".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discovery Open discussion and exploration of topic on hand enhancement Enhancement of existing features
Projects
None yet
Development

No branches or pull requests

1 participant