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
2022-04-05 13:28:15 +08:00
2022-12-01 10:57:32 +08:00
2022-12-01 10:57:32 +08:00
2022-12-08 16:30:40 +08:00
2022-09-27 13:35:09 +08:00
2022-04-05 13:28:15 +08:00
2022-12-01 10:57:32 +08:00
2022-04-05 13:28:15 +08:00
2021-08-20 13:24:34 +08:00
2022-12-01 10:57:32 +08:00
2022-04-05 12:35:08 +08:00
2022-12-08 16:30:40 +08:00
2022-12-08 16:30:40 +08:00
2022-12-01 10:57:32 +08:00
2022-12-01 10:57:32 +08:00

Zkitter UI

Discord

This repo is home to website Zkitter.

Requirements

  • Node 12.22+
  • NPM 6.14+

Configurations

You can set configuration using environment variable or by creating a config.prod.json or config.dev.json file. You can see a sample of the config file here.

Name Description
WEB3_HTTP_PROVIDER a valid Http provider (e.g. https://mainnet.infura.io/v3/<project-id>)
ENS_RESOLVER contract address for ENS Public Resolver
GUN_PEERS Seed peers to connect to for GunDB.
ARB_HTTP_PROVIDER a valid Http provider to Arbitrum network (e.g. https://arbitrum.infura.io/v3/<project-id>).
ARB_REGISTRAR Contract address for the Zkitter registration contract.
ARB_ADDRESS The Arbitrum address to be used to fund onboarding.
BASE_URL Base URL to the server.
INDEXER_API URL to Zkitter API.
INTERREP_API URL to Interep API.

Build Instructions

Installation

npm i
# or
pnpm i --shamefully-hoist

Unit test

npm t

Run Developement Server

npm run dev

Production Build

npm run build

Run in production

npm start
Description
No description provided
Readme MIT 16 MiB
Languages
TypeScript 70.2%
JavaScript 24.3%
SCSS 5.2%
EJS 0.1%
HTML 0.1%