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

feat: Handle unready sessions in session viewer #1978

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

MoritzWeber0
Copy link
Member

This enabled direct connection to the session viewer. Instead of a separate components to select sessions, it's no embedded into the "Active Sessions" view.

This makes the session viewer more visible and requires less user interaction.

Read-only sessions are now directly connected after creation.

The Session Viewer shows the current status of the session and takes over the session refresh on it's own. Once the session is ready, it connects to it.

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.71%. Comparing base (4fe9a8d) to head (107fe1d).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1978   +/-   ##
=======================================
  Coverage   84.71%   84.71%           
=======================================
  Files         211      211           
  Lines        6995     6995           
  Branches      491      491           
=======================================
  Hits         5926     5926           
  Misses        906      906           
  Partials      163      163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 12, 2024

A Storybook preview is available for commit a70c7ef.
➡️ View Storybook
➡️ View Chromatic build

This comment has been minimized.

@MoritzWeber0 MoritzWeber0 requested a review from zusorio November 12, 2024 12:43
@MoritzWeber0 MoritzWeber0 force-pushed the session-viewer-auto-connect branch from 6f3db32 to 88fce58 Compare November 12, 2024 13:01

This comment has been minimized.

@MoritzWeber0 MoritzWeber0 force-pushed the session-viewer-auto-connect branch from 88fce58 to 848eb23 Compare November 12, 2024 15:18

This comment has been minimized.

This enabled direct connection to the session viewer.
Instead of a separate components to select sessions,
it's no embedded into the "Active Sessions" view.

This makes the session viewer more visible and requires
less user interaction.

Read-only sessions are now directly connected after creation.

The Session Viewer shows the current status of the session
and takes over the session refresh on it's own. Once the
session is ready, it connects to it.
@MoritzWeber0 MoritzWeber0 force-pushed the session-viewer-auto-connect branch from 848eb23 to 107fe1d Compare November 12, 2024 15:29
Copy link

sonarcloud bot commented Nov 12, 2024

Copy link

This report was generated by comparing a70c7ef with 4fe9a8d.
If you would like to check difference, please check here.

change detected

ArtifactName: reg

item count
pass 298
change 48
new 12
delete 0
📝 Report

Differences

General Components_Header_Administrator_desktop.png

actual Actual
expected Expected
difference Difference

General Components_Header_Normal User_desktop.png

actual Actual
expected Expected
difference Difference

General Components_Version_First Time Accessed_desktop.png

actual Actual
expected Expected
difference Difference

General Components_Version_First Time Accessed_mobile.png

actual Actual
expected Expected
difference Difference

General Components_Version_New Version Available_desktop.png

actual Actual
expected Expected
difference Difference

General Components_Version_New Version Available_mobile.png

actual Actual
expected Expected
difference Difference

Project Components_Project Details_Loading As Project Lead_desktop.png

actual Actual
expected Expected
difference Difference

Project Components_Project Details_Loading As Project Lead_mobile.png

actual Actual
expected Expected
difference Difference

Project Components_Project Details_Loading_desktop.png

actual Actual
expected Expected
difference Difference

Project Components_Project Details_Loading_mobile.png

actual Actual
expected Expected
difference Difference

Project Components_Project Metadata_Normal User Archived_desktop.png

actual Actual
expected Expected
difference Difference

Project Components_Project Metadata_Normal User Archived_mobile.png

actual Actual
expected Expected
difference Difference

Project Components_Project Metadata_Project Admin Archived_desktop.png

actual Actual
expected Expected
difference Difference

Project Components_Project Metadata_Project Admin Archived_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Readonly Session Success State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Readonly Session Success State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Failed State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Failed State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Not Found State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Not Found State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Pending State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Pending State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Preparation Pending State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Preparation Pending State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Preparation Running State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Preparation Running State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Running State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Running State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Shared With User_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Shared With User_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Sharing Enabled_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Sharing Enabled_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Terminated State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Terminated State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Unknown State_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session Unknown State_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session With Feedback Enabled_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Session With Feedback Enabled_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Shared Session_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Active Sessions_Shared Session_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_Max Number Of Models Exceeded_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_Max Number Of Models Exceeded_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_Model Selected And Start Session Possible_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_Model Selected And Start Session Possible_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_No Models To Show_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_No Models To Show_mobile.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_Show Note For Compatible Session_desktop.png

actual Actual
expected Expected
difference Difference

Session Components_Create Readonly Session Dialog_Show Note For Compatible Session_mobile.png

actual Actual
expected Expected
difference Difference

New Items

Session Components_Session Viewer_Loading_desktop.png

NewItem

Session Components_Session Viewer_Loading_mobile.png

NewItem

Session Components_Session Viewer_One Session Tiling Pending_desktop.png

NewItem

Session Components_Session Viewer_One Session Tiling Pending_mobile.png

NewItem

Session Components_Session Viewer_One Successful Session_desktop.png

NewItem

Session Components_Session Viewer_One Successful Session_mobile.png

NewItem

Session Components_Session Viewer_Two Sessions Floating_desktop.png

NewItem

Session Components_Session Viewer_Two Sessions Floating_mobile.png

NewItem

Session Components_Session Viewer_Two Sessions Tiling Pending_desktop.png

NewItem

Session Components_Session Viewer_Two Sessions Tiling Pending_mobile.png

NewItem

Session Components_Session Viewer_Two Sessions Tiling_desktop.png

NewItem

Session Components_Session Viewer_Two Sessions Tiling_mobile.png

NewItem

@MoritzWeber0 MoritzWeber0 merged commit c6d2508 into main Nov 12, 2024
29 checks passed
@MoritzWeber0 MoritzWeber0 deleted the session-viewer-auto-connect branch November 12, 2024 17:01
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.

2 participants