-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enhancement/mobile ui (#193) * started implementing mobile notifications, needs more testing * removed mobile warnings * remove unnecessary async keywords * adjust styles to flexbox suit mobile * adjust border to bottom if notifications are to be on top, add touch listener to close notification * make adjustments for mobile notifications * edit paragrapgh width * remove alert * changed conditional styles from inline to using classnames * adjust styles * add check for mobile device in headless mode * add check to not log mobile events to server for the moment * add mobile events to eventCodeToStep function * styled adjustments * remove todo comment * add mobile device checks and eventcodes * add content for mbile specific events * add classes to objects to add style changes, add touchhandler functions * add touch handlers to elements if mobile device * add check for txConfirmedClient as it is already dealt with * content adjustments * add body position fixed so no scroll on IOS when swiping * update snapshots to reflect changes * update snapshots * fixed string concatenation bug * add mobile specific events to server logging * add new assets for mobileWalletFail event * fix bug with notifications and document body being fixed, also fixed bug when notifications are manually dismissed * add timeout to changing of fixed body position * add trust and coinbase images and deep links * updated readme * add husky back in to package.json * use prevent default to prevent page scroll on swipe instead of position fixed * add check to make sure _metamask prop is available, which is needed for mobile wallets that implement connect/enable functionality * update snapshot * add mobileWalletEnable eventCode * add ontouchstart handlers and allow for modals with no images * fix errors from merge * add media-queries back in * move assist styles to iframe.js * fix errors with exponents on non-firefox browsers * Change mobile content so it fits on screen * remove ethers documentation as it is not included in this branch * update to version 0.8.0
- Loading branch information
Showing
25 changed files
with
641 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
315 changes: 159 additions & 156 deletions
315
src/__integration-tests__/ui-rendering/__snapshots__/index.test.js.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@media only screen and (min-device-width: 320px) and (max-device-width: 736px) { | ||
#blocknative-notifications { | ||
padding: 0; | ||
} | ||
li.bn-notification { | ||
border-width: 0px 2px 0px 0px; | ||
position: relative; | ||
} | ||
|
||
a#bn-transaction-branding { | ||
position: absolute; | ||
bottom: 5px; | ||
right: 5px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.