-
-
Notifications
You must be signed in to change notification settings - Fork 290
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: improve UX for attaching to existing session #1607
Conversation
also remove session retrieval anywhere outside this tab
also reverse the list to show most recent sessions first
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a minor comment, otherwise lgtm. nice
While writing unit tests, I had to import the |
@@ -0,0 +1,62 @@ | |||
import {describe, expect, it} from 'vitest'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -1,3 +1,28 @@ | |||
export const SESSION_BUILDER_TABS = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* fix: do not set attachSessId to first session if multiple are found * feat: auto-refresh session list when switching to attach to session tab also remove session retrieval anywhere outside this tab * chore: remove unused import * fix: add tooltip to button for reloading session discovery * chore: run prettier * feat: show more details for discovered sessions also reverse the list to show most recent sessions first * docs: update attach to session docs * chore: revert session discovery reload button changes * fix: do not add platformVersion if there is no platformName * chore: rename vars for readability * fix: reset attachSessId for Sauce or error * chore: address review comments * chore: use an OOP approach * chore: add consts for session builder tabs * chore: add consts for server types * chore: move session info assembly to utils * test: add unit tests for session info assembly * chore: refactor super() call
This PR is a slight enhancement to the Attach to Session tab functionality:
attachSessId
calculation from reducers file to actions filebundleId
/appPackage
if noapp
found;udid
if nodeviceName
found)Resolves #1585.