Skip to content
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

Connection status client change #7

Closed
wants to merge 4 commits into from

Conversation

williamsyang-work
Copy link
Owner

Testing.

@williamsyang-work williamsyang-work force-pushed the connection-status-client-change branch 4 times, most recently from fb81c6f to dcb2b26 Compare February 22, 2024 23:02
'addConnectionStatusListener' changed to 'activate'
'removeConnectionStatusListener' changed to 'deactivate'

This is more accurate.

Signed-off-by: Will Yang <[email protected]>
@williamsyang-work williamsyang-work force-pushed the connection-status-client-change branch from b77b117 to 7c76c3c Compare March 5, 2024 20:38
Adds methods to add and remove functions that are executed when the
server status is updated.

Signed-off-by: Will Yang <[email protected]>
@williamsyang-work williamsyang-work force-pushed the connection-status-client-change branch from 7c76c3c to 0cd602e Compare March 5, 2024 21:02
Removes direct DOM manipulation from TraceExplorerServerStatusWidget.
Refactors it to use the server status change event listeners and change
what is rendered through Theia ReactWidget's component lifecycle.

Signed-off-by: Will Yang <[email protected]>
Check the server status every update in the trace-explorer-widget.
This ensures that the 'Open Trace' placeholder widget is displayed
when the server is offline, not just when there are no opened traces.

Signed-off-by: Will Yang <[email protected]>
@williamsyang-work williamsyang-work force-pushed the connection-status-client-change branch from 0cd602e to 93bedc1 Compare March 6, 2024 21:04
@williamsyang-work williamsyang-work deleted the connection-status-client-change branch August 21, 2024 20:53
@williamsyang-work williamsyang-work restored the connection-status-client-change branch August 21, 2024 20:53
@williamsyang-work williamsyang-work deleted the connection-status-client-change branch August 21, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant