AppFlowy/frontend/appflowy_web
Nathan.fooo aec7bc847e
feat: AI chat (#5383)
* chore: ai type

* chore: use patch to fix version issue

* chore: update

* chore: update

* chore: integrate client api

* chore: add schema

* chore: setup event

* chore: add event test

* chore: add test

* chore: update test

* chore: load chat message

* chore: load chat message

* chore: chat ui

* chore: disable create chat

* chore: update client api

* chore: disable chat

* chore: ui theme

* chore: ui theme

* chore: copy message

* chore: fix test

* chore: show error

* chore: update bloc

* chore: update test

* chore: lint

* chore: icon

* chore: hover

* chore: show unsupported page

* chore: adjust mobile ui

* chore: adjust view title bar

* chore: return related question

* chore: error page

* chore: error page

* chore: code format

* chore: prompt

* chore: fix test

* chore: ui adjust

* chore: disable create chat

* chore: add loading page

* chore: fix test

* chore: disable chat action

* chore: add maximum text limit
2024-06-03 14:27:28 +08:00
..
public feat: appflowy_web build (#4302) 2024-01-06 11:50:05 +08:00
src feat: folder web (#4580) 2024-02-04 05:50:23 +08:00
wasm-libs feat: AI chat (#5383) 2024-06-03 14:27:28 +08:00
.eslintignore feat: calling user event from web (#4535) 2024-01-30 05:36:27 +08:00
.eslintrc.cjs feat: folder web (#4580) 2024-02-04 05:50:23 +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: folder web (#4580) 2024-02-04 05:50:23 +08:00
pnpm-lock.yaml feat: folder web (#4580) 2024-02-04 05:50:23 +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