-
Notifications
You must be signed in to change notification settings - Fork 42
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
Add pop-up notifs + show a notif when an address has been copied #1012
Conversation
252cc73
to
ac018e9
Compare
MegaLinter status: ✅ SUCCESS
See errors details in artifact MegaLinter reports on CI Job page |
ac018e9
to
51e3963
Compare
Codecov Report
@@ Coverage Diff @@
## master #1012 +/- ##
==========================================
+ Coverage 88.59% 88.69% +0.10%
==========================================
Files 102 102
Lines 1762 1778 +16
Branches 406 412 +6
==========================================
+ Hits 1561 1577 +16
Misses 201 201
Flags with carried forward coverage won't be shown. Click here to find out more.
|
51e3963
to
c208e1c
Compare
c208e1c
to
41b6fbe
Compare
803ed36
to
b879291
Compare
2206eeb
to
b069a53
Compare
@lukaw3d Thanks for all the input. I believe I have now addressed everything you mentioned. |
516e5c4
to
200a018
Compare
200a018
to
1836405
Compare
expect(copy).toHaveBeenCalledWith(testAddress) | ||
}) |
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.
I think you meant to check that notification shows up here :D
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.
Actually I wanted to test both the actual clipboard copy and the notification, since AddressBox had no tests before.
Now I have added a new test case below, specifically for the notification.
e99a1b4
to
aa38444
Compare
b58ce05
to
ac45682
Compare
ddb184b
to
974ffa0
Compare
974ffa0
to
d5e7492
Compare
d5e7492
to
3378393
Compare
3378393
to
bdd587b
Compare
Show a notification when address is copied.
The bigger chunk of this PR is actually integrating the notification widget (from Grommet) in such a way that it's convenient to use anywhere inside the app.
The method of integration is almost exactly the same how Modal windows are integrated.dialogs.
Fixes #271.