8000 Add disconnect warning to Notification by philippjfr · Pull Request #5244 · holoviz/panel · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@philippjfr
Copy link
Member
@philippjfr philippjfr commented Jul 11, 2023

This PR enables a warning via the notification area that informs the user when the Websocket connection is dropped. The warning is enabled by default when the pn.config.notifications = True and the warning message can be configured.

Fix for #5240

  • Add test
  • Add documentation

@codecov
Copy link
codecov bot commented Jul 11, 2023

Codecov Report

Merging #5244 (08ba4ee) into main (f2cefe3) will decrease coverage by 0.11%.
The diff coverage is 62.50%.

@@            Coverage Diff             @@
##             main    #5244      +/-   ##
==========================================
- Coverage   83.83%   83.72%   -0.11%     
==========================================
  Files         274      274              
  Lines       39606    39637      +31     
==========================================
- Hits        33203    33186      -17     
- Misses       6403     6451      +48     
Flag Coverage Δ
ui-tests 40.37% <44.64%> (-0.19%) ⬇️
unitexamples-tests 73.64% <41.07%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
panel/io/admin.py 0.00% <0.00%> (ø)
panel/io/state.py 71.59% <0.00%> (-1.87%) ⬇️
panel/viewable.py 65.78% <0.00%> (ø)
panel/tests/ui/io/test_notifications.py 79.66% <71.42%> (-4.55%) ⬇️
panel/io/notifications.py 64.89% <75.00%> (+0.44%) ⬆️
panel/config.py 76.84% <78.57%> (-0.10%) ⬇️
panel/tests/test_server.py 99.34% <100.00%> (+<0.01%) ⬆️

... and 18 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@philippjfr philippjfr force-pushed the disconnect_warning branch from 42e1f03 to 7e1c921 Compare July 14, 2023 14:02
@philippjfr philippjfr merged commit 99ad77f into main Jul 14, 2023
@philippjfr philippjfr deleted the disconnect_warning branch July 14, 2023 16:59
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0