-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore(button): hide button #382
Conversation
Playwright test execution is complete! You can find the test results report here |
Hey Sara 👋 when I pulled this branch and did a new account it still displayed the Import Account option Screen.Recording.2024-08-08.at.11.14.27.AM.mov |
oh was for the video please try again updated 😂 |
CI issue is "expected" since this test is validating the text contained in the import button that is being hidden: Went ahead and added pr on testing repo: |
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.
Requested some changes.
@@ -18,6 +18,14 @@ | |||
|
|||
let showAccounts = false | |||
let showConfigureRelay = false | |||
|
|||
// Add a boolean variable to control the visibility of the button | |||
let showButton: boolean = false |
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.
@stavares843 This value will be false forever.
let showButton: boolean = false | ||
|
||
// Function to toggle the visibility of the button (if needed) | ||
function toggleButtonVisibility() { |
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.
This function has not been used.
// Add a boolean variable to control the visibility of the button | ||
let showButton: boolean = false | ||
|
||
// Function to toggle the visibility of the button (if needed) |
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.
Name of the function is very clear, we don't need comment here.
@@ -18,6 +18,14 @@ | |||
|
|||
let showAccounts = false | |||
let showConfigureRelay = false | |||
|
|||
// Add a boolean variable to control the visibility of the button |
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.
Name of the variable is good, we don't need comments here.
What this PR does 📖
bug(import): clicking on import account button redirects to relay setup #381
Gravacao.do.ecra.2024-08-08.as.00.18.01.mov