Skip to content
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

Release/2024-04-08 Part 1: The Merge into prod #1521

Merged
merged 186 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
f17b678
WIP replacing Rainbowkit with Web3Modal
mudrila Mar 16, 2024
05eae5a
Run HTTPS server in dev
mudrila Mar 16, 2024
24c2ed2
Add trick to open web3Modal after first attempt failed
mudrila Mar 16, 2024
19995f6
Prettier
mudrila Mar 16, 2024
e1ab40b
Remove testWallet
mudrila Mar 18, 2024
9fd352f
Cleanup
mudrila Mar 18, 2024
f166605
Delete testWallet for real now lol
mudrila Mar 18, 2024
a3176ef
Merge branch 'develop' into refactor/#1450-replace-rainbowkit-with-we…
mudrila Mar 18, 2024
cc5ab80
Remove HTTPS dev server support, pull web3modal metadata from index.h…
mudrila Mar 18, 2024
9e92b2a
Migrate from wagmi v1 -> wagmi v2, web3modal v3 -> v4, viem v1 -> v2
mudrila Mar 18, 2024
dacd439
Prettier
mudrila Mar 18, 2024
98e5d1e
Give version identifiers to react dependencies
adamgall Mar 19, 2024
53c0c26
Update i18next and react-i18next to more recent versions, to solve np…
adamgall Mar 19, 2024
b6b4cb7
add typescript check plugin to fail build
Da-Colon Mar 19, 2024
d3e96bb
Merge branch 'release/20240319' into develop
adamgall Mar 19, 2024
aebdcb7
Update Node.js version, update imports for Address, use chainId from …
mudrila Mar 20, 2024
c87bb44
Prettier
mudrila Mar 20, 2024
0d85c6b
Fix useAvatar usage
mudrila Mar 20, 2024
dae849e
Bump TypeScript version in package.json, update package-lock file ver…
mudrila Mar 20, 2024
82ed41d
Merge pull request #1467 from decentdao/refactor/#1444-upgrade-wagmi-…
adamgall Mar 20, 2024
8f91008
Merge branch 'develop' into refactor/#1450-replace-rainbowkit-with-we…
adamgall Mar 20, 2024
04750c8
- Remove disconnectedChain
adamgall Mar 20, 2024
76b02d1
Make inputValue start as an empty string, not undefined, so there's n…
adamgall Mar 21, 2024
d099424
If user deletes all values from input, set bigNumberValue to undefine…
adamgall Mar 21, 2024
566060a
Set default ETH value as "empty" for new proposal templates
adamgall Mar 21, 2024
dc97a2b
Add language to helper text telling user to leave empty for a blank i…
adamgall Mar 21, 2024
107446b
Refactor DAOController to not display InvalidChain
mudrila Mar 21, 2024
77ae6f4
Prettier
mudrila Mar 21, 2024
f73c306
Remove unused translations
adamgall Mar 21, 2024
7fed0c1
Merge pull request #1465 from decentdao/refactor/#1450-replace-rainbo…
adamgall Mar 21, 2024
12b361e
Merge branch 'develop' into enhancement/#1414-unconnected-network-switch
adamgall Mar 21, 2024
bd89d66
Merge branch 'develop' into enhancement/#1207-variable-eth-value
adamgall Mar 21, 2024
9f13f38
Remove last instance of `useAccount` getting chain information
adamgall Mar 21, 2024
d2c3ff8
update Badge component with updated designs
Da-Colon Mar 19, 2024
f0e2538
create badge to display quorum
Da-Colon Mar 19, 2024
910092c
update badge to use meetQuroum for linearERC20Strategy
Da-Colon Mar 19, 2024
976ae20
update hover colors for timelock and frozen badges
Da-Colon Mar 19, 2024
04c06ec
update Activity/Proposal description and title to updated designs
Da-Colon Mar 19, 2024
19eaac2
add author to Description
Da-Colon Mar 20, 2024
f2df8cc
Replace ActivityGovernance with Updated ProposalCard
Da-Colon Mar 20, 2024
680a38e
replace ActivityGovernance with ProposalCard
Da-Colon Mar 20, 2024
4e2c15e
update to lastest badge colors
Da-Colon Mar 20, 2024
4e2941c
remove unused file
Da-Colon Mar 20, 2024
4fe5fa3
remove comments
Da-Colon Mar 20, 2024
8e873f1
run lint/pretty
Da-Colon Mar 20, 2024
b496ced
fix badge colors
Da-Colon Mar 20, 2024
574fbc8
fix alignment
Da-Colon Mar 20, 2024
3bd3ecc
pretty/lint run
Da-Colon Mar 20, 2024
7eff319
remove fragment
Da-Colon Mar 21, 2024
dc067c8
remove freeze guard and freeze voting from state
Da-Colon Mar 22, 2024
cb68dda
update freeze and guard loader hooks
Da-Colon Mar 22, 2024
2d86a71
fix bug thats been bugging me
Da-Colon Mar 22, 2024
9cc8363
pretty/lint
Da-Colon Mar 22, 2024
5b8075a
fix Parent Link
Da-Colon Mar 22, 2024
433c25a
fix navigating to other DAO via DAO menu
Da-Colon Mar 22, 2024
f3cee31
clean up loading conditional
Da-Colon Mar 22, 2024
8db23c4
fix verical node line
Da-Colon Mar 22, 2024
ea0479d
remove unneeded dependency
Da-Colon Mar 22, 2024
f1340de
fix subDAO loading issues
Da-Colon Mar 22, 2024
0ab0007
Fix timelock execution and timer
Da-Colon Mar 22, 2024
bfb199a
fix display data
Da-Colon Mar 22, 2024
0529690
run pretty/lint
Da-Colon Mar 22, 2024
881c844
remove extra casting
Da-Colon Mar 24, 2024
3ab312e
force deps to optimized when starting vite dev server
Da-Colon Mar 24, 2024
b728ea0
update colors to match figma
Da-Colon Mar 25, 2024
36f73db
adjust padding
Da-Colon Mar 25, 2024
bbf4202
add postinstall script to compile graphql
Da-Colon Mar 25, 2024
6e9bc72
Merge pull request #1476 from decentdao/enhancement/#1414-unconnected…
adamgall Mar 25, 2024
a954c6e
Merge pull request #1488 from decentdao/dev-bugfix-optimized-deps
Da-Colon Mar 25, 2024
3b0d3a6
clean up logic around description and title to more closely match des…
Da-Colon Mar 25, 2024
72690ec
remove comment
Da-Colon Mar 25, 2024
f40fa6a
switch back to previous way to calc quorum
Da-Colon Mar 25, 2024
bdb272e
run pretty/lint
Da-Colon Mar 25, 2024
533cf46
remove unused package
Da-Colon Mar 25, 2024
c51a58a
remove ugly hardcoded values
Da-Colon Mar 25, 2024
6e8507e
update markdown css with maxWidth 0 to allow content to shrink
Da-Colon Mar 25, 2024
2886d03
run pretty/lint
Da-Colon Mar 25, 2024
422484b
remove redundent func call
Da-Colon Mar 25, 2024
fae4b78
add missing attached addresses
Da-Colon Mar 25, 2024
e2933f3
fix missing attached address
Da-Colon Mar 25, 2024
5b40d56
remove unneeded dependencies
Da-Colon Mar 25, 2024
2b9533d
run pretty/lint
Da-Colon Mar 25, 2024
abecdb9
switch to asProvider
Da-Colon Mar 25, 2024
69ed790
Nitpick: removed extra newline
adamgall Mar 25, 2024
057f911
asSigner -> asProvider
Da-Colon Mar 25, 2024
78aa6e4
revent author on details screen
Da-Colon Mar 25, 2024
54a9e51
Merge pull request #1472 from decentdao/design-update/proposal-list
Da-Colon Mar 26, 2024
7b34ac6
reduce the number of requests by adding load key
Da-Colon Mar 23, 2024
04e2058
Remove `as ProposalVote`, wtf is going on here?!
adamgall Mar 26, 2024
024b621
Remove unneeded slash from route path
adamgall Mar 26, 2024
291fbb9
Remove the initial `/daos` path from routing
adamgall Mar 26, 2024
bb7e8b5
Fix routes to not include `daos` prefix
adamgall Mar 26, 2024
3d2e9f7
Add redirection route so as to not break old links
adamgall Mar 26, 2024
809c1b3
Move the DAO address identifier from path to query param
adamgall Mar 26, 2024
8983e9d
Fix links
adamgall Mar 26, 2024
6af1cef
fix typo
Da-Colon Mar 26, 2024
782e288
Don't need to nest the maintained redirection path
adamgall Mar 26, 2024
9e3e137
Merge pull request #1495 from decentdao/reduce-request-useERC20Claim
Da-Colon Mar 26, 2024
28ff8be
Merge pull request #1493 from decentdao/bugfix-bignumber-tempaltes
adamgall Mar 26, 2024
4f5d0e8
DAOController can be empty-path parent
adamgall Mar 26, 2024
869d041
Merge branch 'develop' into enhancement/1492-dao-identifier-query-param
adamgall Mar 27, 2024
0eca025
Merge pull request #1494 from decentdao/enhancement/1492-dao-identifi…
adamgall Mar 27, 2024
69cdc16
add check if DAOAddress has changed
Da-Colon Mar 27, 2024
09d0d8d
reorder if statements; fix typing
Da-Colon Mar 27, 2024
caeb922
Merge branch 'develop' of github.com:decentdao/fractal-interface into…
Da-Colon Mar 27, 2024
e7cc4e4
remove useEffect from 'useSubmitProposal' into own hook.
Da-Colon Mar 25, 2024
bacc4e5
pretty/lint run
Da-Colon Mar 25, 2024
27e9e4a
set user permission state for intentionally
Da-Colon Mar 26, 2024
a3e4644
run pretty/lint
Da-Colon Mar 26, 2024
4482e2d
initiate freeze from heirarchy;
Da-Colon Mar 27, 2024
90a8798
run pretty/lint
Da-Colon Mar 27, 2024
45bfda3
Make displayed avatars consistent for same addresses
adamgall Mar 27, 2024
678d48d
Fix DAO state not reseting when switching DAOs
Da-Colon Mar 28, 2024
c3ce724
fix freeze showing up when switching DAOs.
Da-Colon Mar 28, 2024
a48370e
run pretty/lint
Da-Colon Mar 28, 2024
2a41563
Merge pull request #1500 from decentdao/bug/1499-avatar-consistency
adamgall Mar 28, 2024
19690dd
Add better typing to `useAsyncRetry`
adamgall Mar 29, 2024
1bdf008
Merge pull request #1502 from decentdao/fix/use-async-retry-typing
adamgall Mar 29, 2024
48d1a2d
The search bar DAO selection click area is now just button
adamgall Mar 29, 2024
2facb7d
Add an "addressPrefix" to the network config objects
adamgall Mar 29, 2024
2d03379
When redirecting at initial load, best-guess append the network prefi…
adamgall Mar 29, 2024
aeb3f8e
When using search input, and navigating to found address, make sure t…
adamgall Mar 29, 2024
35766a4
Add daoNetwork to fractal state object, use it where appropriate
adamgall Mar 29, 2024
6e4a125
Differentiate error pages between invalid DAO address, and wrong network
adamgall Mar 29, 2024
d1f3759
Update DAO_ROUTES.relative to take network prefix, fix all errors
adamgall Mar 29, 2024
568167c
Don't need to `setErrorLoading(true)` when wrong network identified
adamgall Mar 29, 2024
c74e02a
Reorder function params
adamgall Mar 29, 2024
aff2c1e
Reorder function parameters
adamgall Mar 29, 2024
65ca263
Switch from returning <></> to null
adamgall Mar 29, 2024
20f8ec0
Remove "daoNetwork" from Fractal state, use value from useNetworkConf…
adamgall Mar 29, 2024
5525e40
Remove unused parameter
adamgall Mar 29, 2024
468a3fe
Improve logic around checking for connected network and address forma…
adamgall Mar 29, 2024
5aace1f
We want to show all loading info boxes when a DAO is loading
adamgall Mar 29, 2024
9447ffa
Move address formatting check out of useFractalnode
adamgall Mar 29, 2024
c232694
add dev comment
Da-Colon Mar 29, 2024
bb5984d
Merge pull request #1486 from decentdao/remove-contract-state-01
Da-Colon Mar 29, 2024
9396909
Merge commit 'bb5984d30f2366e6ba3f60220d415d54104474d6' into enhancem…
adamgall Mar 29, 2024
785eff5
Merge pull request #1496 from decentdao/enhancement/1483-chainspacing
adamgall Mar 29, 2024
952c333
Don't depend on dev/prod to determine governance support per network
adamgall Mar 29, 2024
ea1d0e2
re-add poly gon config
Da-Colon Mar 29, 2024
f6feb2b
Reorder and clean up existing .env
adamgall Mar 29, 2024
c08357f
Replace single Etherscan API key with one per network
adamgall Mar 29, 2024
8c1e532
Support all the networks on all the deployments
adamgall Mar 29, 2024
2a8b98b
Remove now-unused "isProd" function
adamgall Mar 29, 2024
69d9818
remove unneeded conditional
Da-Colon Mar 29, 2024
832bebe
Fix comment
adamgall Mar 29, 2024
1d6386e
Merge branch 'develop' of github.com:decentdao/fractal-interface into…
Da-Colon Mar 29, 2024
e364caf
Fix Etherscan API Url formatting
adamgall Mar 29, 2024
4fcb6b3
Let's sneak some node updates in here too
adamgall Mar 29, 2024
d711335
Set "batch" requesting, can't hurt right lol
adamgall Mar 30, 2024
951f587
Make a new action and reducer for setting a single Azorius proposal i…
adamgall Mar 30, 2024
ccf7b60
Unrelated to the rest of the work in here, but when getting Safe info…
adamgall Mar 30, 2024
3f549b6
Comment out all of the Azorius Proposal Listeners
adamgall Mar 30, 2024
ab359c0
Load proposals synchronously
adamgall Mar 30, 2024
5409650
Get all Voted and ProposalExecuted events one time, not per proposal
adamgall Mar 30, 2024
8fe9d1b
Rename function and do less param passing
adamgall Mar 30, 2024
c7a6359
Remove the @types/remove-markdown package, not used
adamgall Mar 31, 2024
bec53f2
If truncating Markdown, don't try to render URLs
adamgall Mar 31, 2024
cd0be94
Same event listener set up twice
adamgall Mar 31, 2024
d3f3999
Hm, not sure why these values are part of useeffect arrays
adamgall Mar 31, 2024
bf6af3f
Broke out a lot of functions from useAzoriusProposals to top level of…
adamgall Mar 31, 2024
a678564
Merge branch 'develop' into enhancement/#1207-variable-eth-value
mudrila Apr 1, 2024
b0b5d3c
Add input to ProposalTemplateModal to enter ETH value
mudrila Apr 1, 2024
2296daf
Merge pull request #1505 from decentdao/polygon-on-prod
adamgall Apr 1, 2024
63b71c3
Prettier
mudrila Apr 1, 2024
1cbe52b
Merge pull request #1489 from decentdao/make-azorious-load-faster
Da-Colon Apr 1, 2024
95e8924
Do not trim extra decimal zeros
mudrila Apr 1, 2024
c741273
Remove fully reloading azorius proposals after creating one
adamgall Apr 2, 2024
f813b30
Big refactor to re-enable setting up event listeners on Azorius and S…
adamgall Apr 2, 2024
9502942
Remove unneeded dependency
adamgall Apr 2, 2024
cd96779
Remove catch error, let's see if it keeps happening
adamgall Apr 3, 2024
f9f8c34
Move proposal creation / voted event listeners to own hook
adamgall Apr 3, 2024
8a05370
Remove dev testing console.logs
adamgall Apr 3, 2024
7c45797
Remove unnecessary function
adamgall Apr 3, 2024
fa26f01
Remove another unneeded object
adamgall Apr 3, 2024
02adb1a
Code is a flat circle
adamgall Apr 3, 2024
7d50962
Remove stray console.log
adamgall Apr 3, 2024
72f74ab
Delay processing new proposal for a block, to give RPC chance to catc…
adamgall Apr 3, 2024
8df3b39
Lint fixes, move listener
adamgall Apr 3, 2024
d1db677
More unnecessary dependency array params
adamgall Apr 3, 2024
db8823b
lint fixes
adamgall Apr 3, 2024
a1612b7
Fix freeze button state update on account change
DarksightKellar Apr 4, 2024
99cf8f3
Merge pull request #1510 from decentdao/enhancement/#1207-variable-et…
mudrila Apr 4, 2024
20b4ba3
Merge pull request #1506 from decentdao/load-proposals-synchronously
adamgall Apr 5, 2024
b1a0de1
Merge pull request #1518 from decentdao/bug/freeze-dao-state-update
DarksightKellar Apr 5, 2024
2bf7fc3
Release 2024-04-08
adamgall Apr 5, 2024
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
33 changes: 24 additions & 9 deletions .env
Original file line number Diff line number Diff line change
@@ -1,25 +1,40 @@
# CoinGecko API key
COINGECKO_API_KEY=""
VITE_APP_NAME=Fractal
# Minutes to cache prices for token addresses
TOKEN_PRICE_CACHE_INTERVAL_MINUTES=""

