AppFlowy/frontend/appflowy_web
Nathan.fooo 55c97b56a3
feat: calling user event from web (#4535)
* refactor: user manager

* refactor: user manager

* refactor: session location

* refactor: user manager

* chore: gen ts files

* feat: implement indexeddb persistence

* chore: integrate user manager

* chore: update

* chore: run on web thread

* chore: run on web thread

* chore: fix test

* chore: add test

* chore: add test

* chore: add user & sign in with password

* chore: fix test

* chore: update docs

* chore: fix warnings

* chore: gen files

* chore: add user

* chore: add files

* chore: update config

* chore: update scirpt

* chore: update scirpt

* fix: build

* chore: update command

* fix: ci

* ci: fix

* fix: compile

* fix: compile

* fix: ci

* fix: compile

* fix: tauri build

* chore: fix test

* chore: fix test
2024-01-30 05:36:27 +08:00
..
public feat: appflowy_web build (#4302) 2024-01-06 11:50:05 +08:00
src feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
wasm-libs feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
.eslintignore feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
.eslintrc.cjs feat: appflowy_web build (#4302) 2024-01-06 11:50:05 +08:00
.gitignore feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
.prettierignore feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
.prettierrc.cjs feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
index.html feat: appflowy_web build (#4302) 2024-01-06 11:50:05 +08:00
package.json feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
pnpm-lock.yaml feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
README.md feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
tsconfig.json feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
tsconfig.node.json feat: appflowy_web build (#4302) 2024-01-06 11:50:05 +08:00
vite.config.ts feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00

AppFlowy Web Project

Installation

cd appflowy-web

# Install dependencies
rm -rf node_modules && pnpm install

Running the app

# development
pnpm run dev

# production mode
pnpm run build

# generate wasm
pnpm run wasm

Run tests in Chrome

Before executing the test, you need to install the Chrome Driver. If you are using a Mac, you can easily install it using Homebrew.

brew install chromedriver

Go to frontend/appflowy_web/wasm-libs and run:

wasm-pack test --chrome

Run tests in headless Chrome

wasm-pack test --headless --chrome