-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
MVP Opera support #5432
MVP Opera support #5432
Conversation
this one is for you @yorkerhodes3 ! |
Codecov Report
@@ Coverage Diff @@
## master #5432 +/- ##
==========================================
+ Coverage 29.67% 29.99% +0.31%
==========================================
Files 242 242
Lines 20601 20713 +112
Branches 2968 3028 +60
==========================================
+ Hits 6114 6213 +99
- Misses 14236 14248 +12
- Partials 251 252 +1
Continue to review full report at Codecov.
|
app/assets/v2/js/shared.js
Outdated
'<button id="metamask_connect" onclick="approve_metamask()">Click here to connect to metamask</button>'; | ||
$('#current-network').text(gettext('Metamask Not Connected')); | ||
$('#navbar-network-banner').html(info); | ||
if (window.ethereum._metamask) { |
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.
can we make this into an else if
in L107
?
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.
app/assets/v2/js/shared.js
Outdated
'<button id="metamask_connect" onclick="approve_metamask()">Click here to connect to metamask</button>'; | ||
$('#current-network').text(gettext('Metamask Not Connected')); | ||
$('#navbar-network-banner').html(info); | ||
if (window.ethereum._metamask) { |
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.
can we make this into an else if
in L749
?
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.
approach looks alright to me ! If we can get one more ronud of testing in + address those comments -> we can get this in this week ❤️ |
just regression tested kudos send/ grants creation/tip sending/bounty creation on metamask and all went fine.. can i have a review @danlipert @thelostone-mc @octavioamu |
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.
Nice! Very clean
Yes I added the from and now is working I will commit @owocki |
thanks @octavioamu - can u push it back to my branch?? |
Just tested kudos and tips working perfectly. Going to test a little more, excited with this |
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.
<3
@octavioamu thanks for f631fb5 ; im concerned that there might be other places in the codebase where we implicitly expect since i wasnt able to reproduce the issue.. im not sure how to test for that tho.. what opera version r u on? |
Im with the last, tested with the desktop browser. Yes I think we can add the other places in a progressive way. |
Description
MVP of Opera ssupport - tested on Opera + Chrome
Refers/Fixes
#5317 (comment)
Testing
Tested on Opera + Chrome
If approahc makes sense I will do one last batch of testing and merge