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

#2393 - Add ButtonSubmit.vue for 'Send message' button #2402

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

SebinSong
Copy link
Collaborator

@SebinSong SebinSong commented Oct 29, 2024

closes #2393

Apparently, the tooltip is dismissed immediately after the 'Send message' button when this.createDirectMessage(this.contractID) triggered by it is a series of async operation.

this.createDirectMessage(this.contractID)

So replaced the button with ButtonSubmit.vue as the visual indicator so that it gets dismissed after the DM is created.

Hope it sounds good and let me know if there is addition al thing needed along with this.

@SebinSong SebinSong self-assigned this Oct 29, 2024
Copy link

cypress bot commented Oct 29, 2024

group-income    Run #3366

Run Properties:  status check passed Passed #3366  •  git commit 644c0bc627 ℹ️: Merge 8829562152a6144a98572b766e0676979a0f1ff8 into a1294ef61d3f284dee5ef03efcea...
Project group-income
Branch Review sebin/task/#2393-same-multiple-dms-issue
Run status status check passed Passed #3366
Run duration 08m 59s
Commit git commit 644c0bc627 ℹ️: Merge 8829562152a6144a98572b766e0676979a0f1ff8 into a1294ef61d3f284dee5ef03efcea...
Committer Sebin Song
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 10
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 111
View all changes introduced in this branch ↗︎

@@ -178,6 +181,9 @@ export default ({
}
this.toggleTooltip()
}
},
beforeDestroy () {
console.log('!@# destroyed!!')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgotten debug logging

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Seems to work well!

@taoeffect taoeffect merged commit 3b142e9 into master Oct 30, 2024
4 checks passed
@taoeffect taoeffect deleted the sebin/task/#2393-same-multiple-dms-issue branch October 30, 2024 20:44
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.

Multiple DMs to the same user can be created by accident
2 participants