datalens icon indicating copy to clipboard operation
datalens copied to clipboard

Hint markup element and table column hint

Open timka-s opened this issue 11 months ago • 1 comments

Goal: Fast help for user to use charts

  1. New function - Hint(content: Markup, body: Optional[Markup]) When user hover hint body - he view hint box image

If body not defined - use some default hint symbol, like ℹ️

  1. New property group for Table column - hint If enabled - after column name added hint image

timka-s avatar Mar 14 '24 10:03 timka-s

An additional example of usage in a calculated field: SquareTextField = Markup(SquareField, Hint(Markup("Formula is ", Bold("Pi * R * R"), ", where ", Bold("R"), " is", RadiusField), Bold("?"))

timka-s avatar May 06 '24 10:05 timka-s

Goal: Fast help for user to use charts

  1. New function - Hint(content: Markup, body: Optional[Markup]) When user hover hint body - he view hint box image

If body not defined - use some default hint symbol, like ℹ️

  1. New property group for Table column - hint If enabled - after column name added hint image

@timka-s hi! We are glad to inform you that we've implemented hint for selectors and table headers. It is available on recent version of containers images.

Marginy605 avatar May 28 '24 20:05 Marginy605

An additional example of usage in a calculated field: SquareTextField = Markup(SquareField, Hint(Markup("Formula is ", Bold("Pi * R * R"), ", where ", Bold("R"), " is", RadiusField), Bold("?"))

Could you please move this to another issue with more details of use cases of it

Marginy605 avatar May 28 '24 20:05 Marginy605

New issue for function: https://github.com/datalens-tech/datalens/issues/141

timka-s avatar May 30 '24 08:05 timka-s