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

Develop #62

Merged
merged 57 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
7f0fd53
added images and icons
Oba-One May 10, 2024
b9bddbe
added prorile pages and layout
Oba-One May 10, 2024
8dc58f8
updated fonts adding sora
Oba-One May 10, 2024
fc79a91
removed react admin code
Oba-One May 10, 2024
5120103
updated navbar
Oba-One May 10, 2024
a759bb0
removed constants
Oba-One May 10, 2024
d8a7aa2
Feat/project components (#45)
Oba-One May 25, 2024
93da840
Feat/project actions (#44)
bitbeckers May 25, 2024
0181e31
removed storybook components
Oba-One Jun 13, 2024
d918dc4
replaced farcaster auth with wallet connect
Oba-One Jun 13, 2024
7a7f045
EAS schema schemas and metrics schemas (#59)
bitbeckers Jun 20, 2024
b74e00e
added compents for profile view
Oba-One Jun 20, 2024
01db282
Merge branch 'feat/attest-components' of github.com:greenpill-dev-gui…
Oba-One Jun 27, 2024
47f5479
Building
Oba-One Jun 27, 2024
e3e1c92
late night work added machines for projects
Oba-One Jul 7, 2024
2cd3f2c
latest work
Oba-One Jul 11, 2024
e1b42af
app building
Oba-One Jul 11, 2024
545228c
late night work
Oba-One Jul 13, 2024
9413a9f
some more work really coming aling
Oba-One Jul 14, 2024
a972018
more work coming together
Oba-One Jul 14, 2024
29d971e
updates
Oba-One Jul 14, 2024
cd733b1
some more work
Oba-One Jul 14, 2024
2e98934
Pages building fixed param issues
Oba-One Jul 14, 2024
94337c2
added neynar for fid lookup by address
Oba-One Jul 14, 2024
3560f3e
more work coming along
Oba-One Jul 14, 2024
dc2fff3
remove uneeded pakages
Oba-One Jul 14, 2024
a3dd677
some more work done
Oba-One Jul 14, 2024
84eae50
sunday work
Oba-One Jul 15, 2024
5507946
extracted components from project details
Oba-One Jul 18, 2024
56ab451
created ProjectEndorsement card
Oba-One Jul 22, 2024
0c71adb
Added some TODOs for actions
Oba-One Jul 28, 2024
6d3a753
app building
Oba-One Jul 28, 2024
a2b25ca
fix(parse): parse attestation data from EAS
bitbeckers Jul 28, 2024
3adf8ed
moved provider to wrap app
Oba-One Jul 28, 2024
1feaa24
Merge branch 'fix/eas_data_fetching' of github.com:greenpill-dev-guil…
Oba-One Jul 28, 2024
948acec
updated packages and names in package.json
Oba-One Jul 28, 2024
fec3630
removed transnactin and attest count from project type
Oba-One Jul 28, 2024
a33ccbb
moved eas sepolia client to URQL
Oba-One Jul 28, 2024
dbf75b6
fully migrated to sepolia for testnet attestations
Oba-One Jul 31, 2024
a8aa2a6
updated parsing functions
Oba-One Jul 31, 2024
4e0ca05
feat(web3): replace connectkit with appkit (#60)
bitbeckers Jul 31, 2024
629e124
Merge branch 'develop' of github.com:greenpill-dev-guild/impact-frame…
Oba-One Jul 31, 2024
da6345f
updated actions for fetching project metrics/endorsments
Oba-One Aug 1, 2024
f2a041c
wip get attestations working clientside
Oba-One Aug 1, 2024
a2b1df7
fixed type errors app building
Oba-One Aug 1, 2024
adcde22
feat(api): autogenerate OP Agora API client
bitbeckers Aug 1, 2024
28047e7
feat(endorsements): load endorsement profile page
bitbeckers Aug 1, 2024
7683f29
fix(endorsement): refactor eas flows to hooks and submit endorsement
bitbeckers Aug 1, 2024
a7220ca
feat(claim): claim metrics and fix build
bitbeckers Aug 1, 2024
c3e62c2
fix(project): fixed project-row width
bitbeckers Aug 1, 2024
b761087
polished project detail page
Oba-One Aug 1, 2024
90cac38
fix(table): project overview page table positioning
bitbeckers Aug 1, 2024
e2d5875
Merge branch 'develop' of github.com:greenpill-dev-guild/impact-frame…
Oba-One Aug 1, 2024
c100c36
aded open source observer key to template
Oba-One Aug 27, 2024
4075c35
removed connectkit no longer used
Oba-One Aug 27, 2024
7407a29
removed workflow file
Oba-One Aug 27, 2024
da3f463
updated lockfile
Oba-One Aug 27, 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
41 changes: 0 additions & 41 deletions .github/workflows/supabase-ci.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
node_modules
node_modules/**/*
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
coverage

# next.js
.next
/out/

# production
build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local
.env

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

.idea/

*storybook.log

**/.idea
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "impact-framework",
"name": "impact-reef",
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "cd packages/client && pnpm run dev",
"test": "cd packages/client && pnpm run test",
"build": "cd packages/client && pnpm run build",
"generate:supabase:types": "npx supabase gen types typescript --local > types/database-generated.types.ts"
"build": "cd packages/client && pnpm run build"
},
"engines": {
"node": "20.x",
"pnpm": "^9.x"
}
}
9 changes: 7 additions & 2 deletions packages/client/.env.template
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
NEXT_PUBLIC_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY
AUTH_SECRET
NEYNAR_API_KEY

NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
NEXT_PUBLIC_ALCHEMY_ID
OPEN_SOURCE_OBSERVER_API_KEY

1 change: 1 addition & 0 deletions packages/client/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/__generated__/
21 changes: 0 additions & 21 deletions packages/client/.storybook/main.ts

This file was deleted.

14 changes: 0 additions & 14 deletions packages/client/.storybook/preview.ts

This file was deleted.

3 changes: 3 additions & 0 deletions packages/client/graphql.config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
schema:
- https://sepolia.easscan.org/graphql
documents: '**/*.graphql'
19 changes: 18 additions & 1 deletion packages/client/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
import withBundleAnalyzer from "@next/bundle-analyzer";

/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
async redirects() {
return [
{
source: "/",
destination: "/projects",
permanent: true,
},
];
},
webpack: config => {
config.externals.push('pino-pretty', 'lokijs', 'encoding')
return config
},
images: {
domains: ["picsum.photos"],
},
};

export default process.env.ANALYZE === "true"
? withBundleAnalyzer(nextConfig)
Expand Down
11 changes: 11 additions & 0 deletions packages/client/orval.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import {defineConfig} from 'orval';

export default defineConfig({
agora: {
input: 'https://vote.optimism.io/api/v1/spec',
output: {target: './src/__generated__/api/agora.ts', baseUrl: "https://vote.optimism.io/api/v1/"},
hooks: {
afterAllFilesWrite: 'prettier --write',
},
},
});
98 changes: 45 additions & 53 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "impact-garden",
"name": "impact-reef-app",
"version": "0.0.0",
"private": true,
"scripts": {
Expand All @@ -8,66 +8,58 @@
"test": "next build",
"start": "next start",
"lint": "next lint",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"codegen:api": "pnpm orval --config ./orval.config.ts"
},
"dependencies": {
"@supabase/supabase-js": "^2.42.7",
"@xstate/react": "4.1.1",
"lucide-react": "0.376.0",
"next": "14.2.3",
"ra-data-json-server": "^4.16.16",
"react": "^18",
"react-admin": "^4.16.14",
"react-dom": "^18",
"react-hot-toast": "2.4.1",
"react-spinners": "0.13.8",
"xstate": "5.12.0",
"viem": "2.9.28",
"zod": "3.23.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"global": "^4.4.0",
"ra-input-rich-text": "^4.16.14",
"ra-supabase": "^2.2.0",
"snaplet": "^0.90.0",
"tailwind-merge": "^2.2.2",
"@ethereum-attestation-service/eas-sdk": "^2.5.0",
"@hookform/resolvers": "^3.9.0",
"@neynar/nodejs-sdk": "^1.39.0",
"@tanstack/react-query": "^5.51.15",
"@urql/core": "^5.0.4",
"@web3modal/siwe": "^5.0.10",
"@web3modal/wagmi": "^5.0.10",
"@xstate/react": "^4.1.1",
"axios": "^1.7.2",
"ethers": "^6.13.2",
"gql.tada": "^1.8.2",
"next": "^14.2.5",
"next-auth": "4.24.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.52.1",
"react-hot-toast": "^2.4.1",
"react-icons": "5.2.1",
"react-spinners": "^0.14.1",
"siwe": "^2.3.2",
"tailwindcss-animate": "^1.0.7",
"tsx": "^4.7.2"
"viem": "^2.18.2",
"wagmi": "^2.12.1",
"xstate": "^5.16.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.3",
"@next/bundle-analyzer": "14.2.3",
"@storybook/addon-essentials": "^8.0.9",
"@storybook/addon-interactions": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/addon-onboarding": "^8.0.9",
"@storybook/blocks": "^8.0.9",
"@storybook/nextjs": "^8.0.9",
"@storybook/react": "^8.0.9",
"@storybook/test": "^8.0.9",
"@testing-library/react": "^15.0.4",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.0.1",
"daisyui": "4.10.2",
"eslint": "^8",
"eslint-config-next": "14.1.4",
"eslint-plugin-storybook": "^0.8.0",
"jsdom": "^24.0.0",
"postcss": "^8",
"prettier": "3.2.5",
"storybook": "^8.0.9",
"tailwindcss": "^3.3.0",
"typescript": "^5",
"vitest": "^1.5.2"
"@0no-co/graphqlsp": "^1.12.12",
"@next/bundle-analyzer": "^14.2.5",
"@testing-library/react": "^16.0.0",
"@types/node": "^22.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.19",
"daisyui": "^4.12.10",
"eslint-config-next": "^14.2.5",
"jsdom": "^24.1.1",
"orval": "^6.31.0",
"postcss": "^8.4.40",
"prettier": "^3.3.3",
"tailwindcss": "^3.4.7",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0",
"vitest": "^2.0.4"
},
"eslintConfig": {
"extends": [
"next/core-web-vitals",
"plugin:storybook/recommended"
"next/core-web-vitals"
]
}
}
Loading