Skip to content

Allow adding description per field

The related Figma design https://www.figma.com/file/WjtBQnrHZnPRM4Lj2N2F4N/Field-%26-view-description?type=design&node-id=1-3114&mode=design&t=iOuP2G4P050YzBtf-0

Notes:

  • the 'Add description' button should be at the level of cancel/create field buttons (also in edit view) - the bar above is not required, but it's nice-to-have
  • once user clicks on the button to add a description, the link should hide and the description field should be shown in the area with other field-specific elements.
  • description field should be visible even if it's empty as long as user not confirm/cancel the modal. If the modal is opened again, and there's no description, the link should be visible again.
  • description field should auto-expand to match the contents (any limit to this?)
  • description field should be rich text but with limited: bold/italic/underline/strikethrough/link (markdown is not essential here)
  • if a field has a description, an i icon should be shown after column name
  • hovering over i should show a tooltip with formatted description contents
  • the tooltip should stay visible after hovering out from i for a moment (1-2 seconds?) to let user move cursor over the tooltip.
  • the tooltip should be visible if the cursor is hovering the tooltip

questions:

  • is there any expansion limit for the description field?
  • is there any limit of characters for the description?
Edited by Cezary Statkiewicz