Iskander
e716e329be
feat(ui): verify halo2 proofs ( #529 )
...
* refactor: update ui with latest halo2-eth-membership-worker version
* fix: delete uneeded changeset files
* refactor: react hook for verify proof with the latest worker changes
2024-09-18 17:33:11 +02:00
sripwoud
21ea4a1bd7
chore(ui): lint ( #525 )
...
* refactor: switch from `next/legacy/image` to `next/image`
* chore: change element from `a` to `button`
* refactor(ui): do not use type `any` in `ExternalLink` props
* fix(ui): address non exhaustive hook deps warnings
2024-09-18 12:33:28 +02:00
github-actions[bot]
d6c4eca91e
Version Packages ( #522 )
...
* Version Packages
* chore: revert deps updates in `ui`
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: sripwoud <me@sripwoud.xyz >
2024-09-16 17:19:39 +02:00
Iskander
924c9d0588
feat(ui): prove with halo2 ( #475 )
...
* feat: halo2 eth membership wasm web worker integration with ui
* fix: resolve conflicts
* fix: remove circular dependency detector
* feat: using published halo2 pkgs
* fix: resolve conflicts
* fix: requested changes
* fix: remove useless try/catch
* chore: add comment in config
2024-08-30 17:01:36 +02:00
Iskander
3ab7183cab
feat(ui): remove useless try/catch in spartan worker hook ( #515 )
...
fix: remove try/catch
2024-08-29 16:06:02 +02:00
Iskander
aeade229bc
refactor(ui): use absolute import paths ( #514 )
...
* fix: use absolute paths for ui imports
* revert: try/catch error handler
2024-08-29 13:30:25 +02:00
sripwoud
e170b8bb62
refactor(ui): rewrite component import
2024-08-28 15:21:15 +02:00
sripwoud
77650c532f
chore: remove eslint-disable statements
...
eslint is not used anymore.
We use biome instead
2024-08-21 12:33:19 +02:00
sripwoud
608a7d61d5
ci: auto stop fly machines
2024-08-19 10:15:46 +02:00
sripwoud
60d96dd661
style: underline only Anonset Checkmark
2024-08-09 15:45:49 +02:00
sripwoud
889011b5db
fix(ui): close ScrollableJsonContainer on cancel
2024-08-09 15:43:53 +02:00
sripwoud
e3614c5ee1
style(ui): add hover class to Anonset CheckMark buttons
2024-08-09 15:01:17 +02:00
sripwoud
191cbe1f5b
chore(ui): bump @anonklub/{merkle-tree,spartan-ecdsa}-worker
2024-08-09 14:53:41 +02:00
sripwoud
8d2ad7aa64
chore: merge staging ( #473 )
2024-08-07 13:03:22 +02:00
sripwoud
55e4d2e3e2
chore: add TODO comment
2024-08-03 21:15:42 +02:00
sripwoud
7319796951
chore: merge staging ( #465 )
...
* feat(discord-bot): integrate with spartan-ecdsa (#462 )
* chore: remove uneeded deps/files
* chore: fix deps
* feat: use en vars for VERIFICATION_CHANNEL_ID and VERIFIED_ROLE_ID
* refactor: change formatting of messages sent by bot
link to channels
use different font style
* chore: remove unused deps
* feat: verify spartan proof with discord bot
* fix: bump @types/node
Need > 20 to have fetch typings
* chore: update comment
* ci: remove debug step
* docs: update .env.example
* docs: update discord/bot/README
* refactor: update error message if missing env var
* fix(ui): do not pre render /api/verify route
* refactor: use verifier object to load wasm async
* fix: link wasm files to `server/static`
webpack 5 breaks dynamic import of wasm
https://github.com/vercel/next.js/issues/25852
* ci: link wasm files to `.next/server/static` in Dockerfile
* chore: debug
* fix(ui): set CORS headers
* refactor: add info logs
* ci: refactor Dockerfile and fly toml
* fix: remove remaining merge hints
* feat: restrict verification request to discord bot origin (#466 )
* refactor: add info logs
* wip
* fix import
* refactor: remove wallet connect id from fly config
Set already in Dockerfile
* ci: refactor setting of env vars in Dockerfile and fly configs (#469 )
ci: update dockerfiles and fly env vars
2024-08-03 21:07:31 +02:00
sripwoud
ae38ad7189
chore: fix circular deps ( #467 )
...
* chore(ui): fix circular deps
* chore(discord-bot): fix circular deps
* chore(query-api): fix circular deps
* chore: remove `madge` dev dep
* chore: revert change in next config
2024-08-02 15:53:59 +02:00
sripwoud
2c01b3ec80
chore: use lefthook to manage git hooks ( #458 )
...
* chore: hide biome config file
* chore: update dprint and biome config
* chore: replace lintstaged and husky by lefthook
* chore: update knip config
* chore: cleanup config files in `ui`
* fix: use dprint action in format workflow step
2024-07-26 17:59:07 +02:00
sripwoud
0245d64b3d
chore: merge staging ( #454 )
...
* refactor: use `dprint` for formatting (#446 )
* ci: bump actions versions
* chore: bump node version
* chore: format with `dprint`
* chore: exclude contracts/lib from fmt, update lintstaged cmd
* ci: update node/pnpm versions
* ci: update actions versions in test workflow
* refactor GH worfklows (#447 )
* ci: update actions versions in test workflow
* refactor gh workflows
* fix: bump Cargo.lock
* ci: optimize test workflow (#448 )
* ci: optimize test workflow
* ci: merge test with static-analsysi workflow
* chore: rename workflow file
* ci: fix typo
* ci: fix
* ci: fix
* ci: exclude ui from jts modified files
* fix(ci): add changed-files step id
* ci: fix node & pnpm versions
* ci: fix node action input name
* fix: use checkout action in fmt job
* fix: use checkout action in test-node job
* ci: fix cache-hit check
* ci: use actions/cache/restore
* ci: update node/pnpm cache path
* ci: install rustfmt component
* ci: hoist shamefully deps
easier to manage cache of node_modules that way
* ci: do not use cache of `deps`job for test-node job
* chore: delete forge lib
* forge install: openzeppelin-contracts
v5.0.2
* forge install: forge-std
v1.9.1
* fix(contracts): define remappings
* ci: fix output name
2024-07-15 14:35:51 +02:00
sripwoud
c3b8f4e794
fix(ui): verify anonklub proofs ( #429 ) ( #430 )
...
* refactor: load proof text file as ArrayBuffer
* refactor(ui): shorten hooks imports
* fix(ui): add :use client" statements
* fix: instantiate JsonFileInput with Proof.ANONSET
* fix: call function returned by higher order function `useFile` hook
* refactor: extract ellipsify, download/copy file to utils and hooks
* chore: download proof as binary file
* fix: upload proof as binary file
* chore: lint
* refactor: rename `FileType` to `File`, `ProofTxt` to `ProofBin`
2024-04-20 13:47:54 +02:00
sripwoud
4900818ab7
Version Packages ( #424 )
...
* Version Packages
* do not bump deps in ui and circom
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-31 19:34:58 +00:00
sripwoud
94eac87e5c
chore: replace prettier and eslint by biome ( #422 )
...
* chore: replace `prettier` and `eslint` by `biome` (#421 )
* chore: replace `prettier` and `eslint` by `biome`
* chore: lint
* changeset
2024-03-30 22:15:54 +00:00
i
8f519577af
Rust Test Coverage ( #414 )
...
* feat: adding halo2 axiom scaffold
* feat: starting on ecdsa
* feat: starting on ecdsa
* feat: starting on ecdsa cont.
* feat: adding halo2wrong ecdsa verison circuit wip
* fix: remove testing json set
* test: wriing a failed test for testing ECDSA chip verification
* fix: clippy warnings fixings
* feat: adding CI github actions for test coverage
* feat: adding inatalltion readme
* fix: lint issues
* fix: lint issues
* fix: undo rust change
* fix: resolve requested changes and rebase
* fix: remove repeated halo2-ecdsa crate
* chore: rename some workflow titles
2024-03-18 15:29:58 +01:00
sripwoud
ee04143c9b
chore(ui): update docs link
...
Use docs.anonklub.xyz instead of anonklub.github.io
2024-03-13 11:25:07 +01:00
sripwoud
0de4a0f001
chore: update value of prod query-api url
...
Replace anonset.fly.dev to query.anonklub.xyz
2024-03-13 11:10:38 +01:00
sripwoud
3c8f4a9e0e
fix(ui): get json data ( #400 )
...
* fix(ui): get json data
json() was already called
* Improve display in ScrollableJson component
Break lines
2024-03-11 16:57:07 +01:00
sripwoud
40ca31589b
fix(ui): handle & render dune out of credits error ( #397 )
2024-03-07 22:04:58 +01:00
sripwoud
0dcdca9fd1
refactor(ui): remove unused config variables ( #396 )
2024-03-07 21:30:08 +01:00
sripwoud
aed0b19f0e
fix(ui): hard code query api url
...
Necessary in order to be able to render error messages that may include
env vars from errors caught in server components
2024-03-07 18:28:51 +01:00
sripwoud
3c538e1c1e
fix(ui): bubble up dune out of credit error
2024-03-07 18:14:47 +01:00
sripwoud
50a99c0f29
fix(ui): copy test/ to Dockerfile for successful deps install ( #392 )
...
* fix ui: Dockerfile
* update comment
2024-03-07 11:50:32 +01:00
sripwoud
df9c339e1c
chore(ui): bump @anonklub/merkle-tree-worker dep
2024-03-07 10:48:31 +01:00
sripwoud
0bf4936b26
refactor: use error container component instead of modal ( #390 )
...
* refactor: remove useless try/catch
* refactor: use local state error instead of in store
* feat: close/goback on click outside error component
* chore: changeset
2024-03-07 10:36:36 +01:00
sripwoud
0a9094471a
chore(ui): bump merkle tree worker dep
2024-03-06 23:04:46 +01:00
sripwoud
069893aa75
Revert "chore(ui): link worker deps to local pkgs ( #389 )"
...
This reverts commit 1c7370b0f5 .
2024-03-06 22:58:50 +01:00
sripwoud
1c7370b0f5
chore(ui): link worker deps to local pkgs ( #389 )
2024-03-06 22:32:10 +01:00
i
94f0790d00
fix: handle leaf not found error ( #380 )
...
* fix: resolving catch leaf is not found bug
* fix: cargo fmt fix
* fix: prettier issue in cli/readme.md
* fix: linter errors
2024-03-06 16:07:41 +01:00
sripwoud
6f8d9bdc24
feat(ui): define ErrorContainer component
2024-03-06 13:40:04 +01:00
sripwoud
332d27fc5f
feat: change warning closing button text in 'OK'
2024-02-15 13:27:26 +01:00
sripwoud
2c8e89b2c3
feat: display time log only in development
2024-02-15 13:27:15 +01:00
sripwoud
2078bce814
chore(ui): bump @anonklub/spartan-ecdsa-worker
2024-02-13 18:09:35 +01:00
sripwoud
746f6bf7a2
feat(ui): show <Loader /> during merkle proof generation ( #371 )
...
* feat: reset proof request on submit proof request screen first render
* feat: show Loader during merkle proof generation
* chore: lint
2024-02-12 15:39:44 +01:00
sripwoud
f8b17f0ef0
chore: bump next
2024-02-12 14:32:03 +01:00
sripwoud
1a1a8d8de1
style: increase font weight & change bg color of buttons
2024-02-09 16:17:08 +01:00
sripwoud
cf11899113
feat: add chatbot ( #367 ) ( #368 )
...
* feat: add chatbot
* format
2024-02-09 10:28:04 +01:00
sripwoud
c1aded9389
style: adjust buttons and modal colors & layout ( #364 )
...
* set primary button bg to black on hover
* center question header and reduce buttons horizontal spacing
* chore: remove log
* set proof result text color to grey
* adjust vertical alignment in prove result page
* remove focus color for buttons
* Revert "set primary button bg to black on hover"
This reverts commit 64bc91645b .
* adjust buttons colors, remove transition effect
* adjust modal style
* increase horizontal body margins
* feat: render help button next to connect button
* adjust margins and paddings
* adjust title of verify result page
2024-02-08 17:15:36 +01:00
sripwoud
3e366ab7c4
fix(ui): check against web worker initialization before having them "work" ( #362 )
...
* fix(ui): execute useAsync callback immediately by default (#361 )
* fix(ui): execute useAsync callback immediately by default
* fix(ui): guard against multiple execution of useAsync callback
* chore: add TODOS
* chore:fix: remove execImmediately from hook deps
* chore: fix eslint error
* chore: remove TODO
* chore: fix eslint error
* fix: use `useAsync` from `react-use` instead of custom hook
* chore: fix eslint error
* refactor: use `useAsync` from `react-use` in `useVerifyProof` instead of custom hook
* chore: Add comments
* fix: check against web workers readiness
Not doing so can lead to race conditions where the worker function is attempted to be executed, but the worker itself has completed the `prepare` step yet
* refactor imports
2024-02-08 14:59:01 +01:00
i
16c3372961
feat: can verify proof client side ( #347 )
2024-02-08 11:06:26 +01:00
sripwoud
5b670b189a
refactor: rename Start component to CheckMark
2024-02-08 09:38:53 +01:00
sripwoud
fbcba677bd
refactor: rename CustomButton component to ConnectButton
2024-02-08 09:38:11 +01:00