156 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
r1oga
40dde7f8ee fix drafts unit tests 2023-04-06 18:07:13 +02:00
iskdrews
5ecb94db5f chore: udpate CK logo 2023-04-05 14:51:55 +02:00
r1oga
a673671398 chore: bump pnpm lockfile 2023-04-05 14:26:24 +02:00
r1oga
ab01b858d7 fix: do not silence install errors in GH code-quality action 2023-04-05 14:22:18 +02:00
tsukino
c953a95405 clean up webpack.config and react warnings (#79) 2023-03-22 16:31:24 +08:00
tsukino
caa6179d26 fix: do not mirror post when posting with groups (#101) 2023-03-22 16:30:52 +08:00
r1oga
bedede1954 fix: redirect to home page when clicking on zkitter logo in top nav (#99)
* fix: redirect to home page when clicking on zkitter logo in top nav

* chore: format
2023-02-17 01:29:36 +08:00
r1oga
c97e71bc81 fix lint issues 2023-02-14 18:36:34 +00:00
tsukino
7593234391 Revert "use project id for wallet connect in prod (#88)" (#89)
This reverts commit c3ca3dae22.
2022-12-13 06:32:31 +08:00
tsukino
c3ca3dae22 use project id for wallet connect in prod (#88) 2022-12-13 06:05:26 +08: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
5dd6dcca16 remove duplicate icons (#87) 2022-12-12 16:56:33 +08:00
tsukino
fe87e9f0c5 add new group icons (#86) 2022-12-12 16:50:51 +08:00
tsukino
23e5788bd9 Auth redux (#85)
* wip

* fix github and twitter oauth

* integrate with reddit oauth and interep
2022-12-11 17:07:49 +08:00
tsukino
9547245bc3 try node 18 for deployment (#83) 2022-12-11 11:11:02 +08:00
tsukino
fd476e247b update eslint version (#82) 2022-12-11 10:55:39 +08:00
tsukino
9c67c06b95 fix twitter oauth (#81) 2022-12-11 09:33:29 +08:00
r1oga
4bb39adbde trigger code quality workflow on push too 2022-12-10 10:30:45 +08:00
r1oga
bdc0668f84 delete duplicate build workflow 2022-12-10 10:30:45 +08:00
r1oga
b582bb9be4 fix scripts 2022-12-10 10:30:45 +08:00
r1oga
8e61a905ac format 2022-12-10 10:30:45 +08:00
r1oga
dd8bdc741b fix unit tests 2022-12-10 10:30:45 +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
r1oga
edef5a78cf shorten imports 2022-12-10 10:30:45 +08:00
0xtsukino
888c6f88c8 fix merge conflict 2022-12-10 10:30:45 +08:00
tsukino
f02c1f8683 fix: notification display for likes and getLikers query (#76)
* fix display for notification view for likes

* fix query when getting likers
2022-12-09 10:43:47 +08:00
tsukino
a77cb554aa fix display for notification view for likes (#75) 2022-12-09 10:28:58 +08:00
tsukino
6197075011 various ux improvements for notifications and search (#74) 2022-12-09 09:27:38 +08:00
tsukino
124699e6ed fix: go to group profile when clicking on custom group name (#53)
* fix: go to group profile when clicking on custom group name

* fix custom group profile

* fix prettier
2022-12-08 16:48:43 +08:00
tsukino
69a4fd88cc fix: go to user profile when clicking on user button after logged in (#52)
* fix: go to user profile when clicking on user button after logged in

* remove commented lines
2022-12-08 16:35: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
4bec9a5812 🤖 Add GitHub action to link PR and issues to project (#65) 2022-11-24 17:08:18 +01: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
18105e7f48 feat: display list of users who retweeted a post in modal (#51)
* remove unused/unnecessary effect in `ExpandedPost`

* feat: display list of retweets in modal
2022-11-04 02:10:34 +08:00
r1oga
8d8d6ed9d3 feat: display list of likes/followers/followings in scrollable modal (#41)
* refactor: extract `Post`(s) components in separate files

* feat: fetch likers by post on `ExpandedPost` load

* refactor: define reusable `UsersCountModal` component

* feat: display list of user's follow-er/ing(s)

* remove console.log

* fix: update likes counter when clicking like button

* fix: update likes counter when clicking like button

* feat: do no show counter close to button if 0

* fix: update displayed followers on un/follow click

* cleanup

* trigger fetch effect on count update

* fix: move fetching into onClick
2022-10-27 02:10:45 +08:00
r1oga
14f41b0ce7 fix: use APP_TITLE to refer to app profile in twitter association screen (#50) 2022-10-27 02:02:52 +08:00
r1oga
f64888db98 chore: format 2022-10-20 23:52:49 +02:00
r1oga
a70fa81c18 chore: format (prettier) (#39)
* chore: add `prettier`

* chore: format
2022-10-20 12:32:58 +08:00
r1oga
461016c108 chore: add .tool-versions (asdf) (#38) 2022-10-19 14:00:20 +02:00
tsukino
420dbfd3a6 Merge zkitter branch into main (#36)
* fixing zkpr

* Implement Custom Group (#28)

* add group profile toggle

* finish custom group

* fix user handle on zk post

* fix: go to signup when clicking on unauth button content (#30)

* fix: display id commitments as hex (#27)

Co-authored-by: r1oga <38692952+r1oga@users.noreply.github.com>
2022-10-19 12:59:47 +08:00
tsukino
673c6c9707 fix: use correct proof type for TAZ file upload (#35) 2022-10-19 12:39:37 +08:00
r1oga
9fe53c7b1f fix: display id commitments as hex (#27) 2022-10-14 01:43:10 +08:00
tsukino
cf2580c722 fix: go to signup when clicking on unauth button content (#30) 2022-10-14 01:36:22 +08:00
0xtsukino
12cc19ea58 fix user handle on zk post 2022-10-13 10:35:34 -05:00
tsukino
5bf2d7da3f Implement Custom Group (#28)
* add group profile toggle

* finish custom group
2022-10-13 23:14:53 +08:00
0xtsukino
6aa0995407 rename zkpr 2022-10-11 14:53:34 -05:00
0xtsukino
b652a83bdb Fix zkpr 2022-10-11 14:52:03 -05:00