We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A real-world use case is a provider script that invokes https://dictionaryapi.com/ to get a meaning for a word.
The provider script might take a few seconds or more. Our tooltip should signal user about this delay by showing the loading icon.
The provider script returns the first result with the param hasMore:
hasMore
{ "items": [{"type": "text", "value": "instant item"}], "hasMore": true }
When hasMore is true, Tip will show the items and the loading icon to user and wait for additional stdout.
true
This mechanism is endless if hasMore keeps being true.
When hasMore is false, the provider script should end after printing the JSON.
false
Tip will not end the provider script process.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
A real-world use case is a provider script that invokes https://dictionaryapi.com/ to get a meaning for a word.
The provider script might take a few seconds or more. Our tooltip should signal user about this delay by showing the loading icon.
Considerations
Design
The provider script returns the first result with the param
hasMore
:When
hasMore
istrue
, Tip will show the items and the loading icon to user and wait for additional stdout.This mechanism is endless if
hasMore
keeps beingtrue
.When
hasMore
isfalse
, the provider script should end after printing the JSON.Tip will not end the provider script process.
Additional mechanism
The text was updated successfully, but these errors were encountered: