elements
elements copied to clipboard
feat(elements): show tags description if exist
Elements Default PR Template
In general, make sure you have: (check the boxes to acknowledge you've followed this template)
- [x] Read
CONTRIBUTING.md
Other Available PR Templates:
- Release: https://github.com/stoplightio/elements/compare?template=release.md
- [x] Read the release section of
CONTRIBUTING.md
- [x] Read the release section of
Deploy Preview for stoplight-elements ready!
| Name | Link |
|---|---|
| Latest commit | 6ff57a600ce58a750771149d764deb7b89ff3400 |
| Latest deploy log | https://app.netlify.com/projects/stoplight-elements/deploys/6889a30c3cde1100084db51d |
| Deploy Preview | https://deploy-preview-2594--stoplight-elements.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Deploy Preview for stoplight-elements-demo ready!
| Name | Link |
|---|---|
| Latest commit | 6ff57a600ce58a750771149d764deb7b89ff3400 |
| Latest deploy log | https://app.netlify.com/projects/stoplight-elements-demo/deploys/6889a30c4f112f000807d6f7 |
| Deploy Preview | https://deploy-preview-2594--stoplight-elements-demo.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
I understand the discussion about the feasibility of putting the description into the HTML title attribute. I absolutely support the initial implementation idea even if I acknowledge its shortcomings. It's not something that supports all possible use cases.
To see what we're talking about, I quickly hacked two title variants (single line, multi-line) into the GitHub API on the Elements demo instance. Testing was done with Firefox on the Mac. I find both results totally acceptable.
To improve on this, one would need to render a tooltip icon (aka info icon) with a proper highlight behavior. However, this would feel unnatural IMO as Elements doesn't have such icons in its design language AFAICS.