Skip to content
Snippets Groups Projects
Commit 6a6243d4 authored by Anton Kulyk's avatar Anton Kulyk
Browse files

Add dataset metadata strength indicator (#19194)


* Add "Edit metadata" button

* Add functions calculating metadata completeness

* Add simple metadata completeness bar

* Add animated percent label

* Allow overwriting ProgressBar height

* Decrease progress bar height

* Allow using tippy `delay` prop for tooltips

* Add tooltip for metadata indicator

* Fix percent label position

* Fix optional ProgressBar props

* Allow customizing ProgressBar via styled components

* Only show indication color on hover (except 50% progress)

* Add basic tests for metadata indicator

* Use "Customize metadata" button name

* Fix percent label centering

* slightly increase tooltip delay

* slightly lower threshold for the 'some' text

* Update UI assertions

* Fix TypeScript errors

* Fix percent rounding

* Add useHover hook

* Add transition style to ProgressBar

* Don't compute indication color in CSS

Co-authored-by: default avatarMaz Ameli <maz@metabase.com>
parent 3f08385d
Branches
Tags
No related merge requests found
Showing
with 404 additions and 4 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment