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

Dev #223

Open
wants to merge 1,384 commits into
base: main
Choose a base branch
from
Open

Dev #223

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1384 commits
Select commit Hold shift + click to select a range
5d25c20
Merge remote-tracking branch 'origin/display-safe-buttons' into beta
Corantin Aug 29, 2024
6b59301
Update page.tsx
Corantin Aug 29, 2024
f5ca799
Push abi encode fix for allocate
Corantin Aug 29, 2024
03795ba
Merge branch 'fix-dev' into staging
Corantin Aug 29, 2024
aa9d280
Merge branch 'fix-dev' of https://github.com/1Hive/gardens-v2 into fi…
Mati0x Aug 29, 2024
6921788
small fix
Mati0x Aug 29, 2024
d7737f9
Merge branch 'fix-dev' into beta
Corantin Aug 29, 2024
6bc0568
Update Proposals.tsx
Corantin Aug 29, 2024
9e6192a
Merge branch 'beta' into staging
Corantin Aug 29, 2024
003e728
Source controlled subgraph version
Corantin Aug 30, 2024
2bf3f8b
Replace /latest
Corantin Aug 30, 2024
de3dd62
Update chains.tsx
Corantin Aug 30, 2024
c0af26b
Update chains.tsx
Corantin Aug 30, 2024
a93e942
Cleanup
Corantin Aug 30, 2024
f8bfdf5
Push version
Corantin Aug 30, 2024
324298a
Cancel proposal + start upgrading script
Corantin Aug 30, 2024
0ec4e3d
cleanup
Corantin Aug 30, 2024
b701eca
Merge pull request #378 from 1Hive/fix-live-data
Corantin Aug 30, 2024
863a4f9
Merge branch 'dev' into source-control-subgraph-version
Corantin Aug 30, 2024
7e035cd
Merge remote-tracking branch 'origin/dev' into add-covenant-sign
Lucianosc Aug 30, 2024
cc17e9e
Merge branch 'dev' into cancel-proposal
Corantin Sep 2, 2024
1cf3690
Merge pull request #377 from 1Hive/add-covenant-sign
Corantin Sep 2, 2024
0d95650
Merge branch 'dev' into cancel-proposal
Corantin Sep 2, 2024
86e5639
Merge branch 'dev' into staging
Corantin Sep 2, 2024
18c7d4c
Merge remote-tracking branch 'origin/cancel-proposal' into staging
Corantin Sep 2, 2024
280b906
Merge branch 'dev' into source-control-subgraph-version
Corantin Sep 2, 2024
8a7ef2c
Try fgorce
Corantin Sep 2, 2024
b1cdfd1
Merge branch 'fix-dev' into staging
Corantin Sep 2, 2024
f845a28
Merge branch 'source-control-subgraph-version' into staging
Corantin Sep 2, 2024
5ef2ba3
Remove ended proposals
Corantin Sep 2, 2024
653795e
Console error on isOwner failed
Corantin Sep 2, 2024
2d3c00e
Merge branch 'cancel-proposal' into staging
Corantin Sep 2, 2024
2082335
Update Proposals.tsx
Corantin Sep 2, 2024
aa2e3bd
Update DisputeButton.tsx
Corantin Sep 2, 2024
e2b1d32
Fix version remove
Corantin Sep 2, 2024
ad5faf5
Merge remote-tracking branch 'origin/dev' into fix-dev
Mati0x Sep 2, 2024
2037f9f
Merge branch 'dev' into display-safe-buttons
Corantin Sep 2, 2024
cd3492a
Update apps/web/components/PoolHeader.tsx
Corantin Sep 2, 2024
5e81d78
Update apps/web/components/DisputeButton.tsx
Corantin Sep 2, 2024
65a4ed7
install dependencies
Mati0x Sep 2, 2024
de1daa3
Merge branch 'display-safe-buttons' into staging
Corantin Sep 2, 2024
08bfad6
Merge branch 'source-control-subgraph-version' into staging
Corantin Sep 2, 2024
2da4d9f
Merge pull request #376 from 1Hive/display-safe-buttons
Mati0x Sep 2, 2024
441a015
Fix invalid bigint
Corantin Sep 2, 2024
25ec634
Merge branch 'fix-invalid-bigint' into staging
Corantin Sep 2, 2024
986bba3
Merge pull request #385 from 1Hive/fix-invalid-bigint
Corantin Sep 2, 2024
2944892
Merge remote-tracking branch 'origin/dev' into cancel-proposal
Corantin Sep 2, 2024
3aa4cb2
feat: have 0% community fee for `CommunityForm`
Mati0x Sep 2, 2024
bfd14f7
typo fix
Mati0x Sep 2, 2024
17cefef
add * when required input
Lucianosc Sep 2, 2024
3d072b5
small fix
Mati0x Sep 2, 2024
aa1ca2c
Merge branch 'fix-dev' of https://github.com/1Hive/gardens-v2 into fi…
Mati0x Sep 2, 2024
9108862
Merge remote-tracking branch 'origin' into use-pinata-gateway
Corantin Sep 3, 2024
dbb569c
Ipfs route
Corantin Sep 3, 2024
0ddf174
Merge remote-tracking branch 'origin' into dev
Corantin Sep 3, 2024
967d4fd
Merge branch 'dev' into use-pinata-gateway
Corantin Sep 3, 2024
89ca803
configs
rperez89 Sep 3, 2024
6774e43
Merge branch 'dev' into cancel-proposal
Corantin Sep 3, 2024
cb8d7c1
Add nullable metadata
Corantin Sep 3, 2024
66eda3f
Merge branch 'dev' into fix-dev
Corantin Sep 3, 2024
1ef7041
Merge branch 'fix-dev' of https://github.com/1Hive/gardens-v2 into fi…
Mati0x Sep 3, 2024
c70ec00
.
rperez89 Sep 3, 2024
4297dc3
merge
rperez89 Sep 3, 2024
11ad91e
build
rperez89 Sep 3, 2024
9052ebb
files
rperez89 Sep 3, 2024
37947be
Protect the setTemplates funcs
Corantin Sep 4, 2024
aa24304
Optimize stack too deep for setup function on SafeArbitrableTests
Corantin Sep 4, 2024
6480715
Put gnosis back in chains
Corantin Sep 4, 2024
067b273
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
2752a9b
Merge branch 'cancel-proposal' into beta
Corantin Sep 4, 2024
a25b4da
Merge branch 'use-pinata-gateway' into beta
Corantin Sep 4, 2024
ad6e8f6
Update package.json
Corantin Sep 4, 2024
c7c8597
Merge pull request #383 from 1Hive/cancel-proposal
Corantin Sep 4, 2024
0c3980d
Merge branch 'dev' into beta
Corantin Sep 4, 2024
56cb161
merge with dev
rperez89 Sep 4, 2024
7e0e6a6
Use ipfs api when getting propoosals
Corantin Sep 4, 2024
4ee0aaa
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
f8d21fd
Update ipfsUtils.ts
Corantin Sep 4, 2024
b889d7c
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
0a55a61
Update getProposals.ts
Corantin Sep 4, 2024
fd58207
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
dd34b1d
Update getProposals.ts
Corantin Sep 4, 2024
4394498
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
572c339
Clenayupo
Corantin Sep 4, 2024
49eecfd
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
09dd390
Update useIpfsFetch.ts
Corantin Sep 4, 2024
27a8485
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
9cda86f
Update useIpfsFetch.ts
Corantin Sep 4, 2024
0e59697
Enforce ipfs from api
Corantin Sep 4, 2024
ae855de
Merge branch 'fix-dev' into beta
Corantin Sep 4, 2024
a3b4cda
Cancel proposal with modal warning
Corantin Sep 4, 2024
7715a98
Merge branch 'dev' into fix-dev
Corantin Sep 4, 2024
a18c353
Merge pull request #379 from 1Hive/fix-dev
Corantin Sep 4, 2024
3443dc5
Merge branch 'dev' into cancel-warning-modal
Corantin Sep 4, 2024
e41ebe4
subgraph
rperez89 Sep 4, 2024
29e280b
deploy prod 1.1
Corantin Sep 4, 2024
466d5cc
Merge branch 'dev' into source-control-subgraph-version
Corantin Sep 5, 2024
39b0f52
Merge branch 'dev' into persist-arbitrable-config
Corantin Sep 5, 2024
9b1c1de
Merge branch 'dev' into use-pinata-gateway
Corantin Sep 5, 2024
d158b78
refactor pool governance weight by using function "getMemberPowerInSt…
Mati0x Sep 5, 2024
5cfe660
upgrade pool governance infoBox content
Mati0x Sep 5, 2024
c4d8cdd
Update package.json
Corantin Sep 5, 2024
1ab88c8
e
Corantin Sep 5, 2024
2f13223
json files
rperez89 Sep 5, 2024
88482ee
Remove --force
Corantin Sep 5, 2024
6105b8b
feat: add data config.pointSystem to query + add pointsystem value i…
Mati0x Sep 5, 2024
12046f7
feat: poolSystem as a badge in PoolCard
Mati0x Sep 5, 2024
cdbd2ce
feat: undo badge and add statitic pool system in PoolCard
Mati0x Sep 5, 2024
17a2945
fix: add chainId to contract read
Mati0x Sep 5, 2024
8086795
minor fix
Lucianosc Sep 5, 2024
38d4580
minor fix
Lucianosc Sep 5, 2024
6468279
PR comments
rperez89 Sep 5, 2024
88e75ec
lint fixes
Lucianosc Sep 5, 2024
c98c4b6
Merge pull request #394 from 1Hive/refactor-pool-governance
Mati0x Sep 6, 2024
14b6022
Merge branch 'dev' into source-control-subgraph-version
Corantin Sep 6, 2024
64300bd
New test deploy + list proxies for to upgrade list
Corantin Sep 6, 2024
b426582
Merge remote-tracking branch 'origin/dev' into persist-arbitrable-config
Corantin Sep 6, 2024
32a79a0
UI adapts
Corantin Sep 6, 2024
c821314
Push run
Corantin Sep 6, 2024
fdf1b97
Update chains.tsx
Corantin Sep 6, 2024
864b93b
Merge pull request #382 from 1Hive/source-control-subgraph-version
Corantin Sep 6, 2024
fad728d
Merge branch 'dev' into persist-arbitrable-config
Corantin Sep 6, 2024
9b238a6
Merge remote-tracking branch 'origin/dev' into persist-arbitrable-config
Corantin Sep 7, 2024
d5a0ff4
Merge branch 'persist-arbitrable-config' of https://github.com/1Hive/…
Corantin Sep 7, 2024
57e225b
Prod deployment 1.2
Corantin Sep 9, 2024
d7dae69
Merge branch 'persist-arbitrable-config' into beta
Corantin Sep 9, 2024
34eb3a9
Update chains.tsx
Corantin Sep 9, 2024
1dfc398
Fix matic wrong chainId
Corantin Sep 9, 2024
c1c0ee3
Supports line break in markdown
Corantin Sep 9, 2024
f940f43
Merge branch 'dev' into cancel-warning-modal
Corantin Sep 9, 2024
64df802
Merge branch 'dev' into use-pinata-gateway
Corantin Sep 9, 2024
d0f06c5
Update chains.tsx
Corantin Sep 9, 2024
471a682
Fix community not filtered by tokenGarden
Corantin Sep 9, 2024
f8a0c6d
Merge branch 'filter-communities-by-gardens' into beta
Corantin Sep 9, 2024
16bd859
Apply suggestion
Corantin Sep 9, 2024
5755e39
Fix typo
Corantin Sep 9, 2024
14926bd
Update chains.tsx
Corantin Sep 9, 2024
b1967fe
Merge pull request #388 from 1Hive/use-pinata-gateway
Corantin Sep 10, 2024
5a5281d
Merge branch 'dev' into cancel-warning-modal
Corantin Sep 10, 2024
849c567
Merge branch 'dev' into persist-arbitrable-config
Corantin Sep 10, 2024
7896b6d
Merge pull request #391 from 1Hive/persist-arbitrable-config
Corantin Sep 10, 2024
48ea02c
New prod deploy target
Corantin Sep 10, 2024
4a29d1d
Update DisputeButton.tsx
Corantin Sep 10, 2024
becf08f
Support children as react node for InfoBox.tsx
Corantin Sep 10, 2024
3bdaddc
Merge branch 'dev' into cancel-warning-modal
Corantin Sep 10, 2024
8173130
Fix abstain missign disabled when safe member
Corantin Sep 10, 2024
62452b5
feat: upgrade Sign up section landing page
Mati0x Sep 10, 2024
d50bcc4
Merge pull request #390 from 1Hive/cancel-warning-modal
Corantin Sep 10, 2024
5897393
Merge branch 'dev' into show-dispute-modla-even-if-not-active
Corantin Sep 10, 2024
32c2091
Merge branch 'dev' into prod-v1.3
Corantin Sep 10, 2024
bfb6f5a
Merge branch 'dev' into filter-communities-by-gardens
Corantin Sep 10, 2024
c0f3a14
Merge pull request #415 from 1Hive/show-dispute-modla-even-if-not-active
Corantin Sep 10, 2024
38abb87
Merge branch 'dev' into prod-v1.3
Corantin Sep 10, 2024
7fd86bf
Merge branch 'dev' into filter-communities-by-gardens
Corantin Sep 10, 2024
de47c95
feat: remove HomeBanner image from landing page sign up section
Mati0x Sep 10, 2024
44e6332
Merge pull request #414 from 1Hive/prod-v1.3
Corantin Sep 10, 2024
ffde687
Merge branch 'dev' into filter-communities-by-gardens
Corantin Sep 10, 2024
a539c47
Merge pull request #409 from 1Hive/filter-communities-by-gardens
Corantin Sep 10, 2024
2808000
Merge branch 'dev' into beta
Corantin Sep 10, 2024
3403257
Persisted configs contracts
Corantin Sep 10, 2024
cf73b81
Restore
Corantin Sep 10, 2024
69da87a
Virtualize
Corantin Sep 10, 2024
824ef69
feat:add Banner in landing page
Mati0x Sep 10, 2024
b4271b8
feat: add 8bits image cloud version + change title subtitle and below…
Mati0x Sep 10, 2024
92df672
fix: disable forms submit button is no wallet connected
Mati0x Sep 10, 2024
9062e59
Upgrades
Corantin Sep 11, 2024
450b4ed
Merge pull request #361 from 1Hive/beta
Corantin Sep 11, 2024
1847ebb
AI review
Corantin Sep 11, 2024
6b64085
Add fake readme
Corantin Sep 11, 2024
a69208a
feat: upgrades for landing page based on feedback
Mati0x Sep 11, 2024
1dec240
feat: disable form buttons when missmatchUrl + upgrade gardens page s…
Mati0x Sep 11, 2024
a48cd69
coderabbitai/ai-pr-reviewer@latest
Corantin Sep 11, 2024
38ffa33
Remove ai action
Corantin Sep 11, 2024
53b214b
Restore Action AI Reviewer
Corantin Sep 11, 2024
8d93271
Corantin/ai-codereviewer@main
Corantin Sep 11, 2024
6d3ceb1
gpt-3.5-turbo
Corantin Sep 11, 2024
ff4a47e
Reput gemini
Corantin Sep 11, 2024
f6e3e81
Remove the test markdown
Corantin Sep 11, 2024
57c16c4
Ignore json files
Corantin Sep 11, 2024
9634b57
Merge pull request #419 from 1Hive/ai-review
Corantin Sep 11, 2024
b931c01
Merge branch 'dev' into Batch-fix
Corantin Sep 11, 2024
5816c7c
gemini-1.0-pro
Corantin Sep 11, 2024
9b93f2b
Merge branch 'dev' into ai-review
Corantin Sep 11, 2024
7b0ad16
gemini-1.5-pro-latest
Corantin Sep 11, 2024
499031b
Add readme spell errors
Corantin Sep 11, 2024
5b7944c
gemini-1.0-pro-latest
Corantin Sep 11, 2024
cc81739
Add fake
Corantin Sep 11, 2024
5ecdc8c
feat: add Protopian section in landing page with BrightId example
Mati0x Sep 11, 2024
f745d7c
Merge branch 'Batch-fix' of https://github.com/1Hive/gardens-v2 into …
Mati0x Sep 11, 2024
fd8302e
gemini-1.5-flash
Corantin Sep 11, 2024
efba7f4
Merge pull request #420 from 1Hive/ai-review
Corantin Sep 11, 2024
2ec02b2
Merge branch 'dev' into Batch-fix
Corantin Sep 11, 2024
c350c8e
Filter only .ts, .tsx, .sol
Corantin Sep 11, 2024
8afb115
Merge branch 'dev' into ai-review
Corantin Sep 11, 2024
f339e39
gemini-1.5-pro
Corantin Sep 11, 2024
313aca7
Change batch size to 5k and filter with git diff instead
Corantin Sep 11, 2024
fd54832
Filter action run
Corantin Sep 11, 2024
929f92e
Fix ci
Corantin Sep 11, 2024
c28b0b3
Remove unwanted changes
Corantin Sep 11, 2024
16cc47b
Merge pull request #421 from 1Hive/ai-review
Corantin Sep 11, 2024
5ba2875
Merge branch 'dev' into Batch-fix
Corantin Sep 11, 2024
332af37
use-better-arbsep-blockscout
Corantin Sep 11, 2024
5533ef8
Merge branch 'dev' into use-better-arbsep-blockscout
Corantin Sep 11, 2024
8e3a358
Merge pull request #422 from 1Hive/use-better-arbsep-blockscout
Corantin Sep 11, 2024
03e2033
fix-pool-form-conviction-growth-not-converted
Corantin Sep 11, 2024
df53c0b
Merge branch 'dev' into fix-pool-form-conviction-growth-not-converted
Corantin Sep 11, 2024
f0cfca2
feat: add publicnouns in Protopian section + fix `PoolCard` height +…
Mati0x Sep 12, 2024
5364e8c
Merge branch 'Batch-fix' of https://github.com/1Hive/gardens-v2 into …
Mati0x Sep 12, 2024
2a9af65
fix tooltip hover in `Statistic`
Mati0x Sep 12, 2024
e92f5b1
Remove lanfingpage + quick fix for write name isntead of symbol for c…
Corantin Sep 12, 2024
0b9af5e
fix: spelling errorin pools + upgrade icon position in allocation view
Mati0x Sep 13, 2024
3b3ffb1
minor fix
Mati0x Sep 13, 2024
a961457
feat: trying bigger clouds img size
Mati0x Sep 13, 2024
12fe1a3
remove diff
Corantin Sep 16, 2024
afa2834
On PR
Corantin Sep 16, 2024
7de8b96
FIX
Corantin Sep 16, 2024
37e7cb6
dry run test with .tsx
Corantin Sep 16, 2024
6691ad2
Remove dake comment
Corantin Sep 16, 2024
042edfa
Merge pull request #431 from 1Hive/gemini-review
Corantin Sep 16, 2024
33fc63c
Merge branch 'dev' into Batch-fix
Corantin Sep 16, 2024
d5b9ae2
Merge branch 'dev' into remove-landing-page
Corantin Sep 16, 2024
46bdf0e
Merge branch 'Batch-fix' of https://github.com/1Hive/gardens-v2 into …
Mati0x Sep 16, 2024
8694a1f
feat: upgrade disable buttons logic for Dispute and Submit
Mati0x Sep 16, 2024
9ab5c1f
Sort gardens by chainId to have consistnet ordering
Corantin Sep 16, 2024
90e6486
update title
Mati0x Sep 16, 2024
c5875fd
Merge branch 'Batch-fix' of https://github.com/1Hive/gardens-v2 into …
Mati0x Sep 16, 2024
7df86cf
cleanup
Mati0x Sep 17, 2024
249e74a
delete comments
Mati0x Sep 17, 2024
5e32623
Merge pull request #418 from 1Hive/Batch-fix
Mati0x Sep 17, 2024
fa6192f
Fix useToken not fetchign correct chain
Corantin Sep 17, 2024
2322b08
Make sure all chain request are toward the correct chain
Corantin Sep 17, 2024
6757fe5
Make sure all chain request is toward the chainId from path rather th…
Corantin Sep 17, 2024
5841148
Revert pushed fix in wrong branch
Corantin Sep 18, 2024
d9f22cb
Merge branch 'dev' into fix-not-loading-when-wrong-network
Corantin Sep 18, 2024
bbb3262
Add !ai condition to run AI
Corantin Sep 18, 2024
a10b969
Merge branch 'dev' into fix-not-loading-when-wrong-network
Corantin Sep 18, 2024
644fb44
Merge branch 'dev' into remove-landing-page
Corantin Sep 18, 2024
0202ac0
Merge branch 'dev' into fix-pool-form-conviction-growth-not-converted
Corantin Sep 18, 2024
742b470
Tooltip on modal visible + mobile responsive
Corantin Sep 18, 2024
f770e7b
Touchup cleanup
Corantin Sep 18, 2024
ecd703a
Fix rule button responsivness
Corantin Sep 18, 2024
8d83a03
Merge pull request #437 from 1Hive/tooltip-not-visible
Corantin Sep 18, 2024
73eed4a
Merge branch 'dev' into fix-pool-form-conviction-growth-not-converted
Lucianosc Sep 21, 2024
44ed53c
Merge branch 'dev' into remove-landing-page
Lucianosc Sep 21, 2024
01ed010
Merge branch 'dev' into fix-not-loading-when-wrong-network
Lucianosc Sep 21, 2024
55d3e76
Merge pull request #435 from 1Hive/fix-not-loading-when-wrong-network
Corantin Sep 21, 2024
0ee4253
Merge branch 'dev' into remove-landing-page
Corantin Sep 21, 2024
b2eed02
Merge branch 'dev' into fix-pool-form-conviction-growth-not-converted
Corantin Sep 21, 2024
aae6deb
Merge pull request #424 from 1Hive/fix-pool-form-conviction-growth-no…
Corantin Sep 21, 2024
0f4a323
Merge pull request #428 from 1Hive/remove-landing-page
Corantin Sep 21, 2024
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: 2 additions & 7 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
module.exports = {
root: true,
// This tells ESLint to load the config from the package `eslint-config-custom`
root: true, // This tells ESLint to load the config from the package `eslint-config-custom`
extends: ["custom"],
settings: {
next: {
rootDir: ["apps/*/"],
},
},
settings: { next: { rootDir: ["apps/*/"] } },
};
74 changes: 74 additions & 0 deletions .github/workflows/ai-code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: "Code Review by Gemini AI"
on:
pull_request:
jobs:
review:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v3

- name: "Check for !ai keyword in commit message"
id: check_commit_message
run: |
COMMIT_MESSAGE=$(git log -1 --pretty=%B)
echo "Commit message: $COMMIT_MESSAGE"
if [[ "$COMMIT_MESSAGE" == *"!ai"* ]]; then
echo "run_ai=true" >> $GITHUB_ENV
else
echo "run_ai=false" >> $GITHUB_ENV
fi

- name: "Check if relevant files are modified"
id: check_changes
shell: bash
run: |
# Check for modified .ts, .tsx, or .sol files
git fetch origin "${{ github.event.pull_request.head.ref }}" # fetch the branch with changes
git fetch origin "${{ github.event.pull_request.base.ref }}" # fetch the target branch
git diff --name-only "origin/${{ github.event.pull_request.base.ref }}" "origin/${{ github.event.pull_request.head.ref }}" > modified_files.txt

# Check if there are any .ts, .tsx, or .sol files modified
if grep -E '\.ts$|\.tsx$|\.sol$' modified_files.txt; then
echo "files_changed=true" >> $GITHUB_ENV
else
echo "files_changed=false" >> $GITHUB_ENV
fi

- name: "Get diff of the pull request"
if: env.files_changed == 'true' && env.run_ai == 'true'
id: get_diff
shell: bash
env:
PULL_REQUEST_HEAD_REF: "${{ github.event.pull_request.head.ref }}"
PULL_REQUEST_BASE_REF: "${{ github.event.pull_request.base.ref }}"
run: |-
# Only include changes to .ts, .tsx, and .sol files in the diff
git diff "origin/${{ env.PULL_REQUEST_BASE_REF }}" -- '*.ts' '*.tsx' '*.sol' > "diff.txt"
{
echo "pull_request_diff<<EOF";
cat "diff.txt";
echo 'EOF';
} >> $GITHUB_OUTPUT # save the filtered diff to an output variable

- uses: rubensflinco/gemini-code-review-action@1.0.5
name: "Code Review by Gemini AI"
if: env.files_changed == 'true' && env.run_ai == 'true'
continue-on-error: true
id: review
with:
gemini_api_key: ${{ secrets.GEMINI_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
github_repository: ${{ github.repository }}
github_pull_request_number: ${{ github.event.pull_request.number }}
git_commit_hash: ${{ github.event.pull_request.head.sha }}
model: "gemini-1.5-pro-latest"
pull_request_diff: |-
${{ steps.get_diff.outputs.pull_request_diff }}
pull_request_chunk_size: "3500"
extra_prompt: |-
Only review files with extensions: .ts, .tsx, .sol
Focus your review on code logic, security vulnerabilities, and potential improvements in these files.
log_level: "DEBUG"
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
SCORER_ID: ${{ secrets.SCORER_ID }}
GITCOIN_PASSPORT_API_KEY: ${{ secrets.GITCOIN_PASSPORT_API_KEY }}
LIST_MANAGER_PRIVATE_KEY: ${{ secrets.LIST_MANAGER_PRIVATE_KEY }}
FOUNDRY_OUT: pkg/contracts/out

steps:
- name: Check out code
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ lcov.info
# some abi should be ignored
# pkg/contracts/out/**
# !pkg/contracts/out/CVStrategy.sol/CVStrategy.json
# pkg/contracts/out
# pkg/contracts/out
pkg/contracts/script/Playground.s.sol
12 changes: 9 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
[submodule "lib/allo-v2"]
path = lib/allo-v2
url = https://github.com/allo-protocol/allo-v2
[submodule "lib/safe-contracts"]
path = lib/safe-contracts
url = https://github.com/safe-global/safe-contracts
[submodule "lib/openzeppelin-foundry-upgrades"]
path = lib/openzeppelin-foundry-upgrades
url = https://github.com/OpenZeppelin/openzeppelin-foundry-upgrades
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "lib/openzeppelin-contracts-upgradeable"]
path = lib/openzeppelin-contracts-upgradeable
url = https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable
[submodule "lib/safe-smart-account"]
path = lib/safe-smart-account
url = https://github.com/safe-global/safe-smart-account
12 changes: 3 additions & 9 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,14 @@
"^~/(.*)$",
"^[./]"
],
"importOrderParserPlugins": [
"typescript",
"jsx",
"decorators-legacy"
],
"importOrderParserPlugins": ["typescript", "jsx", "decorators-legacy"],
"importOrderTypeScriptVersion": "4.4.0",
"overrides": [
{
"files": [
"*.yaml|*.yml"
],
"files": ["*.yaml|*.yml"],
"options": {
"bracketSpacing": false
}
}
]
}
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@
"editor.formatOnSave": true
},
"solidity.formatter": "forge",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# Gardens v2
d# Gardens v2

> Gardens is a **coordination platform**
> Gardens is a **coordination platform**
> that fosters **vibrant ecosystems of shared wealth**
> by providing **healthy funding mechanisms to communities in web3**
> by providing **healthy funding mechanisms to communities in web3**

As a modular governance mechanism, Gardens strategically mixes centralized and decentralized components to take advantage of the efficiency and security benefits of both when needed.
As a modular governance mechdwaawdadwdwadawdawanism, Gardens strategically mixes centralized and decentralized components to take advantage of the efficiency and security benefits of both when needed.
daawd
Project and Ecosystem leaderdwadwadwas can use Gardens to:

Project and Ecosystem leaders can use Gardens to:
* Publish a Covenant to IPFS and Create a Community pinned to its values and purpose.
* Appoint a Council Safe as admin for the Community and a Tribunal Safe to rule on disputes
* Create funding pools and strategies to allocate funding and source collective decisions
- Publish a Covenant to IPFS and Create a Community pinned to its values and purpose.
- Appoint a Council Safe as admin for the Community and a Tribunal Safe to rule on disputes
- Create funding pools and strategies to allocate funding and source collective decisions

Community members and Public Goods builders can use Gardens to:
* Support Communities by staking in their Covenant
* Create proposals in funding pools and strategies they're eligible for
* Take part in collective decision-making by voting on Proposals.

