-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
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
Status indicator #85
Status indicator #85
Conversation
- `isWatching` got deprecated in favor of `isBackground`. - latest vscode does not recognizes version `0.3.2`.
- Adds status indicator inspired by one in vscode-jest, that is shown spinner when flow is type busy. - Adds `flow.showStatus` setting so that status indicator can be disabled if not desired.
Any chance we can get a screenshot? |
Other than that - everything looks 👍 |
Alright, that looks good - one little addition, and this is good to go. This extension has an output channel, can you make clicking on the status toggle the visibility for it? Then people know where this output is coming from. |
@orta latest change shows the output when indicator is clicked. It does not toggle though because from what I can tell there is no way of telling if the output channel is shown or not. Note that I can't just track that state on my own as there's no way of telling if initial state is shown or hidden. If you really want toggling I can go under assumption it's hidden initially, but in that case if output happened to be open, first click will do nothing. P.S.: It also seems that showing output channel does not always work, |
interesting, I think just showing is reasonable. The worrying thing is the unreliablilty - perhaps it's worth adding "Flow: " beforehand then so that people know what it going on? My guess is that the spinner might be re-creating the status bar item, and potentially the re-hooking of the click notifier happens a tick or two after, but the setInterval will reset it again before it's been added back? |
If you hover the status indicator tooltip will appear with a message:
Well the code I've written just updates |
Alright, that seems 👍 with me ( I had the same issues after jest-community/vscode-jest#63 was merged on another project - but haven't really found an answer ) The hover alt text should be fine. Let's do it. |
Implements status indicator as per #40