Skip to content

Remove tooltip for read-only date field #1772

Closed
@mtrezza

Description

@mtrezza

New Issue Checklist

Issue Description

PR #1688 introduces a change that shows a tooltip when trying to select the date string of a read-only date field (updatedAt, createdAt).

This is unusual because:

  • It is contrary to how read-only spreadsheet or table cell elements work (allow to select, but in different visual state).
  • It is contrary to how editable date fields can be interacted with, interfering with intuitive usability and work flow.
  • It prevents the user from selecting and copying only a part of the date string.
  • A tooltip is an intrusive UI element that should only be used if important information is displayed; in this case, it contains a description that the ctrl-c shortcut can be used copy a value.

Steps to reproduce

  1. Open any class in browser
  2. Double click on createdAt read-only date field

Actual Outcome

Shows tooltip.

Expected Outcome

If a cell is read only, a cell or text field is usually displayed in a different visual style, still allowing the text to be selected but not edited.

Common UI design practice is to remove the "focus" indicator (ie. the element that highlights a selected cell). Given the existing design of Parse Dashboard, I suggest to just slightly gray out the background of the cell to make clear that it is non-editable.

image
(https://uxframework.pearson.com/c/inputs#states)

Environment

Dashboard

  • Parse Dashboard version: 2.2.0
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Safari
  • Browser version: 14.1.2

Server

  • Parse Server version: n/a
  • Operating system: n/a
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): n/a

Database

  • System (MongoDB or Postgres): n/a
  • Database version: n/a
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): n/a

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$5Bounty applies for fixing this issue (Parse Bounty Program)state:releasedReleased as stable versionstate:released-alphaReleased as alpha versionstate:released-betaReleased as beta versiontype:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions