AFFiNE/apps/web
Himself65 74fc43020a
fix: side bar favorited list cannot scroll (#1606)
Co-authored-by: sheben404 <sheben404@gmail.com>
2023-03-17 19:32:00 -04:00
..
public refactor!: next generation AFFiNE code structure (#1176) 2023-03-01 15:40:01 +08:00
scripts refactor!: next generation AFFiNE code structure (#1176) 2023-03-01 15:40:01 +08:00
src fix: side bar favorited list cannot scroll (#1606) 2023-03-17 19:32:00 -04:00
.env.local.template feat: improve provider testing (#1280) 2023-03-02 20:00:56 -06:00
.eslintrc chore: unify version (#1123) 2023-02-19 08:40:39 +00:00
next-env.d.ts chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
next.config.mjs feat: split components (#1530) 2023-03-10 23:15:19 -06:00
package.json chore: bump version (#1597) 2023-03-16 22:07:57 -04:00
preset.config.mjs test: add test case for blocksuite editor (#1528) 2023-03-10 17:45:10 -06:00
README.md docs: update README.md (#1327) 2023-03-05 12:18:56 -06:00
tsconfig.json feat: split components (#1530) 2023-03-10 23:15:19 -06:00

AFFiNE Web

This is the web application for AFFiNE. It is a React application that uses the Next.js framework.

Getting Started

First, run the development server:

pnpm run dev

Open http://localhost:8080 with your browser to see the result.

You can start editing the page by modifying src/pages/workspace/[workspaceId]/all.tsx. The page auto-updates as you edit the file.

For more information on Next.js, take a look at the Next.js Documentation.

Build Presets

preset.config.mjs contains the build presets for the application. The presets are used to configure the build process for different environments. The presets are:

  • enableIndexedDBProvider: Enables the IndexedDB provider for the application. This is used to store data in the browser.
  • enableBroadCastChannelProvider: Enables the Broadcast Channel provider for the application. This is used to communicate between local browser tabs.
  • prefetchWorkspace: deprecated
  • exposeInternal: Exposes internal variables into globalThis for debugging purposes.
  • enableDebugPage: Enables the debug page for the application. This is used for debugging purposes.

BlockSuite Integration

Set LOCAL_BLOCK_SUITE=/path/to/blocksuite to use a local version of BlockSuite. This is useful for development.