Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Dev to master #551

Merged
merged 119 commits into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
a4b92ca
Adds cookie permissions to localStorage/redux state
Agupane Nov 19, 2019
ad3d27e
Adds action
Agupane Nov 20, 2019
13d1de8
Adds files to git
Agupane Nov 20, 2019
5839fbe
Merge branch 'development' into 189-cookie-banner
Agupane Nov 20, 2019
3a3761a
(fix) linting issues
gabitoesmiapodo Nov 21, 2019
21e97b1
(update) flow-typed
gabitoesmiapodo Nov 21, 2019
cb8cabb
(update) .eslint and .flowconfig
gabitoesmiapodo Nov 21, 2019
8848ecd
(add) cookie banner
gabitoesmiapodo Nov 22, 2019
3af4622
Merge branch '189-cookie-banner' of https://github.com/gnosis/safe-re…
Agupane Nov 25, 2019
6ea47d6
Finish cookie banner implementation
Agupane Nov 25, 2019
3b063d3
Merge branch 'development' of https://github.com/gnosis/safe-react in…
Agupane Nov 25, 2019
43a1990
(Add) checkbox's disabled style.
gabitoesmiapodo Nov 25, 2019
9c6235f
Removes redux for cookiesStorage
Agupane Nov 26, 2019
3625135
Merge branch '189-cookie-banner' of https://github.com/gnosis/safe-re…
Agupane Nov 26, 2019
26b4207
Fix cookieStore deletion
Agupane Nov 26, 2019
a9dee4c
Fixs cookies acceptance
Agupane Nov 27, 2019
c995cc2
Fixs cookies banner verbiage
Agupane Nov 27, 2019
a9e3204
Pull updated flow-types from dev
mmv08 Dec 2, 2019
fe422cb
(remove) unused library
gabitoesmiapodo Dec 2, 2019
bc994dc
Adds cookies utils
Agupane Dec 2, 2019
1fa3c04
(fix) added correct polished library and import, updated flow-typed
gabitoesmiapodo Dec 2, 2019
a7d7142
Merge branch '189-cookie-banner' of github.com:gnosis/safe-react into…
gabitoesmiapodo Dec 2, 2019
4cf4ea3
(update) removed polish flow type, added js-cookie flow type
gabitoesmiapodo Dec 2, 2019
4a6fc32
Add link to cookie policy, use generic links for legal docs
mmv08 Dec 3, 2019
b909cf2
Merge branch '189-cookie-banner' of github.com:gnosis/safe-react into…
mmv08 Dec 3, 2019
dd3743e
Remove link to cookie policy from sidebar, link cookie policy in the …
mmv08 Dec 3, 2019
d2a7ff9
Let the user re-open the cookie banner
Agupane Dec 3, 2019
639b2b0
remove withMutations from cookies reducer, move utils/cookies to logi…
mmv08 Dec 4, 2019
2e1acb5
Now the sidebar closes when the cookie banner is toggled
Agupane Dec 4, 2019
5cb148b
Merge branch '189-cookie-banner' of https://github.com/gnosis/safe-re…
Agupane Dec 4, 2019
2c42eb5
Merge pull request #296 from gnosis/189-cookie-banner
mmv08 Dec 4, 2019
434e12e
Feature #169: Intercom (#301)
Agupane Dec 4, 2019
1ff38bc
Remove 'Hide zero balances' (#310)
mmv08 Dec 4, 2019
932dcf7
Use medium font size for 'select an asset' label (#312)
mmv08 Dec 4, 2019
85ff117
Feature #272: Google Analytics (#299)
Agupane Dec 5, 2019
21b7a59
Feature #224: Activate tokens automatically (#300)
fernandomg Dec 5, 2019
70fadd5
Typo fix (#326)
pcowgill Dec 9, 2019
8382907
Fix security vulnerability: Remove uglifyjs, use terser plugin (#327)
mmv08 Dec 9, 2019
75cc009
Pull from master, conflict fix
mmv08 Dec 9, 2019
d9b70ca
Feature #256: Sticky header (#308)
mmv08 Dec 9, 2019
1e0bf85
Update welcome text (#323)
mmv08 Dec 10, 2019
edf49ff
Feature #137: Tx list improvements (#222)
mmv08 Dec 10, 2019
a0a8ef5
(Feature) Etherscan button icon (#331)
gabitoesmiapodo Dec 11, 2019
747bcef
Feature #239: Replace early access label with network label (#311)
mmv08 Dec 11, 2019
56a6e16
Adds threshold update on checkAndUpdateSafe (#320)
Agupane Dec 11, 2019
f0b3172
Feature #159: Pending transaction that requires user confirmation (#330)
Agupane Dec 11, 2019
e7ba5e5
Feature #122: Multisig migration (#315)
Agupane Dec 11, 2019
87a7796
set anonymizeIp to true (#335)
mmv08 Dec 12, 2019
bc7d583
Feature #180: Predict transaction nonce (#293)
mmv08 Dec 12, 2019
3a86378
Feature #329: Rename to Multisig (#334)
mmv08 Dec 12, 2019
1e1592f
Fixs race condition (#341)
Agupane Dec 13, 2019
d69e5fc
(Feature) Incoming transactions (#333)
fernandomg Dec 13, 2019
63c1153
Feature #154: Fiat Balances (#290)
Agupane Dec 13, 2019
02e09cb
Fix incomming transactions fetching (#346)
germartinez Dec 13, 2019
509000b
Feature: Activate fortmatic (#339)
mmv08 Dec 13, 2019
cbb3908
Feature #336: Confirmation required notification for non-owners fix (…
Agupane Dec 16, 2019
251c9b9
pull from dev, conflict fix
mmv08 Dec 16, 2019
308639e
add apt-get update to travis yml
mmv08 Dec 16, 2019
1debb28
(Fix) Incoming transactions inline-styles (#344)
fernandomg Dec 16, 2019
4f64a2e
Makes minMaxLength 2 to AddCustomToken (#363)
Agupane Dec 17, 2019
d028da6
Fixs ETH display on balances list (#360)
Agupane Dec 17, 2019
2d282c5
Bug #348: Safelist entries get removed (#358)
Agupane Dec 17, 2019
15f2de0
Use submission instead of execution date to sort outgoing txs (#364)
fernandomg Dec 17, 2019
d58954a
Feature #190: Sidebar improvements (#347)
Agupane Dec 17, 2019
d0c48a8
use sameAddress function to check address eqaulity when fetching tran…
mmv08 Dec 17, 2019
a1546aa
Conflict fix
mmv08 Dec 17, 2019
f864f62
Bug #352: Owner shown multiple times (#367)
fernandomg Dec 17, 2019
80c87c6
Use transaction value as a string (#369)
germartinez Dec 17, 2019
b30e5c9
Fix alternative token abi and token address for incoming transactions…
germartinez Dec 17, 2019
1243235
Bug #313: Payload breaks ui (#371)
Agupane Dec 17, 2019
b128cc4
Merge branch 'master' into development
germartinez Dec 17, 2019
2dafa88
Feature #200: Show version number (#370)
fernandomg Dec 18, 2019
87b883a
Fix transaction description value (#377)
germartinez Dec 18, 2019
d22f2ba
Merge branch 'master' into development
germartinez Dec 18, 2019
550d8b9
fix checkAndUpdateSafe logic (#379)
mmv08 Dec 18, 2019
9500dae
Update .env.example
germartinez Dec 18, 2019
2a029b5
update package json version
mmv08 Dec 18, 2019
62aadf6
update package json version
mmv08 Dec 18, 2019
5b6e655
Fix app version in side bar
germartinez Dec 18, 2019
643d79d
Merge branch 'development' of github.com:gnosis/safe-react into devel…
germartinez Dec 18, 2019
858505d
add REACT_APP_APP_VERSION global env var
mmv08 Dec 18, 2019
75e3b49
Merge branch 'development' of github.com:gnosis/safe-react into devel…
mmv08 Dec 18, 2019
65f4d98
add react_app_version to build script
mmv08 Dec 18, 2019
8e3ee0b
remove react_app_app_version from build-mainnet
mmv08 Dec 18, 2019
ac4a72c
Change label for cancelled tx to 'cancelled' (#393)
mmv08 Dec 20, 2019
9b32cc9
Feature 309: Listen for web3connect disconnect event (#324)
mmv08 Dec 20, 2019
f1d1b78
#359: Remove separate entry for owners in localStorage (#392)
mmv08 Jan 9, 2020
18f8c44
#391: Display address book (#398)
Agupane Jan 9, 2020
c5ac894
Fix signatures order in tx data
germartinez Jan 9, 2020
754832d
Reverse fix signatures order in tx data
germartinez Jan 9, 2020
f8e1d19
Fix signatures order in txData (#429)
germartinez Jan 13, 2020
523cb7b
#383: Create/Edit/Delete entry (#399)
Agupane Jan 15, 2020
e0dfc83
Add trailing `/` to urls (#433)
Uxio0 Jan 15, 2020
f37c3f9
Fix #349: Cancel btn grey (#438)
Agupane Jan 15, 2020
08e00a6
#386: Addressbook transaction details (#407)
Agupane Jan 15, 2020
658da3b
Fix #409: Can't execute transactions that has more confirmations than…
Agupane Jan 16, 2020
36166cd
#387: Addressbook owner list (#434)
Agupane Jan 16, 2020
f64ebf9
Fix #381: notification shown after loading safe (#402)
fernandomg Jan 16, 2020
aa063aa
add ga event when connectin wallet & disable squarelink (#449)
mmv08 Jan 17, 2020
3cb3b9a
Feature: #343 transaction details improvement (#472)
Agupane Jan 23, 2020
dbc436c
Bug: #488 ens validation adbk (#471)
Agupane Jan 24, 2020
8fc422a
Feature: #473 - Display notification for old contracts (#476)
Agupane Jan 28, 2020
84f58b4
Bug: #479 names in adbk dont match (#486)
Agupane Jan 30, 2020
ef79515
(fix) Notifications' visual inconsistencies (#492)
gabitoesmiapodo Jan 31, 2020
84926fd
(Feature) Implement GDPR requirements (#490)
gabitoesmiapodo Jan 31, 2020
a39f156
Bug: #477 owners address can be edited (#487)
Agupane Jan 31, 2020
226b525
Feature #388: Use adbk list in new transactions (#461)
Agupane Feb 3, 2020
3e5d4f6
Feature #406: Transaction Cancellation (#451)
fernandomg Feb 4, 2020
b3d3864
Merge branch 'development'
fernandomg Feb 4, 2020
05e580a
(add) Tabs' Icons (#507)
gabitoesmiapodo Feb 4, 2020
2f45625
conflict fixes
mmv08 Feb 5, 2020
16b3dc0
#533 Checksum addresses request (#538)
Agupane Feb 6, 2020
165a088
(Fix) Basic mobile responsiveness (#532)
gabitoesmiapodo Feb 6, 2020
30f3483
(Fix) Duplicated txs (#508)
fernandomg Feb 10, 2020
b938d45
(Fix) Transaction List not loading and handle DCD token (#539)
fernandomg Feb 10, 2020
8891ddd
V1.7.0 (#531) (#547)
fernandomg Feb 10, 2020
0b8b7f8
rev1.7.1 (#548)
fernandomg Feb 10, 2020
113f3f6
Solve conflicts (#549)
fernandomg Feb 10, 2020
16be565
Merge branch 'development' into dev-to-master
fernandomg Feb 11, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
<title>Gnosis Safe Multisig</title>
</head>
<body>
<div id="root"></div>
<div id="root" style="overflow: hidden;"></div>
</body>
</html>
13 changes: 9 additions & 4 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ import GnoButtonLink from '~/components/layout/ButtonLink'

const useStyles = makeStyles({
footer: {
boxSizing: 'border-box',
display: 'flex',
flexDirection: 'row',
flexShrink: '1',
flexWrap: 'wrap',
justifyContent: 'center',
margin: '0 auto',
Expand Down Expand Up @@ -54,11 +56,10 @@ const Footer = () => {
return (
<footer className={classes.footer}>
<span className={classes.item}>
©
{' '}
©
{date.getFullYear()}
{' '}
Gnosis
Gnosis
</span>
<span className={classes.sep}>|</span>
<Link className={cn(classes.item, classes.link)} to="https://safe.gnosis.io/terms" target="_blank">
Expand All @@ -85,7 +86,11 @@ const Footer = () => {
Preferences
</GnoButtonLink>
<span className={classes.sep}>|</span>
<Link className={cn(classes.item, classes.link)} to="https://github.com/gnosis/safe-react/releases" target="_blank">
<Link
className={cn(classes.item, classes.link)}
to="https://github.com/gnosis/safe-react/releases"
target="_blank"
>
{appVersion}
</Link>
</footer>
Expand Down
9 changes: 7 additions & 2 deletions src/components/Header/components/CircleDot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,19 @@ import { withStyles } from '@material-ui/core/styles'
import Dot from '@material-ui/icons/FiberManualRecord'
import Block from '~/components/layout/Block'
import Img from '~/components/layout/Img'
import { fancy, border, warning } from '~/theme/variables'
import {
fancy, border, warning, screenSm,
} from '~/theme/variables'

const key = require('../assets/key.svg')
const triangle = require('../assets/triangle.svg')

const styles = () => ({
root: {
display: 'flex',
display: 'none',
[`@media (min-width: ${screenSm}px)`]: {
display: 'flex',
},
},
dot: {
position: 'relative',
Expand Down
108 changes: 58 additions & 50 deletions src/components/Header/components/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Img from '~/components/layout/Img'
import Row from '~/components/layout/Row'
import Spacer from '~/components/Spacer'
import {
border, sm, md, headerHeight,
border, sm, md, headerHeight, screenSm,
} from '~/theme/variables'
import Provider from './Provider'
import NetworkLabel from './NetworkLabel'
Expand All @@ -30,26 +30,34 @@ type Props = Open & {
const styles = () => ({
root: {
backgroundColor: 'white',
padding: 0,
boxShadow: '0 0 10px 0 rgba(33, 48, 77, 0.1)',
minWidth: '280px',
borderRadius: sm,
boxShadow: '0 0 10px 0 rgba(33, 48, 77, 0.1)',
marginTop: '11px',
minWidth: '280px',
padding: 0,
},
summary: {
borderBottom: `solid 2px ${border}`,
alignItems: 'center',
height: headerHeight,
boxShadow: '0 2px 4px 0 rgba(212, 212, 211, 0.59)',
backgroundColor: 'white',
zIndex: 1301,
borderBottom: `solid 2px ${border}`,
boxShadow: '0 2px 4px 0 rgba(212, 212, 211, 0.59)',
flexWrap: 'nowrap',
height: headerHeight,
position: 'fixed',
width: '100%',
zIndex: 1301,
},
logo: {
padding: `${sm} ${md}`,
flexBasis: '95px',
flexGrow: 0,
flexShrink: '0',
flexGrow: '0',
maxWidth: '55px',
padding: sm,
[`@media (min-width: ${screenSm}px)`]: {
maxWidth: 'none',
paddingLeft: md,
paddingRight: md,
},
},
popper: {
zIndex: 2000,
Expand All @@ -65,46 +73,46 @@ const Layout = openHoc(
providerInfo,
providerDetails,
}: Props) => (
<Row className={classes.summary}>
<Col start="xs" middle="xs" className={classes.logo}>
<Link to="/">
<Img src={logo} height={32} alt="Gnosis Team Safe" />
</Link>
</Col>
<Divider />
<SafeListHeader />
<Divider />
<NetworkLabel />
<Spacer />
<Provider open={open} toggle={toggle} info={providerInfo}>
{(providerRef) => (
<Popper
open={open}
anchorEl={providerRef.current}
placement="bottom"
className={classes.popper}
popperOptions={{ positionFixed: true }}
>
{({ TransitionProps }) => (
<Grow {...TransitionProps}>
<>
<ClickAwayListener
onClickAway={clickAway}
mouseEvent="onClick"
touchEvent={false}
>
<List className={classes.root} component="div">
{providerDetails}
</List>
</ClickAwayListener>
</>
</Grow>
)}
</Popper>
)}
</Provider>
</Row>
),
<Row className={classes.summary}>
<Col start="xs" middle="xs" className={classes.logo}>
<Link to="/">
<Img src={logo} height={32} alt="Gnosis Team Safe" />
</Link>
</Col>
<Divider />
<SafeListHeader />
<Divider />
<NetworkLabel />
<Spacer />
<Provider open={open} toggle={toggle} info={providerInfo}>
{(providerRef) => (
<Popper
anchorEl={providerRef.current}
className={classes.popper}
open={open}
placement="bottom"
popperOptions={{ positionFixed: true }}
>
{({ TransitionProps }) => (
<Grow {...TransitionProps}>
<>
<ClickAwayListener
onClickAway={clickAway}
mouseEvent="onClick"
touchEvent={false}
>
<List className={classes.root} component="div">
{providerDetails}
</List>
</ClickAwayListener>
</>
</Grow>
)}
</Popper>
)}
</Provider>
</Row>
),
)

export default withStyles(styles)(Layout)
16 changes: 12 additions & 4 deletions src/components/Header/components/NetworkLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getNetwork } from '~/config'
import Paragraph from '~/components/layout/Paragraph'
import Col from '~/components/layout/Col'
import {
xs, sm, md, border,
xs, sm, md, border, screenSm,
} from '~/theme/variables'

const network = getNetwork()
Expand All @@ -14,14 +14,22 @@ const formattedNetwork = network[0].toUpperCase() + network.substring(1).toLower
const useStyles = makeStyles({
container: {
flexGrow: 0,
padding: `0 ${md}`,
padding: `0 ${sm}`,
[`@media (min-width: ${screenSm}px)`]: {
paddingLeft: md,
paddingRight: md,
},
},
text: {
background: border,
padding: `${xs} ${sm}`,
borderRadius: '3px',
marginLeft: sm,
lineHeight: 'normal',
margin: '0',
padding: `${xs} ${sm}`,

[`@media (min-width: ${screenSm}px)`]: {
marginLeft: '8px',
},
},
})

Expand Down
25 changes: 16 additions & 9 deletions src/components/Header/components/Provider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ExpandMore from '@material-ui/icons/ExpandMore'
import Col from '~/components/layout/Col'
import Divider from '~/components/layout/Divider'
import { type Open } from '~/components/hoc/OpenHoc'
import { sm, md } from '~/theme/variables'
import { sm, md, screenSm } from '~/theme/variables'

type Props = Open & {
classes: Object,
Expand All @@ -18,22 +18,29 @@ type Props = Open & {

const styles = () => ({
root: {
height: '100%',
display: 'flex',
alignItems: 'center',
flexBasis: '284px',
marginRight: '20px',
display: 'flex',
height: '100%',

[`@media (min-width: ${screenSm}px)`]: {
flexBasis: '284px',
marginRight: '20px',
},
},
provider: {
padding: `${sm} ${md}`,
alignItems: 'center',
flex: '1 1 auto',
display: 'flex',
cursor: 'pointer',
display: 'flex',
flex: '1 1 auto',
padding: sm,
[`@media (min-width: ${screenSm}px)`]: {
paddingLeft: md,
paddingRight: md,
},
},
expand: {
width: '30px',
height: '30px',
width: '30px',
},
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { withStyles } from '@material-ui/core/styles'
import Dot from '@material-ui/icons/FiberManualRecord'
import Paragraph from '~/components/layout/Paragraph'
import Col from '~/components/layout/Col'
import { connected as connectedBg, sm } from '~/theme/variables'
import { screenSm, connected as connectedBg, sm } from '~/theme/variables'
import Identicon from '~/components/Identicon'
import { shortVersionOf } from '~/logic/wallets/ethAddresses'
import CircleDot from '~/components/Header/components/CircleDot'
Expand All @@ -21,23 +21,33 @@ const styles = () => ({
network: {
fontFamily: 'Averta, sans-serif',
},
logo: {
identicon: {
display: 'none',
[`@media (min-width: ${screenSm}px)`]: {
display: 'block',
},
},
dot: {
backgroundColor: '#fff',
borderRadius: '15px',
color: connectedBg,
display: 'none',
height: '15px',
width: '15px',
top: '12px',
position: 'relative',
right: '10px',
backgroundColor: '#ffffff',
borderRadius: '15px',
color: connectedBg,
top: '12px',
width: '15px',
[`@media (min-width: ${screenSm}px)`]: {
display: 'block',
},
},
account: {
paddingRight: sm,
alignItems: 'start',
display: 'flex',
flexDirection: 'column',
justifyContent: 'left',
alignItems: 'start',
flexGrow: 1,
justifyContent: 'left',
paddingRight: sm,
},
address: {
letterSpacing: '-0.5px',
Expand All @@ -56,8 +66,8 @@ const ProviderInfo = ({
<>
{connected && (
<>
<Identicon address={identiconAddress} diameter={30} />
<Dot className={classes.logo} />
<Identicon className={classes.identicon} address={identiconAddress} diameter={30} />
<Dot className={classes.dot} />
</>
)}
{!connected && <CircleDot keySize={14} circleSize={35} dotSize={16} dotTop={24} dotRight={11} mode="warning" />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ const styles = () => ({
fontFamily: 'Averta, sans-serif',
},
account: {
paddingRight: sm,
alignItems: 'start',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'start',
flexGrow: 1,
justifyContent: 'center',
paddingRight: sm,
},
connect: {
letterSpacing: '-0.5px',
whiteSpace: 'nowrap',
},
})

Expand Down
Loading