Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: project management & document editor features on web #7051

Open
wants to merge 82 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
71ef26f
fix: support page operations
qinluhe Nov 7, 2024
248a512
fix: support select language of code block
qinluhe Nov 11, 2024
338c6d7
fix: support hover controls of document
qinluhe Nov 12, 2024
08314fd
fix: support slash panel of document
qinluhe Nov 12, 2024
1d254b9
feat: support image block and file block of document
qinluhe Nov 13, 2024
633e4df
feat: support outline block of document
qinluhe Nov 14, 2024
b9f2d40
feat: support add document on document
qinluhe Nov 14, 2024
e886f0c
feat: support create sub-page on document
qinluhe Nov 14, 2024
62a922e
feat: support mention panel
qinluhe Nov 15, 2024
bdc1cf2
feat: support more actions
qinluhe Nov 15, 2024
33db144
feat: support create space
qinluhe Nov 18, 2024
4396cfb
fix: add some shortcuts to document
qinluhe Nov 19, 2024
e20bd1c
fix: add some shortcuts to document
qinluhe Nov 20, 2024
c3d414a
fix: multiple select blocks
qinluhe Nov 21, 2024
c148275
fix: reupdate trash after restore and delete
qinluhe Nov 25, 2024
7e27ffb
fix: lint check
qinluhe Nov 25, 2024
c759361
fix: callout block
qinluhe Nov 25, 2024
04f815e
fix: view icon
qinluhe Nov 25, 2024
bc21c13
fix: colors
qinluhe Nov 25, 2024
36e8329
fix: colors
qinluhe Nov 25, 2024
b1d0413
feat: support add grid/board/calendar
qinluhe Nov 27, 2024
21e461e
feat: support database new layout
qinluhe Nov 27, 2024
2f2c400
fix: slash panel
qinluhe Nov 28, 2024
faea005
fix: bugs
qinluhe Nov 28, 2024
e0c2a72
fix: grid table
qinluhe Nov 29, 2024
723d0bd
fix: some bugs
qinluhe Dec 2, 2024
f5d7bc0
fix: some bugs
qinluhe Dec 2, 2024
3a7df69
fix: some bugs
qinluhe Dec 2, 2024
00a02e3
fix: some bugs
qinluhe Dec 2, 2024
bedc8ab
fix: some bugs
qinluhe Dec 2, 2024
7741807
fix: some bugs
qinluhe Dec 2, 2024
0bccc34
fix: some bugs
qinluhe Dec 2, 2024
70d127a
fix: some bugs
qinluhe Dec 2, 2024
efdcc40
fix: some bugs
qinluhe Dec 2, 2024
4562b0f
fix: some bugs
qinluhe Dec 2, 2024
a375402
fix: some bugs
qinluhe Dec 2, 2024
40a5195
fix: some bugs
qinluhe Dec 2, 2024
db202d3
fix: some bugs
qinluhe Dec 2, 2024
7103a3c
fix: some bugs
qinluhe Dec 3, 2024
2edfb0c
fix: some bugs
qinluhe Dec 3, 2024
1fa2dbe
fix: some bugs
qinluhe Dec 3, 2024
dd90687
fix: some bugs
qinluhe Dec 3, 2024
0804717
fix: some bugs
qinluhe Dec 3, 2024
17b8f34
fix: some bugs
qinluhe Dec 3, 2024
883c539
fix: some bugs
qinluhe Dec 4, 2024
3e47798
fix: some bugs
qinluhe Dec 4, 2024
5d32160
fix: bugs
qinluhe Dec 4, 2024
6bfb28c
fix: some bugs
qinluhe Dec 9, 2024
03bf713
fix: some bugs
qinluhe Dec 9, 2024
4f7c579
fix: invite members
qinluhe Dec 9, 2024
51ff06a
fix: styles
qinluhe Dec 11, 2024
920bfcb
fix: styles
qinluhe Dec 11, 2024
82ae1b0
fix: styles
qinluhe Dec 11, 2024
a07c934
fix: inline code
qinluhe Dec 11, 2024
29fb665
fix: image block
qinluhe Dec 11, 2024
955403b
fix: some bugs
qinluhe Dec 11, 2024
06519e8
fix: some bugs
qinluhe Dec 11, 2024
bc6ab0d
fix: some bugs
qinluhe Dec 11, 2024
7b80565
fix: some bugs
qinluhe Dec 11, 2024
5a02cbb
fix: add applink
qinluhe Dec 11, 2024
812e871
fix: add applink
qinluhe Dec 11, 2024
f5b2f16
fix: add applink
qinluhe Dec 11, 2024
9c0f467
fix: add share link
qinluhe Dec 11, 2024
e4d1a1c
fix: inline link
qinluhe Dec 12, 2024
17de576
fix: add log
qinluhe Dec 12, 2024
a77f5ca
fix: simple table bugs
qinluhe Dec 12, 2024
c1191f1
fix: simple table bugs
qinluhe Dec 12, 2024
1903a41
fix: some bugs
qinluhe Dec 16, 2024
faf7d03
fix: build size
qinluhe Dec 16, 2024
922ce2f
fix: build size
qinluhe Dec 16, 2024
efd1718
fix: remove private from package.json
qinluhe Dec 18, 2024
75de34e
fix: support quick note
qinluhe Dec 20, 2024
4f4f908
fix: support quick note
qinluhe Dec 20, 2024
1e8865a
fix: support quick note
qinluhe Dec 20, 2024
0335e30
fix: support quick note
qinluhe Dec 20, 2024
332f603
fix: support quick note
qinluhe Dec 20, 2024
c4584b8
fix: some bugs
qinluhe Dec 20, 2024
aa87aa1
fix: support paste md
qinluhe Dec 21, 2024
98d4c44
fix: modified toolbar
qinluhe Dec 21, 2024
846a236
fix: modified toolbard actions
qinluhe Dec 21, 2024
90fda98
fix: adjust editor toolbar
qinluhe Dec 23, 2024
168d768
fix: support billing
qinluhe Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion frontend/appflowy_web_app/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ export default defineConfig({
framework: 'react',
bundler: 'vite',
},
setupNodeEvents (on, config) {
setupNodeEvents(on, config) {
registerCodeCoverageTasks(on, config);
addMatchImageSnapshotPlugin(on, config);
return config;
},
supportFile: 'cypress/support/component.ts',
},
chromeWebSecurity: false,
retries: {
// Configure retry attempts for `cypress run`
// Default is 0
Expand Down
1 change: 1 addition & 0 deletions frontend/appflowy_web_app/cypress/support/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import 'cypress-real-events';

// Import commands.js using ES2015 syntax:
import '@cypress/code-coverage/support';
import 'cypress-real-events/support';
import './commands';
import './document';

Expand Down
4 changes: 2 additions & 2 deletions frontend/appflowy_web_app/cypress/support/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class DocumentTest {
blockText.applyDelta(child.text);

this.textMap.set(blockId, blockText);

const blockChildren = new Y.Array<BlockId>();

this.childrenMap.set(blockId, blockChildren);
Expand All @@ -137,7 +137,7 @@ export class DocumentTest {
children.push({
type: child.get(YjsEditorKey.block_type),
data: JSON.parse(child.get(YjsEditorKey.block_data)),
text: this.textMap.get(childId).toDelta(),
text: this.textMap.get(childId)?.toDelta() || [],
children: this.toJSONChildren(childId),
});
}
Expand Down
10 changes: 10 additions & 0 deletions frontend/appflowy_web_app/deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ http {
access_log off;
}

location /.well-known/apple-app-site-association {
default_type application/json;
add_header Cache-Control "public, max-age=3600";
}

location /.well-known/assetlinks.json {
default_type application/json;
add_header Cache-Control "public, max-age=3600";
}

error_page 404 /404.html;
location = /404.html {
root /usr/share/nginx/html;
Expand Down
5 changes: 5 additions & 0 deletions frontend/appflowy_web_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@
"coverage": "pnpm run test:unit && pnpm run test:components"
},
"dependencies": {
"@appflowyinc/editor": "^0.0.39",
"@atlaskit/primitives": "^5.5.3",
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@floating-ui/react": "^0.26.27",
"@jest/globals": "^29.7.0",
"@mui/icons-material": "^5.11.11",
"@mui/material": "6.0.0-alpha.2",
Expand All @@ -44,6 +46,7 @@
"decimal.js": "^10.4.3",
"dexie": "^4.0.7",
"dexie-react-hooks": "^1.1.7",
"dompurify": "^3.1.7",
"emoji-mart": "^5.5.2",
"emoji-regex": "^10.2.1",
"escape-string-regexp": "^5.0.0",
Expand All @@ -62,6 +65,7 @@
"katex": "^0.16.7",
"lightgallery": "^2.7.2",
"lodash-es": "^4.17.21",
"mermaid": "^11.4.1",
"nanoid": "^4.0.0",
"notistack": "^3.0.1",
"numeral": "^2.0.6",
Expand Down Expand Up @@ -122,6 +126,7 @@
"@tauri-apps/cli": "^1.5.11",
"@testing-library/react": "^16.0.0",
"@types/cypress-image-snapshot": "^3.1.9",
"@types/dompurify": "^3.0.5",
"@types/google-protobuf": "^3.15.12",
"@types/is-hotkey": "^0.1.7",
"@types/jest": "^29.5.3",
Expand Down
Loading
Loading