28 Commits

Author SHA1 Message Date
r1oga
f41171441c chore: run gh ci checks concurrently (#129)
* add validate script that runs concurrent static checks

* split unit test and other static checks in 2 different workflows

* fix infinite loop test script

* do not check coverage when running tests in ci

* update lock file
2023-04-06 18:47:40 +02:00
tsukino
abfbd368fe integrate with wallet connect and coinbase (#80)
* integrate with wallet connect

* add wallet connect support and refect metamask provider to use new detector

* add support for coinbase wallet

* use forked dependency for eth-json-rpc-middleware

* fix unit test
2022-12-13 05:18:25 +08:00
tsukino
9547245bc3 try node 18 for deployment (#83) 2022-12-11 11:11:02 +08:00
r1oga
e1553ce26e chore:refactor: config and apply eslint rules (#63)
* add eslint deps and rules

* eslint --fix

* chore: lint (remove unused)

* feat: on board interep with gh (#61)

* refactor: extract interepOnboarding views in separate files

* define AuthGithub / AuthTwitter components

* render joinGroupView with GitHub reputation params

* can reset/logout
2022-12-10 10:30:45 +08:00
tsukino
da19b5627e implement notification UI (#54)
* wip

* ui wip

* finish notification for invite, like, repost, and reply

* add notification for accepting invite

* add notification for mentions

* fix build and test

* fix: add missing html-entities dep

* add notification for chat messages (#68)

* add notification for chat messages

* add chat notifications per chat id

* pin gun to v0.2020.1232

* update pnpm-locl

* Search (#70)

* wip

* add search input

* add ui for search results

* add keydown control and user search to GlobalSearchInput

* fix mobile onClick timing

* reset selected index on blur

* add zindex

* notif: store last read timestamp in backend (#71)

* notif: store last read timestamp in backend

* store last read timestamp of chat in backend

* fix typo

* remove console.log

* use enum for notification types

* use ContextReplacementPlugin

* fix prettier and unit test

* bump chat when unread

Co-authored-by: r1oga <38692952+r1oga@users.noreply.github.com>
2022-12-08 16:30:40 +08:00
r1oga
271af933f9 fix unit tests (#67)
* update deps, replace npm by pnpm

* do not use unknown in catch blocks

* downgrade react deps

* add more typings deps

* ignore ts errors

* fix ts errors

* fix webpack confign

* add missing deps

* fix users.test.ts

* fix web3-btn.test.tsx

* fix drafts.test.ts

* fix configureAppStore.test.ts

* skip web3 test

* skip more tests

* update GH workflow

* run build:ci instead of build in gh workflow

* fix

* Update README

* Update .tool-versions, restrict node engine
2022-12-01 10:57:32 +08:00
r1oga
995eb6a1cf fix: downgrade @types/react-router 2022-11-15 15:13:04 +01:00
r1oga
67e0efbe33 chore: include format check in GH build workflow (#59)
* add husky pre commit  check format hook

* include format check in GH build workflow

* bump node version used in GH build action

* add build step

* add husky dep

* not silent

* fix node version

* fix install step

* silent install step
2022-11-15 14:08:46 +01:00
r1oga
a70fa81c18 chore: format (prettier) (#39)
* chore: add `prettier`

* chore: format
2022-10-20 12:32:58 +08:00
tsukino
0dad1a600f Add integration for TAZ (#22)
* taz wip

* integrate with taz identity using semaphore

* add url fragment import
2022-09-27 13:35:09 +08:00
tsukino
3fc97c427b implement zkchat and ipfs integration; update app to use rln proofs (#17)
* finish cover image file upload

* add profile image uploader

* add post editor uploader

* fix url preview

* fix preview scss

* add user auth to upload

* polish webtorrent flows to gracefully shutdown cached client

* update image upload

* add link attach modal

* wip

* add dev ui for chat

* add basic chat ui

* zk chat - dox dm done

* add basic incognito ui

* schema update

* wip

* add group info

* fix anon chat creation

* fix semaphore signal hash

* allow file upload for zk post

* check interep path with new api

* add new incognito badges

* use rln for upload

* add infinite scrolling

* mobile responsiveness

* fix mobile
2022-08-03 18:44:43 +08:00
tsukino
15e52eb6ef Add unit test (#15)
* setup unit test

* add unit test

* add config.test.json

* add unit test

* add unit test: users.ts

* add unit test

* add unit test: all ducks and services

* add unit test: Post

* finish unit test

* add doc
2022-04-05 13:28:15 +08:00
0xtsukino
75d85a78ce intergrate with new interep 2022-02-25 11:53:00 -08:00
0xTsukino
e00eec8c0b feature: connect twitter profile and mirror tweets; update interrep (#5)
* show identities when ids exist

* debug chrome

* wip

* incognito onboarding wip

* basic connect twitter

* verify twitter user when connecting

* create signature for twitter session

* show mirror replies

* show tweet replies and mirror replies

* refresh meta when switching account

* finish interrep integration

* add base url

* fix connect twitter logic

* fix qr scanner

* close qr scanner on success
2021-12-02 00:47:28 +08:00
0xTsukino
ee22835ce3 Add service worker login; import qr code; mobile ux optimization (#3)
* add worker thread

* local login wip

* identity work ui

* finish basic worker ui

* add login with sw

* add headers to mobile responsiveness

* add import qr code
2021-11-16 18:32:57 +08:00
0xTsukino
701e7684ab feature: onboarding with any wallet address using arbitrum (#2)
* wip

* finish onboarding with arbitrum

* wip

* finish arbitrum

* add join tx link

* arbitrum mainnet

* fix ens fetch and state

* finished arbitrum
2021-10-15 00:13:25 +08:00
0xtsukino
7730c2f9b5 integrate new interrep 2021-09-29 23:34:43 +08:00
0xtsukino
4f76da0a51 update gun version 2021-09-16 19:50:22 +08:00
0xTsukino
dbb1b810df Poseidon integration (#1)
* poseidon wip

* wip

* wip

* wip

* poseidon: finish integration
2021-09-16 18:15:51 +08:00
0xtsukino
df0fdabab8 add tag and mention meta 2021-08-27 12:45:07 +08:00
0xtsukino
d55b4c0185 add hashtag 2021-08-26 20:24:51 +08:00
0xtsukino
3f027a5b9e add proposal repost/likes/replies 2021-08-24 23:49:53 +08:00
0xtsukino
537310b751 add cherry-pick bn128 for build 2021-08-18 13:21:33 +08:00
0xtsukino
493da6cef3 infinite scrolling on all feeds 2021-08-16 17:24:29 +08:00
0xtsukino
184d75924f add semaphore login 2021-08-11 15:04:07 +08:00
0xtsukino
b42da02c95 adding editor 2021-08-10 22:41:42 +08:00
0xtsukino
8ff858102b add top nav 2021-08-10 15:40:19 +08:00
0xTsukino
f1c03396f6 Initial Commit 2021-08-08 01:04:11 +08:00