mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-10-28 15:46:58 +09:00
## Description 1. What is this PR about (link the issue and add a short description) **Important** The PR adds tooltips only for HTML attributes. Fixes https://github.com/webstudio-is/webstudio-builder/issues/2027 ## Steps for reproduction 1. Add a few components to the canvas 3. Select one 4. Go to the Settings tab in the right sidebar 5. Hover over the labels HTML attributes should show a tooltip with a description ## Code Review - [ ] @taylornowotny please review the descriptions in the props-descriptions.ts file - test it on preview - [ ] @istarkov check the first commit that is where the implementation and integration are done. The idea behind this is that we have a central file with HTML attributes descriptions and when generating components props we pick the descriptions from there if the property doesn't have a custom description. Essentially we use props-descriptions as a fallback. Do we need tests for this feature? ## Before requesting a review - [ ] made a self-review ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio-builder/blob/main/apps/builder/docs/test-cases.md) document - [ ] added tests --------- Co-authored-by: Giuseppe Gurgone <ggurgone@users.noreply.github.com> Co-authored-by: istarkov <istarkov@gmail.com>
82 B
82 B
CSS Data
Generated configs and collections from mdn-data into consumable form.