# App name displayed as Title
VITE_APP_NAME="Fractal"

# Alchemy provider API key, used on Mainnet
VITE_APP_ALCHEMY_MAINNET_API_KEY=""
# Alchemy provider API key, used on Polygon
VITE_APP_ALCHEMY_POLYGON_API_KEY=""
# Alchemy provider API key, used on Sepolia
VITE_APP_ALCHEMY_SEPOLIA_API_KEY=""
# automated testing workflows
# Alchemy automated testing workflows
VITE_APP_ALCHEMY_TESTING_API_KEY=""
# ABI selector (*)
VITE_APP_ETHERSCAN_API_KEY=""
# IPFS pinning (*)

# ABI selector, used on Mainnet
VITE_APP_ETHERSCAN_MAINNET_API_KEY=""
# ABI selector, used on Polygon
VITE_APP_ETHERSCAN_POLYGON_API_KEY=""
# ABI selector, used on Sepolia
VITE_APP_ETHERSCAN_SEPOLIA_API_KEY=""

# IPFS pinning
VITE_APP_INFURA_IPFS_API_KEY=""
# IPFS pinning (*)
# IPFS pinning
VITE_APP_INFURA_IPFS_API_SECRET=""

# Sentry DSN URL, not used locally
VITE_APP_SENTRY_DSN_URL=""

# Shutter Public Key
VITE_APP_SHUTTER_EON_PUBKEY=0x0e6493bbb4ee8b19aa9b70367685049ff01dc9382c46aed83f8bc07d2a5ba3e6030bd83b942c1fd3dff5b79bef3b40bf6b666e51e7f0be14ed62daaffad47435265f5c9403b1a801921981f7d8659a9bd91fe92fb1cf9afdb16178a532adfaf51a237103874bb03afafe9cab2118dae1be5f08a0a28bf488c1581e9db4bc23ca
# site preview links

# index.html and WalletConnect metadata
VITE_APP_SITE_URL="https://app.dev.fractalframework.xyz/"

# WalletConnect Cloud Project ID
VITE_APP_WALLET_CONNECT_PROJECT_ID=""
# Minutes to cache prices for token addresses
TOKEN_PRICE_CACHE_INTERVAL_MINUTES=""
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# production
/dist
tsconfig.tsbuildinfo

# misc
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.14.0
20.12.0
Loading