-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Prevent workspace menu from dismissing when clicking on add work email #9046
Prevent workspace menu from dismissing when clicking on add work email #9046
Conversation
@techievivek is this still a work in progress? |
@luacmartins No but I am not able to test this. But the fix is to only remove the part which dismisses the sidebar. |
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.
Leaving a few comments:
- We should fix the lint error by removing the unused
Navigation
import. - I think we could easily test this on dev by following the steps below:
- Create an account with a public domain (we can use
./scripts/clitools.sh generator:account
for that) - Login and create a new workspace
- Add a VBA following this SO
- Navigate to
Workspace > Issue cards
- Kill connection and tap
Add work email address
- Verify that the modal is not dismissed
- Create an account with a public domain (we can use
- Make sure that you go through the checklist and check off any applicable items on the list!
Updated the test section thanks for the help. |
Thanks for updating the test! Can we go through the rest of the checklist and add videos for all platforms? |
Sure I will add them today. Thanks |
@luacmartins I have added a few videos for different platforms and all seem to work fine. |
@techievivek The PR template has sections for each video. Would you mind moving the videos there so it's less confusing? Additionally, we should add videos for all platforms. |
@luacmartins I have updated the video placement and have added videos for all platforms except(Mobile web) not sure how would I access |
I think this SO might help |
@luacmartins Thanks that worked like charm, just updated the video for mWeb as well. |
@techievivek Cool! thanks for the updated videos! A few more small comments:
Sorry about all the back and forth, but it seems like a good learning opportunity for how our QA process works 😄 |
@luacmartins Not an issue Carlos, I appreciate the time and effort you are taking to guide me through this it would definitely help me be a better contributor and will make things easy for others involved as well. I have updated the PR and QA. I have some small queries related to QAs which I always struggle with
|
Yes, the PR author and reviewer are responsible for testing the changes in dev.
I'd say that the default is external QA, unless you are certain it's not. If they cannot test it, they will always ping you and you can always change to internal and test it yourself. As for which ones are internal, I'd say that internal tools (Concierge, Expensiworks, etc), if we need to run manual queries, or very specific flows that they don't have access to. I'm not sure about this part, but I think that they have access to credentials through the testing steps in TestRail.
They do not. So that's why in my previous comment I mentioned that the only difference in the Test vs QA steps would be the account generator script. The script just saves us time in dev, but they can be performed manually if needed, in this case, Applause will create an account manually. |
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.
LGTM and tests well! Thanks for the fix @techievivek!
@luacmartins looks like this was merged without passing tests. Please add a note explaining why this was done and remove the |
Tests were passing... Removing emergency label. |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Thanks, @luacmartins for all the help and guidance, learnt a lot. |
🚀 Deployed to staging by @luacmartins in version: 1.1.66-0 🚀
|
🚀 Deployed to production by @chiragsalian in version: 1.1.66-1 🚀
|
Details
While clicking on the
add work email address
option under the workspace menu in the new dot it dismisses the workspace menu and we do not want that to happen.Please have a look at the issue it has a video showing the unexpected behaviour.
Fixed Issues
$ #9013
Tests
OPEN
state bank account from this SO in New Dot (Profiles -> workspace -> issue cards -> add bank account).add work email address
, clicking this will not dismiss the workspace menu like before.PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followed/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
OPEN
state bank account from this SO in New Dot (Profiles -> workspace -> issue cards -> add bank account).add work email address
, clicking this will not dismiss the workspace menu like before.Screenshots
Web
web.mp4
Mobile Web
mweb.mp4
Desktop
desktop.mp4
iOS
ios.mp4
Android
android.mp4