You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LiquidDoc] Prevent rendering of hover tooltip for snippets with no renderable content (#729)
## What are you adding in this PR?
`{% render 'snippet' %}`
Prevents rendering hover tooltip for snippets that:
- do not exist
- do not have renderable content.
**Renderable content**: Currently, this means that it requires a `LiquidDoc` definition with `@param` annotations, though this will soon expand to the description and `@example` as well
## Before you deploy
<!-- Delete the checklists you don't need -->
<!-- Check changes -->
- [ ] This PR includes a new checks or changes the configuration of a check
- [ ] I included a minor bump `changeset`
- [ ] It's in the `allChecks` array in `src/checks/index.ts`
- [ ] I ran `yarn build` and committed the updated configuration files
<!-- It might be that a check doesn't make sense in a theme-app-extension context -->
<!-- When that happens, the check's config should be updated/overridden in the theme-app-extension config -->
<!-- see packages/node/configs/theme-app-extension.yml -->
- [ ] If applicable, I've updated the `theme-app-extension.yml` config
<!-- Public API changes, new features -->
- [ ] I included a minor bump `changeset`
- [x] My feature is backward compatible
<!-- Bug fixes -->
- [x] I included a patch bump `changeset`
0 commit comments