For Communities building goods and services whose value subjective to its users (AKA "Public Goods"), Gardens offers a toolset capable of leveraging the _Wisdom of the Crowds_ and that resists value extraction by malicious, abusive, or apathetic parties.
- Support Communities by staking in their Covenant
- Create proposals in funding pools and strategies they're eligible for
- Take part in collective decision-making by voting on Proposals.

For Communities building goods and services whose value subjective to its users (AKA "Public Goods"), Gardens offers a toolset capable of leveraging the _Wisdom of the Crowds_ and that resists value extraction by malicious, abusive, or apathetic parties.

## Turborepo starter for web3 projects
## Turborepo starter for wedadawawdwadb3 projects

This turborepo uses [pnpm](https://pnpm.io) as a package manager. It includes the following packages/apps:

Expand Down Expand Up @@ -57,7 +58,7 @@ pnpm run build

### Develop

To develop all apps and packages, run the following command:
To develop all apps and packadawdwadawawdges, run the following command:

```
cd my-turborepo
Expand All @@ -66,9 +67,9 @@ pnpm run dev

### Remote Caching

Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
Turborepo can use a technique known as [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching) to share cache artifacdwadawts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can [create one](https://vercel.com/signup), then enter the following commands:
By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an accountddwaaaaaaaaaaawdawdw you can [create one](https://vercel.com/signup), then enter the following commands:

```
cd my-turborepo
Expand All @@ -77,15 +78,15 @@ pnpm dlx turbo login

This will authenticate the Turborepo CLI with your [Vercel account](https://vercel.com/docs/concepts/personal-accounts/overview).

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
Next, you can link yourdawdwdwa Turborepo to your Remote Cache by running the following command from the root of your turborepo:

```
pnpm dlx turbo link
```

## Useful Links

Learn more about the power of Turborepo:
Learn more about the pdwadawdower of Turborepo:

- [Pipelines](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)
- [Caching](https://turbo.build/repo/docs/core-concepts/caching)
Expand Down
1 change: 1 addition & 0 deletions apps/docs/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import _ from "react";
import { Button } from "ui";

export default function Docs() {
Expand Down
86 changes: 80 additions & 6 deletions apps/web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,89 @@
* @type {import('eslint').Linter.Config}
*/
module.exports = {
extends: ["next/core-web-vitals", "turbo", "prettier"],
ignorePatterns: ["node_modules", "dist"],
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"airbnb/hooks",
"airbnb-typescript",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"next/core-web-vitals",
"prettier/prettier",
],
plugins: ["react"],
ignorePatterns: ["node_modules", "dist", "src/generated.ts", "public"],
parser: "@typescript-eslint/parser",
parserOptions: {
babelOptions: {
presets: [require.resolve("next/babel")],
},
project: "./tsconfig.json",
},
rules: {
"react/jsx-filename-extension": [
2,
{ extensions: [".js", ".jsx", ".ts", ".tsx"] },
],
"react-hooks/exhaustive-deps": "off",
"no-html-link-for-pages": "off",
"@next/next/no-html-link-for-pages": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@next/next/no-page-custom-font": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"react/self-closing-comp": [
"error",
{
component: true,
html: true,
},
],
"no-unreachable": "warn",
"import/order": [
"error",
{
groups: ["builtin", "external", "internal"],
pathGroups: [
{
pattern: "react",
group: "external",
position: "before",
},
],
pathGroupsExcludedImportTypes: ["react"],
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"no-console": [
"warn",
{
allow: ["warn", "error", "info", "debug", "table"],
},
],
"prefer-const": "off",
"@typescript-eslint/consistent-type-definitions": "off",
"no-unused-expressions": "error",
"no-unsafe-optional-chaining": "error",
"import/extensions": "off",
"@typescript-eslint/quotes": ["error", "double"],
"@typescript-eslint/no-use-before-define": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/no-array-index-key": "warn",
indent: "off",
"@typescript-eslint/indent": "off",
"jsx-a11y/label-has-associated-control": "off",
},
};
3 changes: 3 additions & 0 deletions apps/web/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["skillhub.daisy-ui-latest-snippets", "bradlc.vscode-tailwindcss"]
}
28 changes: 28 additions & 0 deletions apps/web/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Next.js: debug server-side",
"type": "node-terminal",
"request": "launch",
"command": "pnpm dev"
},
{
"name": "Next.js: debug client-side",
"type": "chrome",
"request": "launch",
"url": "http://localhost:3000"
},
{
"name": "Next.js: debug full stack",
"type": "node-terminal",
"request": "launch",
"command": "pnpm dev",
"serverReadyAction": {
"pattern": "- Local:.+(https?://.+)",
"uriFormat": "%s",
"action": "debugWithChrome"
}
}
]
}
18 changes: 18 additions & 0 deletions apps/web/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "always"
},
"[typescriptreact]": {
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
},
"css.lint.unknownAtRules": "ignore",
"[javascript]": {
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
},
"editor.tabSize": 2,
}
Loading
Loading