Skip to content

Bannik rebase dev #6

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

Open
wants to merge 443 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
443 commits
Select commit Hold shift + click to select a range
62f99e2
chore: fix typo (#1779)
chawyehsu Mar 20, 2023
b64fa64
Fix: strip query params from Sentry events (#1784)
katspaugh Mar 20, 2023
574918e
Fix: sort Safe App tags (#1793)
katspaugh Mar 22, 2023
81d4a2a
fix: support tokens with no decimals (#1794)
iamacook Mar 22, 2023
b54d933
feat: buttons to expand/collapse all actions (#1789)
iamacook Mar 24, 2023
aadd141
fix: DateTime jest test (#1804)
schmanu Mar 27, 2023
dfb4b44
Fix: update safe-react-components (#1805)
katspaugh Mar 27, 2023
8eb3fde
fix: Token list layout on mobile screens (#1806)
usame-algan Mar 28, 2023
fbe6689
refactor: delay switching networks until execution (#1746)
usame-algan Mar 29, 2023
9592810
feat: display Fallback Handler address (#1785)
iamacook Mar 29, 2023
c3309d7
feat: show alert for new versions in settings (#1810)
iamacook Mar 29, 2023
1d73c0d
fix: rejection transaction description + link text (#1821)
iamacook Apr 3, 2023
ae5d4d8
fix: add secrets to build workflow (#1834)
iamacook Apr 3, 2023
5438e18
fix: Add licenses page (#1819)
usame-algan Apr 3, 2023
002521f
fix: Dismiss update safe notification for 90 days (#1812)
usame-algan Apr 3, 2023
47b4012
fix: height of "Explore Safe Apps" card (#1835)
iamacook Apr 3, 2023
30291a9
[EPIC] Relaying (#1776)
iamacook Apr 4, 2023
f507a6e
1.8.0
katspaugh Apr 4, 2023
9648de2
Fix: remove atomic0 links and add Zerion links on the NFTs page (#1846)
katspaugh Apr 5, 2023
c41d622
refactor: remove `getWeb3` (#1837)
iamacook Apr 5, 2023
9dae32f
fix: add help centre article (#1850)
iamacook Apr 6, 2023
39890d8
feat: add relay debug toggle (#1847)
iamacook Apr 6, 2023
87f13e5
fix(safe-apps): Add new Safe apps domain (#1765)
yagopv Apr 10, 2023
51289c4
fix: Track most searched safe apps (#1827)
usame-algan Apr 12, 2023
c8f82af
Merge branch 'main' of github.com:5afe/web-core into dev
usame-algan Apr 12, 2023
71645cc
feat: approval editor (#1763)
schmanu Apr 12, 2023
4969452
fix: Navigation tabs break the layout on mobile viewports (#1865)
usame-algan Apr 14, 2023
5a8140d
fix: Spending limits: Table header is displayed when no records #1703…
deepaksing Apr 14, 2023
061350c
fix: Unhandled exception in useOnboard (#1868)
deepaksing Apr 15, 2023
d60c412
fix: remove unnecessary dependency (#1841)
iamacook Apr 17, 2023
35fa598
fix: create Safe App share URL in `useEffect` (#1866)
iamacook Apr 17, 2023
4ae7dce
Fix: redirect old tx id URLs (#1870)
katspaugh Apr 17, 2023
4b2fe0e
Merge branch 'main' of github.com:safe-global/web-core into dev
katspaugh Apr 17, 2023
c5edbd0
fix: Dashboard widgets do not align correctly (#1867)
deepaksing Apr 17, 2023
a5b1aed
Fix: filter pending txs by safe address (#1836)
katspaugh Apr 18, 2023
d3be0de
Fix prettier
katspaugh Apr 18, 2023
a46e774
Fix: a better cookie banner layout (#1849)
katspaugh Apr 18, 2023
fb39829
fix: Unhandled exception in the Copy button #1782 (#1851)
deepaksing Apr 18, 2023
3f294d6
[e2e] Collapse expand all actions (#1801)
francovenica Apr 18, 2023
3f06859
fix: check simulation call trace for reversion (#1861)
iamacook Apr 18, 2023
a62b968
fix: Unhandled error for pending txs in queue (#1862)
usame-algan Apr 18, 2023
7810a33
fix: align Safe Account, Safe{Wallet} and Safe Token branding (#1884)
iamacook Apr 20, 2023
1ab5efd
fix: rename Safe Apps to Safe{Apps} (#1888)
iamacook Apr 20, 2023
edd8f7d
fix: refresh remaining relays after relay (#1885)
iamacook Apr 20, 2023
271e95a
fix: allow using the injected wallet on mobile (#1880)
iamacook Apr 20, 2023
d1f39c0
fix: balance pagination test (#1895)
liliya-soroka Apr 21, 2023
3a0b6af
refactor: `SignOrExecute` elements (#1842)
katspaugh Apr 24, 2023
8f5cf7e
fix: tweak wording of Safe Account/{Wallet} (#1901)
iamacook Apr 25, 2023
26b2e13
Chore: repace http-server with serve (#1905)
katspaugh Apr 25, 2023
dfbcf9e
NFTs page: better select-all UI (#1904)
katspaugh Apr 25, 2023
86d28dc
app store button - replaced with next image (#1906)
GermaVinsmoke Apr 25, 2023
1a97d23
fix: remove slash from end of CLA links (#1907)
iamacook Apr 25, 2023
8882e48
feat: import/export data (#1816)
iamacook Apr 25, 2023
f3633d1
chore(deps-dev): bump @openzeppelin/contracts from 4.8.2 to 4.8.3 (#1…
dependabot[bot] Apr 26, 2023
3d3652c
Feat: decode native transfers + show Multisend in the tx info block (…
katspaugh Apr 26, 2023
6cd6220
fix: brand alignment inconsistencies (#1910)
iamacook Apr 26, 2023
8ea2584
Update safe-deployments to latest version to support Neon contracts (…
Sj-001 Apr 26, 2023
d89f412
fix: Add fallback for empty data in ApprovalEditor (#1892)
usame-algan Apr 27, 2023
254fb7b
fix: replaced safe_token with new icon (#1917)
GermaVinsmoke Apr 27, 2023
f82ce99
feat: execution method selector in transaction modal (#1919)
iamacook Apr 28, 2023
18ccafa
fix: Dashboard layout with relaying widget (#1911)
usame-algan May 2, 2023
a2bf46e
Fix: useTxActions should accept origin (#1926)
katspaugh May 2, 2023
2718157
fix: don't scroll wrap in transaction list (#1915)
iamacook May 2, 2023
3600dab
Chore: fix e2e tests (#1929)
katspaugh May 2, 2023
c7a2ce0
fix: fetch all balances if chain does not support default tokens (#1928)
schmanu May 2, 2023
42a4e43
fix: Over-initialization of the safe core sdk (#1843)
usame-algan May 2, 2023
4257976
fix: Multiple transactions when creating a safe (#1883)
usame-algan May 2, 2023
eaa4d34
Fix: isValidMasterCopy params
katspaugh May 2, 2023
01bd7b9
fix: improve relay error (#1921)
iamacook May 3, 2023
61880a7
fix: wrong message in safe creation relay (#1922)
DiogoSoaress May 3, 2023
2e15b2d
feat: execution method for creation + batches (#1924)
iamacook May 3, 2023
330caaa
v1.9.0
katspaugh May 3, 2023
3e59c5c
fix: decoding txs without parameters (#1938)
schmanu May 4, 2023
8de279a
Fix: track QR button in address inputs (#1935)
katspaugh May 4, 2023
8f84ccd
fix: revert rebranding (#1939)
iamacook May 4, 2023
acd68da
Revert "fix: revert rebranding (#1939)"
katspaugh May 4, 2023
26de8c7
Chore: rename the repo to safe-wallet-web (#1934)
katspaugh May 4, 2023
606ca25
Chore: rename PR deployment folder (#1944)
katspaugh May 4, 2023
e7657c1
Fix: sandbox safe app icons in tx list (#1942)
katspaugh May 4, 2023
7e5f90b
fix: Update copyright text in footer (#1945)
usame-algan May 4, 2023
06e35b9
Chore: replace remaining web-core instances (#1941)
katspaugh May 4, 2023
5e2b78c
fix: remove logo height (#1951)
iamacook May 5, 2023
9620929
Chore: "Accept selection" in e2e tests (#1950)
katspaugh May 5, 2023
52bb601
Fix: don't clear pending queue when polling (#1957)
katspaugh May 8, 2023
b5292d3
Merge branch 'main' of github.com:safe-global/web-core into dev
katspaugh May 8, 2023
bc7e7b0
Revert "fix: remove logo height (#1951)"
katspaugh May 8, 2023
7773391
Fix: support injected wallet icons (#1953)
katspaugh May 8, 2023
146bd40
Refactor: executeTx hook (#1949)
katspaugh May 9, 2023
3bc22a0
Fix: improve "wrong chain" switching UX (#1937)
katspaugh May 9, 2023
4daef69
v1.9.1
katspaugh May 9, 2023
5277228
fix: update links (#1882)
iamacook May 9, 2023
b51d676
fix: reload `<NftCollections>` when changing safeAddress of chainId (…
DiogoSoaress May 9, 2023
b0f4740
Feat: tx details - full multisend view (#1960)
katspaugh May 9, 2023
df1643b
Fix: restore copiable hex data in the safe app review modal (#1970)
katspaugh May 10, 2023
a89d2a8
Fix: acronyms in camelCaseToSpaces (#1964)
katspaugh May 10, 2023
5e8ba14
fix: rerender on Safe address change (#1968)
iamacook May 10, 2023
dd57375
fix: improve array decoding (#1965)
iamacook May 11, 2023
b1b5dee
fix: redirect non-existing "Messages" tab (#1973)
iamacook May 11, 2023
67e29e7
Chore: pass dockerhum project id from github secrets (#1977)
katspaugh May 11, 2023
4b1fcd9
Merge main into dev
katspaugh May 11, 2023
599d6ae
feat: Make it easier to paste eth addresses (#1897)
kritarthbaranwal May 12, 2023
09ab46a
fix: split import/export data settings panes
iamacook May 12, 2023
460054c
Fix: env-dependent legal pages (#1982)
katspaugh May 12, 2023
08077c2
fix: improve disable condition and tooltip tile on `TxSummary` button…
DiogoSoaress May 12, 2023
e0c6459
fix: remove margin from data import pane (#1983)
iamacook May 12, 2023
68dd66d
Fix: don't refresh main component on first page load (#1985)
katspaugh May 16, 2023
65df345
Chore: rm unused fn
katspaugh May 16, 2023
a9c0766
[EIP-1271 Sync] Synchronous signing flow for arbitrary thresholds (#1…
schmanu May 17, 2023
3859bf3
Fix: add "Advanced details" title in tx details (#1966)
katspaugh May 17, 2023
641bb66
v1.10.0
katspaugh May 17, 2023
80dd872
refactor: upgrade + optimise Redux (#1981)
iamacook May 17, 2023
f5152d9
fix: revert rebranding (#1996)
iamacook May 17, 2023
f844c12
Revert "fix: revert rebranding (#1996)"
iamacook May 17, 2023
d78c966
test: E2E remove NFT tooltip assertion (#1997)
DiogoSoaress May 17, 2023
9f254a4
fix: merge custom env vars per chain (#1989)
iamacook May 22, 2023
59ae067
Fix: show added safes with or w/o a wallet (#2007)
katspaugh May 22, 2023
07ea79b
Merge branch 'main' of github.com:safe-global/web-core into dev
katspaugh May 22, 2023
12f217c
Chore: rm cancel-workflow-action (#2010)
katspaugh May 22, 2023
710d3c7
fix: keep expand/collapse buttons from rotating (#2012)
DiogoSoaress May 22, 2023
5135041
Feat: general app settings in the footer (#1999)
katspaugh May 24, 2023
cf0ec1f
fix: Do not rerender approval editor in confirmation modal (#2004)
schmanu May 24, 2023
790b58f
chore: remove duplicated white-space (#2037)
suraneti May 25, 2023
79c4782
Import export WIP (#2035)
francovenica May 25, 2023
a41d886
Feat: blink title if walletconnect needs attention (#2032)
katspaugh May 25, 2023
490b1aa
Fix: terms link + rm terms banner (#2041)
katspaugh May 25, 2023
c95512e
Tests: fix balances - rm Ok button (#2044)
katspaugh May 26, 2023
be4db6a
Refactor: move wallet utils to utils (#2047)
katspaugh May 26, 2023
ae0e1c9
refactor: MsgModal (#2043)
schmanu May 26, 2023
6220740
Chore: fix modularized exports config (#2049)
katspaugh May 26, 2023
8d3bb77
Revert "fix: revert rebranding (#1996)"
iamacook May 17, 2023
894ec31
v1.11.0
katspaugh May 30, 2023
1becafe
Text: minor edits in the Termsn and Privacy (Safe -> Safe Account) (#…
katspaugh May 31, 2023
234525f
Merge main
katspaugh May 31, 2023
9e24e44
v1.12.0
katspaugh Jun 1, 2023
20b9e44
feat: Remember the state of Execute transaction checkbox in settings …
plusminushalf Jun 8, 2023
bbc7f30
chore(deps-dev): bump @openzeppelin/contracts from 4.8.3 to 4.9.1 (#2…
dependabot[bot] Jun 8, 2023
1453c3d
Fix: OpenSea links on mainnet
katspaugh Jun 12, 2023
ad2779c
fix: sign messages with hardware wallets through metamask (#2079)
schmanu Jun 12, 2023
1a84bd0
Chore: use REVERSE_PROXY_UI_PORT env var in the serve command (#2082)
katspaugh Jun 12, 2023
0c7d985
Merge branch 'main' of github.com:safe-global/web-core into dev
katspaugh Jun 13, 2023
9467a48
Chore: add --e2e to the cypress command (#2114)
katspaugh Jun 15, 2023
bd5200a
fix: use `baseGas` in estimation (#2092)
iamacook Jun 16, 2023
626442d
Chore: fix e2e tests (#2118)
katspaugh Jun 16, 2023
6a68059
chore: upgrade onboard (#2018)
iamacook Jun 16, 2023
b590b47
chore(deps-dev): bump @openzeppelin/contracts from 4.9.1 to 4.9.2 (#2…
dependabot[bot] Jun 20, 2023
e492a32
fix: show messages tab if chain supports EIP-1271 (#2129)
iamacook Jun 20, 2023
151651d
Chore: update caniuse
katspaugh Jun 20, 2023
30e0355
Chore: fix tx builder unit tests (#2135)
katspaugh Jun 20, 2023
1862bb0
feat: add WalletConnect v2 wallet module (#2095)
iamacook Jun 20, 2023
9b34b7c
Chore: disable jest warnings (#2141)
katspaugh Jun 21, 2023
d2efbf6
feat: transaction security warnings (#1902)
schmanu Jun 21, 2023
58d03b4
fix: update claiming app data URL (#2133)
iamacook Jun 21, 2023
b6fa202
v1.13.0
katspaugh Jun 21, 2023
9ea271c
refactor: Remove promise workaround in tests (#2144)
usame-algan Jun 21, 2023
d3fa6de
chore: Fix modularized imports (#2147)
usame-algan Jun 21, 2023
11e8906
Fix: a tiny fix for balance changes CSS (#2148)
katspaugh Jun 22, 2023
a80992c
chore(deps): bump semver from 7.3.8 to 7.5.2 (#2158)
dependabot[bot] Jun 23, 2023
9936a6a
Docs: fix readme formatting (#2159)
katspaugh Jun 23, 2023
ea5510f
fix: Allow non-owners with spending limit to execute transaction (#2121)
elgatovital Jun 24, 2023
2f9a077
fix: remove creation modal query param on close (#2167)
iamacook Jun 26, 2023
e20dcc3
Tests: change token counter (#2179)
francovenica Jun 27, 2023
b9e2b18
Fix: reset tx list pages when Safe is changed (#2168)
katspaugh Jun 27, 2023
bdf01e1
Fix: keystone modal scroll (#2170)
katspaugh Jun 27, 2023
4729237
Fix: /apps/open redirect (#2177)
katspaugh Jun 28, 2023
19e3aef
fix: don't check WC v1 session for v2 reconnection (#2178)
iamacook Jun 28, 2023
a05c5b7
fix: remove "Where's my wallet?" info (#2171)
iamacook Jun 28, 2023
72cb6c7
fix: upgrade `web3-onboard/core`
iamacook Jun 28, 2023
7557711
Revert "fix: upgrade `web3-onboard/core`"
iamacook Jun 28, 2023
52faa41
fix: upgrade `@web3-onboard/core` (#2195)
iamacook Jun 29, 2023
7f56206
Fix: checked box color in CookieBanner (#2199)
katspaugh Jun 29, 2023
669bab8
fix: upgrade `@web3-onboard/*` + remove patches (#2205)
iamacook Jul 3, 2023
d4885e1
fix: revert Ledger module (#2215)
iamacook Jul 3, 2023
37ea8a2
chore: update deployment-related packages (#2217)
iamacook Jul 3, 2023
00b9949
Fix: pass Redefine API URL from GitHub secrets (#2218)
katspaugh Jul 3, 2023
0c7276b
fix: Check execute checkbox if execution is the only option (#2230)
usame-algan Jul 5, 2023
9809612
v1.14.0
katspaugh Jul 5, 2023
a409dfc
Chore: escape quotes in release action (#2236)
katspaugh Jul 5, 2023
fdaf1a2
fix: only initiate WC v2 module if project id provided (#2228)
iamacook Jul 6, 2023
61b5ac8
fix: autoconnect to WC v2 on mobile (#2238)
iamacook Jul 10, 2023
c5dd796
fix: update token price tooltip (#2257)
iamacook Jul 10, 2023
9aa0bb7
fix: Safe creation/batch execution gas estimation (#2232)
iamacook Jul 10, 2023
ad2e574
fix: resolve third party dependency (#2255)
schmanu Jul 11, 2023
f5e7f5d
chore: fix network name selection in E2E (#2267)
iamacook Jul 11, 2023
35cb185
fix: Update message signing link in settings (#2273)
usame-algan Jul 11, 2023
93b761e
[Epic] Tx flow redesign (#2067)
katspaugh Jul 12, 2023
27ffdd7
fix: highlight confirmed status when signer confirms (#2279)
iamacook Jul 12, 2023
8e32463
[EPIC] SEP #5 - Update header/widget (#2213)
iamacook Jul 13, 2023
99674a8
fix: update privacy policy for mobile onboarding (#2282)
iamacook Jul 13, 2023
5735030
fix: trim/remove leading zeros from values (#2284)
iamacook Jul 14, 2023
b0ebdaf
fix: Show Tenderly fail if there is a call trace error (#2290)
usame-algan Jul 14, 2023
01135da
fix: also format `inputProps['onChange']` (#2293)
iamacook Jul 14, 2023
327b4cd
fix: use the deployment by `chainId` (#2246)
iamacook Jul 20, 2023
4afb12f
Update links pointing to the Safe documentation (#2297)
germartinez Jul 21, 2023
fbd7b52
fix: show error for reverted txs (#2302)
schmanu Jul 25, 2023
bc8a9ba
fix: show failed simulations correctly (#2308)
schmanu Jul 26, 2023
841230d
fix: centralise flow + reduce success screen width (#2309)
iamacook Jul 26, 2023
61eb8d2
Add Plausible Analytics script (#2307)
danielpartida Jul 26, 2023
5aba188
Fix: load plausible analytics only on prod and official domain + add …
katspaugh Jul 27, 2023
00c044f
Fix: make tx modal higher than queue drawer (#2312)
katspaugh Jul 27, 2023
ff5f450
Fix: show onboard modal when connecting last wallet
katspaugh Jul 27, 2023
cd2e9ac
Fix: minimize queue drawer when tx modal is opened (#2317)
katspaugh Jul 27, 2023
4c46aab
Fix: always keep the nonce of existing txs (#2323)
katspaugh Jul 28, 2023
c455163
1.15.2
katspaugh Jul 28, 2023
e1eadbc
feat: add "Transaction is executed" to success
iamacook Jul 31, 2023
dac1fea
Revert "feat: add "Transaction is executed" to success"
iamacook Jul 31, 2023
d86bacd
Fix: mobile pairing check (#2327)
katspaugh Jul 31, 2023
c031735
feat: add "Transaction is executed" to stepper (#2328)
iamacook Jul 31, 2023
793cd98
fix: replacement nonce dropdown style (#2318)
iamacook Jul 31, 2023
1a48103
fix: don't close flow in Safe Apps (#2333)
iamacook Aug 1, 2023
65d2663
feat: add Plausible Analytics to privacy policy (#2336)
iamacook Aug 1, 2023
9fd937a
fix: execute icon colour in dark mode (#2338)
iamacook Aug 1, 2023
e78930a
fix: Reopen QR modal in safe creation (#2294)
usame-algan Aug 1, 2023
2658166
feat: Safe App info button (#1726)
iamacook Aug 2, 2023
657da0f
Fix: warn if tx was already signed by connected wallet (#2322)
katspaugh Aug 2, 2023
661bafd
Feat: batch any tx (#2254)
katspaugh Aug 2, 2023
1db9568
Feat: show delegates (#2324)
katspaugh Aug 2, 2023
e99b511
fix: `useAsync` dependency arrays (#2291)
iamacook Aug 3, 2023
3410911
Feat: emoji identicons (#2305)
katspaugh Aug 4, 2023
beae29d
Refactor: onboard auto connect (#2343)
katspaugh Aug 4, 2023
bd9118c
fix: Open custom safe apps on click (#2350)
usame-algan Aug 7, 2023
8826af3
Fix: prevent key prop warning in EthHashInfo (#2351)
katspaugh Aug 7, 2023
d88bb03
Chore: rm Plausible Analytics script (#2346)
katspaugh Aug 7, 2023
7556391
fix: limit `origin` length (#2334)
iamacook Aug 7, 2023
3fbb439
Fix: tx can have been created w/o signatures (#2354)
katspaugh Aug 7, 2023
e3c0e31
Fix: cookie prefs checked checkbox color (#2356)
katspaugh Aug 7, 2023
425cf08
Fix: prevent an early redirect on the Safe Apps share page (#2358)
katspaugh Aug 8, 2023
7eedd71
fix: Replace transaction with 0 nonce (#2361)
usame-algan Aug 8, 2023
0be8488
fix: Use PNG instead of SVG for Redefine logo (#2362)
usame-algan Aug 8, 2023
90bdb23
Refactor: fetch pending queue only in 1/N Safes (#2353)
katspaugh Aug 8, 2023
84b6419
v1.16.0
katspaugh Aug 8, 2023
9750cec
feat: pending safes per chainId (#2295)
schmanu Aug 8, 2023
3d2ba01
Fix: extend the emoji set for eth addresses (#2368)
katspaugh Aug 8, 2023
45da2d7
oryy update
bannik Aug 9, 2023
35949a1
fixing merge
bannik Aug 9, 2023
2c592db
fixing merge
bannik Aug 9, 2023
987509a
fixing merge
bannik Aug 9, 2023
eff3574
Add v1.3.0
pkakelas Jan 5, 2023
d9e8798
fixing merge
bannik Aug 9, 2023
6bd63e0
Update safe-deployment assets
pkakelas Jan 9, 2023
3f919f7
adding NEXT_PUBLIC_IS_ORYY_PRODUCTION var
bannik Jan 14, 2023
e3e145a
removing console
bannik Jan 14, 2023
9e248fd
fixing safe apps
bannik Jan 14, 2023
b40cdd3
fixing merge
bannik Aug 9, 2023
8cc44c5
fixing merge
bannik Aug 9, 2023
c0789ed
fixing merge
bannik Aug 9, 2023
051cebd
Run prettier
pkakelas Aug 10, 2023
b5293bb
oryy mentions
bannik Aug 10, 2023
c9425fc
oryy mentions
bannik Aug 10, 2023
4061f3a
Merge branch 'bannik-rebase' into bannik-rebase-dev
bannik Aug 10, 2023
befb35e
Update v1.3.0 contracts
pkakelas Aug 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 7 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ NEXT_PUBLIC_BEAMER_ID=

# Wallet-specific variables
NEXT_PUBLIC_WC_BRIDGE=
NEXT_PUBLIC_WC_PROJECT_ID=

# E2E tests
NEXT_PUBLIC_CYPRESS_MNEMONIC=

# Chain
NEXT_PUBLIC_CHAIN_ID=
# Safe Gelato relay service
NEXT_PUBLIC_SAFE_GELATO_RELAY_SERVICE_URL_PRODUCTION=
NEXT_PUBLIC_SAFE_GELATO_RELAY_SERVICE_URL_STAGING=

# Redefine
NEXT_PUBLIC_REDEFINE_API=
8 changes: 7 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
"@next/next/no-img-element": "off",
"unused-imports/no-unused-imports-ts": "error",
"@typescript-eslint/consistent-type-imports": "error",
"no-constant-condition": "warn"
"no-constant-condition": "warn",
"react-hooks/exhaustive-deps": [
"warn",
{
"additionalHooks": "useAsync"
}
]
},
"ignorePatterns": ["node_modules/", ".next/", ".github/"],
"plugins": ["unused-imports", "@typescript-eslint"]
Expand Down
7 changes: 5 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Resolves #

## How to test it

## Analytics changes

## Screenshots

## Checklist
* [ ] I've tested the branch on mobile 📱
* [ ] I've documented how it affects the analytics (if at all) 📊
* [ ] I've written a unit/e2e test for it (if applicable) 🧑‍💻
15 changes: 14 additions & 1 deletion .github/workflows/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ inputs:
secrets:
required: true

prod: # id of input
prod: # id of input
description: 'Production build flag'
required: false

e2e_mnemonic:
description: 'Mnemonic for the E2E tests'
required: false

runs:
using: 'composite'
steps:
Expand All @@ -18,6 +22,9 @@ runs:
run: yarn build && yarn export
env:
NEXT_PUBLIC_IS_PRODUCTION: ${{ inputs.prod }}
NEXT_PUBLIC_GATEWAY_URL_PRODUCTION: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_GATEWAY_URL_PRODUCTION }}
NEXT_PUBLIC_GATEWAY_URL_STAGING: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_GATEWAY_URL_STAGING }}
NEXT_PUBLIC_SAFE_VERSION: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_SAFE_VERSION }}
NEXT_PUBLIC_BEAMER_ID: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_BEAMER_ID }}
NEXT_PUBLIC_GOOGLE_TAG_MANAGER_DEVELOPMENT_AUTH: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_GOOGLE_TAG_MANAGER_DEVELOPMENT_AUTH }}
NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID }}
Expand All @@ -30,3 +37,9 @@ runs:
NEXT_PUBLIC_TENDERLY_PROJECT_NAME: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_TENDERLY_PROJECT_NAME }}
NEXT_PUBLIC_TENDERLY_SIMULATE_ENDPOINT_URL: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_TENDERLY_SIMULATE_ENDPOINT_URL }}
NEXT_PUBLIC_WC_BRIDGE: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_WC_BRIDGE }}
NEXT_PUBLIC_WC_PROJECT_ID: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_WC_PROJECT_ID }}
NEXT_PUBLIC_CYPRESS_MNEMONIC: ${{ inputs.e2e_mnemonic }}
NEXT_PUBLIC_SAFE_RELAY_SERVICE_URL_PRODUCTION: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_SAFE_GELATO_RELAY_SERVICE_URL_PRODUCTION }}
NEXT_PUBLIC_SAFE_RELAY_SERVICE_URL_STAGING: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_SAFE_GELATO_RELAY_SERVICE_URL_STAGING }}
NEXT_PUBLIC_IS_OFFICIAL_HOST: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_IS_OFFICIAL_HOST }}
NEXT_PUBLIC_REDEFINE_API: ${{ fromJSON(inputs.secrets).NEXT_PUBLIC_REDEFINE_API }}
4 changes: 2 additions & 2 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACCESS_TOKEN }}
with:
path-to-signatures: 'signatures/version1/cla.json'
path-to-document: 'https://safe.global/cla/' # e.g. a CLA or a DCO document
path-to-document: 'https://safe.global/cla' # e.g. a CLA or a DCO document
# branch should not be protected
branch: 'main'
# user names of users allowed to contribute without CLA
allowlist: lukasschor,mikheevm,rmeissner,germartinez,Uxio0,dasanra,francovenica,tschubotz,luarx,gnosis-info,bot*,DaniSomoza,iamacook,yagopv,usame-algan,schmanu,DiogoSoaress,JagoFigueroa
allowlist: lukasschor,rmeissner,germartinez,Uxio0,dasanra,francovenica,tschubotz,luarx,DaniSomoza,iamacook,yagopv,usame-algan,schmanu,DiogoSoaress,JagoFigueroa,bot*

# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
# enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ jobs:
if: github.ref == 'refs/heads/main'
run: bash scripts/github/deploy_docker.sh staging
env:
DOCKERHUB_PROJECT: web-core
DOCKERHUB_PROJECT: ${{ secrets.DOCKER_PROJECT }}
- name: Deploy Dockerhub dev
if: github.ref == 'refs/heads/dev'
run: bash scripts/github/deploy_docker.sh dev
env:
DOCKERHUB_PROJECT: web-core
DOCKERHUB_PROJECT: ${{ secrets.DOCKER_PROJECT }}
- name: Deploy Dockerhub tag
if: startsWith(github.ref, 'refs/tags/')
run: bash scripts/github/deploy_docker.sh ${GITHUB_REF##*/}
env:
DOCKERHUB_PROJECT: web-core
DOCKERHUB_PROJECT: ${{ secrets.DOCKER_PROJECT }}
34 changes: 29 additions & 5 deletions .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ jobs:
release:
runs-on: ubuntu-latest
name: Deploy release
env:
ARCHIVE_NAME: ${{ github.event.repository.name }}-${{ github.event.release.tag_name }}
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- uses: ./.github/workflows/yarn
Expand All @@ -23,6 +20,32 @@ jobs:
secrets: ${{ toJSON(secrets) }}
prod: ${{ true }}

- name: Create archive
run: tar -czf "$ARCHIVE_NAME".tar.gz out

- name: Create checksum
run: sha256sum "$ARCHIVE_NAME".tar.gz > ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt

- name: Upload archive
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ env.ARCHIVE_NAME }}.tar.gz
asset_name: ${{ env.ARCHIVE_NAME }}.tar.gz
asset_content_type: application/gzip
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload checksum
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
asset_name: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
asset_content_type: text/plain
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand All @@ -34,6 +57,7 @@ jobs:
- name: 'Upload release build files for production'
env:
BUCKET: s3://${{ secrets.AWS_STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }}
CHECKSUM_FILE: ${{ env.ARCHIVE_NAME }}-sha256-checksum.txt
run: bash ./scripts/github/s3_upload.sh

# Script to prepare production deployments
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- dev
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -17,11 +21,6 @@ jobs:
name: Deploy to dev/staging

steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

# Post a PR comment before deploying
- name: Post a comment while building
if: github.event.number
Expand Down Expand Up @@ -70,17 +69,17 @@ jobs:
shell: bash
## Cut off "refs/heads/" and only allow alphanumeric characters,
## e.g. "refs/heads/features/hello-1.2.0" -> "features_hello_1_2_0"
run: echo "##[set-output name=branch;]$(echo $GITHUB_HEAD_REF | sed 's/refs\/heads\///' | sed 's/[^a-z0-9]/_/ig')"
run: echo "branch=$(echo $GITHUB_HEAD_REF | sed 's/refs\/heads\///' | sed 's/[^a-z0-9]/_/ig')" >> $GITHUB_OUTPUT
id: extract_branch

# Deploy to S3
- name: Deploy PR branch
if: github.event.number
env:
BUCKET: s3://${{ secrets.AWS_REVIEW_BUCKET_NAME }}/webcore/${{ steps.extract_branch.outputs.branch }}
BUCKET: s3://${{ secrets.AWS_REVIEW_BUCKET_NAME }}/walletweb/${{ steps.extract_branch.outputs.branch }}
run: bash ./scripts/github/s3_upload.sh

# Comnment
# Comment
- name: Post a deployment link in the PR
if: always() && github.event.number
uses: mshick/add-pr-comment@v2
Expand All @@ -90,7 +89,7 @@ jobs:
## Branch preview
✅ Deploy successful!

https://${{ steps.extract_branch.outputs.branch }}--webcore.review-web-core.5afe.dev
https://${{ steps.extract_branch.outputs.branch }}--walletweb.review-wallet-web.5afe.dev
message-failure: |
## Branch preview
❌ Deploy failed!
13 changes: 6 additions & 7 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ name: e2e
on:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e:
runs-on: ubuntu-latest
name: E2E on Chrome
name: Smoke E2E tests
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- uses: ./.github/workflows/yarn
Expand All @@ -24,6 +23,7 @@ jobs:
- uses: ./.github/workflows/build
with:
secrets: ${{ toJSON(secrets) }}
e2e_mnemonic: ${{ secrets.NEXT_PUBLIC_CYPRESS_MNEMONIC }}

- name: Serve
run: yarn serve &
Expand All @@ -36,4 +36,3 @@ jobs:
config: baseUrl=http://localhost:8080
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_MNEMONIC: ${{ secrets.NEXT_PUBLIC_CYPRESS_MNEMONIC }}
9 changes: 4 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: 'Lint'
on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
eslint:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- uses: ./.github/workflows/yarn
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/safe-apps-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e:
runs-on: ubuntu-latest
name: E2E on Chrome
name: Safe Apps E2E tests
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- uses: ./.github/workflows/yarn
Expand All @@ -25,6 +24,7 @@ jobs:
- uses: ./.github/workflows/build
with:
secrets: ${{ toJSON(secrets) }}
e2e_mnemonic: ${{ secrets.NEXT_PUBLIC_CYPRESS_MNEMONIC }}

- name: Serve
run: yarn serve &
Expand All @@ -38,4 +38,3 @@ jobs:
env:
CYPRESS_PROJECT_ID: okn21k
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_SAFE_APPS_RECORD_KEY }}
CYPRESS_MNEMONIC: ${{ secrets.NEXT_PUBLIC_CYPRESS_MNEMONIC }}
13 changes: 5 additions & 8 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
if: github.event.pull_request.merged == true
uses: actions/checkout@v2
with:
fetch-depth: 0

Expand All @@ -22,23 +22,20 @@ jobs:
run: |
NEW_VERSION=$(node -p 'require("./package.json").version')
echo "version=v$NEW_VERSION" >> $GITHUB_OUTPUT
echo "${{ github.event.pull_request.body }}" > CHANGELOG.md

- name: Create a git tag
if: github.event.pull_request.merged == true
run: git tag $NEW_VERSION && git push --tags
env:
NEW_VERSION: ${{ steps.version.outputs.version }}
run: git tag ${{ steps.version.outputs.version }} && git push --tags

- name: GitHub release
if: success()
uses: actions/create-release@v1
uses: softprops/action-gh-release@v1
id: create_release
with:
draft: true
prerelease: false
release_name: ${{ steps.version.outputs.version }}
name: ${{ steps.version.outputs.version }}
tag_name: ${{ steps.version.outputs.version }}
body_path: CHANGELOG.md
body: ${{ github.event.pull_request.body }}
env:
GITHUB_TOKEN: ${{ github.token }}
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ on:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- uses: ./.github/workflows/yarn
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ runs:
with:
path: '**/node_modules'
key: web-core-modules-${{ hashFiles('**/yarn.lock') }}

- name: Yarn install
shell: bash
run: yarn install --immutable
run: yarn install --frozen-lockfile
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ yalc.lock
.env

/cypress/videos
/cypress/screenshots
/cypress/downloads

/public/sw.js
/public/sw.js.map
/public/workbox-*.js
/public/workbox-*.js.map
/public/fallback*
Loading