Compare commits

...

3483 Commits

Author SHA1 Message Date
Alex Yang
45089e176f v0.8.0-canary.3 2023-07-29 19:40:22 -07:00
Alex Yang
00a41b95b9 feat(plugin-infra): esm simulation in browser (#3464) 2023-07-30 02:23:00 +00:00
Alex Yang
765efd19da v0.8.0-canary.2 2023-07-29 14:33:38 -07:00
Alex Yang
ac59e28fcd feat(plugin-infra): support worker thread in server side (#3462) 2023-07-29 20:57:23 +00:00
Alex Yang
77dab70ff7 feat(plugin-infra): init permission control (#3461) 2023-07-29 20:10:50 +00:00
Alex Yang
0b66e911b1 feat(plugin-infra): support esm bundler (#3460) 2023-07-29 19:07:32 +00:00
JimmFly
6388a798c9 style: adjust active slider bar collection item active style (#3458)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-29 15:22:21 +00:00
Alex Yang
c45149b664 v0.8.0-canary.1 2023-07-29 08:23:38 -07:00
Alex Yang
ce0c1c39e2 feat: improve copilot plugin (#3459) 2023-07-29 07:37:01 +00:00
Alex Yang
52809a2783 refactor: image preview plugin (#3457) 2023-07-29 00:18:28 -07:00
Alex Yang
be3909370e refactor(plugin-infra): split functions (#3451) 2023-07-28 22:28:10 -07:00
Alex Yang
f79733e5df feat(plugin-infra): add package.json schema (#3456) 2023-07-29 05:07:25 +00:00
Alex Yang
2d95de06d6 docs: update rustc version 2023-07-28 21:36:43 -07:00
Alex Yang
97502231a3 v0.8.0-canary.0 2023-07-28 20:18:00 -07:00
Alex Yang
d20a6d2677 chore: bump version (#3449) 2023-07-29 02:53:29 +00:00
Alex Yang
9f43c0ddc8 refactor: plugin loading logic (#3448) 2023-07-29 02:43:52 +00:00
Peng Xiao
4cb1bf6a9f test: add test for sub doc (#3444) 2023-07-28 15:15:32 +00:00
JimmFly
d96263fde9 feat: add read only mode for page in trash (#3440) 2023-07-28 15:01:10 +00:00
JimmFly
ed8b2d9927 chore: update change log link (#3435) 2023-07-28 15:00:03 +00:00
Alex Yang
7b3be389d4 v0.7.0-canary.59 2023-07-27 22:03:23 -07:00
JimmFly
68755f4303 fix: bring back the lost WorkspaceDeleteModal style (#3434) 2023-07-27 21:32:46 -07:00
Alex Yang
0e1f712dcc v0.7.0-canary.58 2023-07-27 20:33:14 -07:00
Alex Yang
0ab1cfdeb6 chore: split vitest (#3426) 2023-07-28 03:06:50 +00:00
Alex Yang
8185ee991b fix: serial build plugins (#3431) 2023-07-28 03:06:37 +00:00
Alex Yang
1001d7462a v0.7.0-canary.57 2023-07-27 17:58:21 -07:00
Alex Yang
f9929ebd61 fix: copilot not working (#3425) 2023-07-28 00:28:21 +00:00
Alex Yang
aa69a7cad2 v0.7.0-canary.56 2023-07-27 14:42:44 -07:00
JimmFly
4de063de98 style: adjust collection modal style (#3407) 2023-07-27 20:37:34 +00:00
Alex Yang
d765d0350d ci: add timeout (#3423) 2023-07-27 20:08:47 +00:00
Alex Yang
d2459a5837 fix(electron): plugin cannot found (#3418) 2023-07-27 19:55:19 +00:00
JimmFly
e1f604d857 refactor: create collection (#3406) 2023-07-27 19:55:04 +00:00
xiaodong zuo
af4e860176 fix: the exported pdf has part white background in dark mode (#3408) 2023-07-27 19:50:20 +00:00
Alex Yang
a3d665503f fix(core): delete page (#3419) 2023-07-27 18:12:11 +00:00
Alex Yang
b47fbde479 fix: improve navigate (#3420) 2023-07-27 18:06:30 +00:00
Pratik Kumar
115f46a4fa test: improve e2e coverage on page deletion (#3416) 2023-07-27 17:42:16 +00:00
Alex Yang
b0f8486ef2 docs: update plugin description 2023-07-27 10:48:45 -07:00
fourdim
57c27e6a4b fix: undefined allDb in firefox (#3417) 2023-07-27 16:30:09 +00:00
Subhadip Sarkar
f591939a6a docs: fix the Linux download button on the readme page (#3413) 2023-07-27 10:08:04 -07:00
Peng Xiao
2d41cce90f fix: sqlite db apply (#3409) 2023-07-27 07:06:06 -07:00
Alex Yang
3b1aff1db1 v0.7.0-canary.55 2023-07-27 07:03:07 -07:00
Alex Yang
3a64b43032 fix(cli): create empty plugin directory 2023-07-27 07:02:06 -07:00
Alex Yang
59f53760d1 v0.7.0-canary.54 2023-07-27 05:58:20 -07:00
Alex Yang
2980c1afac fix: plugin not found (#3415) 2023-07-27 05:56:59 -07:00
Alex Yang
39054a7c3d v0.7.0-canary.53 2023-07-27 05:19:20 -07:00
Alex Yang
4b7e47e265 chore: bump blocksuite (#3404)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-07-27 05:37:38 +00:00
Peng Xiao
4e7824583d build: add AppImage build (#3401) 2023-07-26 22:38:01 -07:00
JimmFly
ba53c74130 fix: unable to add a second collection (#3405) 2023-07-26 22:37:42 -07:00
Qi
bc263e7afb feat: modify current workspace label to a dot (#3399) 2023-07-26 22:37:31 -07:00
JimmFly
bc27412425 feat: support gif toast (#3389) 2023-07-26 22:37:18 -07:00
Qi
fa8086d525 fix: button style error (#3396) 2023-07-26 22:37:00 -07:00
JimmFly
04534c2008 chore: adjust sidebar padding (#3397) 2023-07-26 22:36:45 -07:00
Alex Yang
780fffb88f fix: plugin infra (#3398) 2023-07-26 22:36:29 -07:00
Alex Yang
1e72d3c270 chore: bump version (#3394) 2023-07-27 04:02:18 +00:00
xiaodong zuo
1e38d36161 fix: inconsistent database content in exported PDF (#3385) 2023-07-26 21:26:53 +00:00
JimmFly
bb9908e1fa fix: filter button conflicts with electron header drag event (#3380) 2023-07-26 09:58:40 +00:00
liuyi
6bafa83cef fix(workspace): should avoid sending providers' update back (#3384) 2023-07-26 09:47:24 +00:00
JimmFly
2c249781a2 feat: add new collection button to slider bar (#3369) 2023-07-26 04:32:55 +00:00
Alex Yang
8334ac031b Revert "chore(cli): build infra (#3375)"
This reverts commit 635ca081e4.
2023-07-25 22:04:58 -07:00
Alex Yang
635ca081e4 chore(cli): build infra (#3375) 2023-07-25 23:33:25 +00:00
Alex Yang
10f879f29a refactor(electron): server side plugin (#3360) 2023-07-25 21:32:34 +00:00
Alex Yang
521e505a01 build: update cli (#3374) 2023-07-25 21:32:18 +00:00
Alex Yang
f968587f6f v0.7.0-canary.52 2023-07-25 12:36:30 -07:00
Whitewater
e70f8e74ec chore: allow custom editor spec presets (#3362)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-25 18:57:42 +00:00
Alex Yang
32fd01ed33 build: fix ci (#3373) 2023-07-25 18:41:32 +00:00
TinsFox
00718f8c9a chore: update version label (#3368) 2023-07-25 11:18:02 -07:00
Peng Xiao
20ee9d485d perf: use lazy load provider for IDB and SQLITE (#3351) 2023-07-25 16:56:48 +00:00
JimmFly
e3f66d7e22 style: move trash button group to page bottom (#3352) 2023-07-25 05:21:16 +00:00
JimmFly
be81e63eed chore: update icon size (#3350) 2023-07-24 23:35:10 +00:00
Alex Yang
2cf4e8ebce fix(y-indexeddb): un-track doc when destroy (#3358) 2023-07-24 15:23:16 +00:00
Alex Yang
e6e98975ed fix(core): avoid page full refresh (#3341)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-07-24 09:02:35 +00:00
Peng Xiao
ccb0df10e4 fix: temp workaround for missing blobs in export (#3347) 2023-07-23 10:45:01 +00:00
Alex Yang
dd31d1e8c6 feat(plugin-infra): add plugin cli (#3344) 2023-07-22 17:17:40 +00:00
Alex Yang
a494bad543 chore: bump version (#3346) 2023-07-22 13:10:20 +00:00
danielchim
363699a175 feat: title editing on workspace title (#3139)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-22 13:03:18 +00:00
Qi
439ef1ba90 feat: refactor button with new design (#3343) 2023-07-21 11:07:28 +00:00
Alex Yang
a4f60f22cf v0.7.0-canary.51 2023-07-21 18:46:08 +08:00
Alex Yang
f05cd66368 fix(core): use Link from react-router-dom (#3342) 2023-07-21 10:29:36 +00:00
Peng Xiao
869d98d019 perf: lazy doc provider factory (#3330)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-21 05:23:18 +00:00
JimmFly
cff741e9ba style: add text overflow style for collections (#3292)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-21 03:48:22 +00:00
Alex Yang
9f105b5806 v0.7.0-canary.50 2023-07-21 11:52:50 +08:00
Alex Yang
cac609d36f fix(core): migration (#3322) 2023-07-20 20:16:15 +00:00
Alex Yang
c319e7e707 fix: type check in plugins (#3337) 2023-07-20 19:28:55 +00:00
Alex Yang
c2f6bb152c v0.7.0-canary.49 2023-07-21 01:21:25 +08:00
Alex Yang
f4b3c70fd4 build: move file 2023-07-21 01:20:29 +08:00
Alex Yang
a9db82ea21 v0.7.0-canary.48 2023-07-21 00:56:46 +08:00
Alex Yang
ecf6f98858 chore: bump version (#3333) 2023-07-20 16:39:16 +00:00
Alex Yang
e3a6204f2d fix: lockdown (#3336) 2023-07-20 16:04:26 +00:00
Alex Yang
19055baa49 feat: init new plugin system (#3323) 2023-07-20 10:52:29 +00:00
Alex Yang
604b53d9a4 feat: init doc monitor (#3320) 2023-07-20 02:44:50 +00:00
Alex Yang
27edd7cd93 fix: enable strict mode (#3321) 2023-07-20 01:59:58 +00:00
Alex Yang
fbd5b36170 feat: use string on origin (#3319) 2023-07-19 16:15:48 +00:00
Alex Yang
19925038ba fix(core): css.ts hmr (#3317) 2023-07-19 15:52:21 +00:00
Alex Yang
ae182bfd78 chore: update runtime (#3312) 2023-07-19 09:58:51 +00:00
Alex Yang
710b34a13a chore(core): update webpack hash logic (#3308) 2023-07-19 07:19:27 +00:00
Alex Yang
8e9535dd27 fix(core): plugin (#3307) 2023-07-19 07:00:42 +00:00
JimmFly
f4aa249138 fix: banner blocking new page button issue (#3301) 2023-07-19 04:51:15 +00:00
Alex Yang
57bac5d36b chore: bump version (#3298) 2023-07-19 04:31:57 +00:00
Alex Yang
b6e5618a2e chore(core): fix missing stuff (#3302) 2023-07-19 04:30:04 +00:00
Alex Yang
e475aa4c99 feat: add bootstrap (#3299) 2023-07-19 03:58:23 +00:00
Alex Yang
4ced66c236 chore: remove next.js dependency (#3297) 2023-07-19 03:13:14 +00:00
Alex Yang
1abcdee2f0 fix(cli): update dev-core (#3296) 2023-07-19 02:55:56 +00:00
Alex Yang
47f12f77f2 refactor!: remove next.js (#3267) 2023-07-18 16:53:10 +00:00
Whitewater
79227a1e7c chore: update block card styles (#3290) 2023-07-18 11:45:03 +00:00
Whitewater
bf41b25988 feat: new import page component (#3277) 2023-07-18 05:36:14 +00:00
Alex Yang
41edacfc81 build: fix nx inputs 2023-07-18 12:59:25 +08:00
JimmFly
9b32db9f62 chore: increase the frequency of the banner (#3264) 2023-07-17 09:45:02 +00:00
JimmFly
f21eb5f272 feat: move plugins config to setting (#3259) 2023-07-17 09:25:00 +00:00
JimmFly
d4cd0e763d fix: temporarily handle all page scroll bar styles (#3269) 2023-07-17 08:04:12 +00:00
Camol
8f06854130 feat(i18n): support i18n in app version (#3263) 2023-07-17 08:03:50 +00:00
Peng Xiao
81bad608bc fix: disable updater button when app updating (#3268) 2023-07-17 07:49:03 +00:00
Alex Yang
eeed398155 fix(plugin-infra): react as peer dependency (#3260) 2023-07-17 15:48:32 +08:00
xiaodong zuo
f173c8b183 chore: update blocksuite version (#3261) 2023-07-17 06:44:53 +00:00
Alex Yang
071d582250 fix: first workspace not found (#3258) 2023-07-17 05:00:30 +00:00
JimmFly
e8f8bd21cf chore: upadete onboarding video and changlog link (#3255) 2023-07-17 04:31:07 +00:00
Alex Yang
c0749fbb9f refactor: use useCallback (#3254) 2023-07-17 03:31:06 +00:00
Si Yang
b317a3e506 docs: update building-desktop-client-app.md (#3248) 2023-07-17 03:11:31 +00:00
Alex Yang
06184a765c fix(plugin-infra): dependencies (#3252) 2023-07-17 03:11:02 +00:00
Alex Yang
a2dae0d592 v0.7.0-canary.47 2023-07-16 23:27:39 +08:00
Alex Yang
202e9b8fe3 chore: bump version (#3250)
Co-authored-by: Alex Yang <himself65@Alexs-MacBook-Pro.local>
2023-07-16 15:13:00 +00:00
angle
ce23817c11 fix: pwa icon (#3246) 2023-07-15 23:20:29 +08:00
Alex Yang
c49cf1c53c fix: create first workspace logic (#3241) 2023-07-14 09:54:11 +00:00
Alex Yang
1bc427e7a6 fix: migration logic (#3238) 2023-07-14 09:28:15 +00:00
Alex Yang
ea592eb150 fix: remove hello-world page (#3234) 2023-07-14 07:49:34 +00:00
Alex Yang
5864f8cb9a refactor: simplify code (#3231) 2023-07-14 07:47:51 +00:00
Alex Yang
2be0ae8906 revert: use stable react (#3228) 2023-07-14 05:33:43 +00:00
Peng Xiao
9a85a14970 fix: internal build updater (#3229) 2023-07-14 05:21:43 +00:00
Alex Yang
6b0d048156 v0.7.0-canary.46 2023-07-14 11:30:06 +08:00
Alex Yang
3421c2803a fix(plugin-infra): dependencies (#3226) 2023-07-14 03:18:08 +00:00
Alex Yang
af6807826b v0.7.0-canary.45 2023-07-14 01:01:58 +08:00
Alex Yang
1336ec562e chore: bump version (#3223) 2023-07-13 16:40:44 +00:00
Alex Yang
1f5995ffc7 refactor(plugin-infra): workspace loading (#3222) 2023-07-13 15:52:06 +00:00
3720
23ac82f845 fix: can't go back to all pages by click All Pages button (#3219) 2023-07-13 15:26:12 +00:00
Alex Yang
492852ba0c refactor: mode atom (#3221) 2023-07-13 15:11:00 +00:00
Alex Yang
d18df12951 test: add workspace ref in e2e (#3217) 2023-07-13 12:41:46 +00:00
Alex Yang
64cf297399 refactor(web): move current atoms into plugin infra (#3220) 2023-07-13 12:14:30 +00:00
Alex Yang
0230cea16e refactor: move test utils to package (#3206) 2023-07-13 09:05:01 +00:00
Alex Yang
4f5ed30298 v0.7.0-canary.44 2023-07-13 17:07:14 +08:00
3720
9c5d91a1d9 fix: collections should be unique for workspaces (#3213) 2023-07-13 08:42:20 +00:00
Alex Yang
24a5b54b67 fix: fullscreen settting not working (#3215)
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
2023-07-13 16:31:17 +08:00
xiaodong zuo
8be6676ddb chore: update blocksuite version (#3209)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-13 07:31:13 +00:00
Alex Yang
6a2dbc0105 fix: page id could be invalid (#3204) 2023-07-13 04:18:18 +00:00
Alex Yang
5dda7d83da fix: block hub might not work (#3199) 2023-07-12 18:02:00 +00:00
Alex Yang
c066224a95 v0.7.0-canary.43 2023-07-13 01:27:02 +08:00
Alex Yang
e475a9cdbc chore: bump version (#3197) 2023-07-12 16:25:35 +00:00
Alex Yang
73a47f31a7 chore: bump version (#3196) 2023-07-12 15:44:48 +00:00
Alex Yang
4109490789 v0.7.0-canary.42 2023-07-12 23:01:11 +08:00
Peng Xiao
e813436af7 fix: iconUrl for windows build (#3194) 2023-07-12 14:35:45 +00:00
Alex Yang
5b87d90ffe fix: first page id conflict (#3192) 2023-07-12 10:43:52 +00:00
Alex Yang
ccbae6f496 fix: unexpected jump 404 page (#3190) 2023-07-12 10:18:02 +00:00
JimmFly
1ac1c33bb1 style: update delete button style (#3180) 2023-07-12 09:23:39 +00:00
Peng Xiao
bd42380f8a fix: add default fonts (#3185) 2023-07-12 08:43:25 +00:00
xiaodong zuo
30dee18835 fix: enhancing the security of image proxy (#3176) 2023-07-12 08:35:46 +00:00
Alex Yang
b509302711 v0.7.0-canary.41 2023-07-12 14:49:08 +08:00
Alex Yang
e51c98c1dd chore: bump version (#3179) 2023-07-12 06:21:11 +00:00
Alex Yang
bbb1387469 feat: display app version in setting panel (#3170) 2023-07-12 02:39:00 +00:00
xiaodong zuo
4f88774999 fix: the image lost after exporting (#3150)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-12 02:21:23 +00:00
Alex Yang
3968deb6d4 feat: add suspense to workspace settings (#3167)
Co-authored-by: Qi <474021214@qq.com>
2023-07-11 15:50:30 +00:00
Alex Yang
37c8465af8 fix: jump to index page after deletion (#3169) 2023-07-11 15:44:00 +00:00
Peng Xiao
d88a21d24a fix: settings style update (#3161) 2023-07-11 12:55:28 +00:00
3720
6ad2d106bc fix: some typo and i18n (#3155) 2023-07-11 11:04:45 +00:00
Alex Yang
8c1fcee135 refactor: remove unused code (#3149) 2023-07-11 08:53:01 +00:00
Peng Xiao
0514da9759 fix: updater not working (#3144) 2023-07-11 07:06:04 +00:00
JimmFly
b2fed03f30 style: modify the style of community item (#3143) 2023-07-11 06:44:06 +00:00
Alex Yang
f5e45573af v0.7.0-canary.40 2023-07-11 12:59:12 +08:00
Alex Yang
ddb2931f38 fix: remove workspace not working (#3140) 2023-07-11 04:37:47 +00:00
Alex Yang
acf17ebace chore: bump version (#3138) 2023-07-11 04:28:01 +00:00
Alex Yang
7af3c05b8b v0.7.0-canary.39 2023-07-10 21:00:06 +08:00
Alex Yang
01de2ae714 revert: restrict node version 2023-07-10 20:51:49 +08:00
Qi
cfa18d1bc3 fix: font style setting only control editor's font (#3117)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-10 11:58:53 +00:00
Alex Yang
127c63601e chore: bump version (#3131) 2023-07-10 11:34:43 +00:00
LongYinan
f079b0b49a fix: add semver into server dependencies 2023-07-10 19:32:39 +08:00
Alex Yang
6caf934d47 refactor: follow correct react rules (#3119) 2023-07-10 10:32:15 +00:00
Qi
2f910fbad0 feat: modify setting modal entry in quick search modal (#3089) 2023-07-10 09:28:14 +00:00
Peng Xiao
dac4e390aa fix: add DB migration to add workspace (#3115) 2023-07-10 08:03:18 +00:00
JimmFly
812e0e9c9a style: change switch tip color (#3123) 2023-07-10 07:00:23 +00:00
Alex Yang
05291a8a36 chore: restrict node version (#3120) 2023-07-10 06:19:59 +00:00
JimmFly
8bcc4d6a57 test: fix incorrect day suffix (#3121) 2023-07-10 05:56:12 +00:00
danielchim
e06d5e1c8d fix: page mode shortcut (#3097) 2023-07-09 18:37:49 +00:00
Alex Yang
1c8895f23f feat: improve error log message (#3112) 2023-07-09 05:54:53 +00:00
Alex Yang
8b5d997322 refactor(hooks): reduce null types (#3111) 2023-07-09 05:01:09 +00:00
Peng Xiao
33644a68b2 fix: disable move db by default (#3105)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-09 03:37:39 +00:00
mon-jai
bc85ad5b65 fix: sidebar noise background on Windows (#3107) 2023-07-08 16:41:07 +00:00
Alex Yang
fe895905bd v0.7.0-canary.38 2023-07-08 15:57:31 +08:00
Alex Yang
3c5ccd7231 fix: init workspace before loaded (#3104) 2023-07-08 07:42:30 +00:00
Alex Yang
da140b0b85 chore: remove unused code (#3102) 2023-07-08 06:49:11 +00:00
Alex Yang
c4d53d59b5 test: fix flaky (#3100) 2023-07-08 06:30:17 +00:00
boomlion8
a48726d088 fix: color of UI in dark mode (#3081)
Co-authored-by: boomlion8 <201116201@manit.ac.in>
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-08 06:00:03 +00:00
Alex Yang
b49306607b feat: improve workspace hook (#3099) 2023-07-08 05:43:39 +00:00
Alex Yang
3d15c60cb1 v0.7.0-canary.37 2023-07-08 02:55:18 +08:00
Alex Yang
283f0cd263 refactor: lazy load workspaces (#3091) 2023-07-07 14:15:27 +00:00
JimmFly
66152401be chore: add new item for share component (#3084) 2023-07-07 13:16:49 +00:00
Qi
b12412a3c1 feat: add font style setting (#3092) 2023-07-07 11:59:38 +00:00
Peng Xiao
ce1e8d868c fix: a possible issue on electron flaky test (#3094) 2023-07-07 11:02:58 +00:00
Alex Yang
3294043180 perf: reduce unused provider connection (#3090) 2023-07-07 08:13:32 +00:00
Alex Yang
152fbaabda ci: fix nx.yml (#3086) 2023-07-07 05:37:40 +00:00
JimmFly
5756bdf8d7 style: adjust settings style (#3083) 2023-07-07 05:36:27 +00:00
Alex Yang
80ee33fd3e chore: bump version (#3078) 2023-07-07 01:55:11 +00:00
Alex Yang
955d80e2c1 test: image preview e2e (#3080)
Co-authored-by: danielchim <kahungchim@gmail.com>
2023-07-06 23:24:03 +00:00
Alex Yang
67fe7f04da build: fix nx inputs (#3079) 2023-07-07 01:15:04 +08:00
Alex Yang
6395521f09 test: upgrade playwright (#3077) 2023-07-06 16:15:18 +00:00
Alex Yang
822078e640 fix: cleanup workspace when switch setting panel (#3072) 2023-07-06 15:27:09 +00:00
Alex Yang
fafd93f7dc refactor: block-hub in tool wrapper (#3073) 2023-07-06 15:18:58 +00:00
Peng Xiao
00ce086e79 fix: workspace storage settings issues (#3055) 2023-07-06 12:48:20 +00:00
Alex Yang
28653d6892 fix(web): setting panel refresh (#3070) 2023-07-06 11:24:26 +00:00
Alex Yang
e30c67482f fix(web): fetch hello-world from local (#3062) 2023-07-06 09:46:17 +00:00
Pratik Kumar
bda28e0404 fix(component): new page button in all page (#3053) 2023-07-06 09:40:37 +00:00
Alex Yang
ce63364299 fix(component): image preview fallback (#3058) 2023-07-06 09:22:23 +00:00
JimmFly
f468dff6aa chore: update communities link and icon (#3052) 2023-07-06 07:24:36 +00:00
Peng Xiao
fab03006e8 fix: menu item click area (#3051) 2023-07-06 06:53:50 +00:00
JimmFly
8a565b8633 fix: date-picker hidden in update collection (#3045) 2023-07-06 06:17:19 +00:00
Alex Yang
e79a6a5d47 v0.7.0-canary.36 2023-07-06 14:07:27 +08:00
Pratik Kumar
95c2e20cb5 fix(component): all page list UI padding (#3046)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-06 05:56:08 +00:00
JimmFly
2e0f410978 chore: temporary fix sync script error (#3044) 2023-07-06 12:30:01 +08:00
Alex Yang
fa1cd87348 chore: bump version (#3041) 2023-07-06 03:49:17 +00:00
Alex Yang
e95d28e136 fix: workspace name should change in the setting panel (#3039) 2023-07-06 02:19:06 +00:00
Qi
87ba71e77e fix: a series of setting issues (#3032) 2023-07-05 14:11:42 +00:00
Peng Xiao
dec0c0d3d1 fix: delete workspace in settings (#3030) 2023-07-05 10:31:11 +00:00
Peng Xiao
776172bc88 fix: updater issues (#3027) 2023-07-05 09:29:11 +00:00
Alex Yang
d582548ed8 v0.7.0-canary.35 2023-07-05 16:02:31 +08:00
Alex Yang
70ac31b907 build: remove legacy cloud config (#3024) 2023-07-05 06:57:56 +00:00
Alex Yang
cff9fd1ead chore: bump version (#3023) 2023-07-05 06:54:09 +00:00
Alex Yang
319febb00d docs: update README.md 2023-07-05 14:31:47 +08:00
3720
72fa2da2d3 fix: tags does not exist (#3020) 2023-07-05 04:06:44 +00:00
Alex Yang
3084c427f1 feat: update server login feature (#3004)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-07-05 03:13:20 +00:00
3720
9cd1f013f8 fix: flaky tests (#3019) 2023-07-05 02:50:43 +00:00
Alex Yang
a3f58d4302 v0.7.0-canary.34 2023-07-05 02:23:53 +08:00
Alex Yang
d4cb89eafc chore: bump version (#3016) 2023-07-04 17:52:40 +00:00
Peng Xiao
33ba034336 fix: sqlite provider import sub doc db file (#2991)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-04 17:47:42 +00:00
Alex Yang
e158c09160 chore: update pre-commit (#3017) 2023-07-04 17:42:14 +00:00
JimmFly
c6ccd6d5de chore: update setting text (#3000) 2023-07-04 17:40:58 +00:00
Alex Yang
ec87864c34 refactor: simplify code (#3015) 2023-07-04 17:34:22 +00:00
Alex Yang
a06ba403d0 ci: check macOS arm64 bundle output (#3012) 2023-07-04 16:59:00 +00:00
Alex Yang
dfbec46ded feat(electron): move preload to infra (#3011) 2023-07-04 16:43:30 +00:00
Alex Yang
24be73ef63 chore: bump nx (#3014) 2023-07-04 16:26:43 +00:00
Alex Yang
3976c37d41 v0.7.0-canary.33 2023-07-04 21:52:04 +08:00
Fangdun Tsai
2bc15665b9 chore(electron): renaming clipboard api (#3005) 2023-07-04 12:51:59 +00:00
Alex Yang
e4539dfeb1 fix: bookmark block output missing (#3010) 2023-07-04 12:48:47 +00:00
Qi
1070e17310 feat: modify setting modal (#3008) 2023-07-04 12:37:46 +00:00
Alex Yang
b4f7eb36ef v0.7.0-canary.32 2023-07-04 16:12:09 +08:00
3720
000f802baa feat: add tags support (#2988)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-04 07:32:11 +00:00
Alex Yang
e871ffcba0 refactor: input component (#2999) 2023-07-04 06:52:46 +00:00
Alex Yang
8d2ffe3936 chore: bump version (#2998) 2023-07-04 06:47:35 +00:00
ShortCipher5
9e253420d2 docs: update README.md (#2997) 2023-07-04 14:13:25 +08:00
Alex Yang
edb7847e95 test: use static server (#2996) 2023-07-04 05:37:06 +00:00
Alex Yang
3d70148e0f chore: add circular check (#2995) 2023-07-04 04:54:08 +00:00
Alex Yang
7f89b197da build: enable next server (#2992) 2023-07-04 01:59:06 +00:00
danielchim
32692bd54a feat: page mode shortcut (#2985) 2023-07-03 16:23:53 +00:00
Alex Yang
7b2acec7c3 v0.7.0-canary.31 2023-07-03 23:14:38 +08:00
Alex Yang
f1adf23631 chore: bump version (#2989) 2023-07-03 14:51:49 +00:00
Alex Yang
a5d2fafad6 refactor: remove legacy cloud (#2987) 2023-07-03 14:29:37 +00:00
xiaodong zuo
3d0a907b49 fix: dark mode export PDF leaves margin and notification (#2978) 2023-07-03 12:11:07 +00:00
LongYinan
bacd00655d ci: reduce yarn cache (#2983) 2023-07-03 11:09:17 +00:00
Peng Xiao
08e003b0f6 fix: potential updater issue (#2973) 2023-07-03 11:04:45 +00:00
Alex Yang
0f1c5163a1 feat: remove old setting page by default (#2980) 2023-07-03 10:59:23 +00:00
JimmFly
18874d0d1e chore: add import to sidebar (#2981) 2023-07-03 10:51:28 +00:00
Peng Xiao
7f0a74c694 fix: some potential tests issue (#2982) 2023-07-03 10:46:47 +00:00
Peng Xiao
901fc87716 fix: potential race condition on app load when migration (#2977)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-03 09:40:02 +00:00
Alex Yang
ee2ab4086f fix(web): hydration issue (#2974) 2023-07-03 09:06:12 +00:00
JimmFly
af94674c18 style: adjust icon button hover color (#2976) 2023-07-03 08:46:16 +00:00
Alex Yang
262289a398 chore: add affine-cloud build config (#2971) 2023-07-03 07:25:14 +00:00
Alex Yang
467eab4ddf build: update build config (#2967) 2023-07-03 06:17:13 +00:00
Alex Yang
63517e4912 chore: update 'lint-staged' rules (#2969) 2023-07-03 06:00:50 +00:00
JimmFly
6f9487deb7 style: adjust copilot chat style (#2915) 2023-07-03 05:57:30 +00:00
JimmFly
8d0edd5255 i18n: update translation resources (#2968) 2023-07-03 05:15:46 +00:00
Qi
bdea153c82 feat: modify preloading data (#2947) 2023-07-03 02:49:55 +00:00
Alex Yang
d447883b7d v0.7.0-canary.30 2023-07-02 14:18:33 +08:00
Alex Yang
03ec51a96c chore: bump version 2023-07-02 14:17:22 +08:00
Alex Yang
0adf18f5e6 v0.7.0-canary.29 2023-07-02 14:06:14 +08:00
Alex Yang
5e7dc9ff21 chore: bump version (#2960) 2023-07-02 05:26:47 +00:00
Alex Yang
33097382c6 chore: replace 'eslint-plugin-import' (#2957) 2023-07-01 16:35:16 +00:00
Alex Yang
b9df2cdabb ci: update labeler.yml 2023-07-01 23:13:35 +08:00
Alex Yang
158338508a ci: use yarn run test 2023-07-01 23:08:14 +08:00
Alex Yang
640967d9ae v0.7.0-canary.28 2023-07-01 21:35:05 +08:00
Alex Yang
ec973395da fix: remove export script 2023-07-01 21:34:24 +08:00
Alex Yang
b35d99d935 v0.7.0-canary.27 2023-07-01 21:29:11 +08:00
Alex Yang
c0f6e751d2 build: update nx.json 2023-07-01 18:58:14 +08:00
Alex Yang
6af454ceed chore: improve ci build speed (#2953) 2023-07-01 10:47:26 +00:00
Alex Yang
ed829dd43b build: update nx.json 2023-07-01 16:54:21 +08:00
Alex Yang
a9adb4dda2 build: fix nx.json (#2951) 2023-07-01 16:34:30 +08:00
Alex Yang
54a7eeda37 chore: bump version (#2950) 2023-07-01 16:26:43 +08:00
Alex Yang
711e683c6f build: skip type check in next.js build (#2952) 2023-07-01 16:22:21 +08:00
Alex Yang
81c5e6d3d2 build: enhance nx build (#2948) 2023-07-01 01:17:31 +08:00
3720
7a5a5d503a chore: adjust icon and style (#2949) 2023-06-30 23:38:47 +08:00
Alex Yang
b597dbd80f docs: update react badge 2023-06-30 18:03:20 +08:00
Alex Yang
ebdf724012 v0.7.0-canary.26 2023-06-30 17:39:42 +08:00
Alex Yang
14f63e91a9 ci: fix build desktop 2023-06-30 17:39:11 +08:00
Alex Yang
ad218ec65d ci: update paths-ignore 2023-06-30 17:39:11 +08:00
Alex Yang
9fda82564b ci: chmod 777 on output directory 2023-06-30 17:39:11 +08:00
Alex Yang
a52fc54d80 v0.7.0-canary.25 2023-06-30 16:27:59 +08:00
Alex Yang
524c342b5e chore: bump blocksuite to '0.0.0-20230630081054-55a25248-nightly' (#2944) 2023-06-30 16:27:38 +08:00
regischen
f4fc084a0a fix(web): migrate connector (#2941)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-30 16:11:04 +08:00
Alex Yang
38a2aa9d17 build(electron): use nx (#2942) 2023-06-30 16:10:35 +08:00
Peng Xiao
9e90242ddb fix: disable sqlite blob storage (#2943) 2023-06-30 16:09:43 +08:00
Alex Yang
fd0c1da608 fix(cli): run dev-web crash 2023-06-30 15:58:13 +08:00
Alex Yang
68c4fccf98 ci: cancel previous build (#2794) 2023-06-30 07:39:27 +00:00
Alex Yang
3c93f4162d build: remove unused package (#2937) 2023-06-30 07:09:12 +00:00
Alex Yang
b6c314e180 refactor(cli): use typescript (#2938) 2023-06-30 06:58:57 +00:00
Alex Yang
62b465a889 ci: build infra code before build layers 2023-06-30 15:20:36 +08:00
3720
9d0db78f64 feat: support for view management (#2892) 2023-06-30 05:40:00 +00:00
Fangdun Tsai
d3393cb0fc feat: expose clipboard apis (#2932) 2023-06-30 04:47:30 +00:00
Alex Yang
79cded302f chore: bump blocksuite to 0.0.0-20230629103121-76e6587d-nightly (#2931) 2023-06-30 04:36:56 +00:00
Alex Yang
53d90a11de chore: tag deprecated files (#2936) 2023-06-30 04:01:14 +00:00
Alex Yang
271ad57160 feat: special ip address 'localhost' (#2935) 2023-06-30 03:54:24 +00:00
Alex Yang
4adbe64a54 fix(web): disable notification center (#2934) 2023-06-30 03:29:05 +00:00
DarkSky
50a8a147fd ci: make helm release only on bump version (#2928) 2023-06-30 02:02:46 +00:00
Ikko Eltociear Ashimine
eaea8e9368 refactor: fix typo in notification-center/index.tsx (#2929) 2023-06-30 09:55:09 +08:00
Hyden Liu
9873baae9f fix: z-index on app sidebar (#2761)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-06-30 01:14:44 +00:00
xiaodong zuo
bc3ce7395e feat: export page as file (#2923) 2023-06-29 21:58:02 +00:00
Alex Yang
8a7908c692 fix(electron): window only ui (#2926) 2023-06-29 16:15:44 +00:00
LongYinan
8021efd81a build: affine Node.js server charts (#2895) 2023-06-29 14:02:46 +00:00
Qi
d7fcad2d0d feat: add and modify test case for new settings modal (#2925) 2023-06-29 12:54:45 +00:00
Alex Yang
b1d2d77263 docs: set nodejs version to 18.16.1 2023-06-29 20:00:57 +08:00
Alex Yang
2c772bd81b v0.7.0-canary.24 2023-06-29 18:50:48 +08:00
JimmFly
7f00011542 chore: update changelog link and remove obsolete changelog components (#2918) 2023-06-29 10:19:26 +00:00
Alex Yang
f76d8b8818 chore: bump blocksuite to 0.0.0-20230629084521-542de4e8-nightly (#2921) 2023-06-29 09:42:47 +00:00
Alex Yang
1d6b39dec9 ci: allow codecov upload failure (#2922) 2023-06-29 09:39:16 +00:00
Qi
5cfdf6c7e2 fix: a serise of ui issues of new setting (#2920)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-29 09:25:42 +00:00
Alex Yang
8410d83744 refactor: rootWorkspacesMetadataAtom loading logic (#2882) 2023-06-29 08:48:12 +00:00
DarkSky
8a2dac9718 fix: incorrect formatting (#2917) 2023-06-29 08:25:43 +00:00
JimmFly
5ad2908760 chore: update translation (#2916)
Co-authored-by: zuozijian3720 <zuozijian1994@gmail.com>
2023-06-29 08:20:25 +00:00
Alex Yang
5b8771485e docs: add apps/README.md 2023-06-29 16:07:30 +08:00
Alex Yang
ed8480caf0 ci: split migration test 2023-06-29 15:11:16 +08:00
Alex Yang
42ef3c0fc2 test: migration test in real world (#2885) 2023-06-29 06:50:26 +00:00
Alex Yang
e08ee9b7ff ci: add prettier format check (#2908) 2023-06-29 04:13:35 +00:00
liuyi
2c95bfcc3d feat(storage): binding jwst storage to node (#2808) 2023-06-29 01:45:45 +00:00
Alex Yang
86616e152d build: disable sqlite provider in canary 2023-06-29 10:00:41 +08:00
Peng Xiao
b1f478ee5e fix: updater color updates (#2913) 2023-06-28 17:21:07 +00:00
DarkSky
6b0f9fbdad feat: add deployment guide & fix pod label (#2912) 2023-06-28 17:12:23 +00:00
Alex Yang
da3f2b784a ci: fix output variable 2023-06-29 01:20:35 +08:00
Alex Yang
acb140ab78 v0.7.0-canary.23 2023-06-29 00:40:50 +08:00
Alex Yang
0b74bd9bfe ci: use production environment 2023-06-29 00:40:50 +08:00
Alex Yang
acfc030d16 ci: fix package version output 2023-06-29 00:40:50 +08:00
Alex Yang
d0d04ce376 v0.7.0-canary.22 2023-06-29 00:27:17 +08:00
Alex Yang
2250f42d2a ci: fix tag version 2023-06-29 00:26:48 +08:00
Alex Yang
887434fea4 v0.7.0-canary.21 2023-06-29 00:23:06 +08:00
Alex Yang
9b817c4b79 ci: automatically build canary release (#2911) 2023-06-28 15:53:32 +00:00
Alex Yang
ea03bbfb2d ci: add codeql check to merge group (#2909) 2023-06-28 15:07:27 +00:00
Qi
db40cd35c6 feat: migrate workspace setting with new design to setting modal (#2900)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-28 14:45:33 +00:00
Alex Yang
aabac9e921 chore: bump typescript version (#2906) 2023-06-28 12:57:33 +00:00
Alex Yang
0a91c41e0a chore: codesandbox setup (#2907) 2023-06-28 12:32:56 +00:00
DarkSky
d6addc0d0b docs: improve helm ci & document (#2902) 2023-06-28 12:30:02 +00:00
Alex Yang
91d3b76be5 refactor(storybook): move to apps folder (#2901) 2023-06-28 12:29:52 +00:00
Alex Yang
3eed009270 feat: add rule 'sonarjs/no-identical-functions' (#2905) 2023-06-28 12:29:12 +00:00
Alex Yang
bc14d54cfa chore: update pre-commit hook (#2904) 2023-06-28 11:24:37 +00:00
Alex Yang
5496969e58 refactor: environment setup (#2898)
Co-authored-by: Simon He <57086651+Simon-He95@users.noreply.github.com>
2023-06-28 11:19:19 +00:00
Alex Yang
80c2a78273 fix(web): bypass adapter list error (#2903) 2023-06-28 11:06:13 +00:00
Alex Yang
92f378aefc test(server): watch mode (#2893) 2023-06-28 10:00:06 +00:00
Alex Yang
877ceee698 ci: enable merge group (#2899) 2023-06-28 09:56:02 +00:00
Alex Yang
7960b6a22e feat: update migration test page (#2871) 2023-06-28 16:46:08 +08:00
Alex Yang
fa45d8a718 build: unify build flags (#2891) 2023-06-28 16:45:05 +08:00
Alex Yang
87574c9993 build: fix i18n output (#2896) 2023-06-28 16:40:41 +08:00
Alex Yang
2dd62f7603 v0.7.0-canary.20 2023-06-28 16:03:21 +08:00
Peng Xiao
79b3b1dabc fix: disable sqlite provider (#2888)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-28 15:01:15 +08:00
regischen
fd0aa4a2ee fix: migration props:elements (#2889) 2023-06-28 14:24:14 +08:00
3720
da57fbeadd fix: database migration (#2887) 2023-06-28 13:44:11 +08:00
JimmFly
3f12e4925f style: remove switch button shadow (#2890) 2023-06-28 05:07:33 +00:00
Alex Yang
21cb05a30c build(web): fix debug local (#2886) 2023-06-28 11:43:13 +08:00
Kushagra Singh
7a8ff2c489 docs: update CLA.md (#2884) 2023-06-28 03:12:15 +08:00
Alex Yang
d108434881 fix: preloading page (#2876)
Co-authored-by: Mirone <Saul-Mirone@outlook.com>
2023-06-28 03:11:14 +08:00
Alex Yang
20fd9b6574 feat: upload 0.7.0-canary.18 static output (#2883) 2023-06-28 03:10:08 +08:00
Alex Yang
26ac56e163 test: remove deprecated test (#2880) 2023-06-28 00:53:04 +08:00
Alex Yang
78b74d5b15 feat(docs): update document (#2877) 2023-06-28 00:52:42 +08:00
DarkSky
1556167262 feat: add helm releaser (#2875) 2023-06-28 00:16:40 +08:00
Alex Yang
5186710f84 v0.7.0-canary.19 2023-06-27 23:13:01 +08:00
JimmFly
c7f25e8fe3 fix: incorrect scrollbar position when opening full width layout (#2869)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-27 14:15:34 +00:00
Alex Yang
ab703fe3ae test: fix image preview (#2874) 2023-06-27 21:05:24 +08:00
DarkSky
5275ff5493 feat: add affine cloud helm config (#2870) 2023-06-27 21:00:41 +08:00
Alex Yang
4fad21fe5c fix: remove preloading page (#2873) 2023-06-27 20:00:06 +08:00
JimmFly
eec2074b88 style: add hover style for filter item (#2868) 2023-06-27 19:02:46 +08:00
LongYinan
dd58b1bbf6 build: docker images (#2860) 2023-06-27 17:23:19 +08:00
Peng Xiao
05452bb297 feat: sqlite subdocument (#2816)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-27 07:40:37 +00:00
danielchim
4307e1eb6b fix: image preview (#2818) 2023-06-27 15:26:57 +08:00
JimmFly
10c7f93a85 style: add hover style for scrollbar (#2867) 2023-06-27 15:26:13 +08:00
Alex Yang
adca2a7225 chore: bump version (#2866) 2023-06-27 13:23:54 +08:00
Alex Yang
eb3f160a64 chore: bump version (#2862) 2023-06-27 11:32:24 +08:00
Alex Yang
53488a1498 build: remove image preview config (#2861) 2023-06-27 10:59:24 +08:00
DarkSky
d46b6c4863 feat: new workspace apis (#2825) 2023-06-26 22:12:58 +08:00
Alex Yang
e3ffd04804 feat(docs): bootstrapping using blocksuite (#2859) 2023-06-26 21:39:07 +08:00
Alex Yang
bddcfe1b8b chore: bump version (#2858) 2023-06-26 17:58:24 +08:00
Believerd
f18d07a4a2 docs: added note for building native dependencies (#2851) 2023-06-26 17:34:48 +08:00
Alex Yang
44166f7256 fix(docs): defer entry js (#2856) 2023-06-26 16:59:42 +08:00
Alex Yang
8e82d1e02c feat: support migration (#2852) 2023-06-26 15:55:44 +08:00
JimmFly
002e64c819 style: add scrollbar (#2826) 2023-06-26 15:12:44 +08:00
Alex Yang
773d92760e feat: add migration test page (#2855) 2023-06-26 13:42:07 +08:00
Mirone
84c8828e8c feat: add migration script for database (#2854) 2023-06-26 12:16:30 +08:00
himself65
fb6de18b2f feat(docs): update home page 2023-06-25 22:25:13 +08:00
Alex Yang
d525bd9113 feat: init @affine/docs (#2849) 2023-06-25 21:18:23 +08:00
Alex Yang
d8bb51a222 chore: bump version (#2848) 2023-06-25 18:37:20 +08:00
Alex Yang
da4d89275f chore: bump version (#2847) 2023-06-25 17:47:48 +08:00
Alex Yang
9bf5ea3e56 chore: bump version (#2846) 2023-06-25 17:16:03 +08:00
Alex Yang
7fcc5e599e feat!: upgrade blocksuite version (#2833) 2023-06-25 01:16:46 +08:00
Qi
aa86d3a2ee feat: new setting modal (#2834)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-21 19:57:59 +08:00
LongYinan
9a90ce694c chore(server): commit server generated gql file to prevent build fail (#2835) 2023-06-21 07:22:47 +00:00
LongYinan
9b3fa43b81 feat(server): auth server (#2773) 2023-06-21 06:08:32 +00:00
himself65
2698e7fd0d fix(y-indexeddb): remove .js suffix 2023-06-21 11:25:14 +08:00
Alex Yang
58fd3857c0 fix(y-indexeddb): test cases (#2832) 2023-06-20 22:01:47 +08:00
Peng Xiao
3755661ff6 fix: incorrect bookmark toast text (#2815)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-20 19:14:15 +08:00
himself65
c649995a7a build: update changelogUrl 2023-06-20 18:58:05 +08:00
himself65
448d3731e5 build: update nx.json 2023-06-20 18:08:48 +08:00
3720
019a2f57cb fix: e2e test (#2828)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-20 17:15:49 +08:00
himself65
6f9bb024be build: update nx.json 2023-06-20 13:41:58 +08:00
Mirone
707d585698 feat: add subdoc migration script (#2820)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-20 11:20:12 +08:00
Alex Yang
b73c75182f refactor: simplify rpc code (#2823) 2023-06-19 23:27:27 +08:00
Alex Yang
775d6212d3 build: fix nx config (#2824) 2023-06-19 23:07:40 +08:00
Alex Yang
357ff9853d fix: native build (#2822) 2023-06-19 18:21:34 +08:00
DarkSky
cd7892b7ed chore: update nx cloud read only token (#2821) 2023-06-19 17:38:26 +08:00
himself65
9512964366 build: fix publish.sh 2023-06-19 11:18:54 +08:00
Alex Yang
5473a12c0e build: fix nx output (#2817) 2023-06-19 11:13:59 +08:00
Alex Yang
c249cdf76a build: enable nx cloud (#2812) 2023-06-17 19:36:55 +08:00
Alex Yang
0e01094ffd ci: use nx on rust build (#2811) 2023-06-17 17:49:07 +08:00
Alex Yang
c68220166a feat(y-indexeddb): remove id (#2810) 2023-06-17 13:58:48 +08:00
Alex Yang
deeafb3a12 chore: bump version (#2799) 2023-06-17 13:52:07 +08:00
himself65
4d44542ca6 ci: update BUG-REPORT.yml 2023-06-16 15:18:18 +08:00
JimmFly
f83c92cb87 style: temporarily adjust the style of the co-pilot (#2804) 2023-06-16 15:12:59 +08:00
himself65
03c0b6b364 build: fix publish.sh 2023-06-16 15:00:06 +08:00
himself65
c5eb16139f build: update nx.json 2023-06-16 14:50:42 +08:00
himself65
bfb9e9b5c5 ci: update release-desktop-app.yml 2023-06-16 14:44:45 +08:00
himself65
af4de0b14f ci: update nightly-build.yml 2023-06-16 14:38:15 +08:00
Peng Xiao
0553ca3c02 docs: update building.md for electron (#2800) 2023-06-16 13:15:42 +08:00
himself65
9422b93857 fix(copilot): idb upgrade 2023-06-16 11:15:51 +08:00
himself65
951f5540a3 v0.7.0-canary.18 2023-06-15 21:56:22 +08:00
himself65
2b9929222c build: update change log url 2023-06-15 21:54:06 +08:00
Peng Xiao
b1c64a5f7e fix: missing updater (#2796) 2023-06-15 20:48:10 +08:00
Himself65
5164c8c1f9 chore: bump version (#2787) 2023-06-15 15:03:20 +08:00
himself65
18fad62f5c v0.7.0-canary.17 2023-06-15 14:34:11 +08:00
JimmFly
7eaff644e3 fix: electron cannot be started in Windows (#2784) 2023-06-15 06:16:27 +00:00
JimmFly
9fd4818d81 fix: window control not work (#2790) 2023-06-15 06:09:46 +00:00
himself65
d144c9f6f5 build(y-indexeddb): update package.json 2023-06-15 14:04:39 +08:00
JimmFly
a6752bb49c test: add basic test for link page and database (#2775) 2023-06-15 13:58:43 +08:00
danielchim
ae7da1b018 fix: image preview (#2786)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-15 13:55:17 +08:00
JimmFly
3819342ff2 fix: add guide to the other page (#2779) 2023-06-15 12:46:56 +08:00
himself65
3058c56394 v0.7.0-canary.16 2023-06-15 01:14:45 +08:00
himself65
afad85f4a4 ci: enable image preview 2023-06-15 01:13:58 +08:00
himself65
557a7c3360 v0.7.0-canary.15 2023-06-15 00:44:08 +08:00
Himself65
44580f6af0 fix(electron): bookmark plugin wound not work (#2776) 2023-06-15 00:43:28 +08:00
Himself65
5d75ceeeb5 feat: support sub-doc feature (#2774) 2023-06-14 23:22:35 +08:00
himself65
8d5330df74 v0.7.0-canary.14 2023-06-14 18:41:11 +08:00
Himself65
761965240d fix: build layer (#2769) 2023-06-14 18:40:13 +08:00
danielchim
ad32ed5dd5 feat: image-preview (#2720)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-06-14 04:20:29 +00:00
LongYinan
6a4f70cf43 fix(electron): install missing dependencies (#2765) 2023-06-14 11:11:45 +08:00
LongYinan
3996955e3b fix: add eslint-plugin-sonarjs and rules (#2767) 2023-06-14 10:45:14 +08:00
LongYinan
1c8f1a05d0 fix: add @typescript-eslint/no-floating-promises rule (#2764)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-13 06:55:23 +00:00
Flrande
bbac03107e fix: preloading gif order (#2760)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-06-13 14:46:52 +08:00
himself65
32f064c2de v0.7.0-canary.13 2023-06-13 14:13:38 +08:00
himself65
39704bc812 build: fix generate-assets.mjs 2023-06-13 14:12:08 +08:00
Himself65
a421265483 fix: remove unused hooks (#2762) 2023-06-13 12:18:32 +08:00
himself65
e6214cb6ec v0.7.0-canary.12 2023-06-13 11:00:39 +08:00
himself65
ba7d34bce5 docs: update thanks section in README.md 2023-06-13 10:45:52 +08:00
Himself65
ace3c37fcc feat: improve copilot (#2758) 2023-06-13 10:29:04 +08:00
Peng Xiao
5ba2dff008 feat: add helper process (#2753) 2023-06-13 10:01:43 +08:00
Himself65
dff8a0db7d fix: nx build input (#2755) 2023-06-12 13:06:23 +08:00
himself65
ccda45bdd2 build: fix nx.json 2023-06-12 12:05:00 +08:00
Himself65
eeb536d460 feat: use nx to manage monorepo (#2748) 2023-06-10 00:46:24 +08:00
Peng Xiao
1e6e0336c3 fix: electron dev crash (#2746) 2023-06-09 08:47:14 +00:00
Himself65
f2ac2e5b84 feat: isolated plugin system (#2742) 2023-06-09 16:43:46 +08:00
Himself65
af6f431c15 fix: replace noop function (#2744) 2023-06-09 16:00:44 +08:00
Peng Xiao
01ae21e1fa feat: add kalam font (#2743) 2023-06-09 15:48:30 +08:00
LongYinan
34141958eb style: remove some verbose codes (#2741) 2023-06-09 14:55:41 +08:00
JimmFly
c194cff0bd chore: remove en.json code owner (#2740) 2023-06-09 13:24:25 +08:00
Himself65
6b6f2d6910 chore: upgrade yarn (#2739) 2023-06-09 12:33:52 +08:00
LongYinan
2e975e79dd style: add ban-ts-comment rule (#2738) 2023-06-09 11:55:23 +08:00
Himself65
c5a295a87b chore: bump typescript to 5.1.3 (#2735)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-06-09 11:42:54 +08:00
himself65
119b4cdf10 v0.7.0-canary.11 2023-06-09 11:30:51 +08:00
Himself65
bf6af934f6 fix: regression on the database and bookmark block (#2737) 2023-06-09 11:29:52 +08:00
Himself65
1971749449 test: add test cases for page setting atom (#2736) 2023-06-09 02:00:09 +08:00
Himself65
b383ce36cd build: enhance tsconfig type check (#2732) 2023-06-09 01:42:58 +08:00
Himself65
fc9a9f479b fix: page meta is undefined (#2734) 2023-06-09 01:19:16 +08:00
himself65
227174db1b build: fix eslint config 2023-06-09 01:11:53 +08:00
Himself65
9f129075dd feat: add page setting atom (#2725) 2023-06-09 00:58:46 +08:00
Peng Xiao
935b4f847c fix: potential flaky issues (#2733) 2023-06-09 00:20:12 +08:00
Whitewater
ec99a0ce05 feat: update desc for empty page (#2710) 2023-06-08 20:28:37 +08:00
Himself65
7ba5f82aef chore: bump blocksuite to 0.0.0-20230607055421-9b20fcaf-nightly (#2731) 2023-06-08 20:27:12 +08:00
Peng Xiao
546d5764e6 fix: a potential crash on fav list (#2716) 2023-06-08 20:06:15 +08:00
himself65
6f411bd459 v0.7.0-canary.10 2023-06-08 18:33:14 +08:00
JimmFly
29d8f61c90 feat: add date picker (#2644)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-08 17:55:16 +08:00
Peng Xiao
bedf838fe5 feat: add new rule for floating promise (#2726)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-06-08 17:54:25 +08:00
Qi
fda89b05e7 feat: replace electron to puppeteer (#2700)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-08 17:51:45 +08:00
himself65
de8af5f114 revert: page jump once 2023-06-08 16:54:42 +08:00
himself65
14db45ae95 build: fix the directory path on webstorm 2023-06-08 16:26:09 +08:00
Himself65
27b14af388 test: fix flaky on local-first-workspace-list.spec.ts (#2727) 2023-06-08 16:18:10 +08:00
LongYinan
18dc427bc3 style: enable no-non-null-assertion rule (#2723)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-06-08 07:23:20 +00:00
Himself65
1ad2e629ac refactor: project tsconfig & abstract infra type (#2721) 2023-06-08 12:41:47 +08:00
Himself65
05288be934 fix: flaky when drag workspace list (#2724) 2023-06-08 11:51:02 +08:00
Himself65
05b73a59be fix: first page default mode (#2719)
Co-authored-by: tzhangchi <c@affine.pro>
2023-06-08 10:17:27 +08:00
Himself65
f3fd5ff76b feat: add infra code (#2718) 2023-06-08 09:41:20 +08:00
Himself65
4958d096b0 fix: move workspace to top level (#2717) 2023-06-07 23:20:35 +08:00
Himself65
7f2006488e fix: type import (#2715) 2023-06-07 22:47:02 +08:00
Peng Xiao
008a05a470 fix(electron): should not continue pull when db closed (#2709) 2023-06-07 18:01:59 +08:00
himself65
3d7721d59d v0.7.0-canary.9 2023-06-07 17:59:55 +08:00
Flrande
35fb10c95b feat: add preloading template (#2655)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-06-07 17:31:54 +08:00
Himself65
c4c4ec6a67 refactor: split storybook (#2706) 2023-06-07 16:55:06 +08:00
Himself65
f4be15baec fix: package affine/env modules (#2707) 2023-06-07 16:31:05 +08:00
himself65
17b40b68df docs: update README.md 2023-06-07 16:29:37 +08:00
Himself65
cd5c4b5cb7 fix: remove dependencies in @affine/debug (#2708) 2023-06-07 15:41:42 +08:00
LongYinan
d28c887237 feat(native): move sqlite operation into Rust (#2497)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-06-07 14:52:19 +08:00
himself65
541011ba90 build: remove unused reference 2023-06-07 14:21:21 +08:00
wonderl17
fc658f4a95 fix: add bookmark operation flag for ts check (#2699) 2023-06-07 10:18:19 +08:00
Peng Xiao
84f68fc2c0 fix: import workspace may only show default preload page (#2685) 2023-06-06 14:42:50 +08:00
JimmFly
f78760cb83 fix: empty svg color missing (#2692) 2023-06-06 04:45:34 +00:00
Himself65
8f6db00402 feat: init window.affine (#2682) 2023-06-06 11:43:34 +08:00
Peng Xiao
d00d0bd951 fix: the top padding should be draggable (#2688) 2023-06-06 11:12:00 +08:00
Peng Xiao
8f5cd13e78 fix: do not show deleted reference (#2689) 2023-06-06 10:36:58 +08:00
Whitewater
3b4cfc642f fix: overflow in radio button group (#2687) 2023-06-05 10:18:53 +00:00
JimmFly
5807f34935 fix: empty icon color error (#2686) 2023-06-05 10:06:17 +00:00
Whitewater
efae4cccd6 feat: sticky table head in page list (#2668)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-06-05 07:43:24 +00:00
Himself65
b461a684ad chore: bump version (#2681) 2023-06-05 01:00:41 +08:00
3720
b95808a052 test: add some e2e tests for all pages filter (#2674) 2023-06-04 23:34:16 +08:00
Himself65
1716e7a397 fix: use react-resizable-panels (#2679) 2023-06-04 23:33:36 +08:00
Himself65
acda594cba refactor: use esbuild instead of vite (#2672) 2023-06-02 13:22:09 +00:00
Himself65
94d20f1bdc feat: plugin system with isolated bundles (#2660) 2023-06-02 16:28:47 +08:00
Vlad Cuciureanu
f9079bb681 fix: README typo 2023-06-02 15:47:09 +08:00
himself65
0d07ff2390 v0.7.0-canary.8 2023-06-02 13:02:48 +08:00
xiaodong zuo
42bab6990e fix: update version bump-blocksuite (#2658) 2023-06-02 11:16:31 +08:00
fourdim
89a566a645 fix: pdf export in client and hide png export (#2604) 2023-06-01 13:26:57 +00:00
LongYinan
7af5bd3894 v0.7.0-canary.7 2023-06-01 19:11:12 +08:00
Peng Xiao
a57c27679d chore: bump blocksuite (#2652) 2023-06-01 10:55:10 +00:00
JimmFly
68a72b2dfc chore: update whats new link (#2651) 2023-06-01 17:59:30 +08:00
LongYinan
602f795133 build: prevent tsconfig includes sources outside (#2643) 2023-06-01 17:08:14 +08:00
himself65
5df89a925b v0.7.0-canary.6 2023-06-01 15:34:08 +07:00
Whitewater
23126e1ff6 fix: show table head when no item in page list (#2642) 2023-06-01 16:31:51 +08:00
xiaodong zuo
e1f715f837 chore: update blocksuite to 0.0.0-20230601062752-68dbf1a4-nightly (#2641) 2023-06-01 16:25:54 +08:00
himself65
fbcaed40e7 fix: block hub not working in the editor 2023-06-01 14:32:41 +08:00
JimmFly
88757ce488 chore: update all page style (#2638) 2023-06-01 12:38:14 +08:00
Simon He
fc9462eee9 perf: getEnvironment() -> env (#2636) 2023-06-01 03:23:38 +00:00
Qi
e1314730be feat: support get dynamic page meta data (#2632) 2023-06-01 11:03:16 +08:00
Peng Xiao
36978dbed6 fix: plugin bootstrap (#2631)
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-01 01:14:37 +08:00
Whitewater
53d1991211 chore: update page group naming (#2628) 2023-05-31 16:41:25 +00:00
LongYinan
1ea445ab15 build: perform TypeCheck for all packages (#2573)
Co-authored-by: himself65 <himself65@outlook.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-05-31 12:49:56 +00:00
Himself65
78410f531a chore: bump version (#2627) 2023-05-31 18:16:18 +08:00
himself65
96c0321696 v0.7.0-canary.5 2023-05-31 17:34:21 +08:00
himself65
0895f1fb30 ci: enable bookmark block in canary 2023-05-31 17:33:11 +08:00
himself65
b6188f4b11 docs: update logo in README.md 2023-05-31 17:23:01 +08:00
JimmFly
2ed1a7b219 chore: update filter style (#2625) 2023-05-31 17:20:18 +08:00
Himself65
9bee6bd5cc docs: update logo (#2626) 2023-05-31 17:16:50 +08:00
himself65
198f30c86d docs: update README.md 2023-05-31 17:12:27 +08:00
Himself65
454f1887cf feat: add @affine/bookmark-block plugin (#2618) 2023-05-31 17:08:03 +08:00
himself65
4e1e4e9435 v0.7.0-canary.4 2023-05-31 16:47:16 +08:00
3720
f7768563e1 fix: wrong use of dayjs (#2624) 2023-05-31 16:46:36 +08:00
Himself65
6aa0e71b84 chore: bump blocksuite to 0.0.0-20230531080915-ca9c55a2-nightly (#2622) 2023-05-31 16:32:35 +08:00
himself65
f1b3a10969 test: fix mouse click down timeout 2023-05-31 16:22:43 +08:00
Whitewater
90e70ed986 fix: drag delay (#2621) 2023-05-31 16:21:50 +08:00
xiaodong zuo
094a479c2a fix: remove the feature of exporting pdf/png (#2619)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-31 16:20:42 +08:00
Whitewater
20f1d487c8 feat: add page preview (#2620) 2023-05-31 08:18:48 +00:00
himself65
4c9bda1406 v0.7.0-canary.3 2023-05-31 15:41:52 +08:00
JimmFly
d5debc0bf5 chore: update filter style (#2617)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-31 15:41:16 +08:00
Peng Xiao
f5aee7c360 fix: unify sidebar switch (#2616) 2023-05-31 07:06:13 +00:00
Himself65
248cd9a8ab chore: prohibit import package itself (#2612)
Co-authored-by: Whitewater <me@waterwater.moe>
2023-05-31 15:00:50 +08:00
Himself65
06abb702f5 refactor: remove deprecated atoms (#2615) 2023-05-31 14:54:59 +08:00
Himself65
ee289706ec refactor: move affine utils into @affine/workspace (#2611) 2023-05-31 13:13:59 +08:00
Himself65
6cbf310a5a chore: bump blocksuite to 0.0.0-20230531040027-44cd9d8e-nightly (#2610) 2023-05-31 13:10:41 +08:00
Whitewater
855fd8a73a feat: page list supports preview (#2606) 2023-05-31 04:24:55 +00:00
Himself65
8dbd354659 fix: logic after delete all workspaces (#2587)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-05-31 12:24:14 +08:00
Himself65
1c7ae04f4f feat: update filter button (#2609) 2023-05-31 11:26:20 +08:00
Whitewater
0bb6e362bf feat: add page mode filter (#2601)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-31 11:15:23 +08:00
Peng Xiao
617350fc7d fix: optimize DB pull (#2589) 2023-05-31 11:09:18 +08:00
Hyden Liu
2713340532 fix(web): header div props error (#2607) 2023-05-31 10:34:42 +08:00
Whitewater
31d552ab7e fix: update breakpoint in all page (#2602) 2023-05-30 18:27:42 +08:00
Himself65
e11326f05f feat: add hook useBlockSuitePagePreview (#2603) 2023-05-30 18:26:13 +08:00
Himself65
6648fe4dcc feat: init @affine/copilot (#2511) 2023-05-30 18:02:49 +08:00
Peng Xiao
f669164674 fix: popover may not be closable (#2598) 2023-05-30 17:29:00 +08:00
JimmFly
c6d8904ca2 fix: quick search result missing title (#2594) 2023-05-30 16:45:00 +08:00
3720
8c5a1e2de3 test: add some tests for page filter (#2593) 2023-05-30 16:39:14 +08:00
himself65
395414c336 v0.7.0-canary.2 2023-05-30 15:17:35 +08:00
xiaodong zuo
96f653ea19 chore: bump blocksuit to 0.0.0-20230530061436-d0702cc0-nightly (#2590) 2023-05-30 15:13:54 +08:00
fourdim
fa089de40d feat: add support for exporting pdf and png (#2588)
This closes #2583.
2023-05-30 14:04:35 +08:00
Doma
4175f5391e feat(web): drag page to trash folder (#2385)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-30 13:14:10 +08:00
Himself65
61c417992a feat: init support for multiple tiles (#2585) 2023-05-30 12:27:38 +08:00
Himself65
befae6bc9b feat: page view persistence (#2581) 2023-05-30 00:21:21 +08:00
himself65
e7eb13e966 v0.7.0-canary.1 2023-05-30 00:19:05 +08:00
Whitewater
88eaaf9ce4 feat: add radio group (#2572) 2023-05-29 23:15:22 +08:00
Himself65
20cc082a02 refactor: abstract header adapter (#2580) 2023-05-29 22:52:04 +08:00
Qi
402d12a0e1 fix: bookmark popper menu only display after pasted (#2578) 2023-05-29 14:25:30 +00:00
Himself65
58ba11e13c refactor: ui adapter (#2577) 2023-05-29 21:56:00 +08:00
Horus
cb6ca52b03 fix: replace windows installer loading gif (#2575) 2023-05-29 21:36:08 +08:00
Himself65
cd2ab73e5d chore: bump blocksuite to 0.0.0-20230529102007-5ac37643-nightly (#2569) 2023-05-29 18:51:33 +08:00
JimmFly
b16e725514 chore: adjust switch style (#2570) 2023-05-29 18:40:47 +08:00
JimmFly
004fcc8e80 fix: updater button text overflow (#2571) 2023-05-29 18:39:47 +08:00
Hyden Liu
a01a3ef011 fix: dropdown menu entire right can be pulled down (#2568)
Co-authored-by: Whitewater <me@waterwater.moe>
2023-05-29 07:03:26 +00:00
Peng Xiao
20cf45270d refactor(electron): sqlite db data workflow (remove symlink & fs watcher) (#2491) 2023-05-29 12:53:15 +08:00
3720
f3ac12254c feat: headless filter in all pages tab (#2566)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-29 04:06:40 +00:00
himself65
e0eb216b9b chore: revert @vanilla-extract/next-plugin to 2.1.2 2023-05-27 21:36:24 +08:00
Himself65
90afed1e74 feat: add build flag enableAllPageFilter (#2562) 2023-05-27 16:35:07 +08:00
Himself65
83d2ed8ace chore: bump version (#2559) 2023-05-27 16:08:07 +08:00
himself65
a0b64ca3e3 docs: update releases.md 2023-05-26 16:12:53 +08:00
himself65
b9fc5ad769 v0.7.0-canary.0 2023-05-26 15:50:00 +08:00
Himself65
ef1a44a413 chore: bump version (#2542) 2023-05-26 15:47:45 +08:00
xiaodong zuo
798dc49da4 feat: the UI of importing Html/Markdown/Notion (#2533)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-26 15:30:39 +08:00
himself65
902081d44e ci: remove concurrency in languages-sync.yml 2023-05-26 15:26:12 +08:00
Whitewater
7969b73979 chore: tweak all page styles (#2540) 2023-05-26 15:13:50 +08:00
Himself65
c8734bd6ee chore: bump blocksuite to 0.0.0-20230526024755-74df4d56-nightly (#2541) 2023-05-26 15:13:00 +08:00
Qi
6d3c273ffd feat: support bookmark (#2458)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-26 06:52:36 +00:00
Himself65
f4b3830a0e feat(component): init notification center (#2426)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-05-26 14:32:01 +08:00
Whitewater
36534f1915 feat: add storybook i18n decorator (#2538)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-26 14:28:11 +08:00
Whitewater
7dcbe64d4e feat: group all page by date (#2532)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-26 05:23:51 +00:00
Himself65
60057c666d fix: cannot delete last workspace (#2537) 2023-05-26 13:04:20 +08:00
JimmFly
60a83f4907 chore: update user guide style (#2536) 2023-05-26 12:55:06 +08:00
Horus
b11ce2c8d2 docs: add native build command to readme (#2535) 2023-05-26 10:29:30 +08:00
Whitewater
3b8f2c1ac3 refactor: use date obj in all pages (#2523) 2023-05-25 18:22:57 +08:00
Whitewater
be065e2de3 fix: sort in desc based update date by default (#2510) 2023-05-25 15:33:02 +08:00
Horus
675c737e48 fix: replace new windows install loading gif (#2513) 2023-05-25 14:30:52 +08:00
himself65
1255384cab v0.6.0-canary.8 2023-05-25 14:13:32 +08:00
Himself65
3d423c3299 fix: dispose on editor props.onInit (#2521) 2023-05-25 14:13:06 +08:00
ShortCipher5
ad4737850d chore: update pre-load content (#2518) 2023-05-25 05:41:49 +00:00
Himself65
9dcacd413c chore: bump blocksuite to 0.0.0-20230525011821-20259c76-nightly (#2515) 2023-05-25 13:04:18 +08:00
JimmFly
c1998eddf3 chore: bump electron (#2516) 2023-05-25 03:46:34 +00:00
himself65
db3f63e8f2 v0.6.0-canary.7 2023-05-25 09:17:21 +08:00
JimmFly
e562ca1011 chore: update download tip link (#2509) 2023-05-24 16:43:45 +08:00
fourdim
f6adf93f90 feat: add simple support for pdf (#2503) 2023-05-24 16:40:20 +08:00
Chi Zhang
053eba5d98 docs: update README.md (#2506) 2023-05-24 14:46:26 +08:00
Himself65
49f1ba676f fix: regression on toast component (#2502) 2023-05-24 13:10:25 +08:00
Aditya Sharma
48c109e149 feat(component): keyboard navigation for image-viewer (#2334)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-23 09:35:11 +00:00
LongYinan
259d7988d9 chore(native): upgrade notify to v6 (#2489) 2023-05-22 22:45:43 +08:00
fourdim
0a49258ddd docs: update build guideline (#2434)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-22 12:18:43 +00:00
himself65
fd35d3427e fix: make editor width to 800px
Fixes: https://github.com/toeverything/AFFiNE/issues/2486
2023-05-22 17:40:51 +08:00
Himself65
ef0a20b358 fix: use data-testid (#2487) 2023-05-22 17:36:52 +08:00
Himself65
f01997f8ee refactor: remove unused code (#2484) 2023-05-22 17:11:18 +08:00
Whitewater
281a068cfb chore(i18n): remove unused dependencies (#2485) 2023-05-22 17:03:55 +08:00
Whitewater
fe5be0cb47 fix: flatten i18n keys (#2483) 2023-05-22 08:08:43 +00:00
himself65
8aab1d6459 docs: add comment on legacy affine adapter 2023-05-22 16:02:05 +08:00
Himself65
2eaaeef4a7 fix: use hook with first render (#2481) 2023-05-22 15:58:13 +08:00
Himself65
5fbfabb3b2 refactor: rename plugins to adapters (#2480) 2023-05-22 15:48:01 +08:00
himself65
ec64260b6a v0.6.0-canary.6 2023-05-22 14:25:20 +08:00
LongYinan
2e23a4830b ci: add circular import detect (#2475)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-22 04:53:55 +00:00
Himself65
41a3d6f62f fix: wrap all workspaces with Suspense (#2477) 2023-05-22 12:39:07 +08:00
Peng Xiao
752bc9ca0e fix: fav reference style issue (#2476) 2023-05-22 12:01:03 +08:00
Himself65
c08f6fdba4 chore: update blocksuite to 0.0.0-20230519102837-01acd96b-nightly (#2472) 2023-05-22 02:27:03 +00:00
Geoffrey Biggs
b23b7e896b docs: correct spelling (#2469) 2023-05-22 07:26:30 +08:00
Whitewater
d68b421a4b feat: add responvise page view (#2453) 2023-05-22 07:25:25 +08:00
Horus
1f510799e2 fix: add windows install loading gif (#2462) 2023-05-21 16:03:48 +08:00
Peng Xiao
66ea97c7c9 fix: adjust some windows style issues (#2454) 2023-05-19 09:39:51 -07:00
Shishu
ee300e7b60 docs: sign CLA (#2457) 2023-05-19 08:40:59 -07:00
Peng Xiao
ef2d135e9b fix: optimize app updater (#2452) 2023-05-19 00:07:07 -07:00
JimmFly
c82fb89d57 chore: remove unused i18n key (#2451) 2023-05-19 03:38:48 +00:00
himself65
725bf63a32 ci: remove add-to-project.yml 2023-05-18 18:35:19 -07:00
himself65
c1ca578f7d docs: add download count 2023-05-18 13:12:26 -07:00
Whitewater
530dd5ff7f feat: add new page button (#2417) 2023-05-18 13:07:05 -07:00
Himself65
11370bc07e chore: bump version (#2444) 2023-05-18 11:43:45 -07:00
JimmFly
1c53daf1c4 chore: bump icon version (#2441) 2023-05-18 10:37:40 -07:00
Peng Xiao
b2556db33b fix: adjust some styles (#2438) 2023-05-18 09:24:23 +00:00
JimmFly
89310c9b97 chore: adjust delete description style (#2437) 2023-05-18 09:17:38 +00:00
JimmFly
8e09af910f fix: create workspace card responsive (#2435) 2023-05-18 09:11:15 +00:00
himself65
885aea3425 v0.6.0-canary.5 2023-05-18 01:21:25 -07:00
ShortCipher5
a616150f2d chore: update pre-load content (#2432) 2023-05-18 00:08:35 -07:00
Himself65
d80dae8a89 fix: open non-trash page when open (#2431) 2023-05-17 23:22:31 -07:00
Himself65
34ff08b92b chore: bump blocksuite to 0.0.0-20230518051344-45970a96-nightly (#2430) 2023-05-17 22:30:45 -07:00
Peng Xiao
2f7b51d7ff feat: fav page references (#2422)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-17 22:18:40 -07:00
ShortCipher5
b7cee3185e chore: update pre-loading page (#2429) 2023-05-17 22:16:19 -07:00
JimmFly
1c5455e6ed chore: adjust copywriting for onboarding (#2428) 2023-05-17 22:15:01 -07:00
himself65
2d303fd5d3 v0.6.0-canary.4 2023-05-17 17:46:39 -07:00
himself65
fbe2543c03 fix: version check 2023-05-17 17:44:58 -07:00
Himself65
d6b640726e refactor: remove unused code (#2425) 2023-05-17 17:15:12 -07:00
Peng Xiao
f875b37641 fix: configurable changelog url (#2418) 2023-05-17 16:16:22 -07:00
Himself65
53c4fc6dfa fix: sidebar fallback ui position (#2424) 2023-05-17 15:49:55 -07:00
Himself65
6c310249d9 chore: bump version (#2423) 2023-05-17 15:02:55 -07:00
Horus
02e1f528bf fix: add workflow to check release version match with package.json (#2420) 2023-05-17 10:37:28 -07:00
Peng Xiao
c870104370 chore: bump blocksuite to 0.0.0-20230517102216-36bda4ab-nightly (#2411) 2023-05-17 10:09:29 -07:00
himself65
627d8ef787 v0.6.0-canary.3 2023-05-17 09:48:51 -07:00
LongYinan
5563823a7a build: missing build native step in nightly build (#2421) 2023-05-17 23:52:32 +08:00
JimmFly
d6804bb0fd chore: update prompt (#2410) 2023-05-17 17:52:57 +08:00
LongYinan
1350633690 build: fix electron release build process (#2408) 2023-05-17 17:22:49 +08:00
JimmFly
50196d8fde chore: update preloading page (#2409) 2023-05-17 09:16:07 +00:00
Peng Xiao
2e0ccb53ec feat: update button enhancements (#2401) 2023-05-17 16:58:14 +08:00
Whitewater
1498ee405b feat: add dropdown button (#2407) 2023-05-17 16:32:37 +08:00
Peng Xiao
cb863c4afa chore: disable image modal by default (#2400) 2023-05-16 23:14:31 -07:00
Himself65
2629d39501 fix: infinite reloading (#2405) 2023-05-17 13:58:34 +08:00
Himself65
38305cd984 fix: hydration error (#2404) 2023-05-17 05:23:55 +00:00
LongYinan
93116c24f2 feat(electron): use affine native (#2329) 2023-05-17 12:36:51 +08:00
Whitewater
017b9c8615 feat: add block card component (#2398) 2023-05-16 18:19:28 +08:00
Whitewater
9ce3a96862 fix: unexpected undefined class in popup (#2394) 2023-05-16 10:01:27 +00:00
Peng Xiao
a0ff520ba4 fix: some style updates (#2396) 2023-05-16 09:46:51 +00:00
Whitewater
a8b8986d89 chore: disable confused storybook backgrounds addon (#2395) 2023-05-16 17:46:35 +08:00
JimmFly
8ffc096fee fix: text overflows in the header option menu (#2393) 2023-05-16 17:35:57 +08:00
JimmFly
7e457f7b4c chore: add responsive styles for workspace card (#2390) 2023-05-16 16:51:46 +08:00
xiaodong zuo
aedf2d339e Update jobs.md
Added a job posting for a full-time or internship engineer.
2023-05-16 15:35:23 +08:00
JimmFly
ffd5ae52b3 feat: add Japanese support and update translation (#2388) 2023-05-16 14:21:51 +08:00
DiamondThree
3093194da8 docs: update jobs.md (#2389) 2023-05-15 22:24:27 -07:00
Horus
68b4f792f0 fix: app updater not working for internal release (#2377) 2023-05-15 20:34:54 -07:00
himself65
e2c6e4f9fc ci: use samver 2023-05-15 09:34:04 -07:00
Whitewater
9ff7dbffb7 feat: supports sort all page (#2356) 2023-05-15 08:50:43 -07:00
JimmFly
0c561da061 chore: remove favorite page (#2372) 2023-05-15 08:41:38 -07:00
JimmFly
06951319a6 chore: remove quick search tips (#2375) 2023-05-15 08:41:10 -07:00
JimmFly
0bfcab4067 chore: add animation for tour modal (#2365) 2023-05-15 16:48:52 +08:00
himself65
2c4db4fa16 v0.6.0-canary.2 2023-05-14 23:14:36 -07:00
Himself65
23b4f9ee12 feat(electron): track router history (#2336)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-05-14 23:13:30 -07:00
himself65
e5330b1917 build: add app bundle id for internal 2023-05-14 22:35:40 -07:00
Peng Xiao
183611a556 fix: some style updates (#2348) 2023-05-14 21:58:13 -07:00
Himself65
7786456ba4 chore: update blocksuite to 0.0.0-20230514141009-705c0fac-nightly (#2357) 2023-05-14 19:32:27 -07:00
Ikko Eltociear Ashimine
f4bf7e3ddf fix: typo in AFFiNE-Docs.md (#2355) 2023-05-13 22:37:42 -07:00
Doma
05d88215d1 feat(electron): app menu item and hotkey for creating new page (#2267)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-05-13 15:45:12 +00:00
Himself65
b240a70e51 chore: update blocksuite to 0.0.0-20230512192655-e61e272b-nightly (#2352) 2023-05-12 15:39:05 -05:00
LongYinan
00fd468e9b chore(server): remove bcrypt to avoid node-gyp usage (#2349) 2023-05-12 13:48:38 -05:00
Himself65
b5a7f8b7eb chore: bump version (#2331) 2023-05-12 13:47:14 -05:00
himself65
f03277fd17 v0.6.0-canary.1 2023-05-12 01:30:54 -05:00
himself65
ee93071149 chore: update icons 2023-05-12 01:06:05 -05:00
Himself65
21fdced2bd fix: correct router logic (#2342) 2023-05-12 00:55:45 -05:00
Peng Xiao
10b4558947 feat: new sidebar (app shell) styles (#2303) 2023-05-11 22:13:51 -05:00
Himself65
0fbed5d9d6 ci: collect test coverage on electron (#2335) 2023-05-11 20:51:13 -05:00
Himself65
8d117123d7 fix: remove useEffect on router sync with atoms (#2241) 2023-05-11 16:37:42 -05:00
Himself65
063ffda09d refactor: rename WorkspacePlugin to WorkspaceAdapter (#2330) 2023-05-11 12:43:39 -05:00
Himself65
39c83bd25b fix: delay setAom on rootWorkspacesMetadataAtom (#2271) 2023-05-11 15:03:11 +00:00
Peng Xiao
4444c3d1a6 fix: updater issue 2023-05-11 14:44:54 +08:00
LongYinan
717dd93f37 fix(electron): close db before move db file 2023-05-11 14:41:51 +08:00
LongYinan
c58673c55f chore(native): license 2023-05-11 14:41:51 +08:00
LongYinan
768e55072d ci: rust build config 2023-05-11 14:41:51 +08:00
LongYinan
8c84daec2b feat(native): NotifyEvent types 2023-05-11 14:41:51 +08:00
LongYinan
e54a5b6128 feat(native): provide FSWatcher 2023-05-11 14:41:51 +08:00
LongYinan
ee1e50f391 refactor(native): rename folder name 2023-05-11 14:41:51 +08:00
himself65
268636c440 v0.6.0-canary.0 2023-05-11 01:09:21 -05:00
Peng Xiao
06fa0cdb60 fix: should not show open folder if it is not moved (#2299) 2023-05-11 05:36:22 +00:00
Himself65
73dbb39009 feat(component): improve fallback skeleton (#2323) 2023-05-11 00:35:42 -05:00
JimmFly
47848cb5da fix: delete modal on confirm does not close (#2322) 2023-05-11 05:19:11 +00:00
JimmFly
eff6a03a51 chore: update AFFiNE Cloud prompt (#2321) 2023-05-11 00:18:12 -05:00
himself65
08f6a41ef4 ci: fix set version scripts 2023-05-10 23:00:36 -05:00
himself65
6d1345ffe5 build: replace version 2023-05-10 22:24:34 -05:00
Himself65
689f615b11 chore: bump version (#2310) 2023-05-10 21:43:14 -05:00
Himself65
f82ea5d9c4 build(electron): add internal release channel (#2309) 2023-05-10 21:42:56 -05:00
himself65
dc4979a80c fix(electron): remove unused code 2023-05-10 15:04:13 -05:00
JimmFly
1f48bc4301 refactor: tour modal (#2297) 2023-05-10 08:11:42 +00:00
himself65
beabd1e050 v0.5.4-canary.31 2023-05-10 00:56:04 -05:00
Himself65
19e20a6a20 fix(component): toast too many times when switch page mode (#2296) 2023-05-10 00:50:51 -05:00
Peng Xiao
e4f13ddae4 fix: try to fix updater not working (#2294)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-10 00:40:22 -05:00
Himself65
752d0545ca feat: enhance root div styles (#2295) 2023-05-10 00:39:51 -05:00
himself65
08341d3d6c ci: remove master branch build 2023-05-09 23:11:46 -05:00
himself65
ef665df330 ci: add nightly-build.yml 2023-05-09 23:04:24 -05:00
Himself65
b38017cd23 feat(component): add skeleton in page detail (#2292) 2023-05-09 22:38:30 -05:00
Peng Xiao
0c550a2827 fix: theme not being persisted issue (#2283) 2023-05-09 22:04:36 -05:00
Chi Zhang
87ffdad862 docs: update README.md (#2291) 2023-05-09 21:51:44 -05:00
himself65
c6e8024e16 ci: disable fall-test in desktop-test 2023-05-09 21:13:33 -05:00
himself65
4200b3c3e5 ci: build staging and release branches 2023-05-09 20:27:07 -05:00
Himself65
10976a9257 chore: bump version (#2287) 2023-05-09 15:40:36 -05:00
himself65
b81b5439ae v0.5.4-canary.30 2023-05-09 15:02:14 -05:00
Himself65
a84ca43ce2 fix(component): input style (#2285) 2023-05-09 15:01:29 -05:00
JimmFly
b978bb171a feat: add download tips banner (#2151) 2023-05-09 11:07:34 -05:00
JimmFly
b937c1b5f6 chore: replace lang icon (#2281) 2023-05-09 15:27:05 +00:00
himself65
3c97e01513 v0.5.4-canary.29 2023-05-09 02:30:43 -05:00
Peng Xiao
7c2574b1ca feat: create workspace from loading existing exported file (#2122)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-09 02:30:01 -05:00
himself65
5432aae85c v0.5.4-canary.28 2023-05-09 01:58:58 -05:00
Himself65
be41c99602 chore: bump version (#2279) 2023-05-09 01:35:49 -05:00
Himself65
c41718e80d feat(component): support image preview by double click (#2198) 2023-05-09 01:09:39 -05:00
Himself65
242e074ae6 feat: add suspense fallback for editor (#2278) 2023-05-08 23:57:36 -05:00
Himself65
793b689b81 fix(component): updated at in page meta (#2277) 2023-05-09 03:54:07 +00:00
Himself65
53db6a6e9d refactor(component): input component (#2275) 2023-05-09 02:39:39 +00:00
Fangdun Tsai
cba3293326 fix: width of cmd-item button on quick-search modal (#2273) 2023-05-08 21:13:11 -05:00
Fangdun Tsai
11d1d773ff fix: vertical alignment of item on share menu (#2274) 2023-05-08 21:12:19 -05:00
Fangdun Tsai
f071361347 fix: kebab-case warning for CSS properties in dev mode (#2276) 2023-05-08 21:03:32 -05:00
himself65
2c18fadb2d build: commit after the set version 2023-05-08 18:31:16 -05:00
Himself65
1e8c5a4482 fix(electron): self-update is pending (#2272) 2023-05-08 18:16:07 -05:00
Himself65
4f99ad2db4 feat: forced file naming format (#2270) 2023-05-08 17:37:07 -05:00
Himself65
95bc5cac49 refactor: remove sync storage (#2269) 2023-05-08 17:21:42 -05:00
himself65
3a6be4510b v0.5.4-canary.27 2023-05-08 16:33:44 -05:00
Horus
41d4af1dc1 feat: implement latest version updater for macos (#2214)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-08 13:21:15 -05:00
Doma
d1457075b3 feat(web): improve keyboard navigation in RootAppSidebar (#2256)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-08 09:57:14 -05:00
Fangdun Tsai
d040a7fb50 fix: background color on shortcuts header (#2264) 2023-05-08 09:53:53 -05:00
Himself65
f1c3d575ad fix: dispatch workspace change event (#2261) 2023-05-08 14:47:47 +08:00
Fangdun Tsai
a942add87a fix: width of new page button (#2258) 2023-05-08 01:06:00 -05:00
himself65
d408a8bbb1 v0.5.4-canary.26 2023-05-07 23:44:02 -05:00
Himself65
4298ff7c7c chore: bump version (#2255) 2023-05-07 23:43:33 -05:00
Himself65
c55bfcc1fc refactor: remove @toeverything/theme (#2254) 2023-05-08 03:41:29 +00:00
Himself65
d795fb6b37 chore: bump version (#2253) 2023-05-08 03:23:55 +00:00
JimmFly
29cbbf5c97 chore: add border for header when in edgeless page (#2239) 2023-05-06 19:00:04 -05:00
JimmFly
aaa4b4f0cb fix: wrong menu position (#2238) 2023-05-06 18:58:41 -05:00
himself65
10cd000822 v0.5.4-canary.25 2023-05-05 23:57:10 -05:00
Himself65
496225a92e chore: bump version (#2249) 2023-05-05 23:41:51 -05:00
JimmFly
1ef408c9ad chore: update the style of help island in edgeless mode (#2244) 2023-05-05 15:35:05 -05:00
JimmFly
8d8119b39b chore: update theme color (#2242) 2023-05-05 15:34:01 -05:00
JimmFly
80c1f9e546 chore: disable navigation path (#2243) 2023-05-05 15:33:36 -05:00
Whitewater
dbd3249ae5 chore: clean all page list (#2245) 2023-05-05 14:46:58 -05:00
himself65
fbbcb4bad9 v0.5.4-canary.24 2023-05-04 23:30:02 -05:00
himself65
33069c87d0 build(theme): generate css file 2023-05-04 23:29:32 -05:00
himself65
637b8203d3 v0.5.4-canary.23 2023-05-04 23:20:02 -05:00
阿良仔
92859bf8b9 perf: remove data-testid in production (#2228)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-05 04:18:54 +00:00
夏宇航
8a617f91e6 style: fix popover z-index (#2215) 2023-05-05 04:13:56 +00:00
Whitewater
84b36c1d35 refactor: clean all pages component (#2176)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-04 22:59:16 -05:00
三咲智子 Kevin Deng
2c49c774af feat(y-indexeddb): add connected (#2208)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-05 03:42:49 +00:00
JimmFly
de0b300aca chore: optimize onboarding component style (#2235) 2023-05-04 22:26:40 -05:00
Himself65
4a50fe584c fix(electron): system theme (#2237) 2023-05-05 03:22:53 +00:00
Himself65
f7d1d922fa fix: cleanup page id in time (#2236) 2023-05-04 22:22:11 -05:00
Himself65
1b12972afd fix(electron): theme sync (#2231) 2023-05-04 21:00:05 -05:00
himself65
33c48eed79 v0.5.4-canary.22 2023-05-04 18:50:20 -05:00
Himself65
9631c99f7b chore: bump version (#2229) 2023-05-04 18:49:08 -05:00
Himself65
097cce34b5 fix: reduce useState and useEffect (#2223) 2023-05-04 17:53:52 -05:00
三咲智子 Kevin Deng
52b9734a7b feat(y-indexeddb): cleanup (#2207)
Co-authored-by: himself65 <himself65@outlook.com>
2023-05-04 20:25:58 +00:00
JimmFly
6d7f06c1c3 feat: add onboarding for client (#2144)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-04 15:29:16 +08:00
Fangdun Tsai
238f69b4e7 fix(component): click area of the item (#2221)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-05-04 05:46:56 +00:00
Himself65
3d43e61087 feat(i18n): static type on i18n (#2225) 2023-05-04 05:35:09 +00:00
Himself65
66c3b09c67 fix(hooks): reduce unused assertExists (#2224) 2023-05-04 03:55:45 +00:00
Himself65
1e84ad1484 fix: reduce pageMeta instance (#2222) 2023-05-03 22:09:43 -05:00
himself65
b3a3911cea v0.5.4-canary.21 2023-05-03 18:58:22 -05:00
Himself65
86988bd6e8 fix: dock to blocksuite latest API (#2219) 2023-05-03 18:57:59 -05:00
Himself65
9096ac2960 refactor: workspace provider (#2218) 2023-05-03 18:16:22 -05:00
himself65
ec39c23fb7 fix(web): add meta description 2023-05-03 18:15:52 -05:00
himself65
b036fe8502 chore: add codecov.yml 2023-05-03 00:47:43 -05:00
himself65
71142a3f1d v0.5.4-canary.20 2023-05-03 00:29:58 -05:00
Himself65
aace740df5 fix: prohibit delete last workspace (#2212) 2023-05-03 04:31:04 +00:00
Horus
f42d656cfa feat: add mac release zip file and release info yml (#2185) 2023-05-03 12:13:40 +08:00
Himself65
88124994e1 chore: bump version (#2211) 2023-05-02 22:40:53 -05:00
Fangdun Tsai
5a881ec223 fix(electron): ignore .DS_Store on MacOS (#2203) 2023-05-03 03:00:09 +00:00
Himself65
12b61d34c3 chore: bump version (#2210) 2023-05-02 16:50:58 -05:00
三咲智子 Kevin Deng
4eff5f3c38 chore: upgrade jotai devtools (#2209) 2023-05-02 21:27:01 +00:00
Himself65
648fad65e0 chore: bump version (#2206) 2023-04-30 20:03:40 -05:00
himself65
a2844e54d2 chore(y-indexeddb): add types fields 2023-04-30 18:40:34 -05:00
Fangdun Tsai
850cfe1187 fix: theme button width (#2202) 2023-04-30 01:51:33 -05:00
himself65
9030767d16 v0.5.4-canary.19 2023-04-29 05:23:48 -05:00
LongYinan
a4e7d0d0c3 fix(electron): remove disableHardwareAcceleration (#2199) 2023-04-29 05:22:59 -05:00
himself65
99898b2260 v0.5.4-canary.18 2023-04-28 16:00:57 -05:00
Himself65
1031fbc7ec refactor: guide atoms (#2196) 2023-04-28 15:59:59 -05:00
Himself65
31cccafb40 fix: sidebar regression (#2195) 2023-04-28 15:02:47 -05:00
Himself65
73a7c01580 revert: resize in app sidebar (#2193) 2023-04-28 05:41:17 -05:00
Whitewater
f9b012cac9 feat: add breakpoints (#2191) 2023-04-28 05:21:14 -05:00
himself65
101cd18067 v0.5.4-canary.17 2023-04-28 04:31:29 -05:00
Himself65
2c466617de fix: remove shake in first render (#2190) 2023-04-28 04:31:01 -05:00
JimmFly
2ff5ef9d5d feat: move theme switch and language switch to editor option menu (#2025)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-28 04:28:51 -05:00
Himself65
903b6eaf30 revert: lastVersionAtom atom (#2188) 2023-04-28 08:53:23 +00:00
Himself65
fd4b664e4f chore: bump version (#2187) 2023-04-28 02:39:21 -05:00
himself65
51a4bdc5e4 fix: state in lastVersionAtom 2023-04-28 02:27:31 -05:00
Himself65
ee695bbcb9 fix: shadow theme (#2186) 2023-04-28 01:53:20 -05:00
Himself65
ef0521fa2a test(electron): theme check (#2182) 2023-04-28 06:40:44 +00:00
Himself65
73d5b2081a feat(electron): enable disable cloud alert (#2184) 2023-04-28 06:26:14 +00:00
Himself65
70fbbb39c1 chore: enable no-unused vars (#2181) 2023-04-28 00:41:06 -05:00
JimmFly
b6ca2aa063 chore: update menu placement (#2183) 2023-04-28 00:40:37 -05:00
himself65
b3c1434055 v0.5.4-canary.16 2023-04-28 00:37:43 -05:00
himself65
4599a9a601 fix: remove min width in the main container 2023-04-28 00:34:05 -05:00
himself65
549dddc65f v0.5.4-canary.15 2023-04-27 23:50:26 -05:00
himself65
9f8b38f9f3 fix(electron): drag window behavior in header 2023-04-27 23:18:00 -05:00
Himself65
3a5a66a5a3 feat: init auth service (#2180) 2023-04-27 22:49:44 -05:00
liuyi
b4bb57b2a5 feat(server): port resolvers to node server (#2026)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-27 18:02:05 -05:00
Himself65
3df3498523 chore: bump version (#2178) 2023-04-27 17:59:54 -05:00
himself65
567092a1ff v0.5.4-canary.14 2023-04-27 16:54:12 -05:00
himself65
f3e1c1eb08 docs: update releases.md 2023-04-27 16:53:20 -05:00
himself65
a04cfe2b68 chore: update desktop icons 2023-04-27 16:52:21 -05:00
Himself65
c1a65b6b76 feat(component): init app sidebar (#2135) 2023-04-27 16:46:08 -05:00
JimmFly
f3cbe54625 chore: update menu background color (#2170) 2023-04-27 18:06:17 +00:00
JimmFly
dcf7e83eec chore: update shadow and color (#2171) 2023-04-27 12:57:25 -05:00
JimmFly
50006efb57 chore: update workspace setting button color (#2169) 2023-04-27 12:55:58 -05:00
Himself65
606f6652ac chore: bump version (#2162) 2023-04-27 00:23:34 -05:00
himself65
afff15c435 fix: background warning color syntax 2023-04-26 22:30:33 -05:00
himself65
f7b8797bb2 v0.5.4-canary.13 2023-04-26 19:33:41 -05:00
Whitewater
2b05a1254b chore: hide pinboard (#2149)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-26 19:31:01 -05:00
himself65
40e7074475 fix(component): remove css import from blocksuite 2023-04-26 02:29:34 -05:00
himself65
e1ad3e38b9 v0.5.4-canary.12 2023-04-26 01:55:32 -05:00
himself65
f03fdde770 chore(electron): update canary icons 2023-04-26 01:55:05 -05:00
Himself65
d2eba54550 chore: bump version (#2146) 2023-04-26 01:54:44 -05:00
himself65
fa7baaf5c1 docs: add the ecosystem section in README.md 2023-04-25 19:22:47 -05:00
himself65
a4d8b65eef v0.5.4-canary.11 2023-04-25 19:00:03 -05:00
himself65
83dafa149c build: add set-version.sh 2023-04-25 18:59:37 -05:00
himself65
3a25f13734 docs: download page redirect to affine.pro 2023-04-25 18:48:39 -05:00
Himself65
db52c63d25 feat: init @toeverything/theme (#2136) 2023-04-25 18:44:17 -05:00
himself65
80f4578f76 v0.5.4-canary.10 2023-04-25 11:44:23 -05:00
JimmFly
15a7e93058 fix: text overflow problem in <a> tag (#2126) 2023-04-25 11:40:14 -05:00
JimmFly
1c41731b4e fix: theme color (#2124) 2023-04-25 11:37:22 -05:00
Himself65
a807647639 fix(component): editor component style (#2120) 2023-04-25 01:58:30 -05:00
JimmFly
3f1293ca3c chore: add changeLog to storybook (#2118)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-25 06:24:46 +00:00
Himself65
ad58b4d1e9 feat: improve build config (#2115) 2023-04-24 22:33:09 -05:00
Himself65
7e61708850 test: move playwright test suite to top level (#2113) 2023-04-24 22:12:48 -05:00
LongYinan
5c673a8ffc feat(graphql): generate types from graphql files (#2014)
Co-authored-by: forehalo <forehalo@gmail.com>
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-25 10:13:52 +08:00
himself65
4528df07a5 v0.5.4-canary.9 2023-04-24 19:59:21 -05:00
himself65
b6eb017bd4 docs: add linux badge 2023-04-24 19:55:05 -05:00
Himself65
9d3b9e9848 chore: bump version (#2111) 2023-04-24 19:46:46 -05:00
himself65
04fc619f52 test: fix flaky 2023-04-24 19:33:35 -05:00
himself65
06ef6da370 ci: remove unused 2023-04-24 19:26:30 -05:00
Himself65
d3ce90e721 test: add electron test (#1840) 2023-04-24 18:53:36 -05:00
himself65
9c94d05dd8 docs: format jobs.md 2023-04-24 17:47:41 -05:00
Himself65
ef8dea8cb2 test: fix flaky in customElements (#2109) 2023-04-24 13:18:37 -05:00
Peng Xiao
c27c241482 fix: some improvements to electron app (#2089) 2023-04-24 12:53:21 -05:00
Flrande
b73e9189ef chore: fix color (#2083)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-24 11:49:34 -05:00
JimmFly
c95b8e9d71 fix: incorrect text color (#2107) 2023-04-24 11:49:22 -05:00
Peng Xiao
ab8669882a fix: closing modal sometimes covered by header (#2097) 2023-04-23 23:43:40 -05:00
himself65
7ff12a6d0f build: reduce the sample rate to 0.1 2023-04-23 23:40:59 -05:00
himself65
339b133e3f v0.5.4-canary.8 2023-04-23 21:41:43 -05:00
Peng Xiao
be9095ec19 build: fix electron build gain focus on reloading in dev (#2088) 2023-04-23 01:42:52 -05:00
Himself65
33261558f6 chore: bump version (#2087) 2023-04-23 01:42:27 -05:00
Himself65
2ad1b770d0 fix(y-indexeddb): alert user when write operation unfinished (#2085) 2023-04-22 17:32:57 -05:00
Himself65
74e21311dc refactor(y-indexeddb): move migrate function separate (#2086) 2023-04-22 17:25:25 -05:00
Chi Zhang
bf83bfcf63 feat: add short cuts for sidebar (#2075) 2023-04-22 17:24:44 -05:00
Chi Zhang
70d8f9a0a7 feat: add shared page empty tip (#2077)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-22 17:24:18 -05:00
Moeyua Evod
7d246f87e7 docs: sign CLA (#2079) 2023-04-22 00:05:13 -05:00
Himself65
1ca9fb8ff4 fix(workspace): check affine login auth (#2070) 2023-04-21 20:44:29 -05:00
Moeyua Evod
2c95a0a757 feat: center align button text (#2056)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-21 19:45:23 -05:00
himself65
a49d5ea1e2 fix(workspace): load first workspace in index page 2023-04-21 13:46:01 -05:00
三咲智子 Kevin Deng
84e2710e87 docs: fix typo (#2063) 2023-04-21 12:07:44 -05:00
Peng Xiao
044e6da00d build: beta build (#2069) 2023-04-21 11:52:55 -05:00
himself65
023cbc30ea fix(workspace): cloud workspace blob uploading 2023-04-21 11:34:18 -05:00
Peng Xiao
7094385d8b fix: try to sign macos (#2066) 2023-04-21 23:30:49 +08:00
himself65
f66d402cf7 v0.5.4-beta.0 2023-04-21 06:09:38 -05:00
Peng Xiao
971e256cd3 fix: osxSign in build 2023-04-21 18:25:46 +08:00
Peng Xiao
88a297c3c1 chore: bump version 0.5.4-canary.7 2023-04-21 18:10:12 +08:00
Peng Xiao
4bb50e8c25 feat: store local data to local db (#2037) 2023-04-21 18:06:54 +08:00
zuomeng wang
acc5afdd4f fix(web): remove edgeless mode padding (#2061) 2023-04-21 17:56:29 +08:00
Qi
9ec6768272 fix: modify with new blocksuite version about subpage (#2060) 2023-04-21 08:34:32 +00:00
Peng Xiao
5a124831b8 fix: some minor ui issues (#2058) 2023-04-21 00:56:42 -05:00
Flrande
01115f8957 fix: color variable (#2059) 2023-04-20 23:41:43 -05:00
Qi
a5a6203a95 feat: replace react-dnd to dnd-kit (#2028)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-20 23:27:32 -05:00
himself65
4a473f5518 Revert "chore: bump version"
This reverts commit 44011b4695.
2023-04-20 22:53:32 -05:00
himself65
6cddacb953 Revert "fix: api compatibility with blocksuite"
This reverts commit 00f44c72ce.
2023-04-20 22:53:32 -05:00
himself65
00f44c72ce fix: api compatibility with blocksuite 2023-04-20 22:29:11 -05:00
himself65
44011b4695 chore: bump version 2023-04-20 21:58:09 -05:00
himself65
e0cd2e780b v0.5.4-canary.7 2023-04-20 18:09:53 -05:00
himself65
985bb55d82 build(y-indexeddb): fix vite config 2023-04-20 18:08:33 -05:00
himself65
66d0640042 ci: fix release.yml 2023-04-20 17:50:29 -05:00
himself65
e399682cad ci: add release.yml 2023-04-20 17:47:06 -05:00
himself65
c4e90f2d8b v0.5.4-canary.6 2023-04-20 17:29:49 -05:00
himself65
b38b01fc98 docs: fix script 2023-04-20 17:27:30 -05:00
Himself65
0a0f825a15 fix: remove mui theme provider (#2055) 2023-04-20 14:31:54 -05:00
Himself65
d24c43e750 chore: bump version (#2054) 2023-04-20 12:25:12 -05:00
ʀᴀʏ
90b51031d2 chore: correct action name (#2053) 2023-04-20 11:32:44 -05:00
himself65
1e771131b0 docs: format releases.md 2023-04-20 11:32:17 -05:00
himself65
4d7a3e5bf1 docs: add releases.md 2023-04-20 11:27:52 -05:00
himself65
92b1244fd7 v0.5.4-canary.5 2023-04-20 11:08:10 -05:00
himself65
d6b1b9f6cf ci: use RELEASE_TOKEN 2023-04-20 10:34:35 -05:00
Flrande
b2e93433e1 chore: fix color (#2049)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-04-20 09:13:20 -05:00
Chi Zhang
97b1a31f8d Update README.md 2023-04-20 21:38:00 +08:00
Qi
4a1c15c1e9 feat: modify default avatar (#2034) 2023-04-20 17:41:29 +08:00
himself65
f8d1513bb6 chore: release 0.5.4-canary.4 2023-04-20 03:34:00 -05:00
Flrande
372377dd6b feat: upgrate to new theme (#2027)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-20 03:31:19 -05:00
Himself65
63f7b2556e feat: init affine blob storage (#2045) 2023-04-20 03:23:41 -05:00
himself65
c08c587efb fix: max length of input 2023-04-20 02:36:25 -05:00
JimmFly
65c1bee7f0 chore: update temp disable affine cloud modal style (#2046) 2023-04-20 02:27:26 -05:00
howarddo
227f59cadc docs: add more instruction for yarn (#2042) 2023-04-20 00:25:10 -05:00
JimmFly
031ab2cfa2 chore: improve disable legacy cloud (#2041) 2023-04-20 12:25:45 +08:00
Chi Zhang
9f33e73429 Update package.json 2023-04-19 14:30:28 +08:00
himself65
f1670af15d ci: fix working-directory 2023-04-18 18:33:46 -05:00
himself65
0d7f65ab36 test(server): fix script 2023-04-18 18:24:35 -05:00
Himself65
3a053af50c feat(server): init user module (#2018) 2023-04-18 18:14:25 -05:00
himself65
c6be29f944 fix: disable legacy cloud in header 2023-04-18 15:01:19 -05:00
Peng Xiao
9ffe45102b fix: macos build 2023-04-19 00:43:51 +08:00
Peng Xiao
6448b6a515 fix: release app workflow (#2017) 2023-04-19 00:21:44 +08:00
Peng Xiao
ba462fb79b fix: artifacts in release (#2016) 2023-04-18 22:20:34 +08:00
Peng Xiao
f36d415c3d build: optimize release app workflow (#2011) 2023-04-18 17:50:29 +08:00
Himself65
f6fb049ff2 feat: support disable legacy cloud (#2006) 2023-04-18 02:23:00 -05:00
JimmFly
94063352f5 chore: disable slider bar link item drag (#2010) 2023-04-18 02:16:38 -05:00
Himself65
c895c18deb ci: collect server coverage report (#2002) 2023-04-18 01:01:14 -05:00
JimmFly
346484ed44 chore: add translation (#2001) 2023-04-18 00:34:21 -05:00
Himself65
18223c22ef test(server): migrate to node internal test (#2000) 2023-04-18 00:07:03 -05:00
himself65
ea9861bfa0 ci: update labeler.yml 2023-04-17 23:13:10 -05:00
Himself65
7be96a2e41 build: remove unused config (#1990) 2023-04-17 23:11:46 -05:00
LongYinan
91c3040db7 feat(server): init nestjs server (#1997)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-17 22:24:44 -05:00
himself65
a92d0fff4a docs: update badge in README.md 2023-04-17 21:06:29 -05:00
Jordy Delgado
64e5d65eb3 docs: sign CLA (#1995) 2023-04-17 21:03:15 -05:00
Peng Xiao
11de3a681f build: add canary build (#1986)
Co-authored-by: Himself65 <himself65@outlook.com>
Co-authored-by: Horus <lhlxtl@gmail.com>
2023-04-17 11:32:10 -05:00
hehe
54a30bbf20 chore: remove absolete module-resolve (#1991) 2023-04-17 15:02:22 +00:00
usedtobe
6c77006bcc docs: fix typo (#1984) 2023-04-17 08:34:50 -05:00
Qi
143a55a6e8 fix: error style of sidebar (#1981) 2023-04-17 06:52:04 +00:00
Qi
19894aad5a feat: modify empty text & style of favorite & pinboard (#1977)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-17 13:41:07 +08:00
JimmFly
f534e4a6dd chore: update change log link (#1973)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-16 21:48:29 -05:00
Himself65
3d70a36dd3 refactor: remove null type in hooks (#1955) 2023-04-16 21:36:32 -05:00
Himself65
9c517907eb fix: first binary on y-indexeddb (#1972) 2023-04-16 21:33:54 -05:00
Himself65
4cb6b8fdc8 chore: bump version (#1970) 2023-04-16 20:36:59 -05:00
Horus
134e1e8668 feat: support release windows installer with squirrel (#1965)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-16 19:28:29 -05:00
Himself65
c76bbeab67 ci: add sentry in desktop release (#1914) 2023-04-16 21:22:48 +00:00
himself65
ec50d721ea chore: release 0.5.3 2023-04-16 16:04:21 -05:00
Himself65
7bbe67af43 refactor: workspace loading logic (#1966) 2023-04-16 16:02:41 -05:00
Himself65
caa292e097 test: mark public single page as fail (#1967) 2023-04-16 09:45:50 -05:00
HeJiachen-PM
73b8b805c6 Rewrite section 2.3 2023-04-16 15:19:22 +08:00
HeJiachen-PM
084d4e043a Add summery to subsections in section 2 2023-04-16 15:09:08 +08:00
HeJiachen-PM
69a9c34f11 Rewrite the third section 2023-04-16 04:37:35 +08:00
Himself65
d742cab1d5 fix: hydration error (#1961) 2023-04-15 13:10:24 -05:00
Horus
8b3c1fb363 fix: force to use powershell on windows to fix zx script crash (#1962) 2023-04-15 12:24:57 -05:00
Horus
ec445207d6 fix: fix windows build client error and release cannot open (#1959) 2023-04-16 00:00:47 +08:00
HeJiachen-PM
49281e68a6 Rewrite the second section 2023-04-15 15:31:56 +08:00
HeJiachen-PM
a918d6e14c Proofreading introduction 2023-04-15 15:27:09 +08:00
Himself65
7cf7187893 docs: add behind-the-code.md (#1957) 2023-04-15 00:19:13 -05:00
Himself65
2383165470 refactor: remove NoSsr on top level (#1951) 2023-04-14 17:07:41 -05:00
Himself65
43a96fe8e3 fix: move suspense to the correct place (#1954) 2023-04-14 15:44:23 -05:00
Himself65
b771a2504b test: fix flaky (#1953) 2023-04-14 15:03:16 -05:00
himself65
8d2fefb5f8 ci: fix labeler.yml 2023-04-14 14:14:58 -05:00
himself65
c71e5f1c96 fix(cli): run dev server at 8080 2023-04-14 11:06:22 -05:00
Skye Sun
5b96fb0db3 docs: update CLA.md (#1950) 2023-04-14 08:02:21 -05:00
Peng Xiao
46cd0c5c9a fix: share url (#1948) 2023-04-14 08:01:31 -05:00
Qi
261a41f8da feat: add history back & forward for desktop app (#1926) 2023-04-14 09:19:52 +00:00
Himself65
bd387f6551 fix: theme color (#1944) 2023-04-14 02:13:14 -05:00
JimmFly
5335118e93 chore: add translation (#1946) 2023-04-14 15:02:43 +08:00
Himself65
70313eb5ee chore: bump version (#1943) 2023-04-14 01:57:54 -05:00
himself65
ccd2b79d20 docs: update logo in README.md 2023-04-14 00:38:35 -05:00
Himself65
5ca94db5d2 fix: effect deps (#1940) 2023-04-14 00:24:44 -05:00
Himself65
d58f9db289 docs: update BUG-REPORT.yml (#1941) 2023-04-13 22:27:01 -05:00
Chi Zhang
93e78c315c Update jobs.md 2023-04-14 10:27:45 +08:00
himself65
3954f309aa chore: fix packages version 2023-04-13 18:33:21 -05:00
himself65
f902d0c324 ci: fix cache in build-master.yml 2023-04-13 18:22:20 -05:00
Himself65
e79fb1ae3a build: add log when coverage (#1933) 2023-04-13 18:20:41 -05:00
Himself65
08d67b316c docs: update README.md (#1931) 2023-04-13 17:54:20 -05:00
himself65
d12c00d5cb ci: fix coverage report 2023-04-13 17:53:34 -05:00
himself65
68bb538dd1 ci: remove version tag in release 2023-04-13 16:39:50 -05:00
himself65
b394764b1c ci: fix upload-artifact path 2023-04-13 16:33:12 -05:00
Himself65
01a686dc28 feat: enable share menu (#1883)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-04-13 16:22:49 -05:00
Simon He
32b206a137 chore: add lint cache (#1917) 2023-04-13 20:30:18 +00:00
Peng Xiao
42756045bb fix: failed to load blobs in electron (#1927) 2023-04-13 15:14:46 +00:00
Peng Xiao
934e242116 fix: electron sourcemap issues (#1919) 2023-04-13 08:37:50 -05:00
Qi
6571ec2df6 fix: pinboard operation menu disappear inexplicably when hover to menu from button, fixed #1898 (#1922) 2023-04-13 07:58:22 -05:00
Qi
7d64815aca feat: add navigation path in quick search (#1920) 2023-04-13 16:31:28 +08:00
Himself65
f20a151e57 fix(y-indexeddb): migration in firefox (#1904) 2023-04-12 22:42:17 -05:00
Himself65
6180a4c3cb fix: wrap React.lazy with Suspense (#1915) 2023-04-12 22:33:31 -05:00
Himself65
2bcda973d3 build: support sourcemap in sentry (#1910) 2023-04-12 21:26:06 -05:00
Himself65
1162bffb30 build: support sentry replay (#1908) 2023-04-12 21:18:41 -05:00
Himself65
2a2d682211 fix: cannot update a component while rendering a different component (#1907) 2023-04-12 16:46:29 -05:00
Sirocco
8f53043100 fix: improve UX of dropdown (#1905)
Removed the logic of onMouseLeave. The logic of clicking to open and clicking to close is clearer.

Fixes: #1898
2023-04-12 15:35:41 -05:00
Himself65
6d5b101bb3 fix: use startTransition (#1903) 2023-04-12 12:06:22 -05:00
Himself65
8bcef957fc refactor: remove next/dynamic (#1901) 2023-04-12 11:08:50 -05:00
Peng Xiao
d9c4fc3a9e fix: cors header handling (#1900) 2023-04-13 00:05:54 +08:00
Peng Xiao
407c72ba2c fix: try fix electron build (#1899) 2023-04-12 23:23:47 +08:00
Peng Xiao
95aa86cdf0 fix: ws prefix url in electron (#1896) 2023-04-12 14:11:47 +00:00
TimLi
25d7f7c848 fix: export to html/markdown (#1892)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-12 14:11:03 +00:00
Yifeng Wang
23e33a6061 chore: enable databse feature flag (#1895) 2023-04-12 19:23:46 +08:00
Peng Xiao
f647fb6070 fix: update app icons (#1893) 2023-04-12 16:04:45 +08:00
Qi
af04c1b889 feat: refactor trash, page would delete from its parent's subpageIds after move to trash (#1871) 2023-04-12 01:14:57 -05:00
Peng Xiao
ba4a2fc9d2 fix: API server address in electron (#1888)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-12 00:26:42 -05:00
Himself65
fb0d2992c2 chore: bump version (#1890) 2023-04-12 00:19:12 -05:00
himself65
ea00c208e6 fix: set affine loading speed to 2 2023-04-11 23:54:15 -05:00
DarkSky
6ce270bffd feat: update favicon & manifest (#1889) 2023-04-11 23:52:38 -05:00
Himself65
9dcb96839b fix(component): affine loading (#1887) 2023-04-11 23:48:42 -05:00
Himself65
5535440c55 docs(y-indexeddb): add README.md (#1886) 2023-04-11 23:37:24 -05:00
himself65
db8fe4e09a feat: add new affine loading component 2023-04-11 22:57:20 -05:00
Chi Zhang
07a11ed767 Update package.json 2023-04-12 10:55:00 +08:00
Himself65
a06113d48c refactor: workspace header (#1880) 2023-04-11 21:39:39 -05:00
JimmFly
2e823c2fee feat: single page sharing support (#1805)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-11 17:58:11 -05:00
Himself65
f3af128baf perf(y-indexeddb): improve boost and loading time (#1879) 2023-04-11 17:29:44 -05:00
Himself65
a599364218 fix(y-indexeddb): migration for once (#1868) 2023-04-11 14:30:36 -05:00
Horus
c0669359ed feat: support google cloud login in client (#1822)
Co-authored-by: Himself65 <himself65@outlook.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-04-11 18:42:36 +00:00
Himself65
024c469a2c chore: bump version (#1873) 2023-04-11 09:47:46 -05:00
Qi
f5e51bb471 feat: ensure subpage is appended in its parent after subpageLinked (#1872) 2023-04-11 09:43:35 -05:00
Himself65
778f76dfed feat: add affine next theme (#1867) 2023-04-10 23:43:24 -05:00
Chi Zhang
b2ff6e379c docs: make intro,badge,desc align center (#1866) 2023-04-10 22:12:36 -05:00
Zhilin Liu
cc4e48e5bb fix: update i18n (#1860) 2023-04-10 22:08:04 -05:00
Chi Zhang
7afc61ac36 docs: remove the global center style (#1865) 2023-04-11 11:02:38 +08:00
Chi Zhang
537200c064 docs: thanks to all contributors, update the readme (#1864) 2023-04-10 21:55:53 -05:00
Himself65
d95dbd5af4 chore: bump version (#1863) 2023-04-10 17:41:07 -05:00
Himself65
7fea55d81f feat: support page sharing by meta (#1858) 2023-04-10 17:13:44 -05:00
Qi
ea2a146c82 feat: connect pinboard and reference link (#1859) 2023-04-10 11:49:51 -05:00
HeJiachen-PM
9acbba7016 Replaced obsolete pics and updated READ.me
Pics are now replaced by more intuitive gifs. description are fixed accordingly.
2023-04-10 19:34:55 +08:00
Himself65
401cad799e refactor: move non-affine hooks (#1857) 2023-04-09 17:15:07 -05:00
Horus
d9e42d6a0f ci: fix windows build artifacts path name error (#1856) 2023-04-09 14:11:34 -05:00
Zhilin Liu
73a1a979f9 docs: sign CLA (#1855) 2023-04-09 08:42:27 -05:00
Himself65
626b906bc0 ci: build macos on pull request (#1854) 2023-04-08 20:44:47 -05:00
Himself65
889503d1cc docs: add contributing tutorial (#1851) 2023-04-08 16:33:58 -05:00
Himself65
20e56cc474 fix: revalidate user token with no refresh page (#1842) 2023-04-07 17:51:51 -05:00
Qi
e50bf9fbfe feat: add root pinboard & rename pivots to pinboard (#1843) 2023-04-07 21:55:59 +00:00
Peng Xiao
d4b2b9ab44 fix: dnd workspace list will cause page to reload (#1848) 2023-04-07 11:48:37 -05:00
JimmFly
ea06df4386 chore: update change log style (#1846) 2023-04-07 06:24:29 -05:00
Yifeng Wang
fd34a99665 build: update env template 2023-04-07 16:03:49 +08:00
Yifeng Wang
5a1e8b0c93 chore: update blocksuite (#1845) 2023-04-07 15:46:37 +08:00
Flrande
74657c2fa1 fix: enable autofocus in blocksuite editor (#1844) 2023-04-07 06:28:21 +00:00
Flrande
7d55d0ea0b feat: update code-block background color (#1841) 2023-04-07 03:51:13 +00:00
Himself65
efe5444816 fix: reload the page when login token expired (#1839) 2023-04-06 18:26:53 -05:00
Himself65
5ac36b6f0a refactor: add workspace events (#1838) 2023-04-06 16:14:23 -05:00
Himself65
b6bdf257e4 feat(component): support sort workspace card (#1837) 2023-04-06 13:21:45 -05:00
Himself65
773554bbac ci: add pr header check (#1836) 2023-04-06 13:12:43 -05:00
Himself65
2e354ae59e refactor(component): editor component (#1834) 2023-04-06 11:14:25 -05:00
himself65
999796f988 ci: fix typo in labeler.yml 2023-04-06 11:03:27 -05:00
Himself65
17fa77e5ae ci(storybook): wait for 6006 (#1833) 2023-04-06 10:01:16 -05:00
himself65
2601b26c16 ci: update labeler.yml 2023-04-06 09:56:32 -05:00
Himself65
1ad4b0fc89 feat: single page API in public workspace (#1794) 2023-04-06 09:20:36 -05:00
Himself65
0577298344 test: compare public page json (#1793) 2023-04-06 09:01:44 -05:00
Qi
88447b438b feat: modify pivot operation menu (#1786)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-06 08:37:49 -05:00
JimmFly
0956b5ccc7 chore: update change log style (#1832) 2023-04-06 08:34:57 -05:00
Himself65
69cc0f5cb9 chore: bump version (#1830) 2023-04-05 23:12:32 -05:00
himself65
fe60318d7a docs: update badge in README.md 2023-04-05 22:53:34 -05:00
Himself65
d8931db300 chore: bump version (#1829) 2023-04-05 22:44:38 -05:00
Himself65
c209aa1d15 ci: use cloud-self-hosted:nightly-latest (#1828) 2023-04-05 21:14:21 -05:00
Himself65
164d357487 fix: indexeddb provider (#1827) 2023-04-05 21:01:12 -05:00
himself65
ee8f6a760e ci: add labeler.yml 2023-04-05 20:14:11 -05:00
Himself65
76c0d01640 fix: remove unused hook useFeatureFlag (#1826) 2023-04-05 19:57:15 -05:00
Aditya Sharma
0c87bf36ca feat: add toast for workspace deletion (#1825)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-05 08:47:14 -05:00
Himself65
116caff3c7 chore: bump version (#1820) 2023-04-04 17:08:48 -05:00
Himself65
ae4339ea28 refactor: use radix ui on workspace avatar (#1819) 2023-04-04 16:14:51 -05:00
Himself65
a24b747ee8 chore: bump version (#1818) 2023-04-04 14:41:25 -05:00
himself65
3e3386d24a ci: fix storybook test 2023-04-04 13:09:15 -05:00
Himself65
89f53190db fix: workspace avatar url won't update (#1817) 2023-04-04 12:46:33 -05:00
himself65
37169ae37d ci: use PERFSEE_TOKEN 2023-04-04 11:52:38 -05:00
Himself65
02a8daad5f refactor: remove unused package desktop (#1815) 2023-04-04 10:32:09 -05:00
Himself65
69cd22a3b8 chore: bump version (#1812) 2023-04-04 08:46:53 -05:00
Peng Xiao
5bd3aa4a80 fix: cleanup electron build script (#1813) 2023-04-04 07:40:07 -05:00
Peng Xiao
c023d0a2b8 fix: improve sidebar animation (#1814) 2023-04-04 09:14:44 +00:00
Himself65
5129ab3db8 refactor: abstract workspace provider (#1809) 2023-04-03 23:28:00 -05:00
JimmFly
67a5d1520d chore: update sentence (#1808) 2023-04-04 04:01:56 +00:00
Himself65
215bb24ec4 feat(component): improve storybook (#1804) 2023-04-03 18:42:36 -05:00
himself65
2f3a13c439 build: improve logs 2023-04-03 18:40:07 -05:00
Himself65
9a20f50b05 refactor: move WorkspaceCard (#1803) 2023-04-03 18:13:43 -05:00
Himself65
dbcadbaf60 refactor: move useBlockSuiteWorkspaceAvatarUrl (#1802) 2023-04-03 17:35:57 -05:00
Himself65
5c46c7d9fc ci: check all install deps (#1801) 2023-04-03 17:04:01 -05:00
Aditya Sharma
cd089ed64a feat: shortcut for expand/collapse of sidebar (#1797)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-03 16:39:45 -05:00
Peng Xiao
b1618e9ce1 build: MacOS code signing (#1795)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-04-03 16:39:25 -05:00
Himself65
b36588714e build(component): fix storybook config (#1798) 2023-04-03 16:18:46 -05:00
Himself65
83000fa832 build: fix docker setup (#1799) 2023-04-03 16:09:41 -05:00
Himself65
5dbbabae57 feat: add public workspace page api (#1791) 2023-04-03 06:15:39 -05:00
JimmFly
196b9f2dbb chore: add build flag for change log (#1792) 2023-04-03 11:13:43 +00:00
Himself65
fcf5d5602d feat: init @toeverything/hooks package (#1788) 2023-04-03 04:32:52 -05:00
Himself65
89c1e4c205 build: fix reference (#1787) 2023-04-03 04:32:43 -05:00
Himself65
06a69b0767 fix: api compatibility with OctoBase (#1790) 2023-04-03 03:50:04 -05:00
Peng Xiao
2cf8ab434e fix: give electron app with minWidth = 640px (#1785) 2023-04-03 07:20:58 +00:00
Peng Xiao
487ef35563 fix: some minor ui issues (#1783) 2023-04-03 00:24:53 -05:00
Himself65
95879cc1d0 feat: support revert changes (#1782) 2023-04-02 16:28:45 -05:00
Peng Xiao
e0eecffb2f feat: optimize electron macos header style (#1774)
Co-authored-by: himself65 <himself65@outlook.com>
2023-04-02 14:01:22 -05:00
Himself65
fa150a93a0 feat: support create milestone from yDoc (#1781) 2023-04-02 05:53:01 -05:00
himself65
20a7a35e96 docs: add FUNDING.yml 2023-04-02 05:52:21 -05:00
Himself65
ed8f07f102 refactor: remove y-indexeddb (#1771) 2023-04-02 02:57:50 -05:00
Himself65
f5574c68fe test: improve coverage (#1780) 2023-04-02 02:16:53 -05:00
Himself65
60324b8967 refactor: move local workspace CRUD (#1778) 2023-04-02 01:34:57 -05:00
Himself65
5e56728dbc test: coverage on atomWithSyncStorage (#1779) 2023-04-02 01:30:58 -05:00
Himself65
e02ab36aae chore: bump version (#1775) 2023-04-01 20:24:13 -05:00
himself65
cf56fc9551 build: improve logs
Fixes: https://github.com/toeverything/AFFiNE/issues/1768
2023-03-31 16:43:52 -05:00
himself65
676a5793e2 build: fix script 2023-03-31 16:14:10 -05:00
Peng Xiao
7299efe16a fix: first workspace create logic (#1773) 2023-03-31 12:40:30 -05:00
himself65
fd65dd66a1 fix: use assertExists 2023-03-31 00:15:40 -05:00
Himself65
b0d13fbabe feat: add hook setPageTitle (#1769) 2023-03-31 00:06:56 -05:00
Peng Xiao
5717d126ee fix: blockhub position (#1767) 2023-03-31 04:10:25 +00:00
Himself65
bd67554f5e test: increase retries times to 3 (#1763) 2023-03-30 21:00:19 -05:00
Peng Xiao
c55d61a641 feat: responsive ui above 640px (#1741) 2023-03-30 20:12:18 -05:00
himself65
bdb1264f09 test: add timeout for page list 2023-03-30 19:59:56 -05:00
himself65
acac585eb2 fix: use access_token 2023-03-30 18:35:01 -05:00
himself65
f935bbaf5d fix: update channel message schema 2023-03-30 18:33:09 -05:00
Himself65
bb1224f9ee feat: add affine global channel (#1762) 2023-03-30 18:21:26 -05:00
Himself65
3fa7d17dca refactor: use keck from OctoBase (#1761) 2023-03-30 16:52:11 -05:00
JimmFly
c9bd4e34b3 feat: add change log (#1734)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-30 15:17:36 -05:00
Himself65
91c32b6715 fix: lint issue (#1760) 2023-03-30 13:43:29 -05:00
Qi
b6ded30770 feat: support pivots menu (#1755) 2023-03-30 17:37:41 +08:00
Himself65
4dd1490eef test: sync provider (#1754) 2023-03-30 03:22:26 -05:00
Himself65
d8d965b9b8 test: fix collaborative (#1750) 2023-03-30 12:21:26 +08:00
Himself65
14f073c8ea fix: prohibit create first page besides local workspace (#1751) 2023-03-29 23:07:29 -05:00
Himself65
94d284d841 feat: add test environment for mock user (#1748) 2023-03-29 20:44:51 -05:00
Himself65
79128a3c3e fix: fallback to all page (#1749) 2023-03-29 20:10:47 -05:00
Himself65
127e9bdba2 feat: add getUsage api (#1744) 2023-03-29 19:00:52 -05:00
Fangdun Tsai
3180d961dd fix: trim git info (#1746) 2023-03-29 17:56:44 -05:00
Himself65
926bf49b26 test: add coverage on collaborative editing (#1747) 2023-03-29 17:49:13 -05:00
himself65
5500b3b1ed docs: update badge links in README.md 2023-03-29 17:40:24 -05:00
Himself65
68144fb2dc test: health check (#1743) 2023-03-29 15:46:10 -05:00
Himself65
9cd59d9146 test: throw no permission when download failed (#1742) 2023-03-29 13:42:55 -05:00
Himself65
8a03f9ff1f chore: bump version (#1737) 2023-03-29 13:35:42 -05:00
Himself65
9c6fb82c82 feat: detect if blob too large (#1738) 2023-03-29 02:39:23 -05:00
himself65
c1e8818db4 docs: update badges in README.md 2023-03-29 02:39:02 -05:00
Himself65
eb33289f98 fix: do not reconnect server if fail to many times (#1735) 2023-03-28 22:50:01 -05:00
Himself65
998587b3b8 test: open public workspace (#1736) 2023-03-28 22:49:46 -05:00
Himself65
62955e7de4 test: coverage on enable public workspace (#1733) 2023-03-28 20:57:50 -05:00
Himself65
f18127dfd6 fix(component): toast duration (#1732) 2023-03-28 14:58:51 -05:00
Himself65
6917d2100f fix(web): css in mobile (#1731) 2023-03-28 14:42:30 -05:00
Himself65
5faa2760cd refactor: remove sidebar in public workspace (#1730) 2023-03-28 14:30:29 -05:00
himself65
f9811c85bc ci: fix artifact name 2023-03-28 14:08:19 -05:00
Himself65
c9318d3790 feat: support sentry report (#1729) 2023-03-28 14:06:16 -05:00
Himself65
c87aad436f ci: improve storybook build (#1728) 2023-03-28 13:55:35 -05:00
himself65
e19c32aa5d ci: boost up next build time 2023-03-28 12:48:40 -05:00
Himself65
dbbc05e5f0 test: improve coverage on affine api (#1727) 2023-03-28 12:42:40 -05:00
Qi
751ad9716f feat: modify pivot style & add operation menu to pivot item (#1726) 2023-03-28 10:16:47 +00:00
Peng Xiao
99be6183e6 fix: yarn config in electron app (#1724) 2023-03-28 09:33:53 +00:00
himself65
abdee7fac2 fix: fatal error on iOS Chrome 2023-03-28 04:13:03 -05:00
himself65
7d3ae9a0c9 fix: size of svg image 2023-03-28 03:17:08 -05:00
Himself65
600adb3dd7 test: improve coverage on @affine/debug (#1723) 2023-03-28 02:07:26 -05:00
himself65
995504d1f6 docs: update codecov link 2023-03-28 01:47:17 -05:00
Peng Xiao
595de24cfd ci: should install electron workspace in cross-platform builds (#1719) 2023-03-28 01:08:17 -05:00
Himself65
69b13aa30f refactor(web): move contact modal to component (#1718) 2023-03-28 01:07:53 -05:00
JimmFly
edf7913e12 chore: update theme color (#1717)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-28 00:43:29 -05:00
Peng Xiao
5a508b1fe4 fix: windows rust cache (#1710) 2023-03-28 05:25:16 +00:00
Himself65
26b030ecda fix(web): async load images (#1714) 2023-03-27 23:35:33 -05:00
Himself65
f478c9ce9e ci: disable playwright install by default (#1715) 2023-03-27 23:21:51 -05:00
himself65
3e10f49fc7 ci: cleanup cache when pr merged 2023-03-27 23:17:06 -05:00
Himself65
316223b784 test: fix flaky in theme.spec.ts (#1708) 2023-03-27 23:11:31 -05:00
himself65
4c6505cdf2 build: use PerfseePlugin only when token provided 2023-03-27 23:05:56 -05:00
Himself65
7fb5b1f65b ci: disable electron workspace by default (#1713) 2023-03-28 04:02:57 +00:00
Himself65
79fc59248f ci: use standard pull_request event (#1712) 2023-03-28 03:52:19 +00:00
himself65
8578ff9714 build: fix workspaces in package.json 2023-03-27 22:36:53 -05:00
himself65
f00eda2568 ci: fix working-directory 2023-03-27 22:31:36 -05:00
himself65
bf85db1952 feat: move electron a single package 2023-03-27 22:30:03 -05:00
himself65
bdc29fc5f8 ci: fix build.yml override_pr 2023-03-27 22:15:41 -05:00
Himself65
c9ea53c2d5 fix: use the latest docker service (#1711) 2023-03-27 22:08:40 -05:00
himself65
1f005bba9b build: ignore electron 2023-03-27 22:07:36 -05:00
Himself65
427a5e7545 fix: quick search in public workspace (#1706) 2023-03-27 19:30:27 -05:00
himself65
2fba1fa7c8 ci: speed up yarn install 2023-03-27 19:28:05 -05:00
himself65
93fd8aedb3 ci: setup cache for yarn 2023-03-27 18:09:48 -05:00
Peng Xiao
dc768e0ba9 build: fix arm64 mac build (#1704) 2023-03-27 18:03:11 -05:00
himself65
d780e90d88 ci: improve build-master.yml 2023-03-27 17:58:44 -05:00
himself65
a1600a3671 build: run all-contributors generate 2023-03-27 17:52:26 -05:00
Himself65
ed29c5fbd9 refactor: remove package @affine/datacenter (#1705) 2023-03-27 17:48:22 -05:00
Himself65
021bf6534b feat(workspace): handle error on apis (#1700) 2023-03-27 15:25:30 -05:00
Qi
628ce08d8d feat: modify sidebar style (#1703) 2023-03-27 18:41:04 +00:00
Peng Xiao
c2b1a9b118 feat(client): add octobase-node to electron (#1672)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-27 01:59:36 -05:00
Qi
449ffbc73f feat: refactor the usage of toast (#1699) 2023-03-27 05:24:14 +00:00
Himself65
66dec34209 ci: reduce unused steps (#1696) 2023-03-27 00:15:04 -05:00
Aditya Sharma
b01deaa786 style: show interaction when active (#1692)
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-27 04:04:03 +00:00
himself65
0968a26a84 test: ignore coverage on data-center package
It will be removed soon.
2023-03-25 02:09:35 -05:00
Himself65
d8e48ef6aa test: support e2e in storybook (#1533) 2023-03-24 22:25:27 -05:00
Qi
6d13716e97 fix: center toast in main content (#1683) 2023-03-24 17:22:10 +00:00
DarkSky
40903a9070 chore: cleanup outdated actions 2023-03-24 23:58:28 +08:00
LongYinan
3c04588110 ci: simplify the CI (#1684) 2023-03-24 23:44:14 +08:00
Himself65
bb1f197d1c chore: bump version (#1681) 2023-03-24 04:31:02 +00:00
Himself65
3e299b97c3 fix: infinite loading when no workspaces (#1679) 2023-03-24 03:46:17 +00:00
Himself65
9eec8d0f1e refactor: test directory structure (#1677) 2023-03-23 17:15:40 -05:00
Himself65
56acb2bdeb refactor: login method (#1676) 2023-03-23 16:29:29 -05:00
himself65
a415e4aa5c ci: enable octobase server in unit test 2023-03-23 16:05:53 -05:00
Himself65
3eba199aca build: remove unused files (#1675) 2023-03-23 13:55:52 -05:00
himself65
dd3f9709c2 ci: fix build.yml env variable 2023-03-23 13:47:52 -05:00
himself65
5a7a59afea ci: improve build.yml output 2023-03-23 13:45:22 -05:00
Himself65
d13174cedf fix: overflow when title length too large (#1673) 2023-03-23 12:03:12 -05:00
himself65
e75750d587 ci: fix checkout ref in build.yml 2023-03-23 11:50:55 -05:00
himself65
1886606f96 fix: type error 2023-03-23 11:29:21 -05:00
Himself65
69721f2a61 refactor: init package @affine/workspace (#1661) 2023-03-23 16:17:38 +00:00
himself65
84d27e939d fix: add enableSubpage in mock 2023-03-23 11:07:37 -05:00
Qi
4aea39fb94 fix: createPage error (#1668) 2023-03-23 18:01:58 +08:00
Yifeng Wang
6be94ca906 chore: update blocksuite (#1667) 2023-03-23 17:09:21 +08:00
Qi
6a7b5601aa feat: support subpage (#1663) 2023-03-23 13:47:07 +08:00
Himself65
2551785451 fix: patch refresh token logic (#1665) 2023-03-23 00:12:20 -05:00
Himself65
059d9e5de2 test: assert current workspace flavour (#1664) 2023-03-23 04:22:29 +00:00
Himself65
35d4560e9f fix: login and upload affine workspace in one run (#1662) 2023-03-22 22:29:25 -05:00
DarkSky
8ed40bfae9 chore: fix doc link 2023-03-23 01:44:35 +08:00
Himself65
e8b7ff527c fix: flash screen when creating new page (#1657) 2023-03-22 07:36:49 +00:00
Himself65
17e29f50ab chore: bump version (#1656) 2023-03-22 01:59:16 -05:00
himself65
cc8c069f57 ci: correct name check_suites 2023-03-22 01:54:53 -05:00
himself65
237756ddc5 ci: add merge-check.yml 2023-03-22 01:12:43 -05:00
Himself65
156edb1d4b feat: improve dev mode for local blocksuite (#1654) 2023-03-22 06:09:30 +00:00
Whitewater
ba2295c426 fix: remove duplicated link css (#1631) 2023-03-22 01:02:57 -05:00
Himself65
40e167aecc build: fix debug local with blocksutie (#1653) 2023-03-22 05:17:57 +00:00
Himself65
80b04fe97f fix: lint-staged for .mjs (#1652) 2023-03-21 23:59:01 -05:00
Himself65
e2395af827 fix: patch package y-indexeddb (#1651) 2023-03-22 04:39:37 +00:00
himself65
180382daf5 fix(cli): remove unused variables 2023-03-21 23:31:29 -05:00
himself65
eb7d5fd7a1 fix(cli): pass PATH into child process 2023-03-21 23:00:54 -05:00
Fangdun Tsai
215db27cd6 feat: block-hub in edgeless mode (#1634) 2023-03-22 03:41:54 +00:00
himself65
64dac7cc1c ci: improve build.yml 2023-03-21 22:33:41 -05:00
himself65
7ccde4b272 ci: fix permissions in build.yml 2023-03-21 21:30:35 -05:00
Himself65
12c6b67f68 fix: build.yml checks (#1649) 2023-03-21 21:20:30 -05:00
himself65
9c9021cbbc fix: cannot convert to edgeless mode 2023-03-21 21:07:25 -05:00
Himself65
45260543e1 fix: remove pageMode from pageMeta (#1647) 2023-03-21 19:45:54 -05:00
Himself65
e7d6bda7a5 ci: enable test by comment trigger (#1648) 2023-03-21 19:25:17 -05:00
Himself65
a8540cceae feat: init package cli (#1646) 2023-03-21 17:39:13 -05:00
Himself65
33320bd38e ci: fix workflow secure in build.yml (#1644) 2023-03-21 08:46:31 -05:00
Aditya Sharma
6a0209dde2 docs: update CLA.md (#1643) 2023-03-21 08:17:22 -05:00
Yifeng Wang
a558d0c868 build: add bump:nightly script (#1632) 2023-03-21 08:24:32 +00:00
Himself65
05ac48b693 docs: update build guideline (#1630) 2023-03-21 00:12:42 -05:00
Himself65
ee8303e5f0 docs: update LICENSE copyright name (#1627) 2023-03-20 22:35:19 -05:00
Himself65
0e52d8ca2b fix: test issue (#1629) 2023-03-20 22:26:05 -05:00
Himself65
1ba750d89c fix: test error (#1628) 2023-03-21 10:58:23 +08:00
Himself65
b3206b1682 test: enable affine workspace test (#1625) 2023-03-20 15:34:48 -05:00
Himself65
a8ca92e34a ci: fix grammar issue (#1626) 2023-03-21 04:24:21 +08:00
Himself65
82fa9b1d81 ci: refactor build&test logic (#1624) 2023-03-21 04:10:40 +08:00
Himself65
3aec87b02d ci: use pull_request_target (#1623) 2023-03-20 13:45:40 -05:00
Himself65
45761f0250 build: lazy load lottie-web (#1622) 2023-03-20 02:55:09 -05:00
Himself65
cf3230c1ff fix: new page logic (#1621) 2023-03-20 07:39:18 +00:00
Himself65
fe2d244460 refactor: use yarn (#1619) 2023-03-20 02:05:02 -05:00
Himself65
f6c1423361 chore: bump version (#1618) 2023-03-20 00:07:54 -05:00
Himself65
4e7ff3862f fix: vitest.config.ts error (#1615) 2023-03-19 19:45:40 -05:00
Himself65
1bbb0aee4b fix: autofocus (#1614)
Co-authored-by: VictorNanka <victornanka@gmail.com>
2023-03-19 19:40:29 -05:00
Himself65
c00d39f929 chore: bump version (#1609) 2023-03-19 16:50:31 +08:00
Horus
bb5916ae02 fix: fix windows release not found (#1613) 2023-03-19 16:44:52 +08:00
Peng Xiao
f428c7e251 fix: window release (#1612) 2023-03-19 01:23:10 +08:00
Horus
56ce99a5dd feat: make electron windows build (#1611) 2023-03-18 21:43:39 +08:00
Himself65
473076b603 ci: run octobase service (#1608) 2023-03-18 01:00:52 -05:00
Himself65
37a135d49e fix: warning on bypass visible value in switch button (#1607) 2023-03-18 00:03:32 -05:00
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
Peng Xiao
b6407f99c4 fix: electron preload issue (#1603) 2023-03-17 08:23:58 +00:00
Himself65
94d535f72b test: support test e2e with OctoBase (#1593)
Co-authored-by: DarkSky <darksky2048@gmail.com>
2023-03-17 03:51:00 -04:00
VictorNanka
110cec7bf6 fix: trash restore (#1446)
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-16 22:55:35 -04:00
VictorNanka
d1722bc235 refactor: use explicit memo import (#1596)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-16 22:27:37 -04:00
ShortCipher5
5a9498fe9b docs: update README.md (#1559) 2023-03-16 22:13:57 -04:00
Himself65
953188e76b chore: bump version (#1597) 2023-03-16 22:07:57 -04:00
Peng Xiao
88f662e6f6 feat: electron app (#1586) 2023-03-16 22:58:21 +08:00
Himself65
6ae06d5609 feat: add is-valid-ip-address (#1591) 2023-03-16 00:59:02 -04:00
hanchayi
1a0abbf76e fix: globalThis.editor is undefined (#1590) 2023-03-16 03:35:37 +00:00
Himself65
efcf1fcaa0 style: restrict type import (#1589) 2023-03-15 11:58:43 -05:00
Qi
6ab2f83e13 fix: error icon color in sidebar (#1550) 2023-03-15 11:41:57 -05:00
Whitewater
bc32b07bf0 fix: quick search tips follow when resize (#1580)
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-15 16:27:38 +00:00
JimmFly
5ac6632276 chore: update quick search style (#1565) 2023-03-15 02:15:13 -05:00
Yifeng Wang
45ab08b459 chore: add story label in issue template (#1579) 2023-03-14 19:15:28 +08:00
Yifeng Wang
3961f9f3e0 chore: update template placeholder (#1577) 2023-03-14 18:03:44 +08:00
Yifeng Wang
06f97b5139 chore: remove redundant issue template label (#1576) 2023-03-14 17:59:58 +08:00
Yifeng Wang
c746fa8c79 chore: remove legacy issue template (#1575) 2023-03-14 17:43:14 +08:00
Yifeng Wang
546ea6b5ad chore: update template title config (#1574) 2023-03-14 17:34:37 +08:00
Yifeng Wang
98138e1e3b chore: update template format (#1558) 2023-03-14 10:30:50 +08:00
ShortCipher5
757025f2cb docs: github issue templates (#1551) 2023-03-13 22:26:51 +08:00
Yifeng Wang
aae10d44e8 chore: update blocksuite (#1553) 2023-03-13 18:19:18 +08:00
Qi
d4006f0693 fix: duplicate enable cloud confirm modal after enable (#1552) 2023-03-13 10:08:21 +00:00
Yifeng Wang
e5173d04ab chore: update blocksuite (#1545) 2023-03-13 13:40:37 +08:00
Qi
4e0fd93a28 fix: error initial style when first in dark mode (#1543) 2023-03-12 19:51:19 +08:00
Horus
2502ff7e32 feat: modify tauri client release workflow (#1532) 2023-03-11 20:35:38 +08:00
DarkSky
d32cdb881c docs: merge jobs (#1536) 2023-03-11 17:39:41 +08:00
DarkSky
49ed15f82a chore: format docs by vscode 2023-03-11 16:59:10 +08:00
Sg
9161f2da3d docs: fix a typo (#1535) 2023-03-11 16:54:48 +08:00
Himself65
9a04a1e34f feat: split components (#1530) 2023-03-10 23:15:19 -06:00
Himself65
a795000363 test: add test case for blocksuite editor (#1528) 2023-03-10 17:45:10 -06:00
sheben
1c89841d6f fix: solved the issue of the sidebar favoritedList not being fully displayed (#1523)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-10 18:40:38 +00:00
Himself65
f47a23b0b5 fix: force page mode in public workspace (#1527) 2023-03-10 12:39:03 -06:00
JimmFly
21bfec3402 fix: wrong OS judgment (#1525) 2023-03-10 12:06:40 -06:00
Himself65
1239957446 fix: lottie import logic (#1526) 2023-03-10 12:06:27 -06:00
Qi
9043081b8d fix: setting entry only show when hover on workspace card (#1515) 2023-03-10 18:07:30 +08:00
Yifeng Wang
a3ed8f6774 chore: update blocksuite (#1516) 2023-03-10 18:02:16 +08:00
JimmFly
f54e0567d6 refactor: quick search input and result (#1512) 2023-03-10 18:00:16 +08:00
Qi
e578721cce fix: title not align center in head (#1513) 2023-03-10 17:53:25 +08:00
Yifeng Wang
93e0d5ce3b chore: update blocksuite (#1511) 2023-03-10 17:13:35 +08:00
Qi
bd98746557 feat: update @blocksuite/icons (#1510) 2023-03-10 17:11:40 +08:00
Qi
a20368c491 feat: modify sidebar style (#1508) 2023-03-10 16:52:25 +08:00
JimmFly
5e73f02b43 fix: omit items when quick search items are too long (#1505) 2023-03-10 08:46:36 +00:00
Qi
3b4966b7b8 feat: center title (#1504) 2023-03-10 08:36:07 +00:00
Qi
d60120ddf1 feat: modify workspace modal style & add workspace setting entry to worksapce card (#1498) 2023-03-10 02:34:45 -06:00
Himself65
16cbf85bf4 fix: remove cache when enable cloud (#1507) 2023-03-10 02:32:44 -06:00
Qi
b6a9366684 feat: modify option menu style (#1506) 2023-03-10 16:26:54 +08:00
Himself65
eb0d6ee08e fix: syncing images (#1501) 2023-03-10 02:21:12 -06:00
Yifeng Wang
b20be2a747 chore: update blocksuite (#1497) 2023-03-10 14:56:54 +08:00
Qi
7eeff9d470 feat: add animation to mode switch when hover (#1489)
Co-authored-by: Yifeng Wang <doodlewind@toeverything.info>
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-10 06:44:33 +00:00
Peng Xiao
afd113b1f1 fix: add back quick search button to page title (#1495) 2023-03-10 00:37:09 -06:00
JimmFly
3ef8e2db83 feat: add novice guide for quick search arrow button (#1493) 2023-03-10 06:17:26 +00:00
ShortCipher5
7a54e97823 docs: pre-load content update image (#1494) 2023-03-10 05:46:13 +00:00
JimmFly
fd6abfa8ce chore: add null check for create new page with title (#1490) 2023-03-09 21:48:12 -06:00
JimmFly
356181881b fix: recent still show when recent is empty (#1487) 2023-03-09 21:45:20 -06:00
Himself65
81641ed7a7 feat: add message center (#1486) 2023-03-09 21:17:44 -06:00
Himself65
74dd5e8afc feat: add sync panel (#1485) 2023-03-09 20:51:37 -06:00
Yifeng Wang
d9bae4a853 fix: support min width for workspace list table (#1473) 2023-03-10 09:55:39 +08:00
Himself65
a0fd890def fix: init workspace logic (#1471) 2023-03-09 19:45:42 -06:00
hehe
047adde310 chore: replace cross-env with shell-emulator & misc (#1464) 2023-03-10 09:16:25 +08:00
sheben
d0c1b4508e fix: text being squeezed in the sidebar animation (#1470) 2023-03-09 13:44:22 -06:00
ShortCipher5
87a4874df3 docs: update preload content (#1461) 2023-03-09 18:40:21 +08:00
Qi
1a7a7ab6ba fix: issues (#1460) 2023-03-09 18:15:26 +08:00
JimmFly
ca603336b2 fix: can't open quick search without cursor (#1457) 2023-03-09 17:56:53 +08:00
JimmFly
cebdcfa7ed chore: update preloading article (#1459) 2023-03-09 09:55:03 +00:00
Qi
921061eeb6 Feat/sidebar&top bar (#1454) 2023-03-09 17:08:23 +08:00
Qi
31d2e522eb feat: modify delete workspace flow (#1408) 2023-03-09 08:54:29 +00:00
Himself65
b3659d6a95 fix: hook useRecentlyViewed (#1430)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-03-09 08:53:56 +00:00
Yifeng Wang
423ca95298 chore: update blocksuite (#1455) 2023-03-09 16:24:30 +08:00
Qi
33dee8daf7 fix: theme color error (#1427) 2023-03-09 08:18:44 +00:00
ShortCipher5
11f6525c0e docs: preload content update (#1444)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-03-09 16:13:26 +08:00
DarkSky
10d54b0c7b feat: run unit & e2e test on master (#1383) 2023-03-09 16:10:49 +08:00
Himself65
373953b8ae fix: create a new page when refresh (#1440) 2023-03-09 08:10:02 +00:00
Yifeng Wang
6594d2d47b docs: expose collaboration part in feature desc (#1453) 2023-03-09 15:51:13 +08:00
Yifeng Wang
7671361485 docs: optimize README style (#1452) 2023-03-09 15:48:21 +08:00
VictorNanka
016dcf22e0 docs: sign CLA (#1451) 2023-03-09 15:47:46 +08:00
x1a0t
ce37b5a8c3 fix: hide blockHub in edgeless mode (#1447)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-09 15:29:58 +08:00
Himself65
6b533c44be fix: check if login when enable affine cloud (#1445) 2023-03-09 01:26:07 -06:00
JimmFly
b23547f4bd fix: create page with title (#1449)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-09 15:25:31 +08:00
Himself65
ce8539b414 fix: cleanup data when logout (#1443) 2023-03-09 00:38:16 -06:00
Peng Xiao
a7a8ac0882 docs: add dev/build docs for tauri app (#1437) 2023-03-09 14:36:51 +08:00
Himself65
8168a09d6f fix: theme color (#1438) 2023-03-09 04:50:07 +00:00
Himself65
1011088248 fix: infinite workspace loading (#1432) 2023-03-08 22:31:01 -06:00
Himself65
0f11b73d93 chore: version fix (#1433) 2023-03-08 21:58:49 -06:00
Himself65
f459b07fa2 fix: ignore trash (#1426) 2023-03-08 18:07:37 -06:00
Himself65
0c811f1420 chore: update .eslintignore (#1425) 2023-03-08 17:11:49 -06:00
sheben
8dc022c808 refactor: use useRouterHelper (#1422)
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-08 22:58:20 +00:00
Alberto de la Cruz
7f77619515 feat: new pop message on details page (#1392)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-08 13:24:56 -06:00
Qi
0db7868a6a feat: open last workspace when back or refresh affine (#1413)
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-08 18:40:25 +00:00
Qi
867ea9cf2b feat: modify theme colors (#1421) 2023-03-08 12:29:56 -06:00
Jeff Wen
dc319f664f fix: button "jumps" between workplace settings tabs (#1399) 2023-03-08 10:07:15 +00:00
Himself65
ac9adcb7b2 chore: bump version (#1404) 2023-03-08 09:50:58 +00:00
Himself65
049d6dd83f feat: support code coverage (#1414) 2023-03-08 02:29:50 -06:00
Himself65
75a7e2339c fix: first workspace name (#1411) 2023-03-08 01:44:50 -06:00
Himself65
6d435398e3 feat: create first page (#1410) 2023-03-08 01:26:37 -06:00
Himself65
6281122394 refactor: remove react-helmet-async (#1409) 2023-03-08 01:08:24 -06:00
Himself65
b8e45d059c refactor: add hook transform workspace (#1407) 2023-03-08 00:21:01 -06:00
Himself65
f172831733 feat: publish local workspace (#1406) 2023-03-07 23:31:22 -06:00
Qi
88967a1dbe fix: ui issues (#1401) 2023-03-07 21:07:52 -06:00
Himself65
b976ac8084 fix: css hydration error (#1397) 2023-03-07 17:08:33 -06:00
Himself65
e5e3dceee8 fix: next router throw error (#1396) 2023-03-07 16:26:39 -06:00
Himself65
e90d06edfa fix: add invitation page (#1395) 2023-03-07 16:13:56 -06:00
Himself65
d565f71939 fix: theme button (#1394) 2023-03-07 14:45:19 -06:00
Himself65
1362584880 fix: add key 'Move to Trash' (#1391) 2023-03-07 14:21:59 -06:00
sheben
3b8f7536f3 fix: add missing trashDate field whenever a page is moved to the trash. (#1389)
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-07 19:30:25 +00:00
Alberto de la Cruz
b7b946f002 fix: updated delete page popup message (#1390) 2023-03-07 19:18:11 +00:00
Qi
3fba384ef5 fix: ui issues (#1371) 2023-03-07 11:39:12 +00:00
Yifeng Wang
af6efbed7a chore: update blocksuite (#1378)
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
2023-03-07 11:36:52 +00:00
JimmFly
83e1cd9274 chore: update quick search style (#1376) 2023-03-07 11:30:58 +00:00
Himself65
bc9d470d08 ci: remove self-host in build.yml (#1363)
Co-authored-by: DarkSky <darksky2048@gmail.com>
2023-03-07 19:24:41 +08:00
Himself65
e0dd94ae41 fix: public workspace state (#1366) 2023-03-06 22:01:57 -06:00
Himself65
33fb20e5cb chore: bump version (#1364) 2023-03-06 20:11:49 -06:00
Himself65
7ae8cfc0f5 fix: ui bugs in public workspace (#1362) 2023-03-06 18:29:10 -06:00
Himself65
76a83fd60b fix: prefix url (#1361) 2023-03-06 18:28:49 -06:00
Alberto de la Cruz
0f82851766 fix: update title on tab (#1360) 2023-03-06 17:17:51 -06:00
Himself65
98ccf17196 feat: modify prefixUrl in params (#1335) 2023-03-06 14:59:49 -06:00
Himself65
a3e825c216 fix: about us modal (#1358) 2023-03-06 12:21:51 -06:00
JimmFly
776d30613f feat: add recentlyViewed (#1357)
Co-authored-by: himself65 <himself65@outlook.com>
2023-03-06 18:02:50 +00:00
LongYinan
2a08e0b704 ci: remove perfsee upload step on CI (#1356) 2023-03-06 21:51:21 +08:00
Himself65
5760c41cd0 fix: preview page (#1355) 2023-03-06 03:06:11 -06:00
Himself65
78fdaf140d feat: add og and twitter preview support (#1350) 2023-03-06 08:52:39 +00:00
DarkSky
b8904a0aec chore: add brotli size in size calcaution (#1339) 2023-03-06 01:20:42 -06:00
Himself65
061ceaa9fe feat: lazy load modal components (#1337) 2023-03-06 00:05:25 -06:00
Himself65
d9b5744148 refactor: move component into UI part (#1333) 2023-03-05 23:42:09 -06:00
Himself65
45630669c7 chore: version fix (#1338) 2023-03-06 05:26:00 +00:00
Himself65
e8cde2c3cc ci: fix compressed-size.yml (#1334) 2023-03-05 22:35:10 -06:00
Himself65
bf6d4e1fed ci: add compressed-size.yml (#1328) 2023-03-05 15:47:28 -06:00
Himself65
e8dc9809e2 docs: update README.md (#1327) 2023-03-05 12:18:56 -06:00
Zhizhen He
3a55f5f798 docs: fix typo (#1326) 2023-03-06 01:50:40 +08:00
DarkSky
dd1842647a chore: remove useless changesets workflow (#1325) 2023-03-05 11:01:07 -06:00
Himself65
5b75d32a8a fix: page crash in public workspace (#1324) 2023-03-05 02:29:02 -06:00
Himself65
bd4977e94e feat: support offline mode for affine workspace (#1322) 2023-03-05 01:51:08 -06:00
Himself65
3e131603dd fix: always show workspace list modal when no workspaces (#1321) 2023-03-05 00:51:29 -06:00
Himself65
1e11f727fd fix: avoid avatar flickering (#1319) 2023-03-05 13:52:18 +08:00
Himself65
f63d54a9de chore: fix peer dependencies (#1317) 2023-03-04 20:24:57 -06:00
Himself65
9a199eb9a1 refactor: support suspense mode in workspaces (#1304) 2023-03-04 20:11:15 -06:00
Himself65
dd6bee68cb chore: bump version (#1313) 2023-03-04 13:46:50 -06:00
Himself65
28f0027de6 ci: add label-checker.yml (#1314) 2023-03-04 12:56:27 -06:00
Alessio Gravili
c6b48dd3ef chore: add default formatter for vscode (#1309) 2023-03-04 11:48:37 -06:00
Alessio Gravili
ff3cabaf17 chore: add launch.json for vscode (#1307) 2023-03-04 11:48:29 -06:00
Alessio Gravili
392867781f docs: sign CLA (#1308) 2023-03-04 16:09:36 +00:00
Himself65
8ce4fa85f7 fix: remove unused log (#1305) 2023-03-04 03:56:01 -06:00
Himself65
4e9f0c97a1 refactor: unify theme (#1303) 2023-03-04 01:36:20 -06:00
DarkSky
fe0d78b2d6 fix: cloudflare buinding 2023-03-04 14:10:32 +08:00
hehe
693e7b204b ci: revise workflows to use .nvmrc (node 18) (#1290) 2023-03-04 14:07:09 +08:00
Yifeng Wang
b6480bf8a6 chore: remove redundant config 2023-03-04 04:18:45 +08:00
Yifeng Wang
205092180b chore: bump blocksuite (#1298)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-04 04:17:06 +08:00
Himself65
50ff9b0c5c refactor: unify synced and un-synced affine workspace (#1299) 2023-03-03 13:58:15 -06:00
Himself65
296cd215c1 refactor: remove sync binary (#1297) 2023-03-03 13:36:42 -06:00
github-actions[bot]
fd510834ed Bump blocksuite to 0.5.0-20230302205056-4385b7a (#1286)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Himself65 <himself65@outlook.com>
2023-03-02 23:17:40 -06:00
Himself65
4d8d128539 fix: blob fetch and state syncing between tabs (#1287) 2023-03-02 21:48:35 -06:00
Himself65
2a955d1391 feat: improve provider testing (#1280) 2023-03-02 20:00:56 -06:00
Himself65
1e2f91fe21 feat: add hook useBlockSuiteWorkspaceName (#1281) 2023-03-02 20:00:42 -06:00
Himself65
9d46b358d4 feat: add list skeleton in public workspace (#1278) 2023-03-02 15:11:37 -06:00
Himself65
0507300a29 chore: bump version (#1275) 2023-03-02 14:52:41 -06:00
Himself65
67c0d84d97 feat(storybook): enable dark mode toggle (#1016) 2023-03-02 14:45:40 -06:00
Himself65
ec5d8ca179 fix: multiple yjs in debug local mode (#1276) 2023-03-02 13:50:23 -06:00
LongYinan
6c4def18a6 build: dedupe packages in lockfile (#1259) 2023-03-02 18:44:48 +00:00
hehe
a61bb4f8bc chore: update lint script to include the .mjs (#1267) 2023-03-02 18:01:09 +00:00
Himself65
eeb636e81c fix: title behavior on BlockSuite editor (#1264) 2023-03-02 17:38:17 +00:00
Yifeng Wang
32a1b7b8a3 fix: bump to migratable blocksuite (#1263) 2023-03-02 18:55:22 +08:00
Yifeng Wang
205b4a5d54 chore: update blocksuite 0.5 (#1260) 2023-03-02 18:48:40 +08:00
LongYinan
6138fefa9e ci: setup pnpm from corepack config to avoid flaky lockfile (#1258) 2023-03-02 18:21:55 +08:00
LongYinan
a4892e5992 build(web): introduce Perfsee (#1256) 2023-03-02 16:49:33 +08:00
Himself65
855588ca8b fix: reduce error message (#1254) 2023-03-02 07:11:36 +00:00
Himself65
68b33cbdbd fix: editor overflow (#1253) 2023-03-02 00:39:49 -06:00
Himself65
f34a64a82a test: add test case for upload image (#1250) 2023-03-02 05:51:15 +00:00
DarkSky
e5a6fd8f6c Revert "Bump blocksuite to 0.5.0-20230301172958-2384904" (#1251) 2023-03-02 12:28:03 +08:00
Himself65
e67411aea4 fix: workspace image flickering (#1247) 2023-03-02 11:25:16 +08:00
github-actions[bot]
1a72640a9b Bump blocksuite to 0.5.0-20230301172958-2384904 (#1246)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-02 11:23:40 +08:00
Himself65
a099ed5f29 feat: use @affine/debug (#1244) 2023-03-01 20:13:45 -06:00
Himself65
1abab690af feat: init @affine/env (#1243) 2023-03-01 19:26:55 -06:00
Himself65
71a0951c77 feat: add helper function for debug (#1241) 2023-03-01 16:33:52 -06:00
Himself65
5cda4a5ebc chore: remove next-i18next (#1242) 2023-03-01 16:11:24 -06:00
Himself65
3afecc8ee7 fix: enable vitest (#1238) 2023-03-01 14:46:20 -06:00
Himself65
f817d41d1c chore: remove unused code (#1236) 2023-03-01 19:54:42 +00:00
Himself65
6128338adb docs: update README.md (#1232) 2023-03-02 03:48:38 +08:00
Himself65
c79651ee90 feat: add broad cast channel provider (#1237) 2023-03-02 03:47:09 +08:00
Himself65
0df288ba2c refactor: use nano id (#1234) 2023-03-01 12:16:36 -06:00
Himself65
f888a9e6e0 fix: set BlockSuite flags (#1231) 2023-03-02 01:15:30 +08:00
Himself65
f6a620e0ac fix: favorite button will not work (#1228) 2023-03-01 16:50:23 +00:00
Himself65
e0481d29ad refactor!: next generation AFFiNE code structure (#1176) 2023-03-01 15:40:01 +08:00
Chi Zhang
2dcccc772c Update affine-designer.md 2023-03-01 15:15:20 +08:00
Chi Zhang
1c0a0cf803 Update summary.md 2023-03-01 15:14:57 +08:00
Chi Zhang
8ff37afe28 Create affine-designer.md 2023-03-01 14:57:55 +08:00
lin onetwo
b575094f4b feat: basic app menu (#1207) 2023-03-01 12:37:53 +08:00
Whitewater
c096fa156b chore: add timed update workflow (#1214) 2023-03-01 12:23:54 +08:00
Qi
c81a24224e fix: always show email tip (#1213) 2023-02-28 07:43:38 +00:00
m1212e
138dd98c0c fix: search hotkey prevent default (#1195) 2023-02-27 19:25:33 +08:00
Whitewater
b6cb52f702 refactor: search input (#1205) 2023-02-27 18:08:06 +08:00
ShortCipher5
b41c8130bf docs: update readme (#1204) 2023-02-27 16:30:29 +08:00
Qi
1e4d475327 feat: modify contact modal (#1203) 2023-02-27 08:14:13 +00:00
Himself65
f2ce1ae662 feat: connect firebase emulator (#1196) 2023-02-24 11:59:53 -06:00
Qi
da1d00d9bf fix: stay loading when refresh token fail (#1194) 2023-02-24 09:16:21 +00:00
Qi
28a6c46605 feat: support sidebar zoom (#1190) 2023-02-23 12:32:02 -06:00
Qi
d84b47f226 fix: modify icons (#1184) 2023-02-23 19:37:09 +08:00
zqran
8ee5d422cb feat: set the correct mode when loading the page (#1069)
Co-authored-by: Himself65 <himself65@outlook.com>
2023-02-23 16:22:00 +08:00
DarkSky
dcd11aa782 chore: bump core (#1180) 2023-02-23 07:07:46 +00:00
JimmFly
6908298fcc fix: wrong workspace name when deleting workspace (#1177) 2023-02-22 14:18:25 +08:00
Qi
7163ea6c4b fix: detail reduction of UI (#1131) 2023-02-22 11:12:34 +08:00
Himself65
0b072da346 revert: loadWorkspace unexpected behavior (#1172) 2023-02-22 10:44:18 +08:00
Peng Xiao
86346b284e feat: debug logger with levels (#1165) 2023-02-21 19:23:53 +08:00
Himself65
11ade8aeaf fix: use css first-child (#1145) 2023-02-21 15:59:26 +08:00
zqran
41aec24f9b fix: flickering animation on switching between Edgeless and Paper mode (#1151) 2023-02-21 15:52:07 +08:00
Peng Xiao
fd47fe3fc1 fix: user info not be revived after refresh (#1157) 2023-02-21 00:06:06 -06:00
Himself65
1731db833d fix: load page on first render (#1155) 2023-02-21 05:18:30 +00:00
Himself65
edd8f347bc chore(desktop): simplify code (#1146) 2023-02-21 13:15:40 +08:00
Himself65
ed4d1e8bcd fix: public workspace loading (#1144) 2023-02-21 10:32:32 +08:00
Yifeng Wang
8c492d2a83 docs: update deps callout (#1141) 2023-02-20 17:52:37 +08:00
Himself65
6ce877bd94 fix: remove duplicated nullish coalescing (#1132) 2023-02-20 16:53:21 +08:00
zqran
6806702e29 feat: change "Settings" to "Workspace Settings" (#1138) 2023-02-20 16:48:43 +08:00
ShortCipher5
1c8622432b Update README.md (#1130) 2023-02-20 15:49:55 +08:00
Himself65
e583725cd2 refactor: init hook useRouterTargetWorkspace (#1127) 2023-02-20 07:37:18 +00:00
Himself65
54963842ed fix(desktop): remove shadow lockfile (#1126) 2023-02-20 03:29:43 +08:00
Whitewater
497e8570db chore: remove workaround margin (#1124) 2023-02-19 17:16:12 +08:00
Himself65
ae4105e961 chore: unify version (#1123) 2023-02-19 08:40:39 +00:00
Himself65
aa1de57d96 feat: read local theme on page load (#1114)
Co-authored-by: zqran <uuxnet@gmail.com>
2023-02-19 16:38:43 +08:00
Himself65
736fbff41a chore: enable react strict mode (#1125) 2023-02-19 15:41:00 +08:00
Himself65
b1298c4d3e refactor(store): move datacenter into global (#1118) 2023-02-19 15:35:18 +08:00
Vivek
d7bbb0978f chore: typo fix (#1121) 2023-02-19 05:30:51 +00:00
Himself65
4aebdfc81a fix: stop hydration in workspace (#1117) 2023-02-19 03:03:20 +00:00
Himself65
47f9ae2e11 chore: bump version (#1116) 2023-02-19 09:06:12 +08:00
Himself65
8335cd7423 chore: bump version (#1115) 2023-02-19 02:47:23 +08:00
x1a0t
5812100fc6 chore: bump version (#1110) 2023-02-18 09:28:40 +00:00
Himself65
9d21c3efbb refactor: extract store package (#1109) 2023-02-18 16:41:22 +08:00
Himself65
af28418e61 fix: remove dynamic import on theme provider (#1111) 2023-02-18 13:49:25 +08:00
Himself65
462a859afe style: remove unused import (#1113) 2023-02-18 04:52:14 +00:00
Himself65
6378547a0e style: enable react/react-in-jsx-scope lint rule (#1107) 2023-02-18 10:09:52 +08:00
Himself65
5f0015f522 chore: simplify tsconfig.json (#1108) 2023-02-18 10:08:52 +08:00
Himself65
4647d44972 refactor(data-center): remove side effect in affine provider (#1106) 2023-02-18 06:25:08 +08:00
x1a0t
7849254785 chore: bump BlockSuite version (#1102) 2023-02-17 10:16:06 +00:00
Qi
67fe1871da feat: modify invite page & 404 page (#1097) 2023-02-17 09:44:48 +00:00
Himself65
5e6366ba44 chore: strict eslint check (#1084) 2023-02-17 15:33:32 +08:00
danielchim
191c36c6fb fix: submenu dark theme hover background theming (#744) 2023-02-17 07:20:11 +00:00
zqran
590ff6ffa7 fix: zh-Hans i18n fails on page reload (#1092)
Co-authored-by: himself65 <himself65@outlook.com>
2023-02-17 06:47:49 +00:00
Himself65
25ac0f700b fix: jump to 404 when be removed from page (#1090) 2023-02-17 14:33:36 +08:00
zqran
b6906467be feat: update list when deleting a page from all pages (#1086) 2023-02-16 23:45:31 -06:00
Peng Xiao
5aa835deb6 fix: some responsiveness issues (#1088) 2023-02-16 23:30:19 -06:00
Peng Xiao
cbdc751be1 fix: on token invalidation it shall be redirected to home page (#1087) 2023-02-17 11:53:22 +08:00
DarkSky
0d1590f251 chore: skip pnpm cache 2023-02-17 11:23:07 +08:00
Qi
cc1323f5cc feat: add MessageCenterHandler (#770)
Co-authored-by: Peng Xiao <pengxiao@freewheel.tv>
2023-02-16 21:02:10 -06:00
Himself65
f68b4934c6 fix(web): remove pwa support (#1078) 2023-02-17 02:57:30 +00:00
Himself65
6f6921079e refactor: remove esm module (#1077) 2023-02-17 10:43:52 +08:00
Himself65
1d0bf58109 fix: infinite loading on public workspace (#1074) 2023-02-17 05:56:23 +08:00
zqran
6fa04622ce fix: Button UI issues (#1070) 2023-02-16 18:11:14 +00:00
Peng Xiao
c69637fe98 fix: should show sync tab for cloud workspace (#1072) 2023-02-17 01:53:03 +08:00
Qi
121ac152fa fix: open deleted page when open workspace,fixed #1067 (#1068) 2023-02-16 16:58:24 +00:00
Chi Zhang
50352e0f82 chore: cleanup old codes (#1071) 2023-02-17 00:51:32 +08:00
Qi
9db80fde37 Fix: slde bar style (#1058) 2023-02-16 22:29:10 +08:00
Qi
07401d1810 Fix: workspace card style (#1059) 2023-02-16 22:28:30 +08:00
Qi
27b1196111 Fix: invite (#1064) 2023-02-16 12:22:38 +00:00
Qi
657681e5e1 Fix: modify tip in sign out modal (#1057) 2023-02-16 20:20:24 +08:00
Fangdun Tsai
88a690a7d1 fix: position is set to relative is needed in wrapper of editor-container (#1060) 2023-02-16 10:04:02 +00:00
JimmFly
b94c0df49e chore: change default Workspace name to "Demo Workspace" (#1054) 2023-02-16 17:55:54 +08:00
x1a0t
714665a202 chore: bump BlockSuite version (#1062) 2023-02-16 17:55:03 +08:00
Peng Xiao
13e2537dfb fix: userinfo issue after state refactor (#1061) 2023-02-16 09:54:40 +00:00
Yifeng Wang
1034b6d517 ci: optimize add-to-project behavior for forks (#1053) 2023-02-16 15:39:32 +08:00
Himself65
f6378e8c3b fix: use push when switch workspace (#1049) 2023-02-16 06:23:49 +00:00
x1a0t
fe8831f7ae feat: theme for dark mode (#982)
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
2023-02-16 06:23:24 +00:00
JimmFly
520076b31d fix: assert error when toolWrapper is null (#1048) 2023-02-15 23:38:33 -06:00
Yifeng Wang
e2b17bc310 ci: simplify project automation (#1046) 2023-02-16 12:28:03 +08:00
Himself65
8774df46f9 fix: import useCallback (#1045) 2023-02-16 04:13:40 +00:00
Himself65
cdc2b449a9 refactor(store): extract workspace out of AppState (#1037) 2023-02-16 11:41:43 +08:00
Himself65
a4d0813354 fix(editor): multiple block hub when switching pages (#1042) 2023-02-16 11:33:30 +08:00
Himself65
6e2161277c chore: bump version (#1040) 2023-02-16 11:32:30 +08:00
Yifeng Wang
7d096ba90e ci: auto assign on draft PRs (#1039) 2023-02-16 09:04:56 +08:00
Yifeng Wang
9a1123239f ci: add to project setup (#1038) 2023-02-16 08:46:17 +08:00
DarkSky
8b617abead chore: bump blocksuite version (#1036) 2023-02-16 01:19:01 +08:00
Qi
8ead48a6d8 feat: modify interaction of new workspace (#1031) 2023-02-16 00:45:05 +08:00
Qi
a360e30073 fix: add composition checkout when input create workspace name, fixed… (#1035) 2023-02-15 22:29:07 +08:00
Qi
4b92ad6a22 fix: long text in slide bar not show ellipsis, fixed #980 (#1033) 2023-02-15 22:28:01 +08:00
Qi
885e99ddad fix: modify workspace type text, fixed #979 (#1034) 2023-02-15 22:27:39 +08:00
Qi
8ed62d7692 feat: add offline detector, fixed #989 (#1032) 2023-02-15 14:20:41 +00:00
Chi Zhang
ed26ae088a Create README.md 2023-02-15 20:41:15 +08:00
Qi
d40bdb9699 Fix: remove member issues (#1026) 2023-02-15 18:07:47 +08:00
Qi
c65adc5e25 fix: ui issues (#1023) 2023-02-15 09:07:09 +00:00
Himself65
34a3a99d62 refactor: use suspense in AppDefender (#1020) 2023-02-15 16:51:44 +08:00
Qi
eb1d4fe1f6 feat: interaction change (#788) 2023-02-15 15:21:29 +08:00
ShortCipher5
ce24174971 docs: preload content update (#1014) 2023-02-15 13:48:46 +08:00
Himself65
6a8aff9e56 refactor(store): port to useGlobalState with zustand (#1012) 2023-02-14 23:38:21 -06:00
Himself65
2b3ec1240a feat(component): init BlockSuiteErrorBoundary (#1015) 2023-02-15 05:33:40 +00:00
Himself65
6906d6ba7a build(desktop): fix typescript error (#1013) 2023-02-15 13:25:30 +08:00
lin onetwo
5c505807b4 chore: assign target for rust-cache (#1005)
Co-authored-by: himself65 <himself65@outlook.com>
Co-authored-by: Whitewater <me@waterwater.moe>
2023-02-14 22:45:19 -06:00
Himself65
5a0e4895cd refactor: extract useBlockSuite from useAppState (#1001) 2023-02-14 21:12:35 -06:00
Yifeng Wang
6c0db247b7 ci: support pr auto assign (#1004) 2023-02-15 09:18:07 +08:00
Peng Xiao
5f4071652f fix: some login & enable affine cloud issues (#999)
Co-authored-by: himself65 <himself65@outlook.com>
2023-02-14 19:12:39 -06:00
Himself65
78c164463f refactor: hooks useConfirm (#998) 2023-02-15 08:49:18 +08:00
DarkSky
3b9caadaac chore: fix cache path (#1000) 2023-02-14 14:29:50 -06:00
DarkSky
61fc9bc222 chore: rename workflows 2023-02-15 02:52:45 +08:00
Qi
5a3e6aa041 refactor: public workspace (#996)
Co-authored-by: himself65 <himself65@outlook.com>
2023-02-14 11:39:53 -06:00
lin onetwo
0370ec67df docs: sign CLA (#994) 2023-02-15 01:15:37 +08:00
Himself65
2196379798 fix: editor cannot directly import (#995) 2023-02-15 00:43:26 +08:00
lin onetwo
8dac464b61 chore: upload to release on git tag Or output artifact path on nightly (#993) 2023-02-14 23:18:47 +08:00
DarkSky
6fd1ad7434 chore: preloading page (#981)
Co-authored-by: ShortCipher5 <me@shortcipher.me>
2023-02-14 16:05:13 +08:00
lin onetwo
79506f1ce2 fix: client not saving avatar blob on first creating workspace (#974) 2023-02-14 15:47:10 +08:00
lin onetwo
b69eb3437b fix: tauri npm scripts (#955) 2023-02-14 06:51:05 +00:00
Qi
36e6da52a5 feat: modify blockhub & help island interation (#960)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-02-14 11:22:39 +08:00
Himself65
a47b612a2c refactor: use storybook v7 (#951) 2023-02-14 11:18:43 +08:00
DarkSky
2fdbb1909d fix: upload artifacts 2023-02-14 00:21:16 +08:00
DarkSky
3792b05741 fix: resolve new deps 2023-02-14 00:07:37 +08:00
DarkSky
db68fe8f46 chore: fix lock 2023-02-14 00:04:58 +08:00
Qi
dbf6dd5a6c feat: add animation to tab button (#965) 2023-02-13 15:56:25 +00:00
DarkSky
c0813156a1 fix: typo 2023-02-13 22:33:49 +08:00
DarkSky
b8f550f069 chore cleanup ci 2023-02-13 21:37:13 +08:00
DarkSky
6faaae8728 chore: fix env 2023-02-13 20:58:47 +08:00
JimmFly
9495432714 chore: update translation (#967) 2023-02-13 18:13:11 +08:00
Peng Xiao
b38fc8d7e5 fix: hide sync tab for web version (#966) 2023-02-13 17:47:50 +08:00
Peng Xiao
298f2c1feb fix: should show workspace avatar using blob url (#949) 2023-02-13 17:43:44 +08:00
Peng Xiao
98ceb082fc fix: userInfo being initialized correctly (#963) 2023-02-13 16:56:32 +08:00
JimmFly
49e60737a8 chore: update translation (#952) 2023-02-13 15:08:26 +08:00
DarkSky
6e2f1070b9 feat: remove submodules 2023-02-11 00:44:00 +08:00
Qi
d5f4c4210d Fix/UI issue (#946)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-02-10 16:19:21 +00:00
DarkSky
8a7393a961 chore: move client folders (#948) 2023-02-10 12:41:01 +00:00
Qi
cb118149f3 fix: can not limit Chinese input lenth correctly (#947) 2023-02-10 20:35:12 +08:00
DarkSky
7890219e29 chore: update reference icon 2023-02-10 19:56:59 +08:00
DarkSky
5847599112 chore: update icons 2023-02-10 19:53:21 +08:00
DarkSky
2962b9e256 Merge pull request #935 from toeverything/feat/client-app
feat: tauri desktop client app
2023-02-10 19:38:44 +08:00
DarkSky
69f19886fb chore: remove useless modules 2023-02-10 19:37:15 +08:00
linonetwo
525b8b5007 Merge branch 'master' into feat/client-app 2023-02-10 19:20:30 +08:00
x1a0t
31878d7fe0 fix: disable blockHub in an invitation page (#945) 2023-02-10 17:41:16 +08:00
linonetwo
6296cb0910 fix: deepscan issues 2023-02-10 17:33:47 +08:00
linonetwo
ed1a917dc1 fix: ipc provider tests 2023-02-10 17:24:32 +08:00
linonetwo
d060e77cfa fix: patch tauri api for lacked window undefined check 2023-02-10 17:03:29 +08:00
Himself65
6057c5637c feat(component): enhance storybook preview (#943) 2023-02-10 15:14:10 +08:00
DarkSky
a6a8493c35 Merge pull request #936 from toeverything/token-refactor
refactor: token handling
2023-02-10 15:12:28 +08:00
Peng Xiao
be27b30b01 fix: rename token.ts to auth.ts to make it clear of usage 2023-02-10 14:21:53 +08:00
JimmFly
8615d4b3af chore: update skiped test (#933) 2023-02-10 12:04:03 +08:00
Whitewater
944c455c3d feat: enable slash menu by default (#939) 2023-02-10 12:03:37 +08:00
Himself65
094e73b7fb refactor: use zustand in global modal (#940) 2023-02-10 12:03:15 +08:00
x1a0t
323d7c96f7 chore: bump BlockSuite version & remove old edgeless toolbar (#941) 2023-02-10 12:02:52 +08:00
Himself65
26c308147c feat: add exportWorkspaceYDoc (#942) 2023-02-10 12:01:10 +08:00
Peng Xiao
7bd69809e9 fix: html tag should have correct lang attr (#884) 2023-02-10 12:00:36 +08:00
Himself65
02aea468ca chore: bump version (#938) 2023-02-09 19:31:46 -06:00
Himself65
1824ce1e80 chore: bump version (#937) 2023-02-09 13:46:25 -06:00
x1a0t
d524fe3c6c chore: bump BlockSuite version (#910)
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
2023-02-10 03:09:05 +08:00
Whitewater
9b427efb88 chore: remove custom vscode settings 2023-02-09 23:41:09 +08:00
Peng Xiao
385e9afba6 fix: token exp 2023-02-09 23:12:36 +08:00
Peng Xiao
ee2e1687df fix: store user info locally 2023-02-09 23:10:52 +08:00
linonetwo
f412a453f2 chore: remove useless configurations from the client-app directory 2023-02-09 23:09:17 +08:00
linonetwo
5acc9388cc fix: don't update octobase on release action 2023-02-09 22:56:39 +08:00
linonetwo
69805faa17 fix: merge issue 2023-02-09 22:43:41 +08:00
linonetwo
6b31af0854 Merge branch 'master' into feat/client-app 2023-02-09 22:39:08 +08:00
linonetwo
9bd6bcaf65 fix: white screen after build 2023-02-09 22:27:36 +08:00
linonetwo
d1f2b3f8af fix: getUserInfo from tauri instead from affine cloud in app 2023-02-09 21:13:31 +08:00
linonetwo
85431de42b chore: don't need build web 2023-02-09 21:06:17 +08:00
linonetwo
9df5b553b2 fix: using public as dist 2023-02-09 20:41:36 +08:00
linonetwo
cee05b13e8 fix: user_id is string now 2023-02-09 20:01:11 +08:00
linonetwo
ca060dbf7a refactor: remove unused app pages 2023-02-09 19:53:52 +08:00
linonetwo
483d1d67c6 fix: user id is now string, we need to get default on local 2023-02-09 19:51:56 +08:00
linonetwo
fccf7e2f12 chore: update octobase 2023-02-09 18:39:30 +08:00
linonetwo
42f8247599 fix: adapt latest blocksuite 2023-02-09 18:31:12 +08:00
linonetwo
5d40c93db7 fix: adapt latest octobase id type 2023-02-09 18:08:42 +08:00
linonetwo
3d78301805 fix: build preload before first run 2023-02-09 18:08:31 +08:00
Yifeng Wang
18e1eecefc docs: cleanup cla format (#934) 2023-02-09 17:52:00 +08:00
DarkSky
a5216bf01c chore: fix format 2023-02-09 17:42:40 +08:00
DarkSky
a3eb4a4279 chore: update cla description 2023-02-09 17:40:13 +08:00
JimmFly
7ab0040810 feat: update language (#929) 2023-02-09 17:31:21 +08:00
DiamondThree
3d6d8694ba feat: add create workspace test (#914) 2023-02-09 08:28:01 +00:00
zuomeng wang
5a93b26cc3 fix: duplicate api call for cloud workspace (#928) 2023-02-09 15:53:46 +08:00
JimmFly
718322ec65 chore: replace all "favourite" with "favorite" (#927) 2023-02-09 07:46:59 +00:00
Chi Zhang
2fd4dc5201 Update README.md 2023-02-09 15:39:07 +08:00
Chi Zhang
b9544e1022 Update README.md 2023-02-09 15:37:22 +08:00
Chi Zhang
044eb8976a Update README.md 2023-02-09 15:37:07 +08:00
Chi Zhang
1777b4f91e Update BUILDING.md 2023-02-09 15:34:54 +08:00
Chi Zhang
233793cecb Create BUILDING.md 2023-02-09 15:34:43 +08:00
DarkSky
eb47794e98 chore: renew dev server 2023-02-09 15:25:06 +08:00
DiamondThree
f47d1c2f7b fix: local will request api/token (#924) 2023-02-09 06:59:18 +00:00
DiamondThree
6327b5864d fix: localworkspace will request blob (#925) 2023-02-09 06:59:02 +00:00
JimmFly
2bde086e28 chore: update font size of quick search (#919) 2023-02-09 13:54:55 +08:00
DarkSky
c129c92e39 chore: cleanup useless path 2023-02-09 13:50:13 +08:00
DarkSky
c3dc92d920 chore: add storybook build cmd 2023-02-09 12:33:56 +08:00
Himself65
cc605251a8 refactor: move component into a single package (#898) 2023-02-09 12:19:11 +08:00
Peng Xiao
0984c37cad fix: add page titles (#883) 2023-02-09 11:30:57 +08:00
JimmFly
0ccaf2bc45 fix: infinite call of useEffect on 404 page (#913) 2023-02-09 11:29:53 +08:00
zuomeng wang
5323f659c8 fix: only owner can set workspace avatar (#882)
Co-authored-by: Qi <474021214@qq.com>
2023-02-09 11:29:04 +08:00
linonetwo
c61b689d1b chore: upgrade octobase to latest master 2023-02-09 10:55:28 +08:00
Himself65
8297259f7e refactor: remove babel (#911) 2023-02-09 10:51:10 +08:00
linonetwo
c29b2975c5 fix: merge issue 2023-02-09 10:24:30 +08:00
zuomeng wang
9d350059d9 fix: add collabration name (#879) 2023-02-09 10:15:30 +08:00
linonetwo
4735fdbd2b Merge branch 'master'
Conflicts:
	.vscode/settings.json
	package.json
	packages/data-center/package.json
	pnpm-lock.yaml
2023-02-09 10:13:15 +08:00
JimmFly
53d60a13b2 fix: retrieve lost cursor after closing search (#899) 2023-02-08 16:05:15 -06:00
Flrande
7583205011 build: use swc (#839) 2023-02-08 14:53:30 -06:00
DarkSky
75435e1c69 Merge pull request #886 from toeverything/feat/sync-status
fix: logout will jump to 404 error
2023-02-08 23:22:10 +08:00
DarkSky
4d689529b9 Merge pull request #881 from toeverything/fix-workspace-type
fix: workspace type wrong
2023-02-08 23:21:08 +08:00
DarkSky
eba1962cd5 Merge pull request #885 from toeverything/fix-invite-loading
fix: inviting page add loading to wait request
2023-02-08 23:18:23 +08:00
linonetwo
5176d57d28 fix: preload script in tauri should not have export 2023-02-08 23:16:12 +08:00
DarkSky
e111d5e6ef Merge pull request #909 from toeverything/feat/e2etest-20230208
test: make workspace list tests stable
2023-02-08 22:30:59 +08:00
linonetwo
f01e0cd733 fix: build affine before build tauri 2023-02-08 21:41:48 +08:00
Qi
23ff52b93d Merge pull request #878 from toeverything/feat/new-setting-page
feat: setting page with new design
2023-02-08 18:47:46 +08:00
QiShaoXuan
f8995e8a87 fix: i18n word 2023-02-08 18:38:28 +08:00
Qi
a3a94a9d0f Update packages/i18n/src/resources/en.json
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2023-02-08 18:33:06 +08:00
QiShaoXuan
7ff63cfb5f fix: lint error 2023-02-08 18:20:51 +08:00
QiShaoXuan
2ec5f6fb60 feat: setting page with new design 2023-02-08 18:11:27 +08:00
tzhangchi
6fa0820734 test: make workspace list tests stable 2023-02-08 17:48:03 +08:00
DarkSky
6d28081afa Merge pull request #887 from toeverything/fix-remove-unused-code
fix: remove unused code
2023-02-08 17:13:07 +08:00
DarkSky
4e1f812160 Merge pull request #905 from toeverything/fix-token-parsing
fix: token parsing
2023-02-08 16:57:37 +08:00
linonetwo
0c21ccb04b fix: store full state as update as solution for serialization 2023-02-08 15:36:04 +08:00
Peng Xiao
9c2c8aed6c fix: token parsing 2023-02-08 15:04:23 +08:00
QiShaoXuan
2405744566 Merge branch 'master' of github.com:toeverything/AFFiNE into feat/new-setting-page 2023-02-08 14:35:04 +08:00
linonetwo
b1943aaad9 fix: preload compile needs correct type extension on window 2023-02-08 10:23:52 +08:00
alt0
ef4a25d82b fix: workspace router 2023-02-07 22:46:40 +08:00
DiamondThree
731deda1e1 fix: logout jump to 404 2023-02-07 22:14:49 +08:00
DiamondThree
d9d60197f2 fix:delete workspace will jump to 404 2023-02-07 20:01:25 +08:00
alt0
84906e1ff8 fix: remove unused code 2023-02-07 19:19:06 +08:00
DiamondThree
028fdae8b1 fix: logout will jump to 404 error 2023-02-07 19:18:28 +08:00
DarkSky
d135bcb2fd Merge pull request #864 from toeverything/feat/sync-status
Feat/sync status
2023-02-07 19:06:52 +08:00
alt0
40b74a8e66 fix: inviting page add loading to wait request 2023-02-07 19:06:43 +08:00
DiamondThree
a0f5d089d1 fix: appState dependency 2023-02-07 18:48:55 +08:00
alt0
0566c07e39 fix: remove unused variables 2023-02-07 18:42:28 +08:00
alt0
38b4ab41a5 fix: remove unused variables 2023-02-07 18:40:09 +08:00
alt0
72d28867aa fix: workspace type wrong 2023-02-07 18:29:09 +08:00
QiShaoXuan
aac9cb8b23 fix: modify slide bar font size, fixed #812 2023-02-07 17:49:16 +08:00
Qi
8f2d6b2160 Merge pull request #829 from toeverything/fix/downhill-bugs
Fix/downhill bugs
2023-02-07 17:37:31 +08:00
DiamondThree
28d2fd13d5 fix: sync status error 2023-02-07 17:32:15 +08:00
Qi
94c16b6380 Merge pull request #872 from toeverything/feat/modify-ui
feat: modify style
2023-02-07 17:25:35 +08:00
QiShaoXuan
de963fe13b fix: remove css variable lineHeightBase 2023-02-07 17:20:08 +08:00
zuomeng wang
036e514eb5 fix: add collabration cursor (#865) 2023-02-07 17:10:39 +08:00
QiShaoXuan
e1f4b6f8f2 feat: modify style 2023-02-07 17:10:15 +08:00
zuomeng wang
285b535a54 fix: local cache not work in creation (#859) 2023-02-07 08:52:55 +00:00
DiamondThree
0441c17e1d fix: pagelist is null 2023-02-07 16:45:58 +08:00
DiamondThree
ab059fcb2b fix: logout status error 2023-02-07 16:45:16 +08:00
JimmFly
18f63443e3 Merge pull request #856 from toeverything/fix/language-menu-ui
fix: retrieves missing default language
2023-02-07 16:23:57 +08:00
JimmFly
3750c8ef8d Merge pull request #852 from toeverything/fix/update-search-ui
fix: update search UI in public page
2023-02-07 16:12:59 +08:00
JimmFly
9e15f1add9 Merge branch 'master' into fix/update-search-ui 2023-02-07 16:07:43 +08:00
JimmFly
1ea0e29d93 test: add test case for language menu 2023-02-07 15:21:34 +08:00
JimmFly
9807f9af1d fix: retrieves missing default language 2023-02-07 14:57:04 +08:00
DiamondThree
a6100a6ae2 fix: logout will set status about workspace (#830) 2023-02-07 06:40:06 +00:00
QiShaoXuan
8589a8c718 fix: lint error 2023-02-07 14:17:10 +08:00
QiShaoXuan
1455bb8555 Merge branch 'master' of github.com:toeverything/AFFiNE into fix/downhill-bugs 2023-02-07 14:15:06 +08:00
QiShaoXuan
285651fba8 fix: default workspace name, fixed #813 2023-02-07 14:13:00 +08:00
QiShaoXuan
3c5a98ff7c fix: uniform workspace name length limit, fixed #810 2023-02-07 14:00:33 +08:00
JimmFly
8e7e25829b test: add test case for quick search 2023-02-07 13:56:58 +08:00
JimmFly
3b8c4db8fb test: add test case for 404 search 2023-02-07 13:21:42 +08:00
JimmFly
e559ae3490 Disable quicksearch on 404 page 2023-02-07 13:14:19 +08:00
JimmFly
10c082b8e3 Merge branch 'master' into fix/update-search-ui 2023-02-07 13:06:32 +08:00
JimmFly
fd72f69303 chore: update style 2023-02-07 12:31:06 +08:00
JimmFly
d7cb1b5c0a Merge pull request #846 from toeverything/fix/quick-search-input
fix: update quick search close function
2023-02-07 12:15:17 +08:00
JimmFly
a54bc69d46 fix: add public page search ui 2023-02-07 12:09:09 +08:00
Himself65
b52f6ed63b fix: import blocksuite twice (#847) 2023-02-07 11:55:39 +08:00
JimmFly
c0e0629659 test: update quick-search test case 2023-02-07 11:12:01 +08:00
JimmFly
c0a36d36cc fix: update quick search close function 2023-02-07 11:07:52 +08:00
DarkSky
6072de82ff Merge pull request #845 from toeverything/himself65/bump
chore: bump version
2023-02-07 11:00:54 +08:00
JimmFly
4d5213608b Merge branch 'master' into fix/quick-search-input 2023-02-07 10:41:53 +08:00
JimmFly
a220e63184 Merge pull request #822 from toeverything/fix/lost-entrance-of-quick-search
fix: retrieve lost entrance of quick search
2023-02-07 10:20:53 +08:00
QiShaoXuan
c953e82234 fix: modify header sync icon, fixed #794 2023-02-07 10:19:41 +08:00
JimmFly
e2df32724a Merge branch 'master' into fix/lost-entrance-of-quick-search 2023-02-07 10:15:30 +08:00
JimmFly
e207aa1cb5 test: update quick-search test case 2023-02-07 10:14:23 +08:00
himself65
79a9f0ee46 chore: bump version 2023-02-06 13:52:55 -06:00
DarkSky
fdaefccdb0 Merge pull request #841 from toeverything/feat/e2etest-20230206
Feat/e2etest 20230206
2023-02-07 02:00:09 +08:00
DarkSky
d2e672ae92 Merge pull request #844 from toeverything/test/github-report
feat: enable github reporter
2023-02-07 01:46:37 +08:00
DarkSky
b0bbe0eff3 chore: temporarily disable unstable test 2023-02-07 01:42:40 +08:00
DarkSky
aaaca538d1 Merge pull request #843 from toeverything/himself65/alias
fix: alias
2023-02-07 01:38:44 +08:00
linonetwo
dc72b2ea11 refactor: try merge update before output and after input 2023-02-07 01:32:51 +08:00
lawvs
ad3e18cb1a feat: enable github reporter 2023-02-07 01:22:39 +08:00
himself65
392c9cc0d6 fix: alias 2023-02-06 10:59:47 -06:00
DarkSky
e397fe09c7 chore: remove duplicate tests 2023-02-06 23:44:34 +08:00
DarkSky
efb5e8a504 chore: unit test & failure record 2023-02-06 23:21:23 +08:00
tzhangchi
4fed0de502 feat: make 404 route faster 2023-02-06 22:36:40 +08:00
tzhangchi
9548cc1ed1 feat: add e2e test for creating multi workspaces 2023-02-06 22:26:01 +08:00
DarkSky
3daf8c00a4 Merge pull request #840 from toeverything/bugfix/public-workspace-error
fix: delete useless tips
2023-02-06 22:15:11 +08:00
tzhangchi
274505590c feat: update the default workspace nameto AFFiNE Test and add e2e test for it 2023-02-06 21:58:41 +08:00
DiamondThree
1379094f4d delete useless tips 2023-02-06 20:13:39 +08:00
QiShaoXuan
801fc4e00c fix: modify text, fixed #826 2023-02-06 18:30:54 +08:00
QiShaoXuan
ab4feb04ba fix: limit workspace name length when created, fixed #809 2023-02-06 18:23:38 +08:00
JimmFly
6bdaee66cf test: fix quick search test case 2023-02-06 18:06:30 +08:00
DarkSky
22ba80c95d Merge pull request #825 from toeverything/bugfix/delete-member
fix: workspace owner will delete himself
2023-02-06 18:06:25 +08:00
DarkSky
b28668d947 Merge pull request #833 from toeverything/feat/emotion-babel-plugin
feat: add @emotion/babel-plugin
2023-02-06 17:47:11 +08:00
lawvs
759ec6707a feat: add @emotion/babel-plugin 2023-02-06 17:37:47 +08:00
QiShaoXuan
de43f3f0e2 fix: long text style error in workspace card, fixed #811 2023-02-06 17:27:26 +08:00
JimmFly
dd127bc68d test: update quick-search test case 2023-02-06 17:24:30 +08:00
DarkSky
a11e400fca Merge pull request #828 from toeverything/bump_version
chore: bump ts & blocksuite
2023-02-06 17:22:30 +08:00
DarkSky
a5e0fbae9e chore: move docs to folder 2023-02-06 17:13:39 +08:00
DarkSky
be3158d529 chore: bump ts & blocksuite 2023-02-06 17:07:48 +08:00
DiamondThree
0e5ef7844c Merge branch 'master' into bugfix/delete-member 2023-02-06 17:00:41 +08:00
JimmFly
66d2033cda test: update visit 404 page test case 2023-02-06 17:00:21 +08:00
QiShaoXuan
56f10bbf50 fix: refactor login button, fixed #793 2023-02-06 16:55:54 +08:00
JimmFly
6f71198f04 Merge branch 'master' into fix/lost-entrance-of-quick-search 2023-02-06 16:53:03 +08:00
DarkSky
b0e586d02b fix: use self hosted runner 2023-02-06 16:51:35 +08:00
QiShaoXuan
f47af2d546 fix: add hint in sinout button, fixed #790 2023-02-06 16:34:14 +08:00
QiShaoXuan
dd19c947a9 fix: text is not center in login button, fixed #789 2023-02-06 16:33:45 +08:00
DiamondThree
ebca34c9e5 fix: workspace owner will delete himself 2023-02-06 16:33:07 +08:00
JimmFly
010c7b68d4 chore: remove unused import 2023-02-06 15:50:53 +08:00
JimmFly
2a17c32779 fix: find the lost setting entry of quick search 2023-02-06 15:45:20 +08:00
JimmFly
a013de8adf fix: retrieve lost quick search entries 2023-02-06 15:35:15 +08:00
DarkSky
d359823f8e Merge pull request #781 from toeverything/feature/refresh
feat: refresh can jump first workspace
2023-02-06 01:58:56 +08:00
Chi Zhang
952de71601 Update README.md 2023-02-05 22:34:40 +08:00
DarkSky
497dfa3fb5 Merge pull request #787 from toeverything/test-coverage
chore: add test coverage check
2023-02-05 20:01:18 +08:00
DarkSky
21c9725f62 fix: coverage on ci 2023-02-05 19:53:30 +08:00
DarkSky
1d1f211d37 chore: export coverage report 2023-02-05 19:05:43 +08:00
DarkSky
e4905b317a fix: test order 2023-02-05 18:57:55 +08:00
DarkSky
3e5b135ceb chore: split e2e & unit test 2023-02-05 18:56:50 +08:00
DarkSky
65652d0d06 feat: upload code coverage report 2023-02-05 18:47:01 +08:00
DarkSky
c4d34ddfea feat: basic test coverage 2023-02-05 18:41:18 +08:00
DarkSky
dd9d30de37 chore: skip outdated case 2023-02-05 17:59:38 +08:00
DarkSky
6f0bded0a2 Revert "fix:test case (#763)"
This reverts commit c0b410a1b2.
2023-02-05 17:53:14 +08:00
DarkSky
35ca8a8fb0 chore: introduction text 2023-02-05 17:45:28 +08:00
Yifeng Wang
1a2f7b8478 chore: add community link to template (#786) 2023-02-05 08:32:51 +08:00
Yifeng Wang
675e51f906 chore: remove redundant issue template config (#785) 2023-02-05 08:11:04 +08:00
Yifeng Wang
89663bc72a chore: simplify issue template (#784) 2023-02-05 08:00:15 +08:00
DarkSky
e3011c3aa6 Merge pull request #782 from toeverything/bugfix/20230203
refactor: The implementation of the _handlerAffineListMessage functio…
2023-02-04 15:40:03 +08:00
Yifeng Wang
a0b30db810 Merge pull request #783 from toeverything/document-bump 2023-02-04 11:40:15 +08:00
himself65
1dcc6ac613 docs: update 2023-02-03 14:08:13 -06:00
himself65
d67ddc37b4 docs: add bump blocksuite guideline 2023-02-03 13:57:09 -06:00
tzhangchi
9a315ed994 fix: make remove workspace logic correct 2023-02-03 23:57:24 +08:00
tzhangchi
b102e234e3 refactor: The implementation of the _handlerAffineListMessage function has been improved to make the code for synchronising the latest number and status of workspaces more readable and easier to understand, 2023-02-03 23:25:44 +08:00
DiamondThree
3f794a959b feat: refresh can jump first workspace 2023-02-03 17:57:07 +08:00
DarkSky
7522b76089 Merge pull request #779 from toeverything/bugfix/compatible
fix:commpatible old workspace
2023-02-03 17:50:41 +08:00
DarkSky
540048eadf chore: reset lock 2023-02-03 17:50:27 +08:00
DarkSky
115a13a6fa Merge pull request #780 from toeverything/0203-blockhub-fix-theme
fix: blockhub theme
2023-02-03 17:49:33 +08:00
x1a0t
18c4abca2e fix: blockhub theme 2023-02-03 16:11:34 +08:00
DiamondThree
5e6f5d5df9 fix:commpatible old workspace 2023-02-03 15:46:48 +08:00
DiamondThree
76d52bd2fd fix: style error about model close icon button postion (#777) 2023-02-03 06:16:48 +00:00
DarkSky
7a7a339938 Merge pull request #776 from toeverything/bugfix/enable-workspace-style
Bugfix/enable workspace style
2023-02-03 11:54:09 +08:00
DarkSky
58f8a93ae1 Merge pull request #774 from toeverything/bump
chore: bump blocksuite version
2023-02-03 11:52:08 +08:00
DiamondThree
61c5ddea5e fix:delete unuse icon 2023-02-03 11:48:23 +08:00
DiamondThree
32d6c07450 fix: close icon postion error 2023-02-03 11:47:04 +08:00
DiamondThree
189f51df25 fix: close icon postion error (#775) 2023-02-03 03:32:20 +00:00
himself65
181786eeea fix: theme 2023-02-02 21:30:23 -06:00
DiamondThree
efddd3ddb5 fix: close icon postion error 2023-02-03 11:24:06 +08:00
himself65
2c84f3979d chore: bump blocksuite version 2023-02-02 21:12:30 -06:00
DarkSky
c61be05944 Merge pull request #772 from toeverything/bugfix/enable-workspace
fix:enable workspace style add loading status
2023-02-03 11:04:38 +08:00
linonetwo
765cd983fc feat: try use a yrs doc to merge state before store to sqlite, but not working 2023-02-03 10:55:56 +08:00
DarkSky
4a963321b1 Merge pull request #769 from toeverything/bugfix/upload-blob
fix: add token and api to blocksuitWorkspace
2023-02-02 21:43:03 +08:00
DarkSky
081bf2cc25 Merge branch 'master' into bugfix/upload-blob 2023-02-02 21:37:55 +08:00
DarkSky
5af42d3784 Merge pull request #771 from toeverything/fix-deletedb-error
fix: delete db cause page reload
2023-02-02 21:30:36 +08:00
DiamondThree
e306408b56 fix: enable workspace upload avatar 2023-02-02 19:48:02 +08:00
DiamondThree
8141ef1f91 fix: delete db cause page reload 2023-02-02 19:17:07 +08:00
DiamondThree
cf65f0ad0d fix:enable workspace style add loading status 2023-02-02 19:12:42 +08:00
alt0
19b2794e2d fix: delete db cause page reload 2023-02-02 18:45:00 +08:00
DiamondThree
fca165c672 fix: add gettoken on affine provider 2023-02-02 18:30:36 +08:00
DiamondThree
82c261767f fix: add token and api to blocksuitWorkspace 2023-02-02 16:00:21 +08:00
DarkSky
6cc39171eb Merge pull request #768 from toeverything/feat/hide-feature
feat: Hide some unimplemented functions
2023-02-02 14:41:27 +08:00
DarkSky
a507e9aa6d chore: reset lock file 2023-02-02 14:41:06 +08:00
DiamondThree
4c94730bff feat: hide download all date feature 2023-02-02 14:23:26 +08:00
DiamondThree
299a17a874 feat: hide some unimplemented functions 2023-02-02 14:12:16 +08:00
DarkSky
5763baf8cd Merge pull request #759 from toeverything/feat/ui
Feat/UI
2023-02-01 23:50:02 +08:00
DarkSky
55f9a8bd63 Merge pull request #764 from toeverything/fix/menu
fix: menu not hide when click over
2023-02-01 23:49:48 +08:00
DarkSky
d067250a04 fix: pwa cache 2023-02-01 23:43:54 +08:00
Chi Zhang
8287733263 Merge pull request #766 from toeverything/fix/typo-of-downhills
fix: fix the typo of downhills
2023-02-01 22:48:02 +08:00
tzhangchi
fe261388a3 fix: fix the typo of downhills 2023-02-01 22:03:37 +08:00
DarkSky
cb2e6f97d0 Merge pull request #761 from toeverything/feat/datacenter
feat: sync features with new data center
2023-02-01 21:32:15 +08:00
DiamondThree
af6381314c bugfix: fix lint about svg attr name (#765) 2023-02-01 13:17:17 +00:00
DiamondThree
c0b410a1b2 fix:test case (#763) 2023-02-01 13:07:35 +00:00
QiShaoXuan
5261ef960e fix: menu not hide when click over 2023-02-01 20:48:39 +08:00
DiamondThree
57f3cd652a Feat/blocksuit version (#760) 2023-02-01 12:21:45 +00:00
QiShaoXuan
48d9aec4fb Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/ui 2023-02-01 18:01:26 +08:00
QiShaoXuan
cf2767c568 feat: adjust layout 2023-02-01 17:59:46 +08:00
DarkSky
2fb7217f03 Merge remote-tracking branch 'origin/master' into feat/datacenter 2023-02-01 16:01:59 +08:00
QiShaoXuan
9f69acc990 Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/ui 2023-02-01 14:09:46 +08:00
JimmFly
bbaabfeea4 Merge pull request #739 from toeverything/feat/datacenter-published-search
feat: add nav bar to the public page
2023-02-01 13:51:32 +08:00
JimmFly
6068d995af Merge pull request #756 from toeverything/feat/datacenter-i18n
feat: update translation
2023-02-01 13:40:27 +08:00
zuomeng wang
2a400a103a fix: after enabled cloud sync, we should migrate blob db (#757) 2023-02-01 05:27:24 +00:00
JimmFly
a2ce1dd924 Merge branch 'feat/datacenter' into feat/datacenter-i18n 2023-02-01 13:04:52 +08:00
Qi
01310e1650 Feat/UI (#751) 2023-02-01 02:46:59 +00:00
JimmFly
20ffbe348a fix: closeButton not work 2023-02-01 10:37:30 +08:00
JimmFly
720aa6e6b0 Merge branch 'feat/datacenter' into feat/datacenter-i18n 2023-02-01 10:25:02 +08:00
linonetwo
c4c6844fbe chore: install concurrently 2023-02-01 08:55:30 +08:00
linonetwo
c064006c02 chore: auto run affine before client dev 2023-02-01 08:55:13 +08:00
linonetwo
97994b81c6 feat: generate types from rs 2023-01-31 22:31:34 +08:00
linonetwo
a3aac7fe86 feat: update to latest master of octobase 2023-01-31 22:30:53 +08:00
linonetwo
88203a8d60 refactor: adapt latest octobase 2023-01-31 22:30:34 +08:00
linonetwo
44d9fbf264 refactor: adapt latest octobase 2023-01-31 22:29:21 +08:00
QiShaoXuan
4545c4b56f fix: can not close workspace modal 2023-01-31 19:02:11 +08:00
QiShaoXuan
5fb22d5b65 fix: workspace modal style error 2023-01-31 19:00:11 +08:00
QiShaoXuan
38d66fb529 Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/ui 2023-01-31 18:45:43 +08:00
JimmFly
08ce7d5322 feat: update i18n keys 2023-01-31 18:34:50 +08:00
JimmFly
a9bbaed22c chore: add translation function 2023-01-31 18:34:18 +08:00
DiamondThree
d7e3d524e5 fix: userInfo name conversion encoding format (#755) 2023-01-31 10:07:55 +00:00
Qi
94bebdc491 Merge pull request #747 from toeverything/feat/style-error
Feat/style error
2023-01-31 17:14:32 +08:00
ShortCipher5
9f900f0cd2 Merge pull request #754 from toeverything/updateReadMe
Update ReadMe
2023-01-31 17:02:20 +08:00
DiamondThree
79f1ca494d fix: lint style 2023-01-31 16:53:16 +08:00
ShortCipher5
65935eb8a1 Update README.md 2023-01-31 16:50:34 +08:00
ShortCipher5
b3be064432 Update README.md 2023-01-31 16:48:39 +08:00
JimmFly
e501026d28 feat: update i18n keys 2023-01-31 15:29:35 +08:00
JimmFly
65f4f05c04 chore: add translation function 2023-01-31 15:29:04 +08:00
ShortCipher5
2413e47d41 Merge pull request #753 from toeverything/ShortCipher5-patch-1
Update README.md
2023-01-31 14:32:52 +08:00
ShortCipher5
822b6c9bb1 Update README.md 2023-01-31 14:16:30 +08:00
ShortCipher5
be4135f6ba Merge pull request #752 from JackiePengp/patch-1
Update types-of-contributions.md
2023-01-31 14:08:22 +08:00
Pengyang(jackie)
f5521eb91a Update types-of-contributions.md 2023-01-31 13:56:43 +08:00
QiShaoXuan
2f5724578f feat: modify Content component 2023-01-31 13:18:37 +08:00
QiShaoXuan
c11f257943 fix: lint error 2023-01-31 12:28:32 +08:00
QiShaoXuan
0e115b9296 Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/ui 2023-01-31 12:22:31 +08:00
QiShaoXuan
44d569ca66 feat: add FlexWrapper in layout component 2023-01-31 12:22:00 +08:00
JimmFly
24b1bd3f39 Merge pull request #750 from toeverything/ShortCipher5-patch-1
Update CONTRIBUTING.md
2023-01-31 11:44:45 +08:00
ShortCipher5
9e1edc9cee Update CONTRIBUTING.md
Update branch information
2023-01-31 11:30:27 +08:00
Qi
61b8299e3e Merge pull request #748 from toeverything/feat/ui
Feat/UI
2023-01-30 19:11:01 +08:00
JimmFly
9ee78221a7 chore: fix deepScan warning 2023-01-30 19:06:52 +08:00
JimmFly
5bd95f68c2 feat: add public page navigation bar 2023-01-30 19:04:36 +08:00
JimmFly
fec1944fa9 chore: modify the breadcrumb style 2023-01-30 19:03:52 +08:00
QiShaoXuan
4b0ed65f45 Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/ui 2023-01-30 18:31:01 +08:00
QiShaoXuan
2dba0927ef feat: refact workspace modal 2023-01-30 18:30:25 +08:00
QiShaoXuan
056c657721 feat: add positionAbsolute in style helper 2023-01-30 18:29:46 +08:00
QiShaoXuan
0636622158 feat: support new feature in button component 2023-01-30 18:29:00 +08:00
QiShaoXuan
bf6545af7a feat: limit tooltip max width 2023-01-30 18:28:16 +08:00
QiShaoXuan
56d43fb88a feat: modify i18n 2023-01-30 18:27:55 +08:00
QiShaoXuan
42fb945d02 feat: modify Modal component style 2023-01-30 18:27:06 +08:00
DiamondThree
be35e2beac fix: delete no-used 2023-01-30 16:11:02 +08:00
DiamondThree
05aa532d58 fix: delete import 2023-01-30 15:51:27 +08:00
QiShaoXuan
980786c821 chore: unified mui compoent entry to ui file 2023-01-30 14:59:32 +08:00
JimmFly
8574ba596b feat: add breadcrumb ui component 2023-01-30 14:49:09 +08:00
DiamondThree
f28a1df624 fix: lint erroe 2023-01-30 12:44:38 +08:00
JimmFly
e69eafdd50 Merge branch 'feat/datacenter' into feat/datacenter-published-search 2023-01-30 12:38:10 +08:00
DiamondThree
152093e7d8 fix: publish status error and delete export tab 2023-01-30 12:37:28 +08:00
DarkSky
23b9ff1ce6 fix: lock file corruption 2023-01-30 11:59:15 +08:00
linonetwo
7b6addbe28 fix: merge issue 2023-01-30 11:15:20 +08:00
linonetwo
1d4be5a290 Merge remote-tracking branch 'refs/remotes/origin/feat/datacenter'
Conflicts:
	packages/app/src/components/workspace-modal/languageMenu.tsx
	packages/data-center/package.json
	pnpm-lock.yaml
2023-01-30 11:00:31 +08:00
linonetwo
bef1c78879 fix: try avoid import code using window during test 2023-01-30 10:58:52 +08:00
linonetwo
1f63662960 feat: add test about tauri ipc provider 2023-01-30 10:57:27 +08:00
Chi Zhang
a36588f75c Update README.md 2023-01-29 22:09:17 +08:00
Chi Zhang
401a2ed076 Update README.md 2023-01-29 22:06:44 +08:00
DarkSky
5c8041a8d4 Merge pull request #740 from toeverything/fix/logout
fix: fix logout
2023-01-27 03:27:01 +08:00
Yifeng Wang
9c9ce0280f Merge pull request #746 from toeverything/20230123-fix-title 2023-01-24 08:09:27 +08:00
himself65
60f8366f00 fix: listen 2023-01-23 13:56:22 -06:00
himself65
3325a1bfe2 fix: import 2023-01-23 13:53:22 -06:00
himself65
746a6d9ab5 fix: listen on title change 2023-01-23 13:52:40 -06:00
DarkSky
d5503a2298 Merge pull request #742 from toeverything/feat/style-workspaces
Feat/style workspaces
2023-01-23 13:28:35 +08:00
DiamondThree
bccb0cc5ff feat: svg lint 2023-01-23 11:58:51 +08:00
DiamondThree
77b1dff68b feat: avatar upload 2023-01-23 11:50:04 +08:00
DiamondThree
9a717f7ed2 feat: rewrite async style 2023-01-23 11:36:04 +08:00
DiamondThree
0fa44f82dd feat: rewrite publish style 2023-01-23 11:23:41 +08:00
DiamondThree
6d41090e27 feat: rewrite enable affile cloud 2023-01-23 10:38:05 +08:00
DiamondThree
ba7a4378ad fix: rewrite member style 2023-01-23 10:26:51 +08:00
DiamondThree
7e23aa4618 fix: rewrite workspacesetting layout 2023-01-23 09:46:12 +08:00
DiamondThree
e53119fc20 feat: logout style and finish logout process 2023-01-22 17:41:51 +08:00
DiamondThree
f67d0011d2 Merge branch 'feat/datacenter' into feat/style-workspaces 2023-01-22 16:57:27 +08:00
JimmFly
ab73745ec0 Merge pull request #743 from toeverything/feat/datacenter-settings-style
feat:add datacenter settings style
2023-01-19 15:39:45 +08:00
JimmFly
e8a472a1fe chore: update membersPage font-size 2023-01-18 16:18:10 +08:00
DiamondThree
b39acf42e6 feat: create workspace 2023-01-18 16:11:51 +08:00
JimmFly
72b5dcb930 chore: remove empty tag 2023-01-18 16:04:19 +08:00
JimmFly
e352dc7f61 chore: update membersPage style 2023-01-18 16:01:39 +08:00
JimmFly
9702e9e380 chore: update settings page style 2023-01-18 16:01:11 +08:00
JimmFly
09fb0f8dfc chore: update syncPage style 2023-01-18 16:00:41 +08:00
JimmFly
5006c2360a chore: update publishPage style 2023-01-18 16:00:23 +08:00
JimmFly
48ac7aad60 chore: update General delete button style 2023-01-18 16:00:00 +08:00
JimmFly
74d7b7ab9d chore: update button ui component 2023-01-18 15:58:24 +08:00
JimmFly
69b396b9d4 chore: update confirm ui component 2023-01-18 15:54:56 +08:00
JimmFly
4401f083f2 chore: update input ui component 2023-01-18 15:31:34 +08:00
JimmFly
32babd8026 chore: update General style 2023-01-18 15:30:03 +08:00
JimmFly
68dc20cd2e chore: add themeModeSwitch to default Item 2023-01-18 15:27:54 +08:00
DiamondThree
e8a5d9b784 feat: login style 2023-01-18 02:12:51 +08:00
DiamondThree
de9248b784 feat:workspaces list style 2023-01-18 01:27:31 +08:00
JimmFly
d64ae51c94 chore: remove setting tabs icon 2023-01-17 17:46:34 +08:00
JimmFly
21f9f87cb2 chore: optimize code 2023-01-17 10:41:53 +08:00
MingLiang Wang
84dd82aa96 feat: improve clear logic 2023-01-17 10:26:50 +08:00
MingLiang Wang
cc00f2cb2d fix: fix logout 2023-01-16 18:23:09 +08:00
JimmFly
d9ad8ee608 fix: deepScan warning 2023-01-16 17:43:37 +08:00
JimmFly
743c7212fe feat: adapt the quick search to the public page 2023-01-16 17:40:14 +08:00
tzhangchi
c7c8ea7103 chore: remove unused code 2023-01-14 10:12:38 +08:00
tzhangchi
af23591541 chore: support 4 environments for developers 2023-01-14 10:08:06 +08:00
tzhangchi
e629aac0ad feat: make import button visible 2023-01-14 10:05:40 +08:00
tzhangchi
7de8ac53d1 chore: translate comments in css files 2023-01-14 10:00:18 +08:00
tzhangchi
49a8be3ce6 chore: add enough message for assert 2023-01-14 09:58:25 +08:00
tzhangchi
cd2495e4e0 feat: add page loading for public workspace page view 2023-01-13 23:43:09 +08:00
tzhangchi
2870972b49 feat: upgrade preloading page to Downhill 2023-01-13 23:29:15 +08:00
tzhangchi
9415f46ce5 feat: console.error when firebase configed error 2023-01-13 22:34:11 +08:00
tzhangchi
863ebf8360 feat: add loading for PublishPage 2023-01-13 22:17:10 +08:00
tzhangchi
772a5adbc9 feat: add temporary loading 2023-01-13 22:03:45 +08:00
tzhangchi
d6007a54e7 feat: add danger to sign out button 2023-01-13 21:21:20 +08:00
tzhangchi
e1234df141 feat: throw error if user not found 2023-01-13 21:06:10 +08:00
zuomeng wang
b8efa9aa25 fix: change request baseUrl to dynamic (#737) 2023-01-13 10:42:37 +00:00
zuomeng wang
a739c1f773 fix: @blocksuite/store was already imported. This breaks constructor … (#736)
…checks and will lead to issues
2023-01-13 10:29:02 +00:00
DiamondThree
911cc3e217 Fix/publish style (#732) 2023-01-13 09:41:13 +00:00
MingLiang Wang
c95667eafb fix: fix reconnect logic (#730) 2023-01-13 09:16:15 +00:00
zuomeng wang
2c1eee1194 fix: websocket should be link to blocksuiteWorkspace, not workspace id (#735) 2023-01-13 09:10:08 +00:00
DarkSky
c045c35842 Merge pull request #725 from toeverything/feat/contributors-add
docs: add contributors
2023-01-13 16:54:27 +08:00
DarkSky
e3332b8f19 Merge pull request #734 from toeverything/0113-update-blocksuite
chore: update blocksuite including providing fetching header
2023-01-13 16:53:39 +08:00
x1a0t
fabd76edbe chore: update blocksuite including providing fetching header 2023-01-13 16:01:07 +08:00
zuomeng wang
21d24ad542 fix: deepscan error (#733) 2023-01-13 07:54:21 +00:00
zuomeng wang
ba9a57d4ae fix: error TS2742: The inferred type of 'bareClient' cannot be name (#731) 2023-01-13 07:33:42 +00:00
DiamondThree
7fb5aae8b5 fix: deepscan error and warning (#728) 2023-01-13 07:25:33 +00:00
zuomeng wang
03ff4c3e3d fix: upload origin doc when enable cloud (#729) 2023-01-13 07:09:56 +00:00
zuomeng wang
3efc4b554b Merge remote-tracking branch 'origin/master' into feat/datacenter (#727) 2023-01-13 06:50:15 +00:00
JimmFly
94cad8b080 Merge pull request #724 from toeverything/feat/add-language-switch
feat: add language switch in workspace modal
2023-01-13 14:33:23 +08:00
tzhangchi
693a59c446 docs: add contributors 2023-01-13 14:31:05 +08:00
DiamondThree
d1c9a40705 fix: lint error 2023-01-13 14:11:29 +08:00
JimmFly
b57d8d3529 chore: remove unused variable 2023-01-13 14:08:12 +08:00
JimmFly
8f38504009 chore: remove unused function 2023-01-13 14:07:33 +08:00
DiamondThree
5988777baf feat:merge dev 2023-01-13 14:07:17 +08:00
JimmFly
fd853a7b0c feat: add language switch in workspace modal 2023-01-13 14:02:37 +08:00
DiamondThree
f892af6dcd fix:workspace avatar 2023-01-13 09:59:44 +08:00
linonetwo
d9278fcc16 fix: return type 2023-01-13 00:30:08 +08:00
linonetwo
3ab34de1e1 fix: seriailize update as list, not merge then on yrs side, which is broken 2023-01-12 23:29:23 +08:00
alt0
048beb60c2 Merge remote-tracking branch 'origin/feat/datacenter-dev' into feat/datacenter-dev 2023-01-12 19:51:00 +08:00
alt0
cea3d13805 fix: workspace avatar 2023-01-12 19:50:26 +08:00
JimmFly
5df735db48 Merge pull request #719 from toeverything/feat/datacenter-i18n
feat: merge master for update i18n
2023-01-12 19:04:07 +08:00
DarkSky
d09d70abfe Merge pull request #718 from toeverything/0112-fix-update-script
fix: remove redundant package in data-center
2023-01-12 19:02:01 +08:00
JimmFly
c8fb986888 chore: update translation 2023-01-12 18:57:55 +08:00
DiamondThree
475566fa20 fix: add error catch 2023-01-12 18:37:43 +08:00
DiamondThree
32a5788504 feat: add invite info 2023-01-12 18:36:57 +08:00
JimmFly
e909141759 Merge branch 'chore/master-i18n' into feat/datacenter-i18n 2023-01-12 18:30:34 +08:00
DiamondThree
826a4bf381 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-12 18:23:21 +08:00
MingLiang Wang
cf47098631 feat: fix access permission api 2023-01-12 18:13:44 +08:00
x1a0t
f78ee0670e fix: remove redundant package in data-center 2023-01-12 18:05:00 +08:00
JimmFly
cf6b1731b0 chore: update translation 2023-01-12 17:53:11 +08:00
JimmFly
dedf03ae50 feat: add temporary language switch button 2023-01-12 17:47:46 +08:00
linonetwo
532d7c8a72 feat: add drag handle 2023-01-12 17:39:44 +08:00
MingLiang Wang
0b623a522b feat: add remove workspace by ids 2023-01-12 17:38:18 +08:00
linonetwo
d6a589b766 fix: update dep 2023-01-12 17:34:22 +08:00
linonetwo
c5a0643448 fix: use yrs 2023-01-12 17:34:06 +08:00
DiamondThree
a0c9f9a49c feat: add backhome 2023-01-12 17:33:12 +08:00
JimmFly
03a827e759 chore: update searchArrowButton style 2023-01-12 17:28:18 +08:00
linonetwo
9a2b48541b chore: fix octobase 2023-01-12 17:25:53 +08:00
linonetwo
1b3bdda061 fix: merge issue 2023-01-12 17:22:13 +08:00
DarkSky
f9654ce31c Merge pull request #717 from toeverything/chore/update-searchArrowButton-style
chore: remove hover tips of searchArrowButton
2023-01-12 17:21:57 +08:00
DarkSky
9088ab03a3 Merge pull request #716 from toeverything/0112-chore-update-blocksuite
chore: update BlockSuite version including introducing feature flag, adding upgrade npm script
2023-01-12 17:21:28 +08:00
MingLiang Wang
11edef1bbd feat: add new workspaces by arrays 2023-01-12 17:18:40 +08:00
DiamondThree
251cfc2340 fix: message in affine 2023-01-12 17:16:44 +08:00
DiamondThree
20e4686851 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-12 17:15:52 +08:00
linonetwo
1a82fdb8b3 fix: merge issue 2023-01-12 17:14:57 +08:00
linonetwo
6a9b3b2fd3 Merge remote-tracking branch 'refs/remotes/origin/feat/datacenter-dev'
Conflicts:
	packages/app/src/components/create-workspace/index.tsx
	packages/data-center/package.json
	packages/data-center/src/index.ts
	pnpm-lock.yaml
2023-01-12 17:11:27 +08:00
DiamondThree
4fe2febda3 feat:add isOwner 2023-01-12 17:06:54 +08:00
JimmFly
69e30ba888 chore: remove hover tip 2023-01-12 17:02:45 +08:00
JimmFly
d8a580dfae Merge branch 'feat/poc' into feat/datacenter 2023-01-12 16:38:54 +08:00
linonetwo
06be432b5a fix: assign name and avatar 2023-01-12 16:35:18 +08:00
linonetwo
921561eade feat: open devtool on dev 2023-01-12 16:19:30 +08:00
linonetwo
235bfe646d fix: merge issue 2023-01-12 16:19:11 +08:00
x1a0t
a45040a956 fix: deleting bash script, using npm script to be cross platform compatible 2023-01-12 16:18:05 +08:00
linonetwo
4be968c421 fix: create yDoc for workspace created during createUser 2023-01-12 16:17:30 +08:00
DiamondThree
ede7a6bdaa feat:add leave workspace 2023-01-12 15:52:07 +08:00
MingLiang Wang
819ab74178 feat: add cause of Request error 2023-01-12 15:24:40 +08:00
DarkSky
da1926e1ab Merge pull request #715 from toeverything/feat/add-sync-language
feat: add i18n keys auto sync
2023-01-12 15:15:45 +08:00
MingLiang Wang
9ae9bb8092 feat: add affine request error msg 2023-01-12 15:11:49 +08:00
JimmFly
3d6361ba3d feat: add en.json codeOwners 2023-01-12 15:02:23 +08:00
x1a0t
13de557d24 chore: update BlockSuite version including introducing feature flag, adding upgrade npm script 2023-01-12 14:59:44 +08:00
DiamondThree
14c665757e fix: delete mock data 2023-01-12 14:59:13 +08:00
JimmFly
082894d08c chore: restore en.json 2023-01-12 14:52:07 +08:00
DiamondThree
1eb3553504 fix: delete mock data 2023-01-12 14:40:33 +08:00
DiamondThree
bb3ff8edc7 fix: remove unused variable references 2023-01-12 14:32:55 +08:00
JimmFly
b855f71ebf test: test ci 2023-01-12 14:32:45 +08:00
JimmFly
b2f44f9fab chore: update readme 2023-01-12 14:29:18 +08:00
JimmFly
2867cb07c5 feat: add push and pr events 2023-01-12 14:16:49 +08:00
DiamondThree
45f4c9e0e9 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-12 14:10:13 +08:00
JimmFly
89866378ef feat: add i18n keys auto sync 2023-01-12 13:02:32 +08:00
alt0
034e460701 fix: merge two empty doc, no udpate event trigger 2023-01-12 12:08:37 +08:00
DiamondThree
1b544463c2 fix: login when no user. enabled on member 2023-01-12 11:50:49 +08:00
alt0
48d355ee72 fix: after load workspace, we need to close other workspace, not detory. 2023-01-12 10:01:09 +08:00
DarkSky
ae6fc7bb18 Merge pull request #714 from toeverything/suport-flags
feat: support flags in workspace
2023-01-12 01:01:14 +08:00
himself65
1d3dd8aa77 feat: support flags in workspace 2023-01-12 00:53:53 +08:00
DiamondThree
c28cca1a13 fix: nextconfig dev url 2023-01-11 23:59:06 +08:00
linonetwo
ac1ddba094 fix: merge issue 2023-01-11 23:57:54 +08:00
DiamondThree
c014818114 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-11 23:56:35 +08:00
DiamondThree
753c59b534 feat: add publish workspace page list and workspace page 2023-01-11 23:54:25 +08:00
alt0
c7f974ed77 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-11 23:18:23 +08:00
alt0
8e4585495f refactor: create and load workspace will return workspaceUnit 2023-01-11 23:14:13 +08:00
DiamondThree
d979acbba7 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 22:56:18 +08:00
MingLiang Wang
2fe58960f3 feat: fix type 2023-01-11 22:49:52 +08:00
DiamondThree
79b0bb9de9 Merge branch 'feat/datacenter-dev' of https://github.com/toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 22:42:10 +08:00
xiaodong zuo
0325f3f041 fix: add public-doc api 2023-01-11 22:23:03 +08:00
DiamondThree
1e8a704261 Merge branch 'feat/datacenter-dev' of https://github.com/toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 22:00:16 +08:00
DiamondThree
9d431dbc18 feat:add logout 2023-01-11 21:44:32 +08:00
QiShaoXuan
004a13576a Merge branch 'feat/datacenter-dev' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:44:06 +08:00
QiShaoXuan
d438b77a1b Merge branch 'feat/cloud-sync-saika' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:43:54 +08:00
MingLiang Wang
49eff042fe feat: add accept invite 2023-01-11 21:35:40 +08:00
DiamondThree
0f982ef4ba Merge branch 'feat/datacenter-dev' of https://github.com/toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:26:14 +08:00
QiShaoXuan
af93c6e6c0 Merge branch 'feat/cloud-sync-saika' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:24:40 +08:00
QiShaoXuan
2caa0fcb95 Merge branch 'feat/datacenter-dev' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:23:56 +08:00
QiShaoXuan
0152172dd1 feat: connect with datacenter invite function 2023-01-11 21:23:41 +08:00
MingLiang Wang
932f5f02c4 feat: fix users list 2023-01-11 21:10:31 +08:00
MingLiang Wang
fc2a5879bd feat: add channel for get new affine list 2023-01-11 20:57:56 +08:00
DiamondThree
a0b9ae538a Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 20:57:27 +08:00
alt0
15bdd2f31e fix: getBlocksuiteWorkspace remove check 2023-01-11 20:55:08 +08:00
alt0
2d1fd3a083 fix: add param for download public workspace 2023-01-11 20:53:53 +08:00
DiamondThree
179de80c83 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 20:46:34 +08:00
alt0
bda94bb865 fix: public workspace don't need to check permission 2023-01-11 20:46:04 +08:00
DiamondThree
a4284d56f8 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 20:45:58 +08:00
alt0
362b6f4238 fix: multiple add same workspace error 2023-01-11 20:43:19 +08:00
DarkSky
cb7d16fe1f Merge pull request #709 from toeverything/feat/sync-languages
feat: add sync i18n resource script
2023-01-11 20:36:24 +08:00
DiamondThree
ca9f66ce99 fix: add publick worksapce 2023-01-11 20:25:52 +08:00
alt0
8b757f538e feat: temporary support loading data for public workspace 2023-01-11 20:20:48 +08:00
JimmFly
7831a65cbe chore: update readme 2023-01-11 19:35:11 +08:00
JimmFly
af4262020b Merge branch 'master' into feat/sync-languages 2023-01-11 18:45:43 +08:00
JimmFly
af92417c81 chore: delete workflow action 2023-01-11 18:43:19 +08:00
DarkSky
257744f98b Merge pull request #711 from toeverything/chore/remove-searchArrowButton
chore: remove searchArrowButton
2023-01-11 18:37:48 +08:00
linonetwo
107419cb8d Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync-saika'
Conflicts:
	packages/data-center/package.json
	packages/data-center/src/datacenter.ts
	packages/data-center/src/index.ts
	pnpm-lock.yaml
2023-01-11 18:30:57 +08:00
JimmFly
51db32c29b Merge branch 'master' into chore/remove-searchArrowButton 2023-01-11 18:28:14 +08:00
linonetwo
2c06dbf2aa feat: open affine dev by default 2023-01-11 18:27:37 +08:00
JimmFly
5749b5f711 test: skip cloud sync 2023-01-11 18:26:58 +08:00
JimmFly
8cdfb2edba chore: update json 2023-01-11 18:19:01 +08:00
DarkSky
724ad7dee6 Merge pull request #712 from toeverything/chore/update-Copyright-year
chore: update copyright year
2023-01-11 18:09:28 +08:00
JimmFly
3357c3d43b test: skip cloud sync 2023-01-11 18:03:29 +08:00
linonetwo
0b2ab4f9a4 feat: create user if not exist 2023-01-11 17:54:26 +08:00
DarkSky
fdee279150 Merge pull request #710 from toeverything/0111-style-fix
chore: adding code block background color, line number color, fixing landing page case sensitivity
2023-01-11 17:48:44 +08:00
JimmFly
fe189e383b chore: remove unused import 2023-01-11 17:44:21 +08:00
JimmFly
a7e6d16930 chore: add date 2023-01-11 17:43:14 +08:00
JimmFly
66a208ebaf chore: remove unused import 2023-01-11 17:39:14 +08:00
MingLiang Wang
7e77175679 feat: update invite function name 2023-01-11 17:30:16 +08:00
JimmFly
2c32d4614f chore: update words 2023-01-11 17:26:39 +08:00
JimmFly
18ecf52f62 chore: remove searchArrowButton 2023-01-11 17:26:06 +08:00
JimmFly
0be59eef60 test: skip searchArrowButton test case 2023-01-11 17:25:16 +08:00
MingLiang Wang
62826f7ab7 feat: add channel 2023-01-11 17:21:41 +08:00
DiamondThree
e2a9c6c552 Merge branch 'feat/datacenter-dev' of https://github.com/toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 17:14:05 +08:00
DiamondThree
60246f3a23 fix: back blocksuit version 2023-01-11 17:13:49 +08:00
JimmFly
9c2afb2a7b feat: add auto download 2023-01-11 16:51:45 +08:00
alt0
6459faeeb9 fix: local provider save workspaces info 2023-01-11 16:50:40 +08:00
DarkSky
4e25fa3054 chore: disable outdated feature 2023-01-11 16:40:46 +08:00
QiShaoXuan
423f0e8e96 fix: type error 2023-01-11 16:37:41 +08:00
QiShaoXuan
b6b1ae0224 feat: add interaction to search button 2023-01-11 16:34:41 +08:00
QiShaoXuan
926bb7fd14 chore: remove currentWorkspaceId & currentMetaWorkspace 2023-01-11 16:33:25 +08:00
JimmFly
e3469b435f chore: update workflow 2023-01-11 16:19:46 +08:00
DiamondThree
8e8e18fdf9 change workspacetype to worksopace until 2023-01-11 16:04:38 +08:00
x1a0t
93ef92e15b chore: adding code block background color, line number color, fixing landing page case sensitivity 2023-01-11 16:01:27 +08:00
JimmFly
abc7494586 chore: test workflow 2023-01-11 15:55:50 +08:00
JimmFly
ad73c41483 feat: add workflow to auto update i18n json 2023-01-11 15:46:43 +08:00
alt0
250ac0e2ea fix: setBlob and getBlob use WorkspaceUnit 2023-01-11 15:36:13 +08:00
QiShaoXuan
1395506b69 Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/datacenter 2023-01-11 15:32:07 +08:00
JimmFly
41174c74d7 chore: sync resources 2023-01-11 15:29:32 +08:00
DiamondThree
e9b38a2380 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 15:28:34 +08:00
JimmFly
bad5dda67e fix: module not find 2023-01-11 15:28:34 +08:00
JimmFly
98692ba790 feat: add ts-node 2023-01-11 15:27:45 +08:00
alt0
a11f411f6c fix: enable and update workspace use workspaceUnit as params 2023-01-11 15:27:31 +08:00
alt0
7e608e48ec fix: workspace unit setBlocksuiteWorkspace support null 2023-01-11 15:23:03 +08:00
DiamondThree
0023593128 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 15:16:45 +08:00
alt0
8e091a37e2 fix: workspace unit type 2023-01-11 15:14:17 +08:00
QiShaoXuan
c3d68a44ce feat: add interaction to search button 2023-01-11 15:12:18 +08:00
DiamondThree
4f56cc9ec9 Merge conflict 2023-01-11 15:11:34 +08:00
alt0
db74706eca refactor: datacenter only export workspaceUnit 2023-01-11 15:07:04 +08:00
alt0
122cce042c Merge remote-tracking branch 'origin/master' into feat/cloud-sync-saika 2023-01-11 15:01:35 +08:00
DiamondThree
cb86e8b801 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-11 14:57:50 +08:00
DiamondThree
e3dc089d51 feat:member list init 2023-01-11 14:57:36 +08:00
QiShaoXuan
27754833cf :Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/datacenter 2023-01-11 14:55:44 +08:00
QiShaoXuan
97b8456eac chore: remove usePageMetaList 2023-01-11 14:55:12 +08:00
DiamondThree
b837126cea Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-11 14:52:38 +08:00
DiamondThree
a0c333f823 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-11 14:51:41 +08:00
DiamondThree
3159d6ff1b fixed memeber init 2023-01-11 14:48:50 +08:00
JimmFly
dae7f99fe8 chore: rename dir 2023-01-11 14:39:57 +08:00
JimmFly
635216194f feat: add readme for i18n 2023-01-11 14:39:39 +08:00
JimmFly
807762cf1a feat: add sync scripts 2023-01-11 14:39:19 +08:00
DiamondThree
3f6af0a964 feat:member list 2023-01-11 14:35:14 +08:00
alt0
57b204b6e2 test: fix test case 2023-01-11 13:52:56 +08:00
xiaodong zuo
65f767e35a fix: modify dev location 2023-01-11 12:57:27 +08:00
DarkSky
b49a32c9c7 fix: dev server endpoint fix 2023-01-11 12:53:54 +08:00
MingLiang Wang
48264edf91 feat: add query members 2023-01-11 12:34:57 +08:00
linonetwo
cdc196322c fix: tauri loading and method loading 2023-01-11 12:14:07 +08:00
DiamondThree
ee6138134d feat: publish workspace 2023-01-11 12:12:12 +08:00
linonetwo
6aa679365a refactor: clean unused files 2023-01-11 12:09:50 +08:00
DiamondThree
eef467558e fix: lint error and build error 2023-01-10 23:13:22 +08:00
MingLiang Wang
cdf07fd7c2 feat: remove workspaces pool 2023-01-10 23:01:50 +08:00
MingLiang Wang
eab86dffb8 feat: add logout 2023-01-10 22:44:49 +08:00
DiamondThree
d7e6654965 Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 22:01:43 +08:00
DiamondThree
30679763ab feat: change workspaceInfo type 2023-01-10 21:59:09 +08:00
MingLiang Wang
ad5e7cb2f4 feat: fix data center 2023-01-10 21:44:40 +08:00
MingLiang Wang
412d5205c8 feat: add a time out 2023-01-10 21:35:22 +08:00
DiamondThree
c4a484bbce Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 21:24:48 +08:00
DiamondThree
8fcb24a6ba Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 21:24:31 +08:00
QiShaoXuan
1bf7a4a4fe Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/datacenter 2023-01-10 21:10:03 +08:00
QiShaoXuan
2780beddbb feat: refactor user & login function 2023-01-10 21:09:38 +08:00
DiamondThree
7909e03cef t :Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 21:08:46 +08:00
DiamondThree
ed46eb58fd fix: ensure return activeWorkspaceId 2023-01-10 21:08:28 +08:00
QiShaoXuan
b86a03642a fix: add judgement of currentWorkspace 2023-01-10 20:42:00 +08:00
alt0
7e60b750d1 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-10 20:22:35 +08:00
alt0
b111c411bd fix: local provider create workspace should wait sync to idb 2023-01-10 20:22:14 +08:00
MingLiang Wang
104693916f feat: change the order of load workspaces 2023-01-10 20:11:46 +08:00
DiamondThree
f1ea2ee691 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 20:10:34 +08:00
DiamondThree
3be4e4015e feat: enable workspace cloud 2023-01-10 20:08:31 +08:00
DarkSky
55d160afd6 Merge pull request #703 from toeverything/0110-update-blocksuite-version
chore: update BlockSuite version
2023-01-10 19:44:29 +08:00
DarkSky
16611b9934 Merge pull request #702 from toeverything/feat/language-to-localstorage
feat: language local storage support
2023-01-10 19:43:57 +08:00
QiShaoXuan
e8431122c9 feat: refactor provider logic 2023-01-10 19:41:19 +08:00
x1a0t
6c792d0e61 chore: update BlockSuite version 2023-01-10 19:31:57 +08:00
QiShaoXuan
33400f1c5a feat: modify loading style 2023-01-10 19:15:56 +08:00
JimmFly
c8ac8c5738 chore: update json 2023-01-10 19:05:55 +08:00
JimmFly
5189086c1b chore: update keys 2023-01-10 19:03:20 +08:00
JimmFly
7860c563c7 chore: update i18n json 2023-01-10 18:49:04 +08:00
JimmFly
d0d0955c0e feat: add language local storage 2023-01-10 18:47:13 +08:00
JimmFly
b3e703b656 chore: remove language detector 2023-01-10 18:45:48 +08:00
linonetwo
005d3bbaa9 fix: merge issue 2023-01-10 18:40:36 +08:00
alt0
b4571539ac Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-10 18:37:43 +08:00
alt0
e13d27ad9c refactor: add workspace unit 2023-01-10 18:37:24 +08:00
QiShaoXuan
b2fe31dc02 feat: modify style 2023-01-10 18:34:26 +08:00
MingLiang Wang
2260696675 feat: remove not used 2023-01-10 18:32:06 +08:00
linonetwo
6645e98a1b Merge remote-tracking branch 'refs/remotes/origin/feat/datacenter'
Conflicts:
	package.json
	packages/app/src/components/create-workspace/index.tsx
	packages/app/src/components/workspace-modal/index.tsx
	packages/app/src/components/workspace-modal/languageMenu.tsx
	packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx
	packages/app/src/components/workspace-slider-bar/index.tsx
	packages/app/src/pages/_app.tsx
	pnpm-lock.yaml
2023-01-10 18:23:25 +08:00
MingLiang Wang
c28407f77d feat: synced socket upload 2023-01-10 18:19:40 +08:00
linonetwo
abc895c6b2 fix: merge issue 2023-01-10 18:15:02 +08:00
JimmFly
d0da2a16c3 feat: init languageDetector 2023-01-10 18:14:17 +08:00
JimmFly
dc4a69593b feat: export Trans component 2023-01-10 18:11:28 +08:00
linonetwo
09e900b1f7 feat: implement load and warp workspace in ipc provider 2023-01-10 17:54:00 +08:00
DiamondThree
8f18048254 Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 17:21:29 +08:00
DiamondThree
c723c18086 feat: enable workspace cloud 2023-01-10 17:20:21 +08:00
MingLiang Wang
5723117cb8 feat: return name 2023-01-10 17:10:04 +08:00
linonetwo
876f3d235e Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync-saika'
Conflicts:
	package.json
	packages/app/src/components/workspace-slider-bar/index.tsx
	packages/app/src/libs/i18n/resources/bn.json
	packages/app/src/libs/i18n/resources/fr.json
	packages/app/src/libs/i18n/resources/sr.json
	packages/app/src/libs/i18n/resources/zh-Hans.json
	packages/app/src/libs/i18n/resources/zh-Hant.json
	packages/app/src/pages/_app.tsx
	packages/data-center/src/datacenter.ts
	pnpm-lock.yaml
2023-01-10 17:08:57 +08:00
DiamondThree
60b379fcad Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 17:07:44 +08:00
MingLiang Wang
209184327b feat: fix path 2023-01-10 17:06:54 +08:00
DiamondThree
255e09480a Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 17:02:25 +08:00
MingLiang Wang
0f2af25249 feat: fix path 2023-01-10 17:00:18 +08:00
linonetwo
a76fadb1bc feat: load workspace in ipc provider 2023-01-10 16:55:23 +08:00
DiamondThree
bfcd53f39f Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 16:51:02 +08:00
DiamondThree
fe3c7b446f feat: enable workspace cloud 2023-01-10 16:50:25 +08:00
DiamondThree
223f08c439 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 16:29:48 +08:00
DiamondThree
49dd21de57 feat: update avatar 2023-01-10 16:29:37 +08:00
QiShaoXuan
16cb413ace feat: refactor setting page 2023-01-10 16:10:27 +08:00
QiShaoXuan
c474775982 Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/datacenter 2023-01-10 15:43:41 +08:00
QiShaoXuan
469931a61f feat: reset quick search 2023-01-10 15:43:21 +08:00
MingLiang Wang
31d3a012f9 feat: add message center 2023-01-10 15:39:24 +08:00
DiamondThree
890e353dc7 feat: setting style 2023-01-10 15:35:07 +08:00
DiamondThree
64e90640b9 feat:update workspace avatar 2023-01-10 15:20:54 +08:00
alt0
ecec2d6efe test: fix test case 2023-01-10 15:07:50 +08:00
DiamondThree
51e6f4344a fix: setting style and replace refer 2023-01-10 15:06:55 +08:00
linonetwo
6c784184b1 fix: reset submodule 2023-01-10 15:04:49 +08:00
alt0
42261a7f41 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-10 15:04:15 +08:00
alt0
ff63de2aa5 refactor: workspaces -> workspaceMetaCollection 2023-01-10 15:03:28 +08:00
linonetwo
a9f258a199 fix: merged 2023-01-10 14:57:30 +08:00
MingLiang Wang
aeb1b1688d fix: fix avatar id 2023-01-10 14:56:53 +08:00
JimmFly
5774956175 chore: update i18n keys 2023-01-10 14:53:27 +08:00
linonetwo
145dd71f97 fix: doc folder not found 2023-01-10 14:48:40 +08:00
JimmFly
9fe4b066f9 chore: update i18n keys 2023-01-10 14:29:18 +08:00
DiamondThree
b281b86c84 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 14:28:15 +08:00
DiamondThree
9395b8989d fix: replace react-i18n with affine/i18n 2023-01-10 14:27:57 +08:00
linonetwo
2cc83e1032 feat: use new branch of octobase 2023-01-10 14:24:58 +08:00
QiShaoXuan
67c5a622ec Merge branch 'feat/datacenter' of github.com:toeverything/AFFiNE into feat/datacenter 2023-01-10 14:22:28 +08:00
QiShaoXuan
e208ab6033 fix: type error 2023-01-10 14:22:08 +08:00
DiamondThree
f251ae7437 Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 14:12:55 +08:00
DiamondThree
84b62e474a feat: add updateWorkspace function 2023-01-10 14:12:24 +08:00
MingLiang Wang
8c1636f1a2 feat: fix set name 2023-01-10 13:13:31 +08:00
MingLiang Wang
44e20cec3c feat: fix api name and params 2023-01-10 12:21:05 +08:00
MingLiang Wang
7a0e205ff8 Merge remote-tracking branch 'origin' into feat/cloud-sync-saika 2023-01-10 12:20:27 +08:00
DiamondThree
710d740f30 feat: replease type Workspace with WorkspaceInfo 2023-01-10 12:06:17 +08:00
alt0
b0d68dadcb refactor: optimize createWorkspaceInfo 2023-01-10 11:55:50 +08:00
DiamondThree
a80e15042a feat: add workspace-setting active 2023-01-10 11:45:34 +08:00
alt0
2da463b501 test: fix test case 2023-01-10 11:44:33 +08:00
DiamondThree
779463dada feat: add workspace route 2023-01-10 11:43:21 +08:00
alt0
39f0b1b252 refactor: optimize setDefaultAvatar in provider 2023-01-10 11:34:05 +08:00
alt0
dcfe8237ef fix: create workspace optimize 2023-01-10 11:25:57 +08:00
alt0
d3012de9d6 fix: create workspace optimize 2023-01-10 11:23:00 +08:00
MingLiang Wang
9b875d19d2 feat: add ws link 2023-01-10 11:18:04 +08:00
DiamondThree
030ec9fa88 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 11:04:45 +08:00
DiamondThree
d9e339c3c0 fix: change blocksuit version number 2023-01-10 11:04:31 +08:00
DiamondThree
c819d1f87c Merge branch 'master' into feat/datacenter 2023-01-10 10:57:52 +08:00
QiShaoXuan
76a039c885 fix: error reference 2023-01-10 10:12:25 +08:00
alt0
4b39acbba2 fix: affine provider init 2023-01-10 09:58:46 +08:00
DarkSky
76af339b12 fix: type export 2023-01-10 00:36:32 +08:00
DiamondThree
eea6662d7f fix: clear any 2023-01-10 00:13:05 +08:00
DiamondThree
e91ea0d34b fix: clear any 2023-01-10 00:05:26 +08:00
DiamondThree
e410b3e961 fix: datacenter type error 2023-01-09 23:58:59 +08:00
DiamondThree
b1f14c0f71 fix: datacenter type error 2023-01-09 23:57:53 +08:00
DiamondThree
833df7be3c fix: datacenter type error 2023-01-09 23:55:34 +08:00
DiamondThree
c1261e7977 fix: lint error 2023-01-09 23:42:38 +08:00
DiamondThree
319a5e4dc1 fix: lint error 2023-01-09 23:41:46 +08:00
DiamondThree
bc6cf648f6 Merge branch 'feat/datacenter' into feat/poc 2023-01-09 23:25:10 +08:00
DiamondThree
5cda71f433 fix: lint error 2023-01-09 23:22:09 +08:00
DiamondThree
550e7f765f fix: lint error 2023-01-09 22:30:23 +08:00
DiamondThree
1e5e61ab51 Merge branch 'feat/poc' into feat/datacenter 2023-01-09 22:00:09 +08:00
DiamondThree
f547e5f314 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 21:59:52 +08:00
MingLiang Wang
79a760a042 feat: logout 2023-01-09 21:59:19 +08:00
MingLiang Wang
f4eb4740d8 feat: fix auth 2023-01-09 21:56:24 +08:00
DiamondThree
48940b746e Merge branch 'feat/poc' into feat/datacenter 2023-01-09 21:43:50 +08:00
DiamondThree
8360e14b01 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 21:42:34 +08:00
DiamondThree
f6826d73fa feat: user login 2023-01-09 21:41:55 +08:00
MingLiang Wang
8b95f13076 feat: remove affine 2023-01-09 21:40:57 +08:00
DiamondThree
054e1f78e1 feat: workspace setting 2023-01-09 21:19:02 +08:00
MingLiang Wang
ab4d4c0a96 fix: fix link to indexDB 2023-01-09 21:18:11 +08:00
DiamondThree
10072148d1 feat: workspace setting 2023-01-09 21:13:23 +08:00
alt0
0a4a9fcdb1 refactor: rename BlocksuiteWorkspace and WorkspaceInfo 2023-01-09 21:10:04 +08:00
QiShaoXuan
a6f81e2359 feat: refactor provider 2023-01-09 21:06:02 +08:00
alt0
72a39f67c0 fix: types; empty check 2023-01-09 20:48:50 +08:00
DiamondThree
93866e56d2 feat: active workspace when created workspace 2023-01-09 20:35:12 +08:00
DiamondThree
9ef0fe9d06 feat: switch workspace 2023-01-09 20:15:05 +08:00
linonetwo
36a10ebfa9 feat: ipc get_workspace 2023-01-09 19:50:27 +08:00
alt0
ee8da42c41 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-09 18:53:52 +08:00
alt0
9316bb4222 test: add test case for affine 2023-01-09 18:53:15 +08:00
DiamondThree
bcb8b9f211 feat: confilict 2023-01-09 18:50:37 +08:00
DiamondThree
bf61fbc057 feat:add loadWorkspace 2023-01-09 18:46:36 +08:00
JimmFly
d83693af93 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 18:10:41 +08:00
MingLiang Wang
bd5f0ad7c1 feat: add disconnect ws 2023-01-09 17:52:38 +08:00
DiamondThree
5687fa211e feat: add workspace-help 2023-01-09 17:51:12 +08:00
alt0
5095e2f27d refactor: inject apis to affine 2023-01-09 17:41:03 +08:00
MingLiang Wang
d10affb413 feat: disable local cache of affine provider 2023-01-09 17:27:08 +08:00
DiamondThree
740500716e Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-09 17:25:17 +08:00
DiamondThree
d6640e0793 feat: add createWoresapce function 2023-01-09 17:25:00 +08:00
MingLiang Wang
0b5cc1beda feat: fix 2023-01-09 17:18:58 +08:00
alt0
dacfdfa57f refactor: remove unused files 2023-01-09 17:15:19 +08:00
alt0
4400871959 fix: remove type error 2023-01-09 17:05:10 +08:00
alt0
f7ff8f29b8 fix: test case for delete workspace 2023-01-09 17:04:31 +08:00
QiShaoXuan
15f06fe85e feat: add workspace change event handler 2023-01-09 16:51:52 +08:00
MingLiang Wang
3e9304fb05 feat: cache workspace instances 2023-01-09 16:45:26 +08:00
DarkSky
7437a7f849 Merge pull request #696 from toeverything/feat/extract-i18n
feat: extract i18n into a package
2023-01-09 16:45:20 +08:00
QiShaoXuan
28b2943dc6 feat: refactor app state provider 2023-01-09 16:40:23 +08:00
linonetwo
e9ee729b5d feat: getWorkspaces ipc 2023-01-09 16:27:09 +08:00
alt0
dee6355b29 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-09 15:49:23 +08:00
Lin Onetwo
a409009d65 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/client-app 2023-01-09 15:48:09 +08:00
JimmFly
efb23968e8 feat: add types/prettier to i18n package 2023-01-09 15:45:05 +08:00
alt0
b4ea9ae02c Merge remote-tracking branch 'origin/master' into feat/cloud-sync-saika 2023-01-09 15:38:25 +08:00
JimmFly
ce9dc37217 fix: add return type 2023-01-09 15:37:50 +08:00
linonetwo
707bc1f6ed refactor: move blob related jsb to IPCBlobProvider 2023-01-09 15:28:29 +08:00
MingLiang Wang
b46a7fc8ce fix: fix init head icon 2023-01-09 15:26:30 +08:00
JimmFly
36a96b23e6 chore: update i18n keys 2023-01-09 15:19:20 +08:00
linonetwo
b663e92be8 fix: reset submodule 2023-01-09 15:12:21 +08:00
linonetwo
51a427496c fix: update octobase and fix type mismatching 2023-01-09 15:09:49 +08:00
JimmFly
13cb76321d fix: add prettier 2023-01-09 15:06:47 +08:00
linonetwo
5513cbf724 fix: merge issue 2023-01-09 15:01:35 +08:00
linonetwo
5daae7e3eb Merge remote-tracking branch 'refs/remotes/origin/feat/poc'
Conflicts:
	package.json
	packages/data-center/package.json
	pnpm-lock.yaml
2023-01-09 14:59:34 +08:00
JimmFly
270c3f5a6a chore: update import package name 2023-01-09 14:57:49 +08:00
DiamondThree
761345a226 fix: reference file name 2023-01-09 14:56:14 +08:00
JimmFly
047537101c feat: extract i18n into a package 2023-01-09 14:55:38 +08:00
DiamondThree
6c6eb619ea Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 14:55:12 +08:00
DiamondThree
51129bf14d Merge remote-tracking branch 'origin' into feat/cloud-sync-saika 2023-01-09 14:46:05 +08:00
QiShaoXuan
ae88dbd717 feat: add pacakge module 2023-01-09 14:23:01 +08:00
DarkSky
20e2984c04 feat: add extensions recommendations 2023-01-09 14:11:19 +08:00
DarkSky
20cef6e54a fix: skip some test for outdated ux 2023-01-09 14:08:11 +08:00
DiamondThree
a3deb954af Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 14:06:27 +08:00
DarkSky
da983b5006 Merge pull request #693 from toeverything/0109/landing-page
0109/landing page
2023-01-09 14:04:20 +08:00
DarkSky
c4df4da082 Merge pull request #695 from suyanhanx/component-file-name-unify
chore: TSX file name unify
2023-01-09 14:03:48 +08:00
DarkSky
da36e20301 Merge pull request #692 from toeverything/chore/remove-jest
chore: remove jest; using playwright over whole project
2023-01-09 14:01:57 +08:00
DiamondThree
57591ff6ca Merge branch 'feat/poc' of https://github.com/toeverything/AFFiNE into feat/poc 2023-01-09 14:01:50 +08:00
MingLiang Wang
2ff46fa831 feat: fix type problem 2023-01-09 13:58:53 +08:00
han
92d5f8f7c9 chore: components file name unify 2023-01-09 13:50:27 +08:00
DarkSky
1cb83e4bdb fix: esm test case 2023-01-09 12:20:53 +08:00
JimmFly
7f8a577bd2 chore: update i18n keys 2023-01-09 12:07:17 +08:00
DiamondThree
4c2bca1404 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 12:05:49 +08:00
DiamondThree
72bb172b6c Merge remote-tracking branch 'origin' into feat/poc 2023-01-09 12:04:58 +08:00
linonetwo
1caaa79878 Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync-saika'
Conflicts:
	packages/data-center/src/datacenter.ts
2023-01-09 12:04:43 +08:00
linonetwo
6544d41188 feat: latest provider for ipc provider 2023-01-09 12:04:07 +08:00
MingLiang Wang
84bea54916 feat: rm business 2023-01-09 12:02:09 +08:00
DarkSky
79d247ca04 Merge pull request #694 from toeverything/chore/move-i18n-ci-scripts
chore: move i18n ci scripts to scripts
2023-01-09 12:01:13 +08:00
DarkSky
c7409bef84 fix: deps 2023-01-09 12:00:16 +08:00
DarkSky
b531ee1bf6 Merge branch 'master' into chore/remove-jest 2023-01-09 11:54:00 +08:00
DarkSky
05f14d0010 Merge remote-tracking branch 'origin/chore/move-i18n-ci-scripts' into chore/remove-jest 2023-01-09 11:52:44 +08:00
DarkSky
225dc61521 chore: cleanup jest config 2023-01-09 11:52:28 +08:00
DarkSky
7a5786f2a2 feat: update deps 2023-01-09 11:49:37 +08:00
alt0
974fabb2af chore: move i18n ci scripts to scripts 2023-01-09 11:45:56 +08:00
MingLiang Wang
e46cf6c543 feat: add blob apis 2023-01-09 11:34:26 +08:00
x1a0t
c8dde3b3ca feat: update Hyperlink prompt 2023-01-09 11:32:33 +08:00
alt0
0179ad567e chore: move ci.js to ci.cjs 2023-01-09 11:32:00 +08:00
linonetwo
28a50aed6b fix: merge issue 2023-01-09 11:24:15 +08:00
linonetwo
9e1fc9a3b8 Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync-saika'
Conflicts:
	package.json
	packages/data-center/src/datacenter.ts
	packages/data-center/src/provider/base.ts
	pnpm-lock.yaml
2023-01-09 11:23:30 +08:00
alt0
cc5c16623a chore: remove jest; using playwright over whole project 2023-01-09 11:18:47 +08:00
x1a0t
4684548ad8 feat: update landing page 2023-01-09 11:18:00 +08:00
linonetwo
e45f271671 Merge branch 'master'
Conflicts:
	.vscode/settings.json
	package.json
	packages/data-center/package.json
	packages/data-center/src/datacenter.ts
	pnpm-lock.yaml
2023-01-09 11:11:36 +08:00
DiamondThree
316e6f8c74 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 11:00:57 +08:00
MingLiang Wang
dd529f8035 feat: change new data center 2023-01-09 10:53:18 +08:00
MingLiang Wang
bf3621eaef Merge remote-tracking branch 'origin' into feat/cloud-sync-saika 2023-01-09 10:46:15 +08:00
MingLiang Wang
1124d14055 feat: remove current workspaces 2023-01-09 10:37:40 +08:00
linonetwo
928d878240 feat: create affine folder in user/document 2023-01-09 10:36:01 +08:00
alt0
c8101dfa4c refactor: rename defaultProvider -> mainProvider 2023-01-09 01:07:09 +08:00
alt0
59fc773174 test: add workspaces unit test 2023-01-09 01:03:10 +08:00
alt0
e1e1d0c964 test: add local provider test 2023-01-09 00:48:54 +08:00
alt0
055b63382b refactor: workspace crud 2023-01-09 00:41:29 +08:00
DiamondThree
090890a94d fix: build lint error 2023-01-08 19:37:15 +08:00
DiamondThree
231615b134 fix: lint error 2023-01-08 19:25:12 +08:00
DiamondThree
e0d31659d9 fix: hooks error 2023-01-08 19:15:25 +08:00
alt0
d75e5fff92 fix: module path 2023-01-08 19:14:21 +08:00
DiamondThree
17c79eebe4 fix: publish style 2023-01-08 19:12:02 +08:00
MingLiang Wang
375b5197da feat: add default head img 2023-01-08 18:42:35 +08:00
MingLiang Wang
512c0a791e feat: add clear all workspaces 2023-01-08 17:43:42 +08:00
MingLiang Wang
d154a28ad1 feat: add publish workspace 2023-01-08 17:09:45 +08:00
MingLiang Wang
153150cd3b feat/add get workspaces 2023-01-08 16:48:28 +08:00
alt0
7140d41296 fix: optimize datacenter folder structure 2023-01-08 16:14:02 +08:00
MingLiang Wang
aed2b482ea fix/ file path 2023-01-07 21:46:43 +08:00
MingLiang Wang
6518aaccc2 feat: data center change 2023-01-07 21:44:10 +08:00
DarkSky
462e86b9a0 feat: improve scripts 2023-01-07 17:01:10 +08:00
DarkSky
f99bf74499 feat: hide selector 2023-01-06 22:03:43 +08:00
tzhangchi
4e3af83bbf feat: Make software interaction more natural 2023-01-06 18:54:07 +08:00
tzhangchi
8fa9669aa8 feat: support enter to create workspace 2023-01-06 18:46:07 +08:00
tzhangchi
2b8b1c1f38 feat: Hide obvious page hints 2023-01-06 18:39:35 +08:00
x1a0t
6e8f33dc2c feat: update landing page 2023-01-06 18:27:05 +08:00
DarkSky
0cf010d1c1 Merge pull request #678 from toeverything/0106/surface
feat: compat with surface block structure
2023-01-06 17:34:18 +08:00
DarkSky
bc767ed526 feat: provider & ci 2023-01-06 17:32:34 +08:00
DarkSky
9b278d29d5 feat: self-hosted provider 2023-01-06 17:28:35 +08:00
DiamondThree
3e76a94730 fix: lint warning 2023-01-06 16:58:21 +08:00
DiamondThree
78facb2fe6 fix: fix filename and tabname 2023-01-06 16:45:34 +08:00
x1a0t
82c4a35648 fix: unit test 2023-01-06 16:31:27 +08:00
DiamondThree
726c8c54ab feat: use provied 2023-01-06 16:14:10 +08:00
x1a0t
49fdaf4a18 fix: build error 2023-01-06 16:07:15 +08:00
QiShaoXuan
0346b22bdd fix: temporary helper error 2023-01-06 16:01:12 +08:00
DiamondThree
03419fc27a feat: mock login 2023-01-06 15:32:18 +08:00
DiamondThree
8d9838614e feat: mock login 2023-01-06 15:30:59 +08:00
himself65
274075d774 fix: code 2023-01-06 15:29:45 +08:00
x1a0t
b1a39fa2e7 feat: compatiable with async importMarkdown() 2023-01-06 15:06:13 +08:00
JimmFly
2c4cefff97 chore: remove unused style 2023-01-06 15:05:07 +08:00
JimmFly
df25adad70 Merge branches 'feat/poc' and 'feat/poc' of github.com:toeverything/AFFiNE into feat/poc 2023-01-06 15:04:16 +08:00
DarkSky
f01c6e12d2 chore: cleanup actions 2023-01-06 15:03:54 +08:00
DarkSky
12804b0dea Merge pull request #680 from toeverything/feat/cloud-sync
feat: auth & sync
2023-01-06 15:02:27 +08:00
JimmFly
3d5f239e4e feat: add language switch 2023-01-06 15:00:42 +08:00
DarkSky
e0e42895dc Merge pull request #679 from toeverything/fix/router
chore: change default outline workspace name
2023-01-06 14:58:04 +08:00
Lin Onetwo
75c07d9d46 fix: merge issue 2023-01-06 14:50:36 +08:00
Lin Onetwo
2a7e1839da docs: comment for ipc 2023-01-06 14:50:27 +08:00
QiShaoXuan
d43bdb7aa9 chore: change default outline workspace name 2023-01-06 14:50:12 +08:00
Lin Onetwo
e6abaf7aa4 refactor: connectDocToIPC 2023-01-06 14:50:12 +08:00
DiamondThree
97567e2e1f feat: mock login 2023-01-06 14:42:19 +08:00
himself65
cc13bf8265 chore: bump version 2023-01-06 14:37:21 +08:00
Yifeng Wang
449b08c9c2 feat: compat with surface block structure 2023-01-06 14:34:33 +08:00
DiamondThree
e7564b2e71 feat: mock sync 2023-01-06 14:26:18 +08:00
DarkSky
2b8c975e6c Merge pull request #677 from AkaraChen/master
feat: add padding for editor
2023-01-06 14:07:33 +08:00
Lin Onetwo
614199a981 Merge remote-tracking branch 'origin/feat/cloud-sync' into feat/client-app 2023-01-06 14:04:21 +08:00
JimmFly
334aaa2d87 Merge branch 'feat/cloud-sync' into feat/poc 2023-01-06 13:27:29 +08:00
AkaraChen
f4b7e5f474 feat: add padding for editor 2023-01-06 13:06:00 +08:00
DarkSky
e49d7eda04 Merge pull request #675 from toeverything/chore/merge-master-to-sync
chore: merge master to  feat/cloud-sync
2023-01-06 11:11:47 +08:00
JimmFly
d62cfbf1d3 Merge branch 'master' into chore/merge-master-to-sync 2023-01-06 10:59:03 +08:00
tzhangchi
7bbf1d28ea feat: add code tag 2023-01-06 09:51:20 +08:00
tzhangchi
6891e586bc refactor: create public component for workspace avatar 2023-01-06 09:44:42 +08:00
tzhangchi
74900b1341 feat: add export tab 2023-01-06 01:38:20 +08:00
tzhangchi
8b9dccd887 feat: update ui icon 2023-01-06 01:33:55 +08:00
tzhangchi
5e6c4872c2 chore: better style code 2023-01-06 01:29:08 +08:00
tzhangchi
57067b43b3 feat: avatar 2023-01-06 01:25:38 +08:00
tzhangchi
67ef5099dd feat: ui 2023-01-06 01:20:51 +08:00
tzhangchi
fb292b5423 test: skip avatar test 2023-01-06 01:13:57 +08:00
tzhangchi
40d0935792 feat: global avatar 2023-01-06 01:13:02 +08:00
tzhangchi
eb2d3d5d40 feat: add letter avatar 2023-01-06 01:04:52 +08:00
tzhangchi
900d95fa87 feat: more fluent 2023-01-06 00:51:43 +08:00
tzhangchi
76f75faf6c feat: more fluent 2023-01-06 00:49:04 +08:00
tzhangchi
8ebed0b92e feat: more fluent 2023-01-06 00:48:09 +08:00
tzhangchi
1da1293789 feat: add removeMember api 2023-01-06 00:18:43 +08:00
tzhangchi
e2293ffc44 feat: add api names 2023-01-05 23:58:17 +08:00
DiamondThree
dd149474d9 feat: mock sync 2023-01-05 23:33:13 +08:00
MingLiang Wang
27aaf2de1a feat: add api state 2023-01-05 22:55:41 +08:00
DiamondThree
c0c167fea8 feat: mock invite 2023-01-05 22:32:58 +08:00
MingLiang Wang
46792e5757 feat: data center business apis 2023-01-05 22:20:40 +08:00
Yifeng Wang
6df0e3b946 Merge pull request #673 from hezhizhen/patch-1
fix: typo
2023-01-05 21:58:14 +08:00
Zhizhen He
6ebd13cb28 fix: typo 2023-01-05 21:50:50 +08:00
Lin Onetwo
b9c0669a15 feat: use ipc provider when client app's preload script inject the global flag. 2023-01-05 20:47:10 +08:00
Lin Onetwo
c83537aac6 feat: update yrs doc using ipc from yjs doc 2023-01-05 20:43:35 +08:00
DiamondThree
e3c1e6a5da fix:member init 2023-01-05 19:30:16 +08:00
DiamondThree
c6d6a09abf Merge branch 'feat/poc' of github.com:toeverything/AFFiNE into feat/poc 2023-01-05 19:21:49 +08:00
DiamondThree
b6542b0245 feat: member init 2023-01-05 19:21:35 +08:00
QiShaoXuan
45ce9875b7 Merge branch 'feat/poc' of github.com:toeverything/AFFiNE into feat/poc 2023-01-05 19:15:24 +08:00
QiShaoXuan
9424cfb865 feat: add useTemporaryHelper 2023-01-05 19:14:41 +08:00
DiamondThree
2773b3e489 fix:delete bugs 2023-01-05 19:07:14 +08:00
DiamondThree
855ad54fe1 Merge branch 'feat/poc' of github.com:toeverything/AFFiNE into feat/poc 2023-01-05 19:04:38 +08:00
DiamondThree
955558b0d0 feat: mock delete 2023-01-05 19:04:16 +08:00
Lin Onetwo
92ea3ee2a8 Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync'
Conflicts:
	packages/data-center/src/provider/base.ts
2023-01-05 18:50:13 +08:00
Lin Onetwo
070e8d191e feat: provider id 2023-01-05 18:46:54 +08:00
Lin Onetwo
646fcea816 feat: add some ipc provider method 2023-01-05 18:38:05 +08:00
QiShaoXuan
b53f61483d Merge branch 'feat/poc' of github.com:toeverything/AFFiNE into feat/poc 2023-01-05 18:34:15 +08:00
QiShaoXuan
27b7c4e8fb chore: remove useless file & code 2023-01-05 18:33:17 +08:00
tzhangchi
1c19611add feat: add icons 2023-01-05 17:55:00 +08:00
tzhangchi
08beb6fa95 feat: improve the ui of workspace item 2023-01-05 17:40:00 +08:00
tzhangchi
3cb91c0f68 feat: improve the ui of workspace item 2023-01-05 17:38:23 +08:00
DiamondThree
3d2da085e7 feat: mock login 2023-01-05 17:32:39 +08:00
tzhangchi
55dbc8ad3b feat: adjust modal height 2023-01-05 17:11:24 +08:00
DiamondThree
4dc61165b2 feat:mock workspace-setting 2023-01-05 16:05:54 +08:00
Lin Onetwo
1cd17ea31b chore: build rs-type before start dev 2023-01-05 14:57:40 +08:00
Lin Onetwo
d6dfd9b6ac fix: type folder location 2023-01-05 14:57:10 +08:00
Lin Onetwo
55f8f910fa feat: auto generate tauri ipc interfaces 2023-01-05 14:53:39 +08:00
Lin Onetwo
20002785e9 refactor: move ipc method and types to data-center folder 2023-01-05 14:53:02 +08:00
DarkSky
39a2da8ca8 Merge pull request #670 from toeverything/codeowner
feat: all deps change need check
2023-01-05 14:21:07 +08:00
DarkSky
f7eb92fa9b feat: all deps change need check 2023-01-05 14:20:30 +08:00
DarkSky
14507d0fc0 chore: remove problematic dependencies 2023-01-05 14:06:36 +08:00
JimmFly
8b8665df6b fix: message wrong about favourites (#669)
* fix: wrong message
* chore: update type
2023-01-05 04:55:15 +00:00
DarkSky
00dd7e9621 feat: init data from cloud 2023-01-04 22:14:48 +08:00
tzhangchi
5f729464a2 feat: learn poc 2023-01-04 21:49:56 +08:00
DarkSky
151a2a4311 feat: add signal for list events 2023-01-04 21:22:31 +08:00
Lin Onetwo
c732520182 feat: directly open affine page on production 2023-01-04 21:11:26 +08:00
Lin Onetwo
cf56292484 fix: rust on nested folder 2023-01-04 21:11:26 +08:00
Lin Onetwo
4adf4f886f feat: client dev landing page 2023-01-04 21:11:26 +08:00
Lin Onetwo
fae43e90da feat: build affine dist html 2023-01-04 21:11:26 +08:00
Lin Onetwo
ef9d017572 Create src-OctoBase 2023-01-04 21:11:26 +08:00
Lin Onetwo
2bf5824aa3 feat: add different size of icons used by client app 2023-01-04 21:11:26 +08:00
Lin Onetwo
64ca6a6b35 feat: add basic tauri client app 2023-01-04 21:11:26 +08:00
DarkSky
87451a19bb Merge pull request #667 from toeverything/feat/add-i18n
feat:add i18n support
2023-01-04 20:22:41 +08:00
DiamondThree
c6657e7a9b feat: mock workspace process 2023-01-04 18:08:11 +08:00
JimmFly
59b084c6a6 feat: add translation 2023-01-04 18:07:21 +08:00
lawvs
1e27b2a619 test: wait for page to load 2023-01-04 18:06:56 +08:00
JimmFly
0b61f4a2a0 feat: add translation 2023-01-04 17:10:47 +08:00
JimmFly
1bc2dcd661 feat: init i18n 2023-01-04 16:57:21 +08:00
DarkSky
ae94c901b3 feat: auth implement 2023-01-04 16:49:40 +08:00
DarkSky
1dc475632a fix: lock file merge error 2023-01-04 01:13:44 +08:00
DarkSky
68c152d4c6 chore: add api doc 2023-01-03 23:16:01 +08:00
Yifeng Wang
c287380067 Merge pull request #650 from toeverything/fix-debug-with-block-suite
build: enhance debugging with blocksuite
2023-01-03 23:15:40 +08:00
DarkSky
38178022f7 chore: rename & typo fix 2023-01-03 22:58:54 +08:00
DarkSky
4b464e89af Merge branch 'origin/feat/cloud-sync' into 'feat/cloud-sync' 2023-01-03 22:52:02 +08:00
tzhangchi
dba26f52f4 test: improve the describe name 2023-01-03 22:45:51 +08:00
DarkSky
be21e856cf chore: typo fix 2023-01-03 22:45:48 +08:00
DarkSky
ebdb3172e5 test: search api 2023-01-03 22:43:04 +08:00
tzhangchi
f340a046c2 tests: add cloud sync test name 2023-01-03 22:42:34 +08:00
DarkSky
765c39b5d2 Merge commit 'master' into feat/cloud-sync 2023-01-03 22:28:14 +08:00
tzhangchi
f257dcf388 tests: add tests 2023-01-03 22:25:48 +08:00
DarkSky
43e52fffe7 feat: workspace list by provider 2023-01-03 22:22:37 +08:00
tzhangchi
038dc7f923 tests: rename 2023-01-03 22:20:01 +08:00
tzhangchi
069d2f7c28 tests: add 34 tests 2023-01-03 22:16:15 +08:00
tzhangchi
187eb19452 tests: improve structure 2023-01-03 22:05:07 +08:00
himself65
50f19663d4 build: enhance debugging with blocksuite 2023-01-03 21:58:30 +08:00
tzhangchi
749f618488 merge master 2023-01-03 21:57:33 +08:00
DarkSky
4b5e209ecc chore: improve docs 2023-01-03 21:03:27 +08:00
DarkSky
2ee99a37fb feat: improve data center api typo & docs 2023-01-03 20:46:38 +08:00
DarkSky
b6993ca3ba feat: cloud sync playground (#662)
* feat: add workspace playground page
* feat: add all demands to playground

Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
2023-01-03 20:24:40 +08:00
JimmFly
72d38f1e70 chore: handle eslint warning 2023-01-03 20:16:58 +08:00
JimmFly
f3b4ca7a3e chore: delete the shortcut tips for quick search 2023-01-03 20:16:58 +08:00
JimmFly
8b827c2f37 test: fix bug of test case 2023-01-03 20:16:33 +08:00
JimmFly
10087761c8 test: add test case for quick search 2023-01-03 20:16:33 +08:00
JimmFly
570ebe7923 fix: wrong add page button position 2023-01-03 20:15:58 +08:00
DarkSky
f4a4350f68 fix: test case 2023-01-03 13:42:54 +08:00
DarkSky
0110efc340 fix: types of data center call 2023-01-03 13:42:54 +08:00
DarkSky
b105eaf9a6 feat: move data center to root 2023-01-03 13:42:54 +08:00
DarkSky
2913da11a0 feat: test case for parallel load & destroy instance 2023-01-03 13:42:54 +08:00
DarkSky
e2ec21df11 feat: destroy workspace instance 2023-01-03 13:42:54 +08:00
DarkSky
0c7b9f0935 feat: init with config 2023-01-03 13:42:54 +08:00
DarkSky
c0626cf8ac feat: remove workspace & cloud sync 2023-01-03 13:42:54 +08:00
DarkSky
7fea77b64f feat: local provider 2023-01-03 13:42:54 +08:00
DarkSky
b01703b836 feat: auth & workspace load 2023-01-03 13:42:54 +08:00
DarkSky
7b34ea010c feat: login support 2023-01-03 13:42:54 +08:00
DarkSky
3aca098bee feat: init workspace & test case 2023-01-03 13:42:54 +08:00
DarkSky
6ed2d467b7 feat: memory provider first work 2023-01-03 13:42:54 +08:00
DarkSky
2bf6bf7ed8 feat: dc provider 2023-01-03 13:42:54 +08:00
DarkSky
e6e4c775a8 feat: data center part0 2023-01-03 13:42:54 +08:00
DarkSky
0d79f183c5 chore: rename data services 2023-01-03 13:42:54 +08:00
Chi Zhang
8e1bf90ebd feat: improve document remove & title (#657)
* fix: cancel delete, do not show toast
* feat: support document title sync page title
2023-01-03 13:39:24 +08:00
DarkSky
c840251886 chore: update codename 2023-01-03 13:02:08 +08:00
ShortCipher5
7cb0e944cb Chore - update shortcut 2023-01-03 12:42:41 +08:00
DarkSky
6dbbcd393c chore: cleanup ci 2023-01-03 12:09:37 +08:00
chenmoonmo
75725beaf3 feat: add pwa support by next-pwa 2023-01-03 12:05:13 +08:00
ShortCipher5
b54bbb0aa1 chore: fix ReadMe typo (#652)
Link fix.
2023-01-03 11:15:47 +08:00
Himself65
ead6aaa866 chore: bump version (#651)
Related: https://github.com/yjs/yjs/issues/438
2023-01-02 11:39:36 +08:00
Chi Zhang
dfb72b60ab chore: add question template (#647) 2023-01-02 10:20:01 +08:00
tzhangchi
5cd8b38bdd test: improve e2e test of export html 2023-01-02 10:18:02 +08:00
tzhangchi
ca5bde9730 chore: disable local build info log 2023-01-02 10:18:02 +08:00
tzhangchi
42ac45fe15 refactor: improve code 2023-01-02 10:18:02 +08:00
tzhangchi
c93a3ec5e1 test: add e2e test for validation of editor version 2023-01-02 10:18:02 +08:00
Chi Zhang
bc1b3fbf22 Update config.yml 2023-01-02 01:30:46 +08:00
JimmFly
fe47ab6063 fix: quick search shortcut style should no wrap (#648) 2023-01-02 00:21:04 +08:00
Chi Zhang
b309e2670d feat: cloud sync tests (#643)
* fix: fix new page login in e2e test
* test: add page-logic to simpliy new-page
* test: sync  clickPageMoreActions
2022-12-31 02:32:59 +08:00
Chi Zhang
796d078a15 feat: e2e test improvement (#642)
* fix: fix new page login in e2e test
* test: add page-logic to simpliy new-page
* test: restore core test
2022-12-31 02:03:48 +08:00
DarkSky
582aed8744 Squash all commit from feat/cloud-sync 2022-12-31 02:00:05 +08:00
tzhangchi
ddf3305bc1 feat: hide import HTML 2022-12-31 01:37:21 +08:00
tzhangchi
75a63d15ff chore: clear check command 2022-12-31 01:34:14 +08:00
Chi Zhang
9c25b304bf feat: support import markdown (#638)
* feat: support import markdown

* feat: support html import logic

* chore: add pnpm check
2022-12-31 01:33:57 +08:00
DarkSky
6c2c7dcd48 milestone: publish alpha version (#637)
- document folder
- full-text search
- blob storage
- basic edgeless support

Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: MingLiang Wang <mingliangwang0o0@gmail.com>
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
Co-authored-by: Yifeng Wang <doodlewind@toeverything.info>
Co-authored-by: Himself65 <himself65@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
2022-12-30 21:40:15 +08:00
Lin Onetwo
cc790dcbc2 refactor: not appropriate to put the global declaration in styles/types.ts 2022-12-22 11:11:35 +08:00
Lin Onetwo
eeb2be8664 fix: StyledTitle overlay with drag area 2022-12-22 11:11:35 +08:00
Lin Onetwo
bfe7aa094f fix: only pages/index need data-tauri-drag-region 2022-12-22 11:11:35 +08:00
Lin Onetwo
3a13f3e9a2 feat: allow drag when in an app 2022-12-22 11:11:35 +08:00
Lin Onetwo
3c582b03d7 feat: is inside a tauri app then don't show warning 2022-12-22 11:11:35 +08:00
Lin Onetwo
0240feb7f1 feat: allow header to be dragged in client 2022-12-22 11:11:35 +08:00
Lin Onetwo
4acf6c99a7 chore: allow assing basePath from parent repo 2022-12-22 11:11:35 +08:00
DarkSky
e435dbd2cb feat: api routing in docker image 2022-12-20 15:22:36 +08:00
DarkSky
eab0d6dc6e fix: notify deps 2022-12-18 01:00:38 +08:00
DarkSky
8f3ac5d186 Merge pull request #565 from toeverything/notify
feat: nightly build notify
2022-12-18 00:55:04 +08:00
DarkSky
c62e5f2985 feat: nightly build notify 2022-12-18 00:51:15 +08:00
DarkSky
7719f7a86e Merge pull request #564 from toeverything/ci-trigger
chore: adjust ci trigger
2022-12-18 00:31:07 +08:00
DarkSky
56074417c4 chore: adjust ci trigger 2022-12-18 00:11:38 +08:00
DarkSky
62740262ec Merge pull request #563 from toeverything/livedemo-instructions
chore: supplement livedemo version instructions
2022-12-18 00:10:33 +08:00
DarkSky
5cf088fd92 chore: supplement livedemo version instructions 2022-12-18 00:09:48 +08:00
DarkSky
ebe029adad Merge branch 'pathfinder' 2022-12-17 23:21:34 +08:00
Chi Zhang
48fa14ed38 Merge pull request #559 from toeverything/tzhangchi-patch-1
Update summary.md
2022-12-17 19:24:24 +08:00
DarkSky
f2907141c3 chore: add official product name 2022-12-17 19:24:15 +08:00
Chi Zhang
ea5a805405 Merge pull request #558 from toeverything/feat/docs-newjob
docs: add new job opportunity of Fullstack Engineer Intern
2022-12-17 19:22:01 +08:00
Chi Zhang
75750872bd Update summary.md 2022-12-17 09:18:06 +08:00
tzhangchi
3981445734 docs: add new job opportunity of Fullstack Engineer Intern 2022-12-17 08:41:02 +08:00
Qi
783a610a75 Merge pull request #554 from toeverything/chore/codeql
chore: codeql
2022-12-15 14:10:30 +08:00
alt0
bb7a216bda chore: codeql 2022-12-15 12:56:56 +08:00
zuomeng wang
b59b010dec fix: once block type changed, the TextBlock node should be re-render (#551) 2022-12-12 12:30:06 +00:00
zuomeng wang
11266c632f docs: update contributing (#550)
* docs: update contributing

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

Co-authored-by: ShortCipher5 <me@shortcipher.me>
2022-12-12 07:38:05 +00:00
zuomeng wang
850ed4d825 feat: update blocksuite 0.3.0-alpha.4 (#543) 2022-12-01 20:45:18 +00:00
zuomeng wang
f10237d207 Chore/unit test (#538)
* chore: add unit test

* chore: add github action for unit test
2022-11-29 18:15:43 +00:00
zuomeng wang
5eb7830c13 add tests (#536) 2022-11-28 13:17:34 +00:00
Yifeng Wang
7392a9bfc5 Merge pull request #534 from toeverything/chore/update
chore: update license desc
2022-11-25 15:46:58 +00:00
zuomeng wang
eacbdf9bb5 Update playwright (#535) 2022-11-25 12:25:48 +00:00
Yifeng Wang
a40637f9e5 chore: update license desc 2022-11-25 09:45:01 +00:00
Chi Zhang
14f50cd821 Update README.md 2022-11-18 01:40:22 +00:00
ShortCipher5
eaea6472e0 chore: update README.md (#529)
* Update README.md
2022-11-12 11:04:32 +08:00
zuomeng wang
b58c3fd8fb chore: add e2e (#528)
* chore: add e2e
2022-11-10 20:51:06 +08:00
zuomeng wang
4516f99fb9 Merge pull request #527 from toeverything/fix/modal
fix: popper ignores the children onClick event
2022-11-10 10:57:34 +08:00
QiShaoXuan
a5a5b56c6e fix: popper ignores the children onClick event 2022-11-10 10:47:38 +08:00
zuomeng wang
caa80bc857 Merge pull request #526 from toeverything/feat/update-blocksuite
feat: update blocksuite 0.3.0-alpha.1
2022-11-09 15:39:05 +08:00
alt0
f4abea2bb6 feat: update blocksuite 0.3.0-alpha.1 2022-11-09 15:34:14 +08:00
xiaotian
3b830e4c4a chore:Update blocksuite dependency version (#525) 2022-11-04 15:48:29 +08:00
Qi
1ccc46ec72 Merge pull request #524 from toeverything/feat/modify
Feat/modify
2022-11-04 11:57:22 +08:00
Qi
8ace999ce8 Merge pull request #522 from toeverything/chore/upgrade-next
chore: upgrade next to v13
2022-11-03 19:09:25 +08:00
QiShaoXuan
523f3f273c feat: add Menu component 2022-11-03 19:08:13 +08:00
QiShaoXuan
75f05cb399 feat: modify popper 2022-11-03 19:08:13 +08:00
QiShaoXuan
d9205bb405 fix: mobile modal background is error in dark mode 2022-11-03 19:08:13 +08:00
lawvs
4b3cf86027 chore: sync tsconfig 2022-11-03 19:04:41 +08:00
lawvs
e9b0160c5d chore: use react jsx 2022-11-03 19:04:41 +08:00
lawvs
ace578a6ca chore: remove next-transpile-modules 2022-11-03 19:04:41 +08:00
lawvs
8fb4b69e27 chore: upgrade next to v13 2022-11-03 19:04:39 +08:00
Qi
0a57e29f2b Merge pull request #523 from toeverything/chore/print-build-info
chore: print build info
2022-11-03 19:02:48 +08:00
lawvs
4171874767 chore: print build info 2022-11-03 18:56:11 +08:00
DarkSky
e1ffcf243b Merge pull request #520 from toeverything/develop
Sync develop to master
2022-11-02 18:42:31 +08:00
DarkSky
1a5f1bd378 Merge branch 'master' into develop 2022-11-02 18:40:47 +08:00
DarkSky
75052c7c99 Merge pull request #517 from toeverything/feat/version
feat: modify style
2022-11-02 12:32:23 +08:00
DarkSky
9d91338b08 Merge pull request #519 from toeverything/chore/fix-volta-version
chore: fix volta error
2022-11-02 12:30:58 +08:00
alt0
75999d4e06 chore: fix volta error 2022-11-02 11:42:33 +08:00
Qi
de77cabd59 Merge pull request #516 from toeverything/feat/modify
Feat/modify
2022-11-01 18:53:07 +08:00
QiShaoXuan
d7be74e0f4 fix: spell error 2022-11-01 16:30:20 +08:00
QiShaoXuan
404edececa merge pathfinder into feat/modify 2022-11-01 16:22:20 +08:00
QiShaoXuan
00db944192 fix: warning judgement error 2022-11-01 15:49:15 +08:00
DarkSky
325c8941b1 Merge pull request #518 from toeverything/chore/update
chore: update blocksuite
2022-11-01 14:45:32 +08:00
Yifeng Wang
8722454776 chore: update blocksuite 2022-11-01 14:35:01 +08:00
QiShaoXuan
44f5c9d664 feat: modify style 2022-11-01 11:40:29 +08:00
Qi
04ff4a3763 Merge pull request #513 from toeverything/chore/update
chore: update blocksuite
2022-11-01 11:10:55 +08:00
QiShaoXuan
5abd2cca78 fix: readd pnpm-lock 2022-10-31 18:36:31 +08:00
QiShaoXuan
0baaf5aed8 fix: next warning 2022-10-31 17:08:01 +08:00
QiShaoXuan
795cd8e98f feat: add mobile modal for tip 2022-10-31 16:18:48 +08:00
QiShaoXuan
a11306bf89 feat: add Modal component to common ui 2022-10-31 15:18:22 +08:00
QiShaoXuan
1bf6546144 feat: add browser detect warning 2022-10-31 11:52:21 +08:00
QiShaoXuan
3d7c075f30 Merge branch 'pathfinder' of github.com:toeverything/AFFiNE into feat/modify 2022-10-31 10:56:28 +08:00
zuomeng wang
d7661a4eca Merge pull request #515 from toeverything/chore/issue-template-for-diff-version
chore: add issue templates for diff version of affine
2022-10-31 10:07:00 +08:00
alt0
5841e52fa9 chore: add issue templates for diff version of affine 2022-10-30 23:49:28 +08:00
DarkSky
aa640777d7 Merge pull request #514 from toeverything/self-hosted-runners
use self-hosted runner
2022-10-30 23:07:54 +08:00
DarkSky
27fe97a994 feat: use self-hosted runner 2022-10-28 23:20:01 +08:00
lawvs
95f98fb385 chore: add auto format setting 2022-10-28 15:15:53 +08:00
lawvs
24ce511b59 chore: update theme 2022-10-28 15:12:26 +08:00
Yifeng Wang
b06f89b356 chore: update blocksuite 2022-10-28 12:30:53 +08:00
QiShaoXuan
e729effcd8 feat: add disable cursor in edgeless toolbar 2022-10-27 15:18:07 +08:00
QiShaoXuan
659e83befd feat: add css virable 2022-10-27 15:17:00 +08:00
ShortCipher5
a7897f3313 Merge pull request #511 from toeverything/chore/issue-templates
chore/issue-templates
2022-10-27 12:06:23 +08:00
ShortCipher5
dc72c24a6c Create config.yml 2022-10-27 12:04:26 +08:00
ShortCipher5
1e6d6a3f88 Delete .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE directory 2022-10-27 12:04:06 +08:00
ShortCipher5
e665762c7f Create improvement-request.yml 2022-10-27 12:03:50 +08:00
ShortCipher5
757b705e2b Create feature-request.yml 2022-10-27 12:03:26 +08:00
ShortCipher5
03cb962182 Create config.yml 2022-10-27 12:02:55 +08:00
ShortCipher5
1c86bb5c73 Create bug-report.yml 2022-10-27 12:02:00 +08:00
fyZheng07
1c26c0b836 Merge pull request #510 from toeverything/Chore/ReadMe
Cover image update
2022-10-27 10:35:22 +08:00
ShortCipher5
8210b7666c Merge pull request #509 from logopolop/patch-1
Update README.md
2022-10-27 10:19:36 +08:00
ShortCipher5
30ce3c0435 Cover image update 2022-10-27 10:15:43 +08:00
logopolop
04c413e8e1 Update README.md
Fix typo
2022-10-26 17:26:14 +02:00
Qi
94d7543db5 Merge pull request #508 from toeverything/feat/modify
fix: in some windows chrome browser can not change backgournd
2022-10-26 21:12:41 +08:00
QiShaoXuan
43e1efd79e fix: in some windows chrome browser can not change backgournd 2022-10-26 21:10:12 +08:00
DiamondThree
da30e50e14 feat: publish new version (#507) 2022-10-26 19:32:58 +08:00
Whitewater
7c6a474929 chore: bump blocksuite (#506) 2022-10-26 17:48:25 +08:00
Qi
f0414efc79 Merge pull request #504 from toeverything/feat/modify
feat: add alternative font for windows
2022-10-26 17:31:08 +08:00
Qi
d94a6956b2 Merge pull request #505 from toeverything/fix/whiteboard
fix: edgeless not work
2022-10-26 17:30:42 +08:00
lawvs
344483e436 fix: edgeless not work 2022-10-26 17:26:51 +08:00
QiShaoXuan
6bd740b0a7 feat: add alternative font for windows 2022-10-26 17:12:56 +08:00
zuomeng wang
8c6d11e6cd Merge pull request #502 from toeverything/docs/add-contributors
docs: add contributors
2022-10-26 16:12:28 +08:00
ShortCipher5
fb7257e19d Update README.md 2022-10-26 16:09:50 +08:00
alt0
f304ac07f4 docs: add contributors 2022-10-26 15:56:24 +08:00
zuomeng wang
9c77d0c7a7 Merge pull request #501 from toeverything/chore/workflow-docker-name
chore: fix workflow docker hub path name
2022-10-26 12:56:47 +08:00
alt0
baa5a9a015 chore: fix workflow docker hub path name 2022-10-26 12:25:43 +08:00
lawvs
cee5fb4740 Merge remote-tracking branch 'affine/pathfinder' into affine 2022-10-26 12:14:06 +08:00
lawvs
a910ab738b chore: add license 2022-10-26 12:07:01 +08:00
lawvs
e0ee1c4ee4 chore: update workflow 2022-10-26 11:59:37 +08:00
zuomeng wang
aa6fb31f68 Merge pull request #500 from toeverything/pathfinder-chore/readme
Pathfinder chore/readme
2022-10-26 11:57:48 +08:00
Whitewater
a942b8b9f1 Feat/bump (#55)
* chore: update dependencies

* fix: update block suite api

* chore: use strict mode

* chore: clean code
2022-10-26 11:52:46 +08:00
CJSS
3b517ea130 BlockSuite 2022-10-26 10:45:16 +08:00
CJSS
77fc3de072 Link fix 2022-10-26 10:36:07 +08:00
CJSS
59633ec460 Features 2022-10-26 10:34:23 +08:00
CJSS
dd0513e592 Ambassador contribution update 2022-10-26 09:45:50 +08:00
CJSS
d6bf2d2d71 Update README.md 2022-10-26 09:42:09 +08:00
CJSS
729530a862 Social communities 2022-10-26 09:41:17 +08:00
CJSS
01a01d971f Added docs folder and files 2022-10-26 09:37:45 +08:00
CJSS
4772ed170b Update README.md 2022-10-26 09:35:30 +08:00
lawvs
9542d5b030 chore: update workflow 2022-10-25 22:30:11 +08:00
Whitewater
23661b42b7 chore: simplify ci (#54) 2022-10-25 22:28:42 +08:00
Qi
edaa0a5125 Merge pull request #53 from toeverything/feat/layout
Feat/layout
2022-10-25 18:42:09 +08:00
QiShaoXuan
8a0a294fc9 feat: update link 2022-10-25 17:41:13 +08:00
QiShaoXuan
52e2f3854f feat: modify styles 2022-10-25 16:26:31 +08:00
QiShaoXuan
cd6a930939 feat: modify styles & ui components 2022-10-25 11:51:59 +08:00
Qi
5a9a60688c Merge pull request #52 from toeverything/chore/update-ci
chore: change main branch master -> main; add branch develop for test…
2022-10-25 11:20:00 +08:00
zuomeng wang
2dba052b9f Merge pull request #51 from toeverything/chore/text
Chore/text
2022-10-25 10:47:06 +08:00
alt0
a02d7d70c5 chore: change main branch master -> main; add branch develop for test version 2022-10-25 10:42:15 +08:00
CJSS
f3f530feda Update index.tsx 2022-10-25 09:42:07 +08:00
CJSS
ae342773da Update example-markdown.ts 2022-10-25 09:19:31 +08:00
CJSS
37e4de3e97 Update index.tsx
Docs link fix
2022-10-25 09:17:42 +08:00
Qi
2caeacd322 Merge pull request #50 from toeverything/feat/layout
feat: update blocksuite version
2022-10-24 18:23:30 +08:00
QiShaoXuan
caf4d4dc35 feat: update blocksuite version 2022-10-24 18:22:36 +08:00
Qi
6c32b1c970 Merge pull request #49 from toeverything/example-markdown
Markdown updates
2022-10-24 18:21:16 +08:00
QiShaoXuan
fb4387ddbb fix: lint problems 2022-10-24 18:16:54 +08:00
Yifeng Wang
66763e20e6 chore: update blocksuite 2022-10-24 17:53:59 +08:00
CJSS
422678dfdf Update example-markdown.ts 2022-10-24 17:23:57 +08:00
CJSS
4b94694a26 Update example-markdown.ts 2022-10-24 17:00:47 +08:00
fyZheng07
572f29e3cd userguide style change 2022-10-24 16:56:08 +08:00
CJSS
541b895d15 Update config.ts 2022-10-24 16:54:49 +08:00
CJSS
839285485a Update example-markdown.ts 2022-10-24 16:50:28 +08:00
Qi
1b794907da Merge pull request #48 from toeverything/feat/layout
Feat/layout
2022-10-24 16:43:03 +08:00
QiShaoXuan
c9a7007542 feat: update editor version 2022-10-24 16:42:29 +08:00
QiShaoXuan
6497691b90 feat: modify theme color 2022-10-24 16:14:44 +08:00
Qi
8489d57b26 Merge pull request #47 from toeverything/feat/layout
Feat/layout
2022-10-24 16:10:08 +08:00
QiShaoXuan
ca0a216795 feat: add default content 2022-10-24 16:03:01 +08:00
QiShaoXuan
f30657f9e1 feat: modify shortcuts modal 2022-10-24 15:29:21 +08:00
QiShaoXuan
ded62eaee9 feat: add function of undo/redo 2022-10-24 15:14:10 +08:00
QiShaoXuan
03cb7a0c6f Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout 2022-10-24 14:16:56 +08:00
Yifeng Wang
62aaf25f8a fix: init state 2022-10-24 12:34:34 +08:00
QiShaoXuan
e1d780f33e feat: modify styles 2022-10-24 11:42:11 +08:00
Yifeng Wang
415ca606fd Merge pull request #46 from toeverything/chore/upgrade
chore: upgrade blocksuite
2022-10-24 09:21:15 +08:00
Yifeng Wang
0115d08973 chore: upgrdate blocksuite 2022-10-24 09:19:14 +08:00
Qi
094947d3d4 Merge pull request #45 from toeverything/feat/layout
feat: modify styles
2022-10-21 18:07:40 +08:00
QiShaoXuan
15e66270f2 feat: modify styles 2022-10-21 18:06:33 +08:00
Qi
15590e539a Merge pull request #44 from toeverything/feat/layout
Feat/layout
2022-10-21 18:00:13 +08:00
QiShaoXuan
743e3dd9ac fix: lint wranning 2022-10-21 17:54:11 +08:00
QiShaoXuan
96ca1cf618 Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout 2022-10-21 17:47:01 +08:00
QiShaoXuan
454335d677 feat: modify styles 2022-10-21 17:46:45 +08:00
Qi
dda503a967 Merge pull request #43 from toeverything/feat/blocksuite
feat: update blocksuite version
2022-10-21 17:02:24 +08:00
QiShaoXuan
055c548338 feat: update blocksuite version 2022-10-21 17:01:28 +08:00
QiShaoXuan
8a2a3e2c4c feat: modify styles 2022-10-21 16:55:29 +08:00
QiShaoXuan
c47c7d2c4a feat: modify styles 2022-10-21 15:19:39 +08:00
QiShaoXuan
a5ba09c797 fix: em tag error style 2022-10-21 14:28:59 +08:00
QiShaoXuan
27eba96f20 feat: change theme logic 2022-10-21 14:28:43 +08:00
Yifeng Wang
c98fe3413e Merge pull request #42 from toeverything/upgrade
chore: update blocksuite
2022-10-21 09:43:41 +08:00
Yifeng Wang
99f2d4a602 chore: update blocksuite 2022-10-21 09:42:55 +08:00
zuomeng wang
3dad133db8 Merge pull request #41 from toeverything/chore/update-workflow
chore: update workflow for test env
2022-10-20 19:58:58 +08:00
alt0
5948634a9c chore: update workflow for test env 2022-10-20 19:54:00 +08:00
Qi
09dd7dd9a2 Merge pull request #40 from toeverything/feat/layout
Feat/layout
2022-10-20 19:03:39 +08:00
QiShaoXuan
06657596ff feat: modify style & add edgeless toolbar 2022-10-20 18:55:03 +08:00
QiShaoXuan
1c3fb798de merge master into feat/layout 2022-10-20 16:29:39 +08:00
QiShaoXuan
1c09b79cf8 fix: ui problem 2022-10-20 16:27:05 +08:00
QiShaoXuan
e13aeda5b2 feat: reset modal 2022-10-20 14:43:14 +08:00
Qi
16491864f9 Merge pull request #38 from toeverything/feat/blocksuite
feat: update block version
2022-10-20 10:32:43 +08:00
QiShaoXuan
20ad0c3e86 feat: update block version 2022-10-20 10:32:09 +08:00
Qi
53d8db2f04 Merge pull request #37 from toeverything/feat/update-blocksuite
feat: update blocksuite 0.2.11
2022-10-20 10:00:40 +08:00
alt0
66dd6f625f feat: update blocksuite 0.2.11 2022-10-20 09:57:13 +08:00
zuomeng wang
4d16bb14f3 Merge pull request #36 from toeverything/chore/update-dev-command
chore: update dev command
2022-10-20 00:05:58 +08:00
alt0
4aff2ae71d chore: update dev command 2022-10-19 23:05:42 +08:00
zuomeng wang
c405523a81 Merge pull request #35 from toeverything/chore/change-docker-name
chore: change docker name
2022-10-19 19:53:20 +08:00
alt0
bb156cc8da chore: change docker name 2022-10-19 19:50:35 +08:00
zuomeng wang
4656401ac1 Merge pull request #34 from toeverything/chore/change-docker-name
chore: change docker name
2022-10-19 19:08:37 +08:00
alt0
46ed75fe02 chore: change docker name 2022-10-19 18:55:20 +08:00
Qi
cb39531712 Merge pull request #33 from toeverything/feat/module-resolve-with-logger
Feat/module resolve with logger
2022-10-19 18:17:59 +08:00
alt0
e59a859bed docs: update enviroment requirement 2022-10-19 18:10:20 +08:00
alt0
2fda9c39e9 chore: update workflow trigger branch & pnpm-lock 2022-10-19 18:05:45 +08:00
alt0
88c8a408b5 feat: module resolve
feat: module resolve

fix: logger repository

fix: module resolve

chore: add workflow for module resolve

chore: update workflow env

chore: update workflow install

chore: update workflow env for npm token

chore: test docker

chore: update workflow env
2022-10-19 17:53:10 +08:00
QiShaoXuan
96baeacc26 feat: modify theme 2022-10-19 16:17:41 +08:00
QiShaoXuan
2647453e16 feat: change contact modal background 2022-10-19 15:53:26 +08:00
Qi
0712391c7f Merge pull request #31 from toeverything/feat/layout
feat: modify theme mode switch style
2022-10-19 15:41:48 +08:00
QiShaoXuan
b5f0e5b045 fix: lint wraning 2022-10-19 15:39:55 +08:00
QiShaoXuan
0219ca8311 Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout 2022-10-19 15:36:19 +08:00
QiShaoXuan
25dc407781 feat: add shortcuts modal 2022-10-19 15:35:59 +08:00
QiShaoXuan
0a4c262b50 feat: add contact modal 2022-10-19 11:51:01 +08:00
Qi
f13e01d927 Merge pull request #32 from toeverything/feat/blocksuite
feat: update blocksuite version
2022-10-19 08:22:55 +08:00
QiShaoXuan
3503309327 feat: update blocksuite version 2022-10-19 08:21:52 +08:00
QiShaoXuan
90dba82a59 feat: modify style variables 2022-10-18 17:08:42 +08:00
QiShaoXuan
2b13a63848 feat: modify theme mode switch style 2022-10-18 11:55:10 +08:00
Qi
f279b32109 Merge pull request #29 from toeverything/feat/layout
feat: update blocksuite version
2022-10-18 10:20:29 +08:00
QiShaoXuan
c8c2b2de00 feat: update blocksuite version 2022-10-18 10:18:09 +08:00
Qi
6a37b6682a Merge pull request #28 from toeverything/feat/layout
feat: modify style
2022-10-18 00:45:28 +08:00
QiShaoXuan
2a65c051e6 feat: modify style 2022-10-18 00:43:04 +08:00
Qi
5d268c71a2 Merge pull request #27 from toeverything/feat/layout
feat: add tooltip & popover
2022-10-18 00:32:47 +08:00
QiShaoXuan
02d85c893b fix: lint error 2022-10-18 00:32:08 +08:00
QiShaoXuan
d7c6f7e8d5 feat: modify style 2022-10-18 00:28:39 +08:00
QiShaoXuan
249b5ab0f1 feat: add modal 2022-10-17 18:54:14 +08:00
QiShaoXuan
73d7709e54 feat: add tooltip & popover 2022-10-17 18:01:09 +08:00
Qi
5f968ac51d Merge pull request #26 from toeverything/feat/layout
fix: lint error
2022-10-17 13:02:32 +08:00
QiShaoXuan
7eb1bbb5e9 fix: lint error 2022-10-17 13:02:02 +08:00
Qi
43e547f712 Merge pull request #25 from toeverything/feat/layout
Feat/layout
2022-10-17 12:57:38 +08:00
QiShaoXuan
91a4544ab6 Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout 2022-10-17 12:56:17 +08:00
QiShaoXuan
9db0b21e35 feat: modify mode radio animate 2022-10-17 12:55:34 +08:00
Qi
cea62ed831 Merge pull request #24 from toeverything/feat/blocksuite
feat: update blocksuite version
2022-10-17 09:15:14 +08:00
QiShaoXuan
116ddc9213 feat: update blocksuite version 2022-10-17 09:13:45 +08:00
Whitewater
cf99129205 fix: minify incorrect (#23)
* fix: minify incorrect

* chore: format
2022-10-14 19:29:36 +08:00
Qi
a8d580d46a Merge pull request #22 from toeverything/feat/blocksuite
feat: update blocksuite version
2022-10-14 18:22:45 +08:00
QiShaoXuan
1dc37ac221 feat: update blocksuite version 2022-10-14 18:22:07 +08:00
Qi
46097060f2 Merge pull request #21 from toeverything/feat/layout
fix: lint
2022-10-14 15:38:23 +08:00
QiShaoXuan
643cb1603c fix: lint 2022-10-14 15:37:56 +08:00
Qi
3ab4ef6840 Merge pull request #20 from toeverything/feat/layout
feat: update blocksuite version
2022-10-14 15:36:11 +08:00
QiShaoXuan
1a423b6dde merge master into feat/layout 2022-10-14 15:35:53 +08:00
QiShaoXuan
f3e4742ede feat: update blocksuite version 2022-10-14 15:33:44 +08:00
Qi
dde59f2a18 Merge pull request #19 from toeverything/feat/layout
feat: update blocksuite version
2022-10-14 15:04:56 +08:00
QiShaoXuan
2f70a75bac feat: update blocksuite version 2022-10-14 15:04:09 +08:00
Qi
5020738143 Merge pull request #18 from toeverything/chore/update-dockerfile
chore: update dockerfile
2022-10-14 15:02:14 +08:00
alt0
d9b10feb88 chore: update dockerfile 2022-10-14 15:01:13 +08:00
Yifeng Wang
6ddec7906b Merge pull request #14 from toeverything/chore/title
chore: tweak title config
2022-10-14 15:01:03 +08:00
Yifeng Wang
8396778459 Merge branch 'master' into chore/title 2022-10-14 15:00:28 +08:00
zuomeng wang
88bc397816 chore: update workflow (#17) 2022-10-14 14:56:38 +08:00
Qi
e26d10f4d0 Merge pull request #16 from toeverything/chore/change-to-monorepo
chore: change to monorepo
2022-10-14 13:51:06 +08:00
alt0
0279dc44b7 chore: change to monorepo 2022-10-14 13:26:06 +08:00
Yifeng Wang
66c432174f chore: tweak title config 2022-10-13 18:43:31 +08:00
Qi
7f9e7efb67 Merge pull request #13 from toeverything/feat/layout
fix: lint error
2022-10-13 18:10:19 +08:00
QiShaoXuan
d7d8519976 fix: lint error 2022-10-13 18:09:47 +08:00
Qi
7eb6cdddb2 Merge pull request #12 from toeverything/feat/layout
Feat/layout
2022-10-13 18:05:50 +08:00
QiShaoXuan
73665c3926 Merge branch 'feat/layout' of github.com:toeverything/AFFINE-pathfinder into feat/layout 2022-10-13 18:04:33 +08:00
QiShaoXuan
055a9f910c feat: add dark mode switch & export 2022-10-13 18:04:06 +08:00
Qi
bad8673865 Merge pull request #11 from toeverything/feat/layout
feat: update blocksuit & adpat it
2022-10-13 14:51:14 +08:00
Qi
8d7f87bb7b Merge branch 'master' into feat/layout 2022-10-13 14:51:06 +08:00
QiShaoXuan
c2aeccc98e feat: update blocksuit & adpat it 2022-10-13 14:50:04 +08:00
CJSS
d5ef2adf16 docs/jobs patch (#494)
* docs: docs/jobs/*

* docs: docs/jobs/*

* docs: docs/jobs/*

* docs: docs/jobs/*

* Revert "docs: docs/jobs/*"

This reverts commit 48a2bb81a2.

* Update affine.pro-remote.md

* Update affine.pro.md

* Update affine.pro.md

* chore: format

Co-authored-by: mayou <mayou@2dfire.com>
Co-authored-by: Leon <xsy1213soss@163.com>
Co-authored-by: Whitewater <me@waterwater.moe>
2022-10-13 14:45:49 +08:00
Qi
fe370d6f4f Merge pull request #10 from toeverything/feat/layout
feat: update blocksuit & adpat it
2022-10-13 14:40:00 +08:00
QiShaoXuan
5320993d7a feat: update blocksuit & adpat it 2022-10-13 14:38:57 +08:00
Qi
701e2bf8b1 Merge pull request #9 from toeverything/feat/layout
feat: modify ci
2022-10-12 19:20:05 +08:00
QiShaoXuan
8caaccbdf8 feat: modify ci 2022-10-12 19:18:59 +08:00
Qi
32ef16518c Merge pull request #7 from toeverything/feat/layout
feat: modify style
2022-10-12 19:07:00 +08:00
QiShaoXuan
cf3e13911b feat: modify style 2022-10-12 19:04:38 +08:00
Qi
a2ad080c51 Merge pull request #6 from toeverything/feat/layout
Feat/layout
2022-10-12 18:46:24 +08:00
QiShaoXuan
379ded3fb4 feat: add blocksuit 2022-10-12 18:44:11 +08:00
DarkSky
006ec35637 Merge pull request #493 from toeverything/develop
Sync develop to master
2022-10-12 18:20:10 +08:00
zuomeng wang
22dc66eeba Merge pull request #492 from toeverything/fix/update-copyright
fix: update copyright info
2022-10-12 17:34:49 +08:00
alt0
7f2d6aacee fix: update copyright info 2022-10-12 16:52:51 +08:00
zuomeng wang
7124e18e96 Fix/update copyright (#491)
* fix: info modal minwidth

* fix: update copyright info
2022-10-12 08:44:26 +00:00
QiShaoXuan
17386a4ad7 Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout
# Conflicts:
#	src/pages/index.tsx
2022-10-12 13:56:53 +08:00
Qi
5c5a0c77df Merge pull request #5 from toeverything/feat/editor
Feat/editor
2022-10-12 13:45:59 +08:00
lawvs
56196a5bb3 feat: add block suite editor sample 2022-10-12 12:16:54 +08:00
lawvs
2f0c76ff0e chore: add block suite 2022-10-12 12:15:57 +08:00
QiShaoXuan
596964fddf feat: change layout 2022-10-12 10:14:58 +08:00
DarkSky
54e64edb57 Merge pull request #490 from toeverything/fix/20221010-bugs
Fix/20221010 bugs
2022-10-11 17:35:44 +08:00
alt0
9674229e8e fix: consistent return 2022-10-11 17:28:59 +08:00
alt0
c74b03da9a fix: shortcut for cut 2022-10-11 17:10:38 +08:00
Yifeng Wang
f351c91e48 Update affine.pro-remote.md 2022-10-11 16:50:03 +08:00
alt0
db44f619f2 fix: remove console 2022-10-11 10:24:09 +08:00
alt0
19ce4a1d56 fix: hide the mode switcher in small screen 2022-10-11 10:23:12 +08:00
alt0
57e37221dc fix: mixed Chinese and English 2022-10-10 18:35:07 +08:00
alt0
f647905279 fix: edgeless pencil color 2022-10-10 18:33:15 +08:00
alt0
09dea80a08 fix: console warning 2022-10-10 18:24:15 +08:00
DarkSky
c245d4ea20 Merge pull request #488 from toeverything/develop
Sync develop
2022-10-10 16:50:39 +08:00
zuomeng wang
ab78245eb4 Merge pull request #487 from CJSS/develop
Jobs updated
2022-10-10 16:32:43 +08:00
CJSS
144eca1299 Update affine.pro-remote.md 2022-10-10 15:20:01 +08:00
CJSS
8f9b45f632 Update affine.pro.md 2022-10-10 15:19:17 +08:00
CJSS
3ae1e44d8e Update affine.pro-remote.md 2022-10-10 15:11:29 +08:00
CJSS
c8c7804a18 Update affine.pro.md 2022-10-10 15:11:04 +08:00
CJSS
e711384e22 Update affine.pro-remote.md 2022-10-10 14:51:48 +08:00
CJSS
8cee02ebaf Update affine.pro.md 2022-10-10 14:51:16 +08:00
CJSS
525dd680f3 Create affine.pro-remote.md 2022-10-10 14:50:12 +08:00
CJSS
bf16dcc6ef Update affine.pro.md 2022-10-10 14:49:51 +08:00
DarkSky
18532f0e54 Merge pull request #482 from toeverything/bot/new-translations
Update i18n (2022-10-07)
2022-10-09 01:02:34 +08:00
github-actions[bot]
595880d021 feat(i18n): new translations 2022-10-07 00:37:36 +00:00
Carlos Rafael
04ff5d8ea1 🐛 fix: wrong href of colaborator (#479)
* 🐛 fix: wrong href of colaborator

* chore: update CarlosZoft's profile link

Co-authored-by: Whitewater <me@waterwater.moe>
2022-10-02 21:30:46 +08:00
DarkSky
33fc67bad6 Merge pull request #474 from toeverything/bot/new-translations
Update i18n (2022-09-30)
2022-10-01 17:25:41 +08:00
Whitewater
12c5e80dba chore: update contributors (#478) 2022-10-01 17:25:25 +08:00
zuomeng wang
214da734e5 Merge pull request #477 from toeverything/develop
Sync to master
2022-09-30 18:20:36 +08:00
zuomeng wang
183c1bf80e Merge pull request #476 from toeverything/fix/add-block-suite-link
fix: add block suite link
2022-09-30 18:13:08 +08:00
alt0
23f7577e3a fix: add block suite link 2022-09-30 17:58:05 +08:00
lawvs
b398e2e184 chore: update cache time 2022-09-30 17:16:55 +08:00
Frozen FIsh
b317c595c6 fix: delete block leftMenu not delete (#472) 2022-09-30 04:33:27 +00:00
QiShaoXuan
71e60bc3a5 feat: update theme provider to dynamic 2022-09-30 11:40:10 +08:00
github-actions[bot]
df20253335 feat(i18n): new translations 2022-09-30 00:41:31 +00:00
DarkSky
ab22ac6957 Merge pull request #468 from lynettelopez/fix/move-cursor-to-end-of-markdown
Fix: Move cursor to end of markdown
2022-09-29 23:10:05 +08:00
zuomeng wang
f5b7f1c7ce Merge pull request #470 from toeverything/develop
Sync to master
2022-09-29 20:25:50 +08:00
zuomeng wang
2a107c73e9 Merge pull request #469 from toeverything/fix/livedemo-bugs
fix: livedemo infomation color & copies
2022-09-29 11:44:18 +08:00
alt0
a6abd42c43 fix: livedemo infomation color & copies 2022-09-29 11:13:00 +08:00
Qi
9245ecd627 Merge pull request #4 from toeverything/feat/layout
feat: add theme change handler
2022-09-29 10:57:15 +08:00
Lynette Lopez
1e0614ff56 Move selection mark/cursor to end of markdown once done processing 2022-09-28 20:55:26 -05:00
Lynette Lopez
68ab7d3968 Remove double exclammation mark for function that already returns a boolean 2022-09-28 20:54:51 -05:00
DarkSky
a924b0e8e2 Merge pull request #466 from toeverything/fix/livedemo-bugs
Fix/livedemo bugs
2022-09-29 00:13:54 +08:00
DarkSky
d8f2a748fb Merge pull request #467 from toeverything/fix/upload-layer
fix: upload layer incorrect
2022-09-29 00:13:05 +08:00
lawvs
b5898c2e67 fix: upload layer incorrect
redesign https://github.com/toeverything/AFFiNE/pull/464
2022-09-28 21:34:10 +08:00
alt0
4815ec474b fix: copied 2022-09-28 18:09:49 +08:00
alt0
e69884f5e9 feat: add live demo infomation 2022-09-28 18:06:05 +08:00
alt0
5ad5c4879d feat: add live demo infomation 2022-09-28 17:45:33 +08:00
QiShaoXuan
cb432a8892 feat: udpate font style 2022-09-28 17:26:22 +08:00
QiShaoXuan
0662b5f7a7 feat: add emotion ssr in nextjs 2022-09-28 17:17:00 +08:00
QiShaoXuan
dec69d4f44 chore: manage files 2022-09-28 17:16:18 +08:00
alt0
b9bc2d167e fix: add some tips for livedemo 2022-09-28 15:48:29 +08:00
alt0
7c5de7b20c fix: page title support click to reload 2022-09-28 15:30:57 +08:00
alt0
287e6ff1c4 fix: venus logo use svg 2022-09-28 15:23:14 +08:00
QiShaoXuan
008c0d83e3 feat: add auto mode in theme selection 2022-09-28 10:49:02 +08:00
QiShaoXuan
fb828c9cf4 feat: add system theme judgment 2022-09-27 17:19:23 +08:00
DiamondThree
a47913a9d8 fix: show up image menu option (#464)
fix: fix bug that don't add image in kanban view
2022-09-27 16:23:31 +08:00
Whitewater
3d27b42f09 Merge pull request #462 from toeverything/fix/font
Fix/windows font
2022-09-27 15:38:04 +08:00
QiShaoXuan
163f6cea08 feat: add theme change handler 2022-09-26 16:24:29 +08:00
lawvs
892f15f78c chore: clean code 2022-09-26 15:26:22 +08:00
lawvs
a94765913b fix: remove chaotic font css 2022-09-26 15:25:48 +08:00
DarkSky
b13e7ed5f3 fix: venus i18n was included in venus folder 2022-09-26 11:40:35 +08:00
DarkSky
ccd4128ad2 chore: trigger for i18n 2022-09-26 11:18:27 +08:00
DarkSky
d43670615d Merge pull request #458 from toeverything/develop
chore: sync & i18n
2022-09-23 19:26:02 +08:00
DarkSky
76f74effdb Merge pull request #456 from toeverything/bot/new-translations
Update i18n (2022-09-23)
2022-09-23 19:25:16 +08:00
DarkSky
b236aa6366 Merge pull request #457 from toeverything/fix/sync-bug
Fix/sync bug
2022-09-23 19:23:10 +08:00
alt0
cd7656394a Merge remote-tracking branch 'origin/develop' into fix/sync-bug 2022-09-23 19:17:30 +08:00
alt0
5ac0f91efc fix: sync bug 2022-09-23 19:14:23 +08:00
lawvs
62d4b0a32d fix: ci cache key 2022-09-23 18:05:06 +08:00
Whitewater
e4a76ed058 Fix/ci (#3)
* fix: ci

* chore: test ci

* fix: ci

* feat: add nginx conf

* chore: remove debug
2022-09-23 17:31:26 +08:00
Qi
c0ad7721ef Merge pull request #2 from toeverything/chore/docker
Chore/docker
2022-09-23 16:06:53 +08:00
lawvs
771d3d6eb5 chore: remove github pages ci 2022-09-23 15:57:04 +08:00
lawvs
e0792e9b59 fix: artifact 2022-09-23 15:57:04 +08:00
lawvs
1b1a4ebc94 feat: build and push image 2022-09-23 15:24:14 +08:00
lawvs
fe7725c907 feat: add dockerfile 2022-09-23 15:23:48 +08:00
Qi
2d53b4f280 Merge pull request #1 from toeverything/chore/ci
Chore/ci
2022-09-23 12:14:07 +08:00
lawvs
9d1f9cfd1f feat: add ci 2022-09-23 11:43:37 +08:00
lawvs
30596d182c chore: clean 2022-09-23 11:43:32 +08:00
github-actions[bot]
0a8780a9d4 feat(i18n): new translations 2022-09-23 00:32:16 +00:00
DarkSky
3324d992f3 Merge pull request #455 from toeverything/fix/file-watchers-limit
fix: ignore node_modules watcher
2022-09-22 23:38:15 +08:00
lawvs
08a19ae240 fix: ignore node_modules watcher 2022-09-22 22:38:59 +08:00
QiShaoXuan
7a7afd4daf fix: add .next to git ignore 2022-09-22 15:44:30 +08:00
QiShaoXuan
c0b6ee9245 feat: init basic settings 2022-09-22 15:39:53 +08:00
zuomeng wang
054664ef6f Merge pull request #453 from toeverything/develop
Fix: window.client.inspect not found (#452)
2022-09-22 14:25:57 +08:00
Whitewater
1158bc9304 Fix: window.client.inspect not found (#452)
fix: window.client.inspect not found
2022-09-22 14:25:17 +08:00
zuomeng wang
d3f2b25fa0 Merge pull request #451 from toeverything/develop
fix(i18n): default language select (#450)
2022-09-22 09:59:33 +08:00
Whitewater
47bbf187a5 fix(i18n): default language select (#450)
* fix: default language

* feat: mobile support multiple languages
2022-09-21 21:29:04 +08:00
zuomeng wang
b3b933f708 Merge pull request #447 from toeverything/develop
Merge to master
2022-09-21 17:54:31 +08:00
alt0
8f3ee925ec Merge remote-tracking branch 'origin/master' into develop 2022-09-21 17:45:38 +08:00
alt0
92630082a3 fix: format 2022-09-21 17:38:36 +08:00
HeJiachen-PM
74850fad4d update jd 2022-09-21 17:20:01 +08:00
zuomeng wang
06e344b0e3 Merge to master (#445) (#446)
* Fix/venus spanish (#423)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* fix: can not convert url text to link after paste

* fix: double link icon size error

* feat(code): enhance markdown parse code

* fix(code): add robust

* fix: remove special menu

* chore: clean code

* fix: ime with command menu

* fix(code): langs[lang] is not a function

* fix: can't add image and delete more action button (#430)

* feat: add zh_Hant for venus (#431)

* fix: lang select in  code block is insanity

* GitHub Doc Updates (#421)

* Update types-of-contributions.md

* Update README.md

Tidy up links section

* fix: inline menu position (#433)

* Master (#436)

* Fix/venus spanish (#423) (#425)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* Merge to master (#435)

* Fix/venus spanish (#423)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* fix: can not convert url text to link after paste

* fix: double link icon size error

* feat(code): enhance markdown parse code

* fix(code): add robust

* fix: remove special menu

* chore: clean code

* fix: ime with command menu

* fix(code): langs[lang] is not a function

* fix: can't add image and delete more action button (#430)

* feat: add zh_Hant for venus (#431)

* fix: lang select in  code block is insanity

* GitHub Doc Updates (#421)

* Update types-of-contributions.md

* Update README.md

Tidy up links section

* fix: inline menu position (#433)

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>

* fix: close select popover after mouse leave code block

* docs: add jobs

* docs: update job docs structure

* fix: typo

* Update affine.pro.md

* Update affine.pro.md

* Update affine.pro.md

* feat: add Serbian language to venus (#441)

* refactor: redesign loading workspace db

* chore: remove unuse site logic

* feat: affine-embed-header

* Update affine.pro.md

* feat: add German language to venus (#443)

* fix: connection state

* refactor: jd

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
Co-authored-by: HeJiachen-PM <79301703+HeJiachen-PM@users.noreply.github.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
Co-authored-by: HeJiachen-PM <79301703+HeJiachen-PM@users.noreply.github.com>
2022-09-21 16:30:37 +08:00
zuomeng wang
ef707b95ef Merge to master (#445)
* Fix/venus spanish (#423)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* fix: can not convert url text to link after paste

* fix: double link icon size error

* feat(code): enhance markdown parse code

* fix(code): add robust

* fix: remove special menu

* chore: clean code

* fix: ime with command menu

* fix(code): langs[lang] is not a function

* fix: can't add image and delete more action button (#430)

* feat: add zh_Hant for venus (#431)

* fix: lang select in  code block is insanity

* GitHub Doc Updates (#421)

* Update types-of-contributions.md

* Update README.md

Tidy up links section

* fix: inline menu position (#433)

* Master (#436)

* Fix/venus spanish (#423) (#425)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* Merge to master (#435)

* Fix/venus spanish (#423)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* fix: can not convert url text to link after paste

* fix: double link icon size error

* feat(code): enhance markdown parse code

* fix(code): add robust

* fix: remove special menu

* chore: clean code

* fix: ime with command menu

* fix(code): langs[lang] is not a function

* fix: can't add image and delete more action button (#430)

* feat: add zh_Hant for venus (#431)

* fix: lang select in  code block is insanity

* GitHub Doc Updates (#421)

* Update types-of-contributions.md

* Update README.md

Tidy up links section

* fix: inline menu position (#433)

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>

* fix: close select popover after mouse leave code block

* docs: add jobs

* docs: update job docs structure

* fix: typo

* Update affine.pro.md

* Update affine.pro.md

* Update affine.pro.md

* feat: add Serbian language to venus (#441)

* refactor: redesign loading workspace db

* chore: remove unuse site logic

* feat: affine-embed-header

* Update affine.pro.md

* feat: add German language to venus (#443)

* fix: connection state

* refactor: jd

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
Co-authored-by: DarkSky <darksky2048@gmail.com>
Co-authored-by: HeJiachen-PM <79301703+HeJiachen-PM@users.noreply.github.com>
2022-09-21 15:45:40 +08:00
HeJiachen-PM
22b9427818 refactor: jd 2022-09-21 15:42:54 +08:00
DarkSky
124891b2b5 fix: connection state 2022-09-21 14:58:39 +08:00
zuomeng wang
ea207d299b feat: add German language to venus (#443) 2022-09-21 14:41:37 +08:00
DarkSky
7b77e4d7d8 Merge pull request #444 from toeverything/feat/affine-embed-header
Feat/affine embed header
2022-09-21 14:40:02 +08:00
DarkSky
eb052d62b0 Update affine.pro.md 2022-09-21 14:34:35 +08:00
alt0
37ff79fa11 Merge remote-tracking branch 'origin/develop' into feat/affine-embed-header 2022-09-21 14:30:30 +08:00
alt0
be4d66b203 feat: affine-embed-header 2022-09-21 14:28:36 +08:00
DarkSky
17cdb34c9e Merge pull request #442 from toeverything/chore/db-tweak
Chore/db tweak
2022-09-21 14:18:25 +08:00
lawvs
b97e17643c chore: remove unuse site logic 2022-09-21 12:16:31 +08:00
lawvs
10889052bd refactor: redesign loading workspace db 2022-09-21 12:15:44 +08:00
Qi
56cbd3ed5d Merge pull request #438 from toeverything/fix/bugs
fix: close select popover after mouse leave code block
2022-09-20 17:11:56 +08:00
zuomeng wang
5e18fc5d42 feat: add Serbian language to venus (#441) 2022-09-20 08:25:25 +00:00
alt0
f15288222f Merge remote-tracking branch 'origin' into develop 2022-09-20 15:45:47 +08:00
Chi Zhang
faccbd9eb2 Update affine.pro.md 2022-09-20 11:32:45 +08:00
Chi Zhang
74a9f1330b Update affine.pro.md 2022-09-20 11:30:02 +08:00
Chi Zhang
32387f53e7 Update affine.pro.md 2022-09-20 11:29:20 +08:00
DarkSky
4162c0f3e0 fix: typo 2022-09-20 11:23:42 +08:00
Chi Zhang
b265759b05 Merge pull request #440 from toeverything/feat/job-dirs
docs: update job docs structure
2022-09-20 11:22:39 +08:00
tzhangchi
bc1de9079d docs: update job docs structure 2022-09-20 11:22:14 +08:00
Chi Zhang
b7fc902d6f Merge pull request #439 from toeverything/feat/jobs
docs: add jobs
2022-09-20 11:18:03 +08:00
tzhangchi
048a0dda1e docs: add jobs 2022-09-20 11:17:25 +08:00
QiShaoXuan
870b2dd449 fix: close select popover after mouse leave code block 2022-09-20 10:40:48 +08:00
zuomeng wang
320e4a1f4d Master (#436)
* Fix/venus spanish (#423) (#425)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* Merge to master (#435)

* Fix/venus spanish (#423)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* fix: can not convert url text to link after paste

* fix: double link icon size error

* feat(code): enhance markdown parse code

* fix(code): add robust

* fix: remove special menu

* chore: clean code

* fix: ime with command menu

* fix(code): langs[lang] is not a function

* fix: can't add image and delete more action button (#430)

* feat: add zh_Hant for venus (#431)

* fix: lang select in  code block is insanity

* GitHub Doc Updates (#421)

* Update types-of-contributions.md

* Update README.md

Tidy up links section

* fix: inline menu position (#433)

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
2022-09-19 16:03:56 +08:00
zuomeng wang
c010e05023 Merge to master (#435)
* Fix/venus spanish (#423)

fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

* fix: can not convert url text to link after paste

* fix: double link icon size error

* feat(code): enhance markdown parse code

* fix(code): add robust

* fix: remove special menu

* chore: clean code

* fix: ime with command menu

* fix(code): langs[lang] is not a function

* fix: can't add image and delete more action button (#430)

* feat: add zh_Hant for venus (#431)

* fix: lang select in  code block is insanity

* GitHub Doc Updates (#421)

* Update types-of-contributions.md

* Update README.md

Tidy up links section

* fix: inline menu position (#433)

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: QiShaoXuan <qishaoxuan777@gmail.com>
Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: lawvs <18554747+lawvs@users.noreply.github.com>
Co-authored-by: DiamondThree <diamond.shx@gmail.com>
Co-authored-by: CJSS <CJSS@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
2022-09-19 15:57:48 +08:00
Qi
0a11edefcd Merge pull request #432 from toeverything/fix/bugs
Fix/bugs
2022-09-19 11:31:18 +08:00
DiamondThree
d2bd896367 fix: inline menu position (#433) 2022-09-16 16:28:43 +08:00
CJSS
6ce3a7f705 GitHub Doc Updates (#421)
* Update types-of-contributions.md

* Update README.md

Tidy up links section
2022-09-16 16:24:12 +08:00
QiShaoXuan
81c7ab8b48 merge develop to fix/bugs 2022-09-16 15:48:45 +08:00
QiShaoXuan
b7b79b5494 fix: lang select in code block is insanity 2022-09-16 15:28:04 +08:00
zuomeng wang
068b6a07b9 feat: add zh_Hant for venus (#431) 2022-09-16 06:27:26 +00:00
DiamondThree
74b1caf01d fix: can't add image and delete more action button (#430) 2022-09-16 11:34:45 +08:00
Chi Zhang
4a2f01b924 Merge pull request #428 from toeverything/fix/command-menu
Fix/command menu
2022-09-15 19:53:30 +08:00
Chi Zhang
d26841d34e Merge pull request #429 from toeverything/fix/code
fix(code): langs[lang] is not a function
2022-09-15 19:43:38 +08:00
tzhangchi
56b278f40b fix(code): langs[lang] is not a function 2022-09-15 19:42:43 +08:00
lawvs
3bf25a43b0 fix: ime with command menu 2022-09-15 19:12:24 +08:00
lawvs
b591436e00 chore: clean code 2022-09-15 19:12:00 +08:00
lawvs
c5a6e94a71 fix: remove special menu 2022-09-15 19:09:45 +08:00
Chi Zhang
063c253ac6 Merge pull request #427 from toeverything/feat/markdown-code-parse
feat(code): enhance markdown parse code
2022-09-15 17:43:49 +08:00
tzhangchi
52e0e3e794 fix(code): add robust 2022-09-15 17:26:38 +08:00
tzhangchi
d2f2080147 feat(code): enhance markdown parse code 2022-09-15 17:19:15 +08:00
QiShaoXuan
3ab0564272 fix: double link icon size error 2022-09-15 16:57:48 +08:00
QiShaoXuan
05f763651e fix: can not convert url text to link after paste 2022-09-15 16:45:28 +08:00
zuomeng wang
8984bedec9 Fix/venus spanish (#423) (#425)
fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2022-09-15 14:46:40 +08:00
zuomeng wang
59ea8b7add Merge branch 'master' into develop 2022-09-15 14:18:16 +08:00
zuomeng wang
5b3ba70d91 Fix/venus spanish (#423)
fix: update venus spanish language

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2022-09-15 06:14:37 +00:00
DarkSky
5fb3c6b050 Merge pull request #420 from toeverything/develop
fix ci
2022-09-14 23:41:07 +08:00
DarkSky
85a2f1d6d6 Merge branch 'master' into develop 2022-09-14 23:40:15 +08:00
Chi Zhang
19690536c9 Merge pull request #419 from toeverything/fix/feature-flag-env 2022-09-14 20:07:02 +08:00
lawvs
66aafeca8a fix: add feature flag token to env 2022-09-14 19:48:03 +08:00
DarkSky
91aa894a58 fix: keck 2022-09-14 18:29:08 +08:00
DarkSky
22b39bad5d Merge pull request #418 from toeverything/develop
chore: sync changes
2022-09-14 17:57:58 +08:00
DarkSky
a12983305d Merge pull request #417 from toeverything/feat/nextgen-keck
chore: local keck support
2022-09-14 17:43:10 +08:00
DarkSky
bf45591e6c fix: ci 2022-09-14 17:41:50 +08:00
DarkSky
f8544fedd4 feat: sync to keck 2022-09-14 17:39:24 +08:00
DarkSky
3ff0dbe781 feat: sync with keck 2022-09-14 17:32:08 +08:00
alt0
bece04d7fd Merge remote-tracking branch 'origin' into develop 2022-09-14 11:55:21 +08:00
Chi Zhang
914f5ad436 Merge pull request #414 from toeverything/fix/empty-ref-page 2022-09-14 07:50:05 +08:00
Chi Zhang
d8ee771ea0 Update Jobs.md 2022-09-13 22:35:12 +08:00
Chi Zhang
8e1b260ec3 Update Jobs.md 2022-09-13 22:20:37 +08:00
Chi Zhang
ee821db39b Merge pull request #416 from toeverything/feat/docs
docs(mysc): add job
2022-09-13 22:19:41 +08:00
tzhangchi
42142e4562 docs(mysc): add job 2022-09-13 22:19:05 +08:00
zuomeng wang
2b141851a0 Fix/venus build env (#415)
fix: venus build env

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2022-09-13 21:00:45 +08:00
lawvs
f48e414d3d fix: empty ref page 2022-09-13 15:52:08 +08:00
Chi Zhang
3ba616dddc Merge pull request #411 from toeverything/fix/venus-i18n
Fix/venus i18n
2022-09-13 15:29:22 +08:00
Chi Zhang
2f782b9dc5 Merge pull request #413 from toeverything/bugfix/menu
fix: commend-menu create block can leave menu name
2022-09-13 15:06:39 +08:00
DiamondThree
88639ea8bb fix: commend-menu create block can leave menu name 2022-09-13 14:50:34 +08:00
lawvs
19ca0c77ef feat: add Spanish 2022-09-12 21:14:37 +08:00
lawvs
255527fa95 fix: #398 2022-09-12 21:14:16 +08:00
DarkSky
33f4f9c160 Merge pull request #409 from toeverything/bot/new-translations
Update i18n (2022-09-12)
2022-09-12 20:39:48 +08:00
github-actions[bot]
925673ec1c feat(i18n): new translations 2022-09-12 12:21:29 +00:00
DarkSky
527c92b975 Merge pull request #408 from toeverything/fix/download-i18n
fix: ci permission
2022-09-12 20:14:02 +08:00
lawvs
142e0c7645 fix: ci permission 2022-09-12 19:55:36 +08:00
Whitewater
f81459d4c0 Feat/left menu i18n (#407)
* feat(i18n): add left menu i18n

* chore(i18n): add missing ComingSoon

* chore(i18n): update docs

* fix: lint
2022-09-12 19:17:59 +08:00
DarkSky
20e0ee50c1 Merge pull request #404 from toeverything/develop
workflow improve
2022-09-11 17:55:45 +08:00
DarkSky
fc1b3f345c Merge branch 'master' into develop 2022-09-11 17:53:31 +08:00
DarkSky
e3d6e59d44 Merge pull request #403 from Zheaoli/manjusaka/optimis-dockerfile
ci: 🚀 Optimize the docker file to use the build cache
2022-09-11 17:51:36 +08:00
Manjusaka
11f1b22d6f ci: 🚀 Optimize the docker file to use the build cache 2022-09-11 17:09:43 +08:00
DarkSky
cfe5dda80b Merge pull request #401 from Zheaoli/manjusaka/optimis-dockerfile
[CI] 🚀 Optimise the docker file to use the build cache
2022-09-11 15:59:59 +08:00
Manjusaka
023c070cfe 🚀 Optimise the docker file to use the build cache 2022-09-11 15:51:44 +08:00
DarkSky
fde0016abc Update README.md 2022-09-10 21:22:58 +08:00
DarkSky
1ec1c01f4c Update README.md 2022-09-10 21:19:07 +08:00
DarkSky
30d975dac0 Merge pull request #400 from toeverything/feat/command-search
Feat/command search
2022-09-10 17:44:56 +08:00
DarkSky
491c0bdf90 Merge pull request #397 from toeverything/feat/i18n-download
Feat/i18n download
2022-09-10 17:44:31 +08:00
tzhangchi
303212fa54 Merge branch 'develop' into feat/command-search 2022-09-10 10:32:01 +08:00
tzhangchi
01e60e478b feat(command): ensure useOnSelectActive run 2022-09-10 09:40:48 +08:00
lawvs
02be488271 feat(i18n): add auto update ci 2022-09-10 02:49:44 +08:00
lawvs
e7ca1a7a25 fix(i18n): base json path 2022-09-10 02:32:28 +08:00
lawvs
b54f2d0451 chore: clean 2022-09-09 19:50:43 +08:00
lawvs
08d331e56e feat(i18n): add codegen 2022-09-09 19:43:11 +08:00
lawvs
8b9c937f30 feat(i18n): add download scripts 2022-09-09 19:42:51 +08:00
DarkSky
7225ed9243 Merge pull request #396 from toeverything/develop
Sync develop to master
2022-09-09 19:01:47 +08:00
DarkSky
bc53d0a6bd Merge pull request #395 from toeverything/fix/landing-page
Add hubspot embed script & fix landing page style
2022-09-09 17:20:41 +08:00
alt0
d77052ee1b feat: add hubspot embed script 2022-09-09 17:06:12 +08:00
DarkSky
326c34717f Merge pull request #393 from toeverything/feat/i18n-sync
Feat/i18n sync
2022-09-09 16:56:55 +08:00
lawvs
d6e408a4be chore(i18n): clean code 2022-09-09 15:54:31 +08:00
lawvs
ff1cb4da84 feat(i18n): storage lng 2022-09-09 15:54:30 +08:00
alt0
a26ff35a7b fix: landing page style & duplicate contact us 2022-09-09 15:00:24 +08:00
lawvs
cbe508664d chore(i18n): sunset lint workflows 2022-09-09 14:34:27 +08:00
lawvs
1018149ca4 chore(i18n): update package 2022-09-09 14:33:58 +08:00
lawvs
54f1db6fdc feat(i18n): add sync workflows 2022-09-09 14:33:35 +08:00
lawvs
2faa87213d feat(i18n): add check mode 2022-09-09 14:32:04 +08:00
lawvs
5985d53625 fix: request url 2022-09-09 14:31:48 +08:00
alt0
c1e1f0b0b9 Merge remote-tracking branch 'origin/master' into fix/landing-page 2022-09-09 14:14:22 +08:00
zuomeng wang
b35c9b2c14 Feat/land page (#391)
* feat: update landing page

* feat: update landing page

* fix: react warning

* feat(route): rename variables

* feat(route): better refresh

* fix: update logo and i18n

* feat(code): remove unused comment

* refactor(workspace): rename workspaceId

* refactor(page): rename pageId

* feat(edit): more robust editing experience

* fix: landing page mobile

* fix: landing page mobile

Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2022-09-09 02:56:10 +00:00
DarkSky
8cc88395d7 Merge pull request #390 from toeverything/feat/route
Feat/route
2022-09-09 02:03:53 +08:00
DarkSky
bd2668335c fix: ci 2022-09-08 20:24:05 +08:00
tzhangchi
fed2c8dd90 feat(edit): more robust editing experience 2022-09-08 20:22:26 +08:00
DarkSky
16ff72d367 Merge pull request #389 from toeverything/develop
user experience improvment
2022-09-08 20:22:08 +08:00
DarkSky
f16698a543 Merge branch 'master' into develop 2022-09-08 20:20:52 +08:00
DarkSky
4c3ef6f5fa Merge pull request #379 from toeverything/feat/i18n
Feat/i18n
2022-09-08 19:51:10 +08:00
tzhangchi
281c3f6c44 refactor(page): rename pageId 2022-09-08 19:20:37 +08:00
tzhangchi
9442c023e5 refactor(workspace): rename workspaceId 2022-09-08 19:13:03 +08:00
tzhangchi
61c266057a feat(code): remove unused comment 2022-09-08 19:09:28 +08:00
lawvs
5551c3c737 chore: update dir 2022-09-08 19:05:54 +08:00
lawvs
e6d05fefaa feat: add translation sync scripts 2022-09-08 18:48:01 +08:00
lawvs
06ca68d4ab fix: dependencies missed 2022-09-08 18:48:01 +08:00
lawvs
9dc1716905 chore: update dependencies 2022-09-08 18:48:01 +08:00
lawvs
373d39c2d0 chore: sunseting legacy i18n 2022-09-08 18:48:01 +08:00
lawvs
7398d318cd refactor: use API from new i18n package 2022-09-08 18:48:01 +08:00
lawvs
3b06d4bff5 feat: add new i18n package 2022-09-08 18:48:01 +08:00
zuomeng wang
715b235fea Update landing page (#387)
* feat: update landing page

* feat(code): improve code editing experience

* feat: update landing page

* fix: react warning

* fix: update logo and i18n

Co-authored-by: tzhangchi <terry.zhangchi@outlook.com>
Co-authored-by: Yifeng Wang <doodlewind@qq.com>
2022-09-08 16:24:49 +08:00
tzhangchi
5b7e1a06ba feat(route): better refresh 2022-09-08 15:51:05 +08:00
tzhangchi
aaca0798e3 feat(route): rename variables 2022-09-08 15:43:55 +08:00
xiaodong zuo
c734480f38 Merge pull request #386 from toeverything/feat/code
feat(code): focus
2022-09-08 14:27:39 +08:00
tzhangchi
917b4b64f4 fix(code):better experience 2022-09-08 14:10:03 +08:00
tzhangchi
dfb7d8571f Merge branch 'feat/edit' into feat/code 2022-09-08 14:00:51 +08:00
tzhangchi
04065bd6bd feat(code): focus 2022-09-08 13:57:53 +08:00
tzhangchi
db77a7f3d3 feat(onBackspace): support remove group when select group 2022-09-08 13:20:45 +08:00
tzhangchi
09bb198db7 Merge branch 'develop' into feat/edit 2022-09-08 13:10:32 +08:00
Yifeng Wang
b90ce50c0f Merge pull request #383 from toeverything/feat/editing-experience
Feat/editing experience
2022-09-07 23:02:18 +08:00
tzhangchi
e9fcbe24b4 feat(code): improve code editing experience 2022-09-07 19:52:10 +08:00
DarkSky
d5878d60c0 Merge pull request #382 from toeverything/develop
chore: build for keck
2022-09-07 16:38:08 +08:00
DarkSky
2a17f9235c chore: build for keck 2022-09-07 16:35:47 +08:00
DarkSky
d966a7d7d7 Merge pull request #381 from toeverything/develop
Fix/group select (#378)
2022-09-07 01:33:42 +08:00
tzhangchi
f9483f7e08 Merge branch 'develop' of github.com:toeverything/AFFiNE into develop 2022-09-06 18:20:37 +08:00
Chi Zhang
4625d8463e Fix/group select (#378)
* fix(select): group selecet

* fix(selection): more robust

* refactor(selection): better group

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
2022-09-06 18:12:27 +08:00
DarkSky
46295a1e83 Merge pull request #376 from toeverything/develop
chore: small adjuest
2022-09-06 17:05:08 +08:00
DarkSky
08408bf51d Merge branch 'master' into develop 2022-09-06 17:04:56 +08:00
DarkSky
d03b4fae25 Merge pull request #375 from toeverything/feature/defaultRoute
feat(routes): clear unused routes
2022-09-06 17:04:05 +08:00
DarkSky
857e2d82d1 feat: fix style for dark mode 2022-09-06 17:00:51 +08:00
tzhangchi
54f3cd0373 feat(routes): clear unused routes 2022-09-06 16:57:04 +08:00
xiaodong zuo
f3f8fd78de Merge pull request #368 from toeverything/feat/doublelink220820
Feat/doublelink220820
2022-09-06 16:25:39 +08:00
Whitewater
b48d2c1393 Fix/issue 271 (#371)
* fix: issue #271

* chore: clean
2022-09-06 16:01:26 +08:00
xiaodong zuo
956727bc3b modify double-link feature 2022-09-06 14:33:32 +08:00
xiaodong zuo
7c28ebe914 feat: disable add-sub-page double-link feature 2022-09-06 14:23:51 +08:00
Chi Zhang
2867973ee6 Merge pull request #373 from CJSS/develop
Added Twitter Icon
2022-09-06 14:20:38 +08:00
xiaodong zuo
08ec766353 feat: disable search feature 2022-09-06 14:20:07 +08:00
CJSS
0989628b0d Add Twitter Icon 2022-09-06 12:26:19 +08:00
CJSS
69cf2a157e Merge branch 'develop' of https://github.com/CJSS/AFFiNE into develop 2022-09-06 11:37:46 +08:00
xiaodong zuo
9a0a2a590a merge branch develop into branch feat/doublelink220820 2022-09-06 10:01:09 +08:00
DarkSky
a79f2e0abe Merge pull request #372 from toeverything/develop
chore: small adjust
2022-09-05 23:45:44 +08:00
DarkSky
9c619ea22f fix: ci 2022-09-05 23:32:24 +08:00
DarkSky
e52ee910c3 fix: ci 2022-09-05 22:27:41 +08:00
DarkSky
bb30bb8ce5 Merge remote-tracking branch 'origin/master' into develop 2022-09-05 22:24:37 +08:00
DarkSky
5e6ed47d6f Merge pull request #370 from toeverything/fix/i18n-select
Fix/i18n default value
2022-09-05 22:21:57 +08:00
DarkSky
8387fa4cf7 chore: trick logic for temp feature 2022-09-05 18:37:10 +08:00
DarkSky
0a79e30c54 Merge pull request #360 from toeverything/feature-livedemo-database-dev
Feature livedemo database dev
2022-09-05 17:51:44 +08:00
DarkSky
a3b52a825f Merge remote-tracking branch 'origin/develop' into feature-livedemo-database-dev 2022-09-05 17:43:09 +08:00
lawvs
c8c87c3c8b fix: side panel transition wrap 2022-09-05 17:22:47 +08:00
lawvs
950e6bce45 fix: i18n default value 2022-09-05 17:22:14 +08:00
Chi Zhang
c5360daa66 Merge pull request #369 from toeverything/docs
Update CONTRIBUTING.md
2022-09-05 16:46:20 +08:00
CJSS
f8b6ece0fe Update CONTRIBUTING.md 2022-09-05 16:33:17 +08:00
CJSS
8c2bb2a5fb Update CONTRIBUTING.md
Spelling mistake
2022-09-05 16:28:55 +08:00
xiaodong zuo
97007f3bb5 unuse code 2022-09-05 15:06:06 +08:00
xiaodong zuo
3a9aa99ee9 merge branch develop into branch feat/doublelink220820 2022-09-05 11:45:19 +08:00
xiaodong zuo
560a5dce42 feat: Link feature add search function 2022-09-05 11:39:31 +08:00
DarkSky
707277744b Merge pull request #364 from toeverything/feat-mention-words
feat(template): update template config when user firstly onboarding
2022-09-03 17:27:46 +08:00
Chi Zhang
1dce377b5d Merge pull request #358 from toeverything/chore/update-contributor
chore: update contributor
2022-09-03 17:23:34 +08:00
tzhangchi
3118ab4326 feat(template): update template config when user firstly onboarding 2022-09-03 16:19:16 +08:00
Chi Zhang
50f404c60f Merge pull request #363 from Pranav4399/master
Fix: Added seperate shortcut keys for Windows and Mac.
2022-09-03 16:14:08 +08:00
Pranav Sriram
4655cd1f17 fix: Added seperate shortcut keys for Windows and Mac and modified the code used for assigning shortcuts based on condition
feat : Split 'inlineMenuShortcuts' to 'WinInlineMenuShortcuts' and 'MacInlineMenuShortcuts' functions
Fix #346
2022-09-03 11:53:10 +05:30
xiaodong zuo
a89d5847df feat: Link feature add search function 2022-09-03 09:24:03 +08:00
mitsuha
ec99dca594 1.adjust code style. 2022-09-02 18:39:26 +08:00
mitsuha
3b1263447f 1.adjust code style. 2022-09-02 18:32:26 +08:00
mitsuha
67698a7e3e 1.hide AddView; 2022-09-02 17:33:00 +08:00
mitsuha
14a3cdff41 1.adjust export/import database; 2022-09-02 15:59:24 +08:00
Whitewater
9b54ffdb64 chore: update contributor 2022-09-02 07:39:23 +00:00
Yifeng Wang
01d4aac968 Merge pull request #354 from MuhammedFaraz/docsFaraz
CONTRIBUTING.md file updated
2022-09-02 15:23:36 +08:00
Whitewater
1e68c9c090 chore: prettier 2022-09-02 14:34:07 +08:00
Whitewater
e186957e55 chore: lint 2022-09-02 14:22:38 +08:00
DarkSky
8adc00a944 Merge pull request #356 from toeverything/develop
fix: json import
2022-09-02 12:03:43 +08:00
DarkSky
e7d11f20bb fix: json import 2022-09-02 11:57:08 +08:00
DarkSky
0c727545db Merge pull request #355 from toeverything/develop
new demo
2022-09-02 11:09:51 +08:00
DarkSky
b7dd879a27 fix: ci 2022-09-02 10:59:33 +08:00
DarkSky
061175c103 Merge pull request #344 from JimmFly/dev
feat:add i18n for layout
2022-09-02 10:16:41 +08:00
DarkSky
83e3583f59 Merge branch 'develop' into dev 2022-09-02 10:16:27 +08:00
Mohammed Faraz
670c5a56d6 CONTRIBUTING.md file updated 2022-09-01 15:52:07 +05:30
JimmFly
e737c86692 update 2022-09-01 17:38:48 +08:00
Whitewater
f9bd53aaca fix(keyboard): hotkey unbind incorrect (#353) 2022-09-01 17:34:19 +08:00
DarkSky
6397c3ef3f Merge pull request #351 from toeverything/feat-homepage
Feat homepage
2022-09-01 16:36:03 +08:00
Chi Zhang
266e139f72 Merge pull request #352 from toeverything/feat-homepage-master
Feat homepage master
2022-09-01 16:15:15 +08:00
tzhangchi
f4e2bead89 feat(venus): add responsive 2022-09-01 16:02:01 +08:00
tzhangchi
a02582cc90 feat(venus): use AFFiNE header stanard header 2022-09-01 16:01:55 +08:00
tzhangchi
93e5eacd56 feat(venus): add responsive 2022-09-01 15:55:15 +08:00
tzhangchi
317fdb35a8 feat(venus): use AFFiNE header stanard header 2022-09-01 15:51:55 +08:00
xiaodong zuo
e18a35989f feat: Link feature add search function 2022-09-01 10:44:21 +08:00
DarkSky
e5d74deb98 Merge pull request #349 from chenmoonmo/feat/add-og-and-twitter-card-for-homepage
feat: add og and twitter card for homepage
2022-09-01 02:54:51 +08:00
Chi Zhang
02c3469ec7 Merge pull request #350 from toeverything/feature/sample-affine
feat(view-list): hide table view
2022-08-31 21:44:00 +08:00
tzhangchi
6e879e8eb3 feat(view-list): hide table view 2022-08-31 21:17:23 +08:00
chenmoonmo
3bc9c595a4 feat: add og and twitter card for homepage 2022-08-31 10:06:45 +08:00
JimmFly
5e767e187f Update libs/components/layout/src/settings-sidebar/Settings/SettingsList.tsx
Co-authored-by: Whitewater <me@waterwater.moe>
2022-08-30 14:58:04 +08:00
JimmFly
e4411f36ac Merge branch 'toeverything:develop' into dev 2022-08-30 12:42:44 +08:00
JimmFly
838113941e update i18n 2022-08-30 12:42:04 +08:00
JimmFly
6b373642e7 update 2022-08-30 11:16:59 +08:00
JimmFly
f475599f2f update 2022-08-30 11:11:38 +08:00
Chi Zhang
6c7a49688b Merge pull request #345 from toeverything/fix/clipboard
fix: can not copy text other than block
2022-08-30 11:07:16 +08:00
JimmFly
e656941084 update i18n 2022-08-30 10:32:52 +08:00
DarkSky
0bda0feb83 Update libs/components/layout/src/i18n/index.ts
Co-authored-by: Whitewater <me@waterwater.moe>
2022-08-30 00:29:28 +08:00
DarkSky
0baf02e80f Update libs/components/layout/src/i18n/resources/en.json
Co-authored-by: Whitewater <me@waterwater.moe>
2022-08-30 00:28:57 +08:00
xiaodong zuo
73d6e34c5d feat: Double-link: In-line cursor handling, e.g., up, down, left,right, backspace keys 2022-08-29 22:28:53 +08:00
JimmFly
d0c55f5081 Merge branch 'toeverything:develop' into dev 2022-08-29 18:42:15 +08:00
JimmFly
db5a72f94f update i18n for layout 2022-08-29 18:41:07 +08:00
Whitewater
3c79d66946 fix: disable ref page selection (#343) 2022-08-29 10:23:33 +00:00
Whitewater
2f11620221 fix: kanban tree view (#342) 2022-08-29 16:25:30 +08:00
JimmFly
bd9796bd25 update i18n for venus 2022-08-29 15:52:07 +08:00
mitsuha(XiWen TU)
7d6b552dbd Merge pull request #334 from toeverything/refactor/render-block
Refactor/render block
2022-08-29 14:57:25 +08:00
Chi Zhang
f0808ff54b Merge pull request #338 from toeverything/feat-toc-scroll-active
Feat toc scroll active
2022-08-29 14:42:45 +08:00
lawvs
fd4f99bd83 refactor: use web animate api 2022-08-29 13:30:56 +08:00
tzhangchi
c0a4107449 feat(toc): add animation to toc item 2022-08-29 12:02:32 +08:00
QiShaoXuan
6b6e70f02c fix: can not copy text other than block 2022-08-29 11:26:01 +08:00
DarkSky
e4bef12718 Merge branch 'master' into develop 2022-08-26 23:14:55 +08:00
Chi Zhang
f44c876915 Merge pull request #335 from toeverything/feat-clear-scss
feat(scss): remove last scss file
2022-08-26 23:08:40 +08:00
tzhangchi
aac9eee6e2 feat(toc): add scroll active item 2022-08-26 21:53:45 +08:00
tzhangchi
8df4ac7f14 feat(scss): remove last scss file 2022-08-26 21:20:55 +08:00
lawvs
374d9d94ef chore: clean styles 2022-08-26 19:51:33 +08:00
lawvs
12afd6be68 refactor: remove useBlockRender 2022-08-26 19:50:17 +08:00
DarkSky
7eff19509f chore: fix deps warn 2022-08-26 18:53:58 +08:00
austaras
3e0d076899 feat(editor): focus block when click on space 2022-08-26 17:26:36 +08:00
Qi
77e3513d6d Merge pull request #261 from caleboleary/bugfix/fix-select-enter-key
fix(component): make Select close when option chosen with Enter key
2022-08-26 13:48:25 +08:00
xiaodong zuo
6d770dbfa6 feat: Double-link: In-line cursor handling, e.g., up, down, left,right, backspace keys 2022-08-26 09:13:19 +08:00
mitsuha(XiWen TU)
306af8b208 Merge pull request #329 from toeverything/feature-toc-optiscroll-mitsuha-dev
feature: 1.add primary ability in scroll scrollIntoViewByBlockId API;
2022-08-25 19:15:35 +08:00
DarkSky
f46c39dd99 Merge pull request #331 from toeverything/refactor/cascade-event
Refactor/cascade event
2022-08-25 18:56:32 +08:00
mitsuha
02f8f8bcec feature: updatescrollIntoViewByBlockId API; 2022-08-25 18:53:15 +08:00
lawvs
2fd6921fe1 chore: support kanban progress update 2022-08-25 18:24:30 +08:00
lawvs
827e7425c5 chore: cancel cascade update temp 2022-08-25 18:23:16 +08:00
lawvs
a713d9d649 feat: async block support deep observe 2022-08-25 18:22:39 +08:00
lawvs
4c2be53a22 refactor: update progress 2022-08-25 17:29:26 +08:00
mitsuha(XiWen TU)
047368130e Merge pull request #325 from toeverything/feat/kanban-editable
Feat/kanban editable
2022-08-25 16:43:25 +08:00
mitsuha
b2d1968492 feature: 1.add primary ability in scroll scrollIntoViewByBlockId API; 2022-08-25 15:58:29 +08:00
lawvs
d6009e5e48 feat: add kanban todo progress 2022-08-25 15:26:21 +08:00
lawvs
d98e44bfc9 chore: clean code 2022-08-25 15:26:20 +08:00
lawvs
797652d66c chore: remove redundant kanban item id 2022-08-25 15:24:00 +08:00
lawvs
876a875576 feat: add kanban card editable border 2022-08-25 15:24:00 +08:00
lawvs
aa62599d13 refactor: kanban block render 2022-08-25 15:24:00 +08:00
mitsuha(XiWen TU)
9633ebd486 Merge pull request #326 from toeverything/feature-toc-mitsuha-dev
Feature toc mitsuha dev
2022-08-25 14:47:29 +08:00
mitsuha
aa5dfaf36f feature: 1. add TOC & adjust get eidtor style; 2022-08-25 14:38:56 +08:00
Qi
55da0596e6 Merge pull request #307 from toeverything/fix/experience
refactor: refactor clipboard
2022-08-25 13:35:28 +08:00
CJSS
84685c1693 Merge pull request #328 from CJSS/develop
Update README.md
2022-08-25 12:56:02 +08:00
mitsuha
637a03ae1d feature: 1. add TOC & adjust get eidtor style; 2022-08-25 11:22:44 +08:00
QiShaoXuan
03c01985c2 fix: lint error 2022-08-25 10:51:27 +08:00
CJSS
308b806173 Update README.md
Updated getting started section
2022-08-25 09:58:08 +08:00
mitsuha
16a99c7507 feature: 1. add TOC; 2022-08-24 19:47:58 +08:00
QiShaoXuan
2e2d0b121b fix: replace activatable to editable 2022-08-24 19:41:06 +08:00
DarkSky
280fb4d8c7 Merge remote-tracking branch 'origin/develop' into fix/experience 2022-08-24 19:17:53 +08:00
mitsuha
13fe35ad61 feature: 1. add toc; 2022-08-24 19:05:06 +08:00
xiaodong zuo
9169421460 feat: Double-link: Search interaction 2022-08-24 18:32:25 +08:00
DarkSky
ae19fd9b00 feat: services 2022-08-24 18:13:58 +08:00
DarkSky
e19470397e feat: filter 2022-08-24 18:07:00 +08:00
DarkSky
6ac1f618f0 feat: cascading events 2022-08-24 17:37:16 +08:00
DiamondThree
712566ca84 Bugfix/board style (#321)
* fix style

* fix drag bounds

* fix drag bounds

* delete log

* delete log

* fix:lint

* fix:lint

* fix:lint

* fix:bounds show
2022-08-24 16:51:19 +08:00
QiShaoXuan
c20288ce76 feat: add clipboardEvent2Blocks for white board to paste 2022-08-24 16:39:29 +08:00
zuomeng wang
dad12b2a79 fix: update sidebar shadow (#323) 2022-08-24 15:38:58 +08:00
QiShaoXuan
ce0c021c5e fix: copy in white board will thorw error 2022-08-24 15:22:41 +08:00
QiShaoXuan
012c0441d0 refactor: recode html2block 2022-08-24 14:41:21 +08:00
DiamondThree
617e9a0612 Bugfix/delete log (#315)
* fix delete log

* fix delete log
2022-08-24 13:47:47 +08:00
mitsuha
f2a21e6c3b opti: 1.adjust eventlistener; 2022-08-24 10:40:14 +08:00
Whitewater
15055bc7c6 Merge pull request #318 from toeverything/feat/block-render
Feat/block render
2022-08-24 10:32:06 +08:00
mitsuha
c4de1a6061 opti: 1.adjust eventlistener; 2022-08-24 09:09:47 +08:00
DarkSky
86d4449db4 chore: ci fix & module split 2022-08-24 04:14:14 +08:00
lawvs
123091c1aa chore: add warn comment 2022-08-24 02:08:00 +08:00
lawvs
a4dc7bf127 refactor: update block 2022-08-24 02:08:00 +08:00
lawvs
dd24711f21 refactor: update editor 2022-08-24 02:08:00 +08:00
lawvs
eb02e62a0e feat: new useBlockRender API 2022-08-24 02:08:00 +08:00
Felix Yan
a6848dda51 Correct a typo in README (#317) 2022-08-23 18:05:20 +00:00
mitsuha(XiWen TU)
a07c865161 Merge branch 'develop' into opti-toc-dev 2022-08-24 01:55:20 +08:00
mitsuha
ab1fe668b4 opti: 1.adjust eventlistener; 2022-08-24 01:54:10 +08:00
mitsuha
85838c77a1 opti: 1.adjust eventlistener; 2022-08-23 21:25:38 +08:00
DarkSky
a81456450f feat: about us 2022-08-23 21:04:14 +08:00
CJSS
595a29db74 Update CONTRIBUTING.md (#316)
Fixed types of contributions link
2022-08-23 20:30:47 +08:00
CJSS
e13f52ad7c Update CONTRIBUTING.md
Fixed types of contributions link
2022-08-23 20:23:41 +08:00
mitsuha
b96d6c37f7 opti: 1.adjust eventlistener; 2022-08-23 20:07:35 +08:00
CJSS
8a95f6e05b Update README and documentation (#314)
* Update README.md

Introduction update

* Update README.md

Sections updated:
Stars
Getting Started

* Update README.md

License section updated

* Rename CONTRIBUTING.md to docs/CONTRIBUTING.md

Move CONTRIBUTING to docs folder.

* Rename CODE_OF_CONDUCT.md to docs/CODE_OF_CONDUCT.md

Move CODE_OF_CONDUCT to docs folder.

* Update CONTRIBUTING.md

Title error

* Update README.md

Table of contents removed
Useful links added

* Update README.md

Create your story moved and updated

* Update README.md

Useful links - added communities (removed FAQ)

* Update README.md

Fixed contribution and code of conduct links

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

Labels link update

* Create types-of-contributions.md

* Update types-of-contributions.md

README link fixed

* Update types-of-contributions.md

Punctuation

* Update README.md

Update useful links - added descriptions

* chore: format

* chore: format

Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: Whitewater <me@waterwater.moe>
2022-08-23 17:38:19 +08:00
Chi Zhang
a706c073a8 Merge pull request #313 from toeverything/fix/readme-doc
docs(readme): update readme.md
2022-08-23 17:12:52 +08:00
DarkSky
6df2676c88 refactor: jwt internal version migration 2022-08-23 17:07:16 +08:00
austaras
eedb4864df mod(whiteboard): close tool panel when select tool 2022-08-23 17:04:20 +08:00
tzhangchi
a13e2a59d3 docs(readme): update readme.md 2022-08-23 16:51:41 +08:00
mitsuha
ab070daa7e feat: 1. add toc; 2022-08-23 15:37:44 +08:00
xiaodong zuo
7d35303395 feat: Inlinemenu double link interaction 2022-08-23 10:37:14 +08:00
HeJiachen-PM
7b4999225a hided my personal email 2022-08-22 22:58:16 +08:00
Qi
6f1833ded3 Merge pull request #302 from toeverything/refactor/variable
refactor: change activatable to editable in BaseVeiw
2022-08-22 22:26:03 +08:00
QiShaoXuan
4b904ef762 refactor: refactor block2html in clipboard 2022-08-22 22:03:11 +08:00
zuomeng wang
e61b3ce4e4 feat: add get-started template (#309) 2022-08-22 07:02:33 +00:00
QiShaoXuan
065f833564 refactor: remove clipboard utils to ClipboardUtils 2022-08-22 10:29:42 +08:00
QiShaoXuan
17e454b1e6 refactor: refactor clipboard 2022-08-21 22:58:41 +08:00
Chi Zhang
e7420f921a Merge pull request #306 from toeverything/Yipei-Operation-patch-2
Update README.md
2022-08-21 21:55:05 +08:00
Chi Zhang
96b3a2c0d5 Update README.md 2022-08-21 21:53:00 +08:00
Chi Zhang
aae030671b Merge branch 'develop' into Yipei-Operation-patch-2 2022-08-21 21:42:39 +08:00
Yipei Wei
7822c4a0fd Update README.md
add contact info of founder
2022-08-21 21:40:06 +08:00
Chi Zhang
5fb79f4a34 Merge pull request #305 from toeverything/Yipei-Operation-patch-1 2022-08-21 21:39:42 +08:00
Yipei Wei
7c117e5f8f Update README.md
add contact email
2022-08-21 21:33:26 +08:00
DarkSky
f7b8f74fea Merge pull request #303 from toeverything/develop
chore: v0.0.1-alpha.0.4.2
2022-08-21 15:14:22 +08:00
HeJiachen-PM
945b5ff5ad Uploaded roadmap 2022-08-21 01:41:39 +08:00
DarkSky
78184741a2 Merge pull request #297 from toeverything/feat/shapes-bindings
Feat/shapes bindings
2022-08-19 23:42:15 +08:00
DarkSky
3d961fd951 Merge pull request #301 from JimmFly/feat/Multi-language-support-for-venus
Feat/multi language support for venus
2022-08-19 23:41:58 +08:00
JimmFly
6846f23e7d update i18n 2022-08-19 22:08:23 +08:00
JimmFly
4eb1c51be5 feat: add i18n 2022-08-19 21:50:24 +08:00
JimmFly
8de387295a chore: update dependencies 2022-08-19 21:49:54 +08:00
QiShaoXuan
e1dece0595 refactor: change activatable to editable in BaseVeiw 2022-08-19 20:41:09 +08:00
DiamondThree
27a35ea6a2 feat add jump shapes 2022-08-19 20:06:44 +08:00
Whitewater
01339fc77d docs: update contributors (#300) 2022-08-19 18:44:26 +08:00
DarkSky
396e47abfb Merge pull request #294 from toeverything/feat/doublelink
Feat/doublelink
2022-08-19 18:43:56 +08:00
xiaodong zuo
b53581aae5 feat: Intra-line double link interaction 2022-08-19 18:42:46 +08:00
xiaodong zuo
6bc78b35ec feat: Intra-line double link interaction 2022-08-19 18:30:52 +08:00
xiaodong zuo
63634e2057 Merge branch 'develop' into feat/doublelink 2022-08-19 18:26:47 +08:00
xiaodong zuo
3570aab4e8 feat: Intra-line double link interaction 2022-08-19 18:22:57 +08:00
DiamondThree
f29ad0f840 fix: lint 2022-08-19 16:46:04 +08:00
DiamondThree
581d01feab fix: lint 2022-08-19 16:44:54 +08:00
DiamondThree
2eaf26c40f fix:shapaes 2022-08-19 16:37:04 +08:00
Wang Yu
60059ea00a fix: remove unused executor svgOptimize (#296)
Co-authored-by: 王昱 <wangyu22@xiaomi.com>
2022-08-19 14:17:46 +08:00
xiaodong zuo
33d8b551d4 feat: Intra-line double link interaction 2022-08-19 12:06:50 +08:00
xiaodong zuo
c67d961d66 feat: Intra-line double link interaction 2022-08-19 11:56:57 +08:00
xiaodong zuo
9411422faf feat: Intra-line double link interaction 2022-08-19 11:41:53 +08:00
xiaodong zuo
2406f9556f feat: Intra-line double link interaction 2022-08-19 11:13:15 +08:00
Whitewater
ad0738083a Merge pull request #106 from toeverything/feat/editable-kanban-card
Feat/editable kanban card
2022-08-19 11:02:42 +08:00
DiamondThree
22883de54e fix:shapaes bidings error 2022-08-19 10:49:30 +08:00
xiaodong zuo
dd1b160ef4 Merge branch 'develop' into feat/doublelink 2022-08-19 10:37:46 +08:00
xiaodong zuo
1820135f3a feat: Intra-line double link interaction 2022-08-19 10:27:26 +08:00
xiaodong zuo
f0f60654e8 feat: Intra-line double link interaction 2022-08-19 09:57:04 +08:00
xiaodong zuo
438d814d49 feat: Intra-line double link interaction 2022-08-19 06:17:30 +08:00
xiaodong zuo
a58825dd2f feat: Intra-line double link interaction 2022-08-19 05:23:25 +08:00
Qi
fdafde8ad1 Merge pull request #283 from toeverything/fix/experience
Fix/experience
2022-08-18 20:16:46 +08:00
QiShaoXuan
66a36481e1 fix: prettier code style 2022-08-18 20:09:35 +08:00
QiShaoXuan
59cd2af918 Merge branch 'fix/experience' of github.com:toeverything/AFFiNE into fix/experience 2022-08-18 20:08:11 +08:00
Qi
61f15ba843 Update libs/components/editor-core/src/editor/clipboard/utils.ts
Co-authored-by: Whitewater <me@waterwater.moe>
2022-08-18 20:04:03 +08:00
DiamondThree
4724aee96e fix:shapaes bidings error 2022-08-18 18:22:52 +08:00
austaras
6915c9c2a5 fix(whiteboard): only allow pan when middle button is pressed 2022-08-18 18:22:26 +08:00
QiShaoXuan
d1835e8cad feat: update logic of copy group block 2022-08-18 18:20:07 +08:00
lawvs
42cc6e9042 chore: clean card item 2022-08-18 17:59:21 +08:00
lawvs
0d89fa1026 fix: workaround circular dependency editor element 2022-08-18 17:41:43 +08:00
lawvs
06d442a8c1 refactor: clean anti pattern editor element 2022-08-18 17:41:43 +08:00
lawvs
05361e75a4 fix: add pen background 2022-08-18 17:41:42 +08:00
lawvs
d300b039ad fix: renaming to edgeless 2022-08-18 17:41:42 +08:00
lawvs
4a99080860 chore: set kanban RefPageProvider 2022-08-18 17:41:42 +08:00
lawvs
dcdc7f8862 refactor: ref page use AffineEditor 2022-08-18 17:41:42 +08:00
lawvs
407ee4d8f0 feat: add kanban card mask 2022-08-18 17:41:42 +08:00
lawvs
6bdb7b4876 chore: disable selection group plugin 2022-08-18 17:41:42 +08:00
QiShaoXuan
fa1d011135 fix: wrong block order when pasting multiple blocks 2022-08-18 17:30:09 +08:00
zuomeng wang
d9c123a9b9 Merge pull request #289 from toeverything/fix/autofocus-board-editor
fix: autofocus when create group in board
2022-08-18 16:57:33 +08:00
alt0
faf654fbc5 Merge remote-tracking branch 'origin/develop' into fix/autofocus-board-editor 2022-08-18 16:49:34 +08:00
QiShaoXuan
b25016b893 Merge branch 'develop' into fix/experience 2022-08-18 16:47:28 +08:00
austaras
a528984479 feat(whiteboard): activate text on dblclick 2022-08-18 16:23:43 +08:00
xiaodong zuo
919e0d08d5 feat: Intra-line double link interaction 2022-08-18 16:22:45 +08:00
alt0
41bb7368ff fix: autofocus when create group in board 2022-08-18 15:45:58 +08:00
zuomeng wang
879a208034 Merge pull request #286 from toeverything/fix/remove-async-block-cache
fix: remove asyncBlock cache
2022-08-18 14:37:55 +08:00
alt0
68cadca5ca fix: if delete block, clear cache 2022-08-18 14:29:44 +08:00
QiShaoXuan
16a6cca015 refactor: code of copy 2022-08-18 13:57:58 +08:00
alt0
5959c08873 fix: remove asyncBlock cache 2022-08-18 12:16:12 +08:00
DiamondThree
5d32d656d5 feat remove stretch add add distribute (#284)
* feat remove stretch add add distribute

* fix rename icon

* fix:lint
2022-08-18 12:06:11 +08:00
zuomeng wang
990a59b444 Merge pull request #285 from toeverything/fix/lock-shape-in-frame
fix: filter lock shape in frame
2022-08-18 11:39:42 +08:00
alt0
41e7ff0ba2 fix: filter lock shape in frame 2022-08-18 11:31:36 +08:00
MingLIang Wang
c7cd558c3b Merge pull request #233 from LuciNyan/fix-drop-line
fix(libs): remove line after drop
2022-08-18 10:03:59 +08:00
QiShaoXuan
3c8b04d91a fix: can not copy from white board and paste in editor 2022-08-17 23:28:18 +08:00
DarkSky
bcf3a04500 Merge pull request #281 from toeverything/bugfix/command-menu-create-block-after
fix command-menu create block after can remove block
2022-08-17 22:26:39 +08:00
DarkSky
8801c30bb7 Merge pull request #280 from toeverything/feat/while-bord-order
Feat/white board order
2022-08-17 22:25:45 +08:00
DiamondThree
64d5f781b6 fix command-menu create block after can remove block 2022-08-17 22:04:17 +08:00
LuciNyan
3a4bc73d38 fix: convert sleep to raf 2022-08-17 21:53:04 +08:00
DiamondThree
a7213d1a4d delete token 2022-08-17 21:33:38 +08:00
DiamondThree
e8f82ddc55 feat layers and align 2022-08-17 21:28:17 +08:00
LuciNyan
67f0a2516b fix(libs): remove line after drop 2022-08-17 21:18:07 +08:00
mitsuha(XiWen TU)
91fa616942 Merge pull request #279 from toeverything/refactor/clean
Refactor/clean
2022-08-17 21:01:36 +08:00
DiamondThree
46727d367c fix add align icon 2022-08-17 20:59:20 +08:00
Whitewater
59d4cda1cc fix: workaround weird type error 2022-08-17 04:30:04 -08:00
QiShaoXuan
8ccc997062 refactor: refactor clip board 2022-08-17 19:47:54 +08:00
lawvs
1d3a285681 refactor: clean text enter 2022-08-17 19:13:36 +08:00
lawvs
f269990f9b chore: add empty text assert 2022-08-17 19:13:36 +08:00
lawvs
aace2cb788 refactor: clean icon button 2022-08-17 19:13:36 +08:00
lawvs
52819e2f81 fix: workaround dom not found 2022-08-17 19:13:36 +08:00
DiamondThree
251ea4f84e Merge branch 'develop' into feat/while-bord-order 2022-08-17 18:03:10 +08:00
austaras
1b3ef42ef6 chore: one less div 2022-08-17 17:56:59 +08:00
DarkSky
405e65e4aa chore: cleanup deps 2022-08-17 17:35:56 +08:00
DarkSky
d432b836a9 chore: improve deps install 2022-08-17 17:30:48 +08:00
Yifeng Wang
7d459631e6 Merge pull request #276 from toeverything/bugfix/security-code-scanning
fix delete Regex
2022-08-17 17:13:26 +08:00
DiamondThree
eb20ce01b9 fix delete Regex 2022-08-17 17:06:32 +08:00
DiamondThree
bb9495e69c fix delete Regex 2022-08-17 17:01:59 +08:00
DarkSky
7ef92ffa78 chore: cleanup deps 2022-08-17 17:01:16 +08:00
DiamondThree
42f3dcaa8c feat: add align center 2022-08-17 15:58:35 +08:00
QiShaoXuan
fcabeb919e fix: fix not being able to paste a block with children in it 2022-08-17 11:51:03 +08:00
Chi Zhang
1deae12641 Merge pull request #273 from toeverything/feat/security-scan
Feat/security scan
2022-08-17 11:05:22 +08:00
Whitewater
137f48c338 chore: remove unused file 2022-08-17 11:01:41 +08:00
tzhangchi
2f17534394 fix(figma): Incomplete URL substring sanitization 2022-08-17 10:37:04 +08:00
tzhangchi
fd9ed2862f fix(youtube): Incomplete URL substring sanitization 2022-08-17 10:35:12 +08:00
tzhangchi
a17ec1c5f9 fix(youtube): Incomplete URL substring sanitization 2022-08-17 10:18:02 +08:00
tzhangchi
8864593882 fix(youtube): Incomplete URL substring sanitization 2022-08-17 10:14:34 +08:00
tzhangchi
f54274442c feat(weakSql): deal with Incomplete string escaping or encoding 2022-08-17 10:03:00 +08:00
DarkSky
3964ac7a38 chore: cleanup deps 2022-08-17 02:26:00 +08:00
DiamondThree
b6c895e90f add move coverage 2022-08-16 21:12:38 +08:00
zuomeng wang
62d23ce1dd Merge pull request #270 from toeverything/fix/whiteboard-edgeless
fix: whiteboard -> edgeless
2022-08-16 21:02:28 +08:00
DarkSky
dfa0fdfa3d Merge pull request #266 from toeverything/fix/indent-with-root-id
fix: handle root block when indent
2022-08-16 19:10:56 +08:00
DarkSky
9da25b801e Merge pull request #264 from toeverything/fix/filter-empty-from-selection
fix: filter empty string when getContentBetween
2022-08-16 19:06:07 +08:00
DarkSky
643cc6d84a Merge pull request #265 from toeverything/fix/text-with-root-id
Fix/text with root id
2022-08-16 18:55:19 +08:00
DarkSky
c697f06b9b Merge pull request #259 from toeverything/bugfex/undo-error
fix undo redo point err
2022-08-16 18:55:04 +08:00
DarkSky
ecbd7f37c0 chore: cleanup e2e useless code 2022-08-16 18:53:48 +08:00
alt0
84cf334c54 fix: whiteboard -> edgeless e2e 2022-08-16 18:46:13 +08:00
alt0
02613e08b8 fix: whiteboard -> edgeless 2022-08-16 18:41:04 +08:00
Qi
b682e55596 fix: the pendant popover is blocked by the container in kanban mode (#268) 2022-08-16 17:46:53 +08:00
QiShaoXuan
aa877b6491 fix: the pendant popover is blocked by the container in kanban mode 2022-08-16 17:28:40 +08:00
Horus
bd59871c22 fix edgeless edit bar tooltip (#243)
* fix edgeless edit bar tooltip

* fix tooltip
2022-08-16 14:31:50 +08:00
lawvs
64952806b9 fix: slate cannot get the start point in the node at path [0] 2022-08-16 13:23:46 +08:00
lawvs
42f02aed5c fix: handle root block when indent 2022-08-16 13:06:14 +08:00
lawvs
cc3dc1716d fix: text enter with root id 2022-08-16 13:02:51 +08:00
lawvs
6e58dff088 refactor: batch api 2022-08-16 13:02:51 +08:00
lawvs
6884451324 fix: backspace with root id 2022-08-16 13:02:51 +08:00
lawvs
de0c53b1b2 fix: filter empty string when getContentBetween 2022-08-16 12:52:55 +08:00
Super.x
bdc61ed02e fix: eslint error - filename *.tsx match PascalCase (#262)
Co-authored-by: caopengxiang <caopengxiang@jwzg.com>
2022-08-16 12:38:44 +08:00
DiamondThree
81345ffcba fix lint 2022-08-16 10:59:13 +08:00
Caleb OLeary
82c34618c9 fix(component): make Select close when option chosen with Enter key 2022-08-15 18:32:06 -05:00
Whitewater
94e8903d16 Docs/update-contributors (#260)
* refactor: update badge template

* docs: update contributors
2022-08-16 01:07:49 +08:00
DiamondThree
2fdfdedd7b fix:while bord group error (#258)
* fix:while bord group error

* fix:while bord group error

* fix lint
2022-08-15 23:11:58 +08:00
DiamondThree
16072240e0 fix undo redo point err 2022-08-15 23:07:35 +08:00
DarkSky
5e97efab3a fix: async provider 2022-08-15 18:24:47 +08:00
DarkSky
9276e5eeba chore: docs now moved to docs.affine.pro 2022-08-15 18:03:20 +08:00
DarkSky
2ff02426c0 chore: make linter happy 2022-08-15 17:41:16 +08:00
DarkSky
7fcdbaf924 Merge pull request #250 from lucky-chap/develop
Update grammar in index.tsx
2022-08-15 17:39:47 +08:00
zuomeng wang
8e413c96c7 Merge pull request #256 from toeverything/fix/update-get-started-template
fix: update get-started template
2022-08-15 17:35:26 +08:00
alt0
95424fa114 fix: update get-started template(automatically) 2022-08-15 17:27:53 +08:00
alt0
011a969a53 fix: update get-started template 2022-08-15 17:17:49 +08:00
DarkSky
13deca1ef6 feat: local mode for develop 2022-08-15 17:12:55 +08:00
DarkSky
8c1be1f001 chore: commit time 2022-08-15 16:51:49 +08:00
DarkSky
4add6d9732 Merge branch 'master' into develop 2022-08-15 16:41:20 +08:00
Chi Zhang
1ce12aabfe Merge pull request #253 from toeverything/fix/console-error
Fix/console error
2022-08-15 14:04:20 +08:00
lawvs
0c09bd2b8c chore: clean code 2022-08-15 11:52:40 +08:00
lawvs
4c4e98d885 fix: incorrect key prop 2022-08-15 11:52:26 +08:00
Chi Zhang
8875919986 Merge pull request #252 from CJSS/develop
New custom social icon badges
2022-08-15 11:48:09 +08:00
lawvs
72868bec31 fix: no forward zIndex 2022-08-15 11:36:55 +08:00
CJSS
4c3e54cd30 Added spacing between social icons 2022-08-15 11:26:35 +08:00
CJSS
4fdc8796f8 Removed old social links 2022-08-15 11:20:47 +08:00
CJSS
8f2706d3e2 Beautify Social Links with Custom Badges 2022-08-15 11:16:45 +08:00
Quavo
520467b3d6 Update grammar in index.tsx 2022-08-14 21:56:08 +00:00
DarkSky
6514efb430 Update LayoutHeader.tsx 2022-08-13 17:59:46 +08:00
DarkSky
d60e58245e Merge pull request #238 from toeverything/bugfix/image-click-select
fix:image click select
2022-08-13 17:16:28 +08:00
DiamondThree
eadf98ed88 fix:image click select 2022-08-13 09:19:15 +08:00
Simon Li
2560c7b074 feature: add a left menu option to add a below block (#232)
* feature: add a left menu to add a below block

* fix: 1.remove extra spaces
2.update hard code to predefined types
2022-08-13 03:18:26 +08:00
DarkSky
754b2581cd chore: sort imports 2022-08-13 03:16:26 +08:00
DarkSky
5462b1707f chore: sort imports 2022-08-13 02:45:04 +08:00
DarkSky
617f9b9bfc chore: organizeImports 2022-08-13 02:08:21 +08:00
DarkSky
7a43efa9da Update LayoutHeader.tsx 2022-08-13 00:13:23 +08:00
DarkSky
4178005ebc Update LayoutHeader.tsx 2022-08-13 00:02:59 +08:00
DarkSky
09dcca1b8d Merge branch 'develop' 2022-08-12 20:28:13 +08:00
zuomeng wang
5cec5a363d fix: update default status color (#227) 2022-08-12 12:25:43 +00:00
DarkSky
ee797c929e fix: styles 2022-08-12 20:05:27 +08:00
DarkSky
a72ce30654 chore: sync master (#226) 2022-08-12 20:01:51 +08:00
DarkSky
b61a34e48c Merge pull request #204 from liby/feature/remove-react-fc
chore: remove residual `FC` and `FunctionComponent` from components
2022-08-12 19:52:35 +08:00
zuomeng wang
40d77568af docs: update readme badge (#224) 2022-08-12 11:48:19 +00:00
DarkSky
012fa82684 Merge pull request #225 from toeverything/develop
release: v0.0.1-alpha.0.4.1
2022-08-12 19:47:08 +08:00
Qi
2c865132d9 Merge pull request #223 from toeverything/fix/clipboard
feat: update paste behavior
2022-08-12 19:44:35 +08:00
DarkSky
8b239cd292 chore: workspace name 2022-08-12 19:30:22 +08:00
zuomeng wang
8358c66702 feat: add website badge & update star badge & update contributors badge (#222) 2022-08-12 11:28:48 +00:00
QiShaoXuan
3f49c7e509 feat: update paste behavior 2022-08-12 19:25:29 +08:00
DarkSky
8b7d8dc348 Merge branch 'develop' into feature/remove-react-fc 2022-08-12 19:18:57 +08:00
HeJiachen-PM
ebed12dbec fix:typo 2022-08-12 19:16:17 +08:00
HeJiachen-PM
043389524a REALEASE: WEB LIVE DEMO 2022-08-12 19:12:36 +08:00
Qi
451e490dfd Merge pull request #220 from toeverything/feat/block-pendant
Feat/block pendant
2022-08-12 19:12:08 +08:00
DarkSky
d32b380fc3 Merge pull request #221 from toeverything/chore/todo-tree-line
chore: tweak styles
2022-08-12 19:10:31 +08:00
QiShaoXuan
c9a5fe3d25 fix: Property zIndex does not exist on type CSSProperties 2022-08-12 19:01:40 +08:00
lawvs
6368485cf3 chore: tweak styles 2022-08-12 19:01:20 +08:00
DarkSky
ea865eb0aa chore: adjust styles 2022-08-12 18:53:46 +08:00
QiShaoXuan
4944887d4a fix: fix pendant popover obscured by screen 2022-08-12 18:51:56 +08:00
QiShaoXuan
f16bfecab8 refactor: refactor popper 2022-08-12 18:49:47 +08:00
zuomeng wang
b2b111f65e Merge pull request #219 from toeverything/feat/update-get-started-template
feat: update Get Started template
2022-08-12 18:48:31 +08:00
alt0
3461b19c70 fix: update e2e 2022-08-12 18:40:52 +08:00
austaras
308d2c4445 fix(whiteboard): error when drag away last element in Chrome 2022-08-12 18:37:58 +08:00
DarkSky
c67a033f8a chore: adjust content 2022-08-12 18:33:25 +08:00
alt0
feda6d390e fix: update e2e 2022-08-12 18:24:32 +08:00
alt0
2cc091c708 Merge remote-tracking branch 'origin/develop' into feat/update-get-started-template 2022-08-12 18:10:07 +08:00
DarkSky
dc98d4042b fix: types 2022-08-12 17:58:08 +08:00
DarkSky
c0c042dac0 feat: warning tips 2022-08-12 17:58:08 +08:00
alt0
a8e1de079c feat: update Get Started template 2022-08-12 17:41:14 +08:00
xiaodong zuo
21986b331c Merge pull request #217 from toeverything/fix/linkstyle
Fix/linkstyle
2022-08-12 17:32:01 +08:00
xiaodong zuo
06d4dbc99b fix: link style issues 2022-08-12 17:06:21 +08:00
DiamondThree
ce0590449a fix:setTimeout error (#215) 2022-08-12 17:04:12 +08:00
DarkSky
edfa95057b feat: optional provider 2022-08-12 16:57:14 +08:00
Whitewater
57b8263acd Merge pull request #207 from toeverything/chore/page-tree-styles
Chore/page tree styles
2022-08-12 16:51:54 +08:00
xiaodong zuo
174779bb28 fix: link style issues 2022-08-12 16:49:17 +08:00
xiaodong zuo
e47268bb8b fix: link style issues 2022-08-12 16:41:37 +08:00
zuomeng wang
29c2d8b1a2 fix: add star badge & add link to contributor badge (#214) 2022-08-12 08:38:15 +00:00
QiShaoXuan
82c3d773d6 fix: move the pendant popover to the body layer 2022-08-12 16:24:51 +08:00
QiShaoXuan
7e3df042ec feat: update pendant add button 2022-08-12 16:10:05 +08:00
MingLIang Wang
dd0e69d6ec Merge pull request #210 from toeverything/feature/fix-selection-on-scroll
feat: fix selection on scroll
2022-08-12 15:54:57 +08:00
DiamondThree
551ddf5f94 fix: code style (#208)
* fix: code style

* fix: add copy icon
2022-08-12 15:24:16 +08:00
QiShaoXuan
ac84c16a4a fix: fix color and text of status pendant 2022-08-12 15:23:11 +08:00
Whitewater
9be0735207 chore: align tree line (#211) 2022-08-12 07:17:51 +00:00
MingLIang Wang
7177e62517 feat: fix selection on scroll 2022-08-12 14:58:11 +08:00
Qi
7dd66e6737 Merge pull request #198 from toeverything/feature/fix-backspace
Feature/fix backspace
2022-08-12 14:43:49 +08:00
Qi
41352107f9 Merge pull request #200 from toeverything/fix/clipboard
Fix/clipboard
2022-08-12 14:43:26 +08:00
lawvs
7024b7f11a chore: clean page tree styles 2022-08-12 13:56:27 +08:00
lawvs
41980188cf chore: update warn message 2022-08-12 13:56:27 +08:00
MingLIang Wang
dbd16f33a9 feat: repair grid border in selection (#206) 2022-08-12 13:29:52 +08:00
zuomeng wang
ccf59da754 Merge pull request #205 from toeverything/fix/left-menu-color
fix: left menu color
2022-08-12 12:02:21 +08:00
alt0
b9e69ec833 fix: left menu color 2022-08-12 11:44:04 +08:00
Bryan Lee
495d9ccc0c chore: remove residual FC and FunctionComponent from components 2022-08-12 10:56:22 +08:00
QiShaoXuan
6d3c08f3eb Merge branch 'develop' into fix/clipboard 2022-08-12 10:27:30 +08:00
DarkSky
d3b4906da9 chore: reduce code for icons 2022-08-12 01:42:17 +08:00
DarkSky
40b617c429 chore: reduce code by gndelia/codemod-replace-react-fc-typescript 2022-08-12 01:26:27 +08:00
DarkSky
b4f56cda59 Merge pull request #202 from liby/bugfix/fix-type-error
fix: type error
2022-08-12 01:10:48 +08:00
Bryan Lee
f81c600aaf fix: type error 2022-08-12 00:55:52 +08:00
DarkSky
09b8c9c8bc Merge pull request #197 from toeverything/fix/experience
feat: update help info of pendant field title
2022-08-11 23:58:40 +08:00
DarkSky
66fbdf7e74 chore: ci 2022-08-11 23:38:45 +08:00
DarkSky
e4533e6601 chore: ci 2022-08-11 23:25:09 +08:00
DarkSky
8d6ded2fcc chore: ci 2022-08-11 23:09:35 +08:00
DarkSky
d8b176a329 chore: login condition 2022-08-11 23:02:36 +08:00
QiShaoXuan
7d101edf71 Merge branch 'develop' into fix/clipboard 2022-08-11 22:59:57 +08:00
QiShaoXuan
0674a48854 refactor: remove useless file 2022-08-11 22:49:42 +08:00
DarkSky
0682bc1b06 Update affine.yml 2022-08-11 22:39:17 +08:00
QiShaoXuan
6ad94242c4 fix: insert correct selection after paste 2022-08-11 22:33:51 +08:00
DarkSky
f57aaf7e80 feat: header switcher 2022-08-11 22:31:38 +08:00
SaikaSakura
322fb098a4 feat: repair paste cursor 2022-08-11 22:06:50 +08:00
DarkSky
b3f1ba6ca0 feat: login reduce 2022-08-11 22:04:47 +08:00
Qi
a527e745d1 Merge branch 'develop' into feature/fix-backspace 2022-08-11 21:49:45 +08:00
QiShaoXuan
bb0219c5ed feat: support keep block in view 2022-08-11 21:43:51 +08:00
QiShaoXuan
76fa003189 feat: update help info of pendant field title 2022-08-11 21:27:57 +08:00
DarkSky
b2bac25a92 Merge pull request #195 from toeverything/fix-gap
fix(editor): gap between block
2022-08-11 21:13:37 +08:00
DarkSky
4a75946baf fix: ci 2022-08-11 20:47:25 +08:00
DarkSky
f7925fca5a fix: ci 2022-08-11 20:38:03 +08:00
DarkSky
7211dd026f chore: arm64 images 2022-08-11 20:17:52 +08:00
DarkSky
f20b795322 chore: arm64 images 2022-08-11 19:55:45 +08:00
DarkSky
b53204a765 Merge pull request #189 from toeverything/feature/fix-track-pad-scroll
feat: fix-track-pad-scroll
2022-08-11 19:37:47 +08:00
DarkSky
eb929eb99e Merge pull request #194 from toeverything/fix/experience
Fix/experience
2022-08-11 19:37:31 +08:00
DarkSky
42c4f10000 Merge pull request #196 from toeverything/chore/update-contributors
chroe: update contributors
2022-08-11 19:23:24 +08:00
lawvs
d7a41cd68d chroe: update contributors 2022-08-11 19:01:13 +08:00
austaras
5a23f67d31 feat(whiteboard): cursor style when dragging 2022-08-11 19:01:09 +08:00
austaras
11c7e3ad83 fix(editor): gap between block 2022-08-11 19:00:52 +08:00
QiShaoXuan
5e3f914182 fix: fix ui problems 2022-08-11 18:52:31 +08:00
zuomeng wang
6060a81cc3 Merge pull request #193 from toeverything/fix/board-selected-color
fix: change edgeless tool selected color
2022-08-11 17:53:38 +08:00
alt0
9935556947 fix: change edgeless tool selected color 2022-08-11 17:40:50 +08:00
QiShaoXuan
0a265f9981 refactor: refactor paste behavior (not support selection) 2022-08-11 17:06:16 +08:00
mitsuha(XiWen TU)
7c96f46e0e Merge pull request #191 from toeverything/opti-issue148-mitsuha-dev
improvement: 1.left toolbar hover style#148;
2022-08-11 17:01:42 +08:00
mitsuha
2d18e8f558 improvement: 1.left toolbar hover style#148; 2022-08-11 16:17:02 +08:00
QiShaoXuan
de4b40605a Merge branch 'fix/clipboard' of github.com:toeverything/AFFiNE into fix/clipboard 2022-08-11 16:03:19 +08:00
QiShaoXuan
716c9ea34c feat: update animate of pandent trigger line 2022-08-11 15:51:24 +08:00
JimmFly
b4724f3ae0 fix: windows zoom (#190)
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
2022-08-11 07:48:51 +00:00
DiamondThree
9ad7332b30 fix: lint 2022-08-11 15:39:22 +08:00
DiamondThree
9b0f608b6b fix: add moveCursor function 2022-08-11 15:15:47 +08:00
QiShaoXuan
137d6a1923 fix: hold pendant popover when completed incorrectly 2022-08-11 14:42:27 +08:00
SaikaSakura
011aac0bfc feat: fix-track-pad-scroll 2022-08-11 14:35:33 +08:00
QiShaoXuan
52a59d8dfd fix: add message after link copied, fixed #131 2022-08-11 14:06:31 +08:00
QiShaoXuan
4dd76949c4 refactor: change pendant popover trigger to click 2022-08-11 12:19:36 +08:00
austaras
7c15f704e0 chore: typo 2022-08-11 11:55:05 +08:00
DarkSky
85d53c8986 Merge pull request #187 from toeverything/fix/update-docs-link
docs: update docs link
2022-08-11 11:33:22 +08:00
Whitewater
94dbd89d8f fix: console error (#180) 2022-08-11 11:18:44 +08:00
DarkSky
083d74c904 fix: e2e 2022-08-11 10:57:58 +08:00
DarkSky
e9447cdcfe fix: load data on first time 2022-08-11 10:44:22 +08:00
alt0
a32abb43c5 docs: update docs link 2022-08-11 10:35:38 +08:00
DarkSky
86090be4a3 refactor: local storage 2022-08-11 01:45:38 +08:00
DarkSky
89191290e4 refactor: remote data provider 2022-08-10 22:10:34 +08:00
QiShaoXuan
a5d71d2dfa Merge branch 'fix/clipboard' of github.com:toeverything/AFFiNE into fix/clipboard 2022-08-10 19:38:07 +08:00
DarkSky
a5a8b32a25 Merge pull request #174 from toeverything/fix-left-menu
fix(plugin): hide left menu when block change
2022-08-10 19:18:56 +08:00
DiamondThree
d7ddffe3f8 fix: error catch (#181) 2022-08-10 18:45:20 +08:00
DiamondThree
696a7785e0 Merge pull request #183 from toeverything/fix/style
fix: style ui
2022-08-10 18:44:30 +08:00
DiamondThree
b1602b2b1a fix: error catch (#182) 2022-08-10 18:39:01 +08:00
DiamondThree
7c076ea567 fix: style ui 2022-08-10 18:35:31 +08:00
MingLIang Wang
ddcbed4761 Merge pull request #164 from toeverything/feature/new-grid-drop
feat: new grid drop logic
2022-08-10 18:26:16 +08:00
DiamondThree
46f903583b fix: style ui 2022-08-10 18:25:44 +08:00
austaras
00f5f239b2 fix(plugin): hide left menu when block change 2022-08-10 18:22:45 +08:00
SaikaSakura
f87d4e3d18 Merge remote-tracking branch 'origin/develop' into feature/new-grid-drop 2022-08-10 18:14:17 +08:00
DarkSky
ffdf247517 feat: parent refresh event 2022-08-10 17:47:28 +08:00
austaras
56cdcf8622 fix(group): delete group when there's no children 2022-08-10 17:01:35 +08:00
xiaodong zuo
f381de0d8b Merge pull request #179 from toeverything/opti-issue176-mitsuha-dev
opti: 1.right panel trigger button cannot click#176;
2022-08-10 16:51:42 +08:00
CJSS
62bc987697 docs: added CONTRIBUTING and CODE_OF_CONDUCT files (#175)
* Create CODE_OF_CONDUCT.md

* Create CONTRIBUTING.md

* chore: format

Co-authored-by: Whitewater <me@waterwater.moe>
2022-08-10 16:51:18 +08:00
mitsuha
1a9a5d99fa opti: 1.right panel trigger button cannot click#176; 2022-08-10 16:36:24 +08:00
DiamondThree
90b5602eb8 Merge pull request #171 from toeverything/bug/fix-scorll
fix: #106
2022-08-10 16:08:59 +08:00
SaikaSakura
8183552011 feat: fix backspeace 2022-08-10 16:07:52 +08:00
Whitewater
4c9f04bc1c Merge pull request #173 from toeverything/fix/drag-kanban-active-selection
fix: cancel kanban mouse down event
2022-08-10 15:42:56 +08:00
SaikaSakura
b5ae4e9a64 feat: fix review 2022-08-10 15:34:26 +08:00
SaikaSakura
4c57486d79 Merge remote-tracking branch 'origin/develop' into feature/new-grid-drop 2022-08-10 15:16:44 +08:00
lawvs
ff468baf49 fix: cancel kanban mouse down event 2022-08-10 14:43:05 +08:00
QiShaoXuan
0f49444c05 style: update code style 2022-08-10 13:32:29 +08:00
DiamondThree
fa458f06a4 fix:commend-menu postion 2022-08-10 11:42:09 +08:00
DiamondThree
32be658e96 fix:lint 2022-08-10 11:15:22 +08:00
Whitewater
22f325fbff Merge pull request #166 from toeverything/refactor/page-tree-styles
Refactor/page tree styles
2022-08-10 10:38:17 +08:00
DarkSky
14d7085ec3 Update Dockerfile-affine 2022-08-10 01:32:32 +08:00
DarkSky
8d34618849 feat: binary export 2022-08-10 00:52:50 +08:00
lawvs
c2abb78612 chore: update collasp page styles 2022-08-09 21:25:22 +08:00
CJSS
52572d28b3 Merge pull request #159 from CJSS/develop
ReadMe - English Documentation Update
2022-08-09 21:19:34 +08:00
lawvs
e44b86c94c chore: tweak styles 2022-08-09 21:12:19 +08:00
lawvs
b2ff15266e chore: remove css 2022-08-09 21:04:53 +08:00
lawvs
8d1da35b56 refactor: update component styles 2022-08-09 21:04:44 +08:00
lawvs
50270f87ed feat: migrate to styled 2022-08-09 21:04:09 +08:00
DarkSky
109977c6bb Merge branch 'develop' 2022-08-09 19:33:03 +08:00
DarkSky
b5d4410dca feat: tips bar 2022-08-09 19:31:08 +08:00
DarkSky
0083b7445a feat: basic db support 2022-08-09 18:58:34 +08:00
DiamondThree
e795655bd9 fix:lint 2022-08-09 18:57:41 +08:00
SaikaSakura
4522e0a56c feat: new grid drop logic 2022-08-09 18:44:14 +08:00
DiamondThree
1b337e9766 feat: add selection function 2022-08-09 18:43:09 +08:00
DiamondThree
36ad39237b feat: add selection function 2022-08-09 18:41:08 +08:00
Whitewater
73d7d4e1a8 Merge pull request #157 from toeverything/fix/page-plugin
fix page title tranform
2022-08-09 18:02:31 +08:00
mitsuhatu
76c08eb189 Merge pull request #163 from toeverything/fixbug-issue146-mitsuha-dev
opti: 1.page tree; 2. icon invert; 3.topbar;
2022-08-09 17:48:23 +08:00
DiamondThree
36f971bb7e Merge branch 'fix/page-plugin' of github.com:toeverything/AFFiNE into fix/page-plugin 2022-08-09 17:44:48 +08:00
DiamondThree
0d33006da2 fix page title tranform 2022-08-09 17:38:57 +08:00
mitsuha
f0788e0b4b opti: 1.page tree; 2. icon invert; 3.topbar; 2022-08-09 17:29:43 +08:00
DarkSky
f413d4ce0e Merge pull request #158 from toeverything/chore/ref-menu-plugin
fix: cleaning ReferenceMenuPlugin side effect
2022-08-09 15:11:13 +08:00
CJSS
9fa914c6d0 Update README.md 2022-08-09 15:01:38 +08:00
lawvs
5fdbd90877 fix: clean ReferenceMenuPlugin side effect 2022-08-09 15:00:58 +08:00
CJSS
a22aeae644 Update README.md 2022-08-09 14:59:41 +08:00
QiShaoXuan
75083f1c75 style: update code style 2022-08-09 14:54:59 +08:00
DarkSky
f9ce24579d Merge pull request #156 from toeverything/fix/e2e
chore: update cypress element getter
2022-08-09 12:35:24 +08:00
Whitewater
81867d85e3 chore: prefer const 2022-08-09 12:33:56 +08:00
DarkSky
1bb1938e0b Merge pull request #123 from JimmFly/master
feat/beautify the style of the VenusContainer
2022-08-09 12:31:23 +08:00
DiamondThree
c2edd93c72 fix page title tranform 2022-08-09 12:14:14 +08:00
lawvs
2bb4f5088b chore: update cypress element getter 2022-08-09 11:39:56 +08:00
QiShaoXuan
849bf813b4 Merge branch 'develop' into fix/clipboard 2022-08-09 11:28:20 +08:00
DarkSky
3fbeaf09ea Merge pull request #154 from toeverything/feat/switch-view
feat(Switcher): change words
2022-08-09 11:27:53 +08:00
Chi Zhang
808a31f19e Merge pull request #153 from toeverything/feat/switch-view
feat(Switcher): change words
2022-08-09 11:08:54 +08:00
DarkSky
3274d3aaff Update notify.mjs 2022-08-09 10:55:02 +08:00
DarkSky
e50502417b chore: temp disable parallel due to cache issues 2022-08-09 10:22:52 +08:00
tzhangchi
2310b4306f feat(Switcher): change words 2022-08-09 10:19:57 +08:00
DarkSky
b3b4a587c9 Merge pull request #149 from toeverything/bugfix/Cursor-move-up-and-down
fix Cursor move up and down error
2022-08-08 23:35:44 +08:00
DiamondThree
b56199c69d delete params 2022-08-08 21:06:35 +08:00
DiamondThree
c5d2525086 fix Cursor move up and down error 2022-08-08 21:06:35 +08:00
DarkSky
eb2ad57c5a feat: block remove event 2022-08-08 18:44:45 +08:00
austaras
4f0232cbbf fix(whiteboard): select text in whiteboard 2022-08-08 18:44:45 +08:00
DarkSky
a383e557ff fix: ci 2022-08-08 18:44:45 +08:00
austaras
eff461891d fix(plugin): left menu item refresh on blockId change 2022-08-08 18:44:45 +08:00
DarkSky
de9e8e36d4 fix: ci 2022-08-08 18:44:45 +08:00
DarkSky
4f01af87a4 chore: trigger 2022-08-08 16:31:49 +08:00
DarkSky
f3a4df52b0 chore: e2e record 2022-08-08 16:07:35 +08:00
austaras
fdeae3d432 fix(plugin): use rxjs throttle 2022-08-08 15:05:01 +08:00
austaras
07e6e9fe98 fix(sidebar): use a tag for link 2022-08-08 14:13:13 +08:00
JimmFly
7596132e02 chore:modify styles 2022-08-08 12:25:16 +08:00
JimmFly
c5e8b0a251 chore: update styles 2022-08-08 12:16:05 +08:00
DarkSky
ed941a02aa Merge pull request #136 from pointmax/fix/typos-in-readme
fix: typos in README
2022-08-08 04:07:01 +08:00
pointmax
7bbfa1843b Merge branch 'toeverything:develop' into fix/typos-in-readme 2022-08-07 22:00:16 +02:00
Max Pointinger
f92f472c95 fix: more typos in documentation 2022-08-07 21:56:44 +02:00
DarkSky
5c83c5a562 Delete sonarcloud.yml 2022-08-08 03:19:59 +08:00
DarkSky
0d5377cae0 fix: ci 2022-08-08 02:52:28 +08:00
DarkSky
9dd693e873 feat: basic e2e 2022-08-08 02:30:15 +08:00
Max Pointinger
a2ff21bd82 fix: typos in README 2022-08-07 19:51:01 +02:00
DarkSky
45763aa4e3 chore: update deps 2022-08-08 01:16:25 +08:00
DarkSky
d5f62c0df0 Create sonarcloud.yml 2022-08-08 00:22:16 +08:00
DarkSky
578eeb3928 Create codeql-analysis.yml 2022-08-08 00:07:38 +08:00
DarkSky
7ac160a368 Update check.yml 2022-08-08 00:04:15 +08:00
Chi Zhang
9b9d007e0d Merge pull request #133 from toeverything/feat-local-html
feat(html): update default title
2022-08-07 23:16:13 +08:00
tzhangchi
82adc1d426 feat(html): update default title 2022-08-07 23:06:25 +08:00
DarkSky
c2e73a493a Merge pull request #107 from toeverything/develop
feature
2022-08-07 23:03:35 +08:00
DarkSky
63e1989d4b Merge branch 'master' into develop 2022-08-07 22:33:30 +08:00
DarkSky
5c26c4094d Update check.yml 2022-08-07 21:46:56 +08:00
Chi Zhang
6b17c6b854 Merge pull request #132 from toeverything/fix/deal-reference-warning
fix(Reference): add robust judgment
2022-08-07 20:25:55 +08:00
tzhangchi
450a54bcb9 fix(Reference): add robust judgment 2022-08-07 19:58:37 +08:00
DarkSky
af40927b0a Update check.yml 2022-08-07 19:47:19 +08:00
DarkSky
574fb6d393 chore: try lighter ci 2022-08-07 19:06:14 +08:00
DarkSky
1e94bd5bcf Merge pull request #118 from FedericoLeiva12/fix/react-props-warnings
fix: props format with errors are shown in the console
2022-08-07 18:10:47 +08:00
DarkSky
23528d52f8 Merge pull request #128 from caleboleary/refactor/codeview
refactor(component): clean up code block component
2022-08-07 05:21:16 +08:00
DarkSky
568865dbae Merge pull request #127 from CarlosZoft/refactor/apply-good-practices
Refactor : applyed good practices
2022-08-07 05:19:29 +08:00
Caleb OLeary
1ad0c44dd4 refactor(component): clean up code block component
clean up codeblock component
ts types
remove commented code
remove unused vars
better css
names
2022-08-06 13:12:54 -05:00
DarkSky
0a31d455da Merge pull request #126 from caleboleary/bugfix/codeblock-persist-lang
fix(component): fixes codeblock so lang selection persists across ref…
2022-08-07 01:36:07 +08:00
CarlosZoft
5528ed683b refactor : improved performance, independent running promise in parallel 2022-08-06 14:26:37 -03:00
Caleb OLeary
7042a04212 fix(component): fixes codeblock so lang selection persists across refresh 2022-08-06 12:22:05 -05:00
CarlosZoft
fb81d1f8ff fix : broken magic number 2022-08-06 13:59:50 -03:00
CarlosZoft
998025104b refactor : improving code clarity and removing unnecessary else 2022-08-06 13:50:38 -03:00
DarkSky
53453b81b8 Merge pull request #124 from CarlosZoft/refactor/redundant-if
refactor : remove redundant if
2022-08-07 00:29:44 +08:00
CarlosZoft
1ee5379022 refactor : remove redundant if 2022-08-06 09:54:18 -03:00
DarkSky
34d30d9e43 Merge pull request #112 from githbq/feature/page-tree-code-style
Feature/page tree code style
2022-08-06 19:06:54 +08:00
DarkSky
696aa96fd9 Merge pull request #116 from caleboleary/add-elixir-codeblock
feat(component): add support for elixir highlighting in code block
2022-08-06 18:37:37 +08:00
biqing.hu
16756e770e feat: add underscore 2022-08-06 18:35:23 +08:00
biqing.hu
05fce1a61e Merge branch 'master' of https://github.com/toeverything/AFFiNE into feature/page-tree-code-style 2022-08-06 18:30:55 +08:00
JimmFly
478e3d79d3 Beautify the header style 2022-08-06 18:10:31 +08:00
Federico Leiva
78b497e551 fix: changed prop format to camelCase 2022-08-06 01:45:34 -03:00
Federico Leiva
9e9b8f78f0 fix: forward isActive prop in tab 2022-08-06 01:43:43 -03:00
Caleb OLeary
b183506c13 feat(component): add support for elixir highlighting in code block 2022-08-05 23:14:10 -05:00
Qi
a53a340d16 Merge pull request #113 from toeverything/fix/scroll
fix: scrollManager can not get scrollcontainer after create new page
2022-08-06 00:13:01 +08:00
QiShaoXuan
15d908626e fix: scrollManager can not get scrollcontainer after create new page 2022-08-05 23:52:16 +08:00
biqing.hu
93c460f6a5 feat: pageTreeName 2022-08-05 23:34:31 +08:00
biqing.hu
78ef250ee1 feat: page-tree code style 2022-08-05 23:24:42 +08:00
mitsuhatu
1920921ee7 Merge pull request #110 from toeverything/fix/context-not-found
Fix/context not found
2022-08-05 22:55:19 +08:00
lawvs
833fcae116 fix: context not found 2022-08-05 22:44:12 +08:00
lawvs
d86247d627 Revert "Revert "Merge pull request #42 from toeverything/feat/sub-page""
This reverts commit ecc7080179.
2022-08-05 22:44:01 +08:00
SaikaSakura
5c51457761 feat: outer drag 、fix new page selection 2022-08-05 19:29:26 +08:00
SaikaSakura
812af254aa Merge remote-tracking branch 'origin/master' into develop 2022-08-05 19:27:27 +08:00
QiShaoXuan
eee90f1a5c feat: improved clipboard event determination conditions 2022-08-04 19:18:45 +08:00
SaikaSakura
c46c55312e Merge remote-tracking branch 'origin/master' into develop 2022-08-04 18:50:26 +08:00
SaikaSakura
82480600a4 Merge remote-tracking branch 'origin/master' into develop 2022-08-03 16:50:26 +08:00
SaikaSakura
7e2ae9e45b feat: fix code review 2022-08-03 14:38:27 +08:00
SaikaSakura
45691c025d feat: change left menu icon style 2022-08-02 17:27:06 +08:00
SaikaSakura
3722dde811 feat: grid optimise 2022-08-02 16:57:00 +08:00
2566 changed files with 122100 additions and 114050 deletions

View File

@@ -1,125 +1,641 @@
{
"projectName": "toeverything",
"projectOwner": "toeverything",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"commitConvention": "angular",
"contributorsPerLine": 7,
"contributors": [
{
"login": "darkskygit",
"name": "DarkSky",
"avatar_url": "https://avatars.githubusercontent.com/u/25152247?v=4",
"profile": "https://darksky.eu.org/",
"contributions": [
"code",
"doc"
]
},
{
"login": "tzhangchi",
"name": "Chi Zhang",
"avatar_url": "https://avatars.githubusercontent.com/u/5910926?v=4",
"profile": "http://zhangchi.page/",
"contributions": [
"code",
"doc"
]
},
{
"login": "alt1o",
"name": "wang xinglong",
"avatar_url": "https://avatars.githubusercontent.com/u/21084335?v=4",
"profile": "https://github.com/alt1o",
"contributions": [
"code",
"doc"
]
},
{
"login": "DiamondThree",
"name": "DiamondThree",
"avatar_url": "https://avatars.githubusercontent.com/u/24630517?v=4",
"profile": "https://github.com/DiamondThree",
"contributions": [
"code",
"doc"
]
},
{
"login": "lawvs",
"name": "Whitewater",
"avatar_url": "https://avatars.githubusercontent.com/u/18554747?v=4",
"profile": "https://lawvs.github.io/profile/",
"contributions": [
"code",
"doc"
]
},
{
"login": "zuoxiaodong0815",
"name": "xiaodong zuo",
"avatar_url": "https://avatars.githubusercontent.com/u/53252747?v=4",
"profile": "https://github.com/zuoxiaodong0815",
"contributions": [
"code",
"doc"
]
},
{
"login": "SaikaSakura",
"name": "MingLIang Wang",
"avatar_url": "https://avatars.githubusercontent.com/u/11530942?v=4",
"profile": "https://github.com/SaikaSakura",
"contributions": [
"code",
"doc"
]
},
{
"login": "QiShaoXuan",
"name": "Qi",
"avatar_url": "https://avatars.githubusercontent.com/u/22772830?v=4",
"profile": "https://github.com/QiShaoXuan",
"contributions": [
"code",
"doc"
]
},
{
"login": "mitsuhatu",
"name": "mitsuhatu",
"avatar_url": "https://avatars.githubusercontent.com/u/110213079?v=4",
"profile": "https://github.com/mitsuhatu",
"contributions": [
"code",
"doc"
]
},
{
"login": "Austaras",
"name": "Austaras",
"avatar_url": "https://avatars.githubusercontent.com/u/15013925?v=4",
"profile": "https://shockwave.me/",
"contributions": [
"code",
"doc"
]
},
{
"login": "uptonking",
"name": "Jin Yao",
"avatar_url": "https://avatars.githubusercontent.com/u/11391549?v=4",
"profile": "https://github.com/uptonking?tab=repositories&type=source",
"contributions": [
"code",
"doc"
]
}
]
"projectName": "AFFiNE",
"projectOwner": "toeverything",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 50,
"commit": false,
"commitConvention": "angular",
"contributorsPerLine": 7,
"badgeTemplate": "\n[all-contributors-badge]: https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square\n",
"contributors": [
{
"login": "doodlewind",
"name": "Yifeng Wang",
"avatar_url": "https://avatars.githubusercontent.com/u/7312949?v=4",
"profile": "https://github.com/doodlewind",
"contributions": [
"code",
"doc"
]
},
{
"login": "darkskygit",
"name": "DarkSky",
"avatar_url": "https://avatars.githubusercontent.com/u/25152247?v=4",
"profile": "https://darksky.eu.org/",
"contributions": [
"code",
"doc"
]
},
{
"login": "tzhangchi",
"name": "Chi Zhang",
"avatar_url": "https://avatars.githubusercontent.com/u/5910926?v=4",
"profile": "http://zhangchi.page/",
"contributions": [
"code",
"doc"
]
},
{
"login": "alt1o",
"name": "wang xinglong",
"avatar_url": "https://avatars.githubusercontent.com/u/21084335?v=4",
"profile": "https://github.com/alt1o",
"contributions": [
"code",
"doc"
]
},
{
"login": "Brooooooklyn",
"name": "LongYinan",
"avatar_url": "https://avatars.githubusercontent.com/u/3468483?v=4",
"profile": "https://github.com/Brooooooklyn",
"contributions": [
"code",
"doc"
]
},
{
"login": "hwangdev97",
"name": "Hwang",
"avatar_url": "https://avatars.githubusercontent.com/u/24713927?v=4",
"profile": "https://github.com/hwangdev97",
"contributions": [
"code",
"doc"
]
},
{
"login": "kobeshanks",
"name": "kobeshanks",
"avatar_url": "https://avatars.githubusercontent.com/u/82570088?v=4",
"profile": "https://github.com/kobeshanks",
"contributions": [
"code",
"doc"
]
},
{
"login": "pengx17",
"name": "Peng Xiao",
"avatar_url": "https://avatars.githubusercontent.com/u/584378?v=4",
"profile": "https://pengx17.vercel.app/",
"contributions": [
"code",
"doc"
]
},
{
"login": "Saul-Mirone",
"name": "Mirone",
"avatar_url": "https://avatars.githubusercontent.com/u/10047788?v=4",
"profile": "https://mirone.me/",
"contributions": [
"code",
"doc"
]
},
{
"login": "zqran",
"name": "zqran",
"avatar_url": "https://avatars.githubusercontent.com/u/15389209?v=4",
"profile": "https://github.com/zqran",
"contributions": [
"code",
"doc"
]
},
{
"login": "SuneBear",
"name": "Shule Hsiung",
"avatar_url": "https://avatars.githubusercontent.com/u/7693264?v=4",
"profile": "https://sunebear.com/",
"contributions": [
"code",
"doc"
]
},
{
"login": "fundon",
"name": "Fangdun Tsai",
"avatar_url": "https://avatars.githubusercontent.com/u/27926?v=4",
"profile": "https://fundon.viz.rs/",
"contributions": [
"code",
"doc"
]
},
{
"login": "lawvs",
"name": "Whitewater",
"avatar_url": "https://avatars.githubusercontent.com/u/18554747?v=4",
"profile": "https://lawvs.github.io/profile/",
"contributions": [
"code",
"doc"
]
},
{
"login": "zuoxiaodong0815",
"name": "xiaodong zuo",
"avatar_url": "https://avatars.githubusercontent.com/u/53252747?v=4",
"profile": "https://github.com/zuoxiaodong0815",
"contributions": [
"code",
"doc"
]
},
{
"login": "Himself65",
"name": "Himself65",
"avatar_url": "https://avatars.githubusercontent.com/u/14026360?v=4",
"profile": "https://github.com/Himself65",
"contributions": [
"code",
"doc"
]
},
{
"login": "DiamondThree",
"name": "DiamondThree",
"avatar_url": "https://avatars.githubusercontent.com/u/24630517?v=4",
"profile": "https://github.com/DiamondThree",
"contributions": [
"code",
"doc"
]
},
{
"login": "QiShaoXuan",
"name": "Qi",
"avatar_url": "https://avatars.githubusercontent.com/u/22772830?v=4",
"profile": "https://github.com/QiShaoXuan",
"contributions": [
"code",
"doc"
]
},
{
"login": "colelawrence",
"name": "Cole Lawrence",
"avatar_url": "https://avatars.githubusercontent.com/u/2925395?v=4",
"profile": "https://colelawrence.com/",
"contributions": [
"code",
"doc"
]
},
{
"login": "linonetwo",
"name": "lin onetwo",
"avatar_url": "https://avatars.githubusercontent.com/u/3746270?v=4",
"profile": "https://onetwo.ren/wiki",
"contributions": [
"code",
"doc"
]
},
{
"login": "thorseraq",
"name": "x1a0t",
"avatar_url": "https://avatars.githubusercontent.com/u/20554850?v=4",
"profile": "https://github.com/thorseraq",
"contributions": [
"code",
"doc"
]
},
{
"login": "HeJiachen-PM",
"name": "HeJiachen-PM",
"avatar_url": "https://avatars.githubusercontent.com/u/79301703?v=4",
"profile": "https://github.com/HeJiachen-PM",
"contributions": [
"research",
"doc"
]
},
{
"login": "joebeijing",
"name": "houjoe",
"avatar_url": "https://avatars.githubusercontent.com/u/22443345?v=4",
"profile": "https://www.notion.so/houjoe/Joe-2a85f5be01004cd2b6a5ad26fbb948b1",
"contributions": [
"research",
"doc"
]
},
{
"login": "Yipei-Operation",
"name": "Yipei Wei",
"avatar_url": "https://avatars.githubusercontent.com/u/79373028?v=4",
"profile": "https://github.com/Yipei-Operation",
"contributions": [
"doc"
]
},
{
"login": "VelikaHF",
"name": "Velika",
"avatar_url": "https://avatars.githubusercontent.com/u/121547898?v=4",
"profile": "https://github.com/VelikaHF",
"contributions": [
"design"
]
},
{
"login": "Svaney-ssman",
"name": "Svaney",
"avatar_url": "https://avatars.githubusercontent.com/u/110808979?v=4",
"profile": "https://github.com/Svaney-ssman",
"contributions": [
"design"
]
},
{
"login": "xell",
"name": "Guozhu Liu",
"avatar_url": "https://avatars.githubusercontent.com/u/132558?v=4",
"profile": "http://xell.me/",
"contributions": [
"design"
]
},
{
"login": "fyZheng07",
"name": "fyZheng07",
"avatar_url": "https://avatars.githubusercontent.com/u/63830919?v=4",
"profile": "https://github.com/fyZheng07",
"contributions": [
"eventOrganizing",
"userTesting"
]
},
{
"login": "CJSS",
"name": "CJSS",
"avatar_url": "https://avatars.githubusercontent.com/u/4605025?v=4",
"profile": "https://github.com/CJSS",
"contributions": [
"doc"
]
},
{
"login": "JimmFly",
"name": "JimmFly",
"avatar_url": "https://avatars.githubusercontent.com/u/102217452?v=4",
"profile": "https://github.com/JimmFly",
"contributions": [
"code"
]
},
{
"login": "mitsuhatu",
"name": "mitsuhatu",
"avatar_url": "https://avatars.githubusercontent.com/u/110213079?v=4",
"profile": "https://github.com/mitsuhatu",
"contributions": [
"code",
"doc"
]
},
{
"login": "Austaras",
"name": "Austaras",
"avatar_url": "https://avatars.githubusercontent.com/u/15013925?v=4",
"profile": "https://shockwave.me/",
"contributions": [
"code",
"doc"
]
},
{
"login": "uptonking",
"name": "Jin Yao",
"avatar_url": "https://avatars.githubusercontent.com/u/11391549?v=4",
"profile": "https://github.com/uptonking",
"contributions": [
"code",
"doc"
]
},
{
"login": "CarlosZoft",
"name": "Carlos Rafael ",
"avatar_url": "https://avatars.githubusercontent.com/u/62192072?v=4",
"profile": "https://github.com/CarlosZoft",
"contributions": [
"code"
]
},
{
"login": "caleboleary",
"name": "Caleb OLeary",
"avatar_url": "https://avatars.githubusercontent.com/u/12816579?v=4",
"profile": "https://github.com/caleboleary",
"contributions": [
"code"
]
},
{
"login": "westongraham",
"name": "Weston Graham",
"avatar_url": "https://avatars.githubusercontent.com/u/89493023?v=4",
"profile": "https://github.com/westongraham",
"contributions": [
"doc"
]
},
{
"login": "SaikaSakura",
"name": "MingLIang Wang",
"avatar_url": "https://avatars.githubusercontent.com/u/11530942?v=4",
"profile": "https://github.com/SaikaSakura",
"contributions": [
"code",
"doc"
]
},
{
"login": "fanjing22",
"name": "fanjing22",
"avatar_url": "https://avatars.githubusercontent.com/u/109729699?v=4",
"profile": "https://github.com/fanjing22",
"contributions": [
"design"
]
},
{
"login": "pointmax",
"name": "pointmax",
"avatar_url": "https://avatars.githubusercontent.com/u/49361135?v=4",
"profile": "https://github.com/pointmax",
"contributions": [
"doc",
"code"
]
},
{
"login": "liby",
"name": "Bryan Lee",
"avatar_url": "https://avatars.githubusercontent.com/u/38807139?v=4",
"profile": "https://liby.github.io/notes",
"contributions": [
"code"
]
},
{
"login": "chenmoonmo",
"name": "Simon Li",
"avatar_url": "https://avatars.githubusercontent.com/u/36295999?v=4",
"profile": "https://github.com/chenmoonmo",
"contributions": [
"code"
]
},
{
"login": "githbq",
"name": "Bob Hu",
"avatar_url": "https://avatars.githubusercontent.com/u/10009709?v=4",
"profile": "https://github.com/githbq",
"contributions": [
"code"
]
},
{
"login": "lucky-chap",
"name": "Quavo",
"avatar_url": "https://avatars.githubusercontent.com/u/67266933?v=4",
"profile": "https://quavo.vercel.app/",
"contributions": [
"doc",
"code"
]
},
{
"login": "LuciNyan",
"name": "子瞻 Luci",
"avatar_url": "https://avatars.githubusercontent.com/u/22126563?v=4",
"profile": "https://github.com/LuciNyan",
"contributions": [
"code"
]
},
{
"login": "m1911star",
"name": "Horus",
"avatar_url": "https://avatars.githubusercontent.com/u/4948120?v=4",
"profile": "http://blog.ipili.me/",
"contributions": [
"code",
"platform"
]
},
{
"login": "fanshyiis",
"name": "Super.x",
"avatar_url": "https://avatars.githubusercontent.com/u/15103283?v=4",
"profile": "https://segmentfault.com/u/qzuser_584786517d31a",
"contributions": [
"code"
]
},
{
"login": "wangyu-1999",
"name": "Wang Yu",
"avatar_url": "https://avatars.githubusercontent.com/u/80874770?v=4",
"profile": "https://wangyu-1999.github.io/",
"contributions": [
"code"
]
},
{
"login": "felixonmars",
"name": "Felix Yan",
"avatar_url": "https://avatars.githubusercontent.com/u/1006477?v=4",
"profile": "https://felixc.at/",
"contributions": [
"code"
]
},
{
"login": "lynettelopez",
"name": "Lynette Lopez",
"avatar_url": "https://avatars.githubusercontent.com/u/32908859?v=4",
"profile": "https://github.com/lynettelopez",
"contributions": [
"code"
]
},
{
"login": "Zheaoli",
"name": "Manjusaka",
"avatar_url": "https://avatars.githubusercontent.com/u/7054676?v=4",
"profile": "http://manjusaka.itscoder.com/",
"contributions": [
"code"
]
},
{
"login": "sudongyuer",
"name": "Frozen FIsh",
"avatar_url": "https://avatars.githubusercontent.com/u/76603360?v=4",
"profile": "https://juejin.cn/user/2867982785579102/posts?sort=popular",
"contributions": [
"code"
]
},
{
"login": "MuhammedFaraz",
"name": "Mohammed Faraz",
"avatar_url": "https://avatars.githubusercontent.com/u/92734739?v=4",
"profile": "https://github.com/MuhammedFaraz",
"contributions": [
"doc",
"code"
]
},
{
"login": "Pranav4399",
"name": "Pranav Sriram ",
"avatar_url": "https://avatars.githubusercontent.com/u/28348429?v=4",
"profile": "https://pranavsriram.dev/",
"contributions": [
"code"
]
},
{
"login": "Reson-a",
"name": "Reson-a",
"avatar_url": "https://avatars.githubusercontent.com/u/20806266?v=4",
"profile": "https://github.com/Reson-a",
"contributions": [
"code"
]
},
{
"login": "hezhizhen",
"name": "Zhizhen He",
"avatar_url": "https://avatars.githubusercontent.com/u/7611700?v=4",
"profile": "https://t.me/littlepoint",
"contributions": [
"code"
]
},
{
"login": "AkaraChen",
"name": "AkaraChen",
"avatar_url": "https://avatars.githubusercontent.com/u/85140972?v=4",
"profile": "https://akr.moe/",
"contributions": [
"code"
]
},
{
"login": "suyanhanx",
"name": "Suyan",
"avatar_url": "https://avatars.githubusercontent.com/u/24221472?v=4",
"profile": "https://github.com/suyanhanx",
"contributions": [
"code"
]
},
{
"login": "hehex9",
"name": "hehe",
"avatar_url": "https://avatars.githubusercontent.com/u/9209882?v=4",
"profile": "https://github.com/hehex9",
"contributions": [
"code"
]
},
{
"login": "albertodlc",
"name": "Alberto de la Cruz",
"avatar_url": "https://avatars.githubusercontent.com/u/32411964?v=4",
"profile": "https://github.com/albertodlc",
"contributions": [
"code"
]
},
{
"login": "AlessioGr",
"name": "Alessio Gravili",
"avatar_url": "https://avatars.githubusercontent.com/u/70709113?v=4",
"profile": "https://github.com/AlessioGr",
"contributions": [
"code"
]
},
{
"login": "lzlme",
"name": "Zhilin Liu",
"avatar_url": "https://avatars.githubusercontent.com/u/117659326?v=4",
"profile": "https://github.com/lzlme",
"contributions": [
"code"
]
},
{
"login": "suica",
"name": "Sg",
"avatar_url": "https://avatars.githubusercontent.com/u/8041462?v=4",
"profile": "https://github.com/suica",
"contributions": [
"code"
]
},
{
"login": "sinchang",
"name": "Jeff Wen",
"avatar_url": "https://avatars.githubusercontent.com/u/3297859?v=4",
"profile": "https://sinchang.me/",
"contributions": [
"code"
]
},
{
"login": "m1212e",
"name": "m1212e",
"avatar_url": "https://avatars.githubusercontent.com/u/14091540?v=4",
"profile": "https://m1212e.github.io/portfolio/",
"contributions": [
"code"
]
},
{
"login": "adityash1",
"name": "Aditya Sharma",
"avatar_url": "https://avatars.githubusercontent.com/u/65771169?v=4",
"profile": "https://adityash1.github.io/",
"contributions": [
"code"
]
},
{
"login": "sheben404",
"name": "Kehan Wang",
"avatar_url": "https://avatars.githubusercontent.com/u/61317160?v=4",
"profile": "https://github.com/sheben404",
"contributions": [
"code"
]
},
{
"login": "VictorNanka",
"name": "VictorNanka",
"avatar_url": "https://avatars.githubusercontent.com/u/30154366?v=4",
"profile": "https://github.com/VictorNanka",
"contributions": [
"code"
]
}
]
}

20
.codesandbox/task.json Normal file
View File

@@ -0,0 +1,20 @@
{
"$schema": "https://codesandbox.io/schemas/tasks.json",
"setupTasks": [
{
"name": "Install Dependencies",
"command": "yarn install"
}
],
"tasks": {
"start-web": {
"name": "Start Web",
"command": "yarn dev-core",
"runAtStart": true,
"preview": {
"port": 8080
}
}
}
}

31
.commitlintrc.json Normal file
View File

@@ -0,0 +1,31 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"scope-enum": [
2,
"always",
[
"electron",
"server",
"core",
"docs",
"storybook",
"component",
"workspace",
"env",
"graphql",
"cli",
"hooks",
"i18n",
"jotai",
"native",
"templates",
"y-indexeddb",
"debug",
"storage",
"infra",
"plugin-infra"
]
]
}
}

View File

@@ -1,66 +0,0 @@
module.exports = {
types: [
{ value: 'feat', name: 'feat 🍄: add new features' },
{ value: 'fix', name: 'fix 🐛: fix bug' },
{ value: 'docs', name: 'docs 📄: modify documentation, comments' },
{
value: 'refactor',
name: 'refactor 🎸: code refactoring, pay attention to distinguish it from features and fixes',
},
{ value: 'perf', name: 'perf ⚡: improve performance' },
{ value: 'test', name: 'test 👀: add a test' },
{
value: 'tool',
name: 'tool 🚗: Development tool changes (build, scaffolding tools, etc.)',
},
{
value: 'style',
name: 'style ✂: Modifications to code formatting do not affect logic',
},
{ value: 'revert', name: 'revert 🌝: version rollback' },
{
value: 'editor',
name: 'editor 🔧: editor configuration modification',
},
{ value: 'update', name: 'update ⬆: third-party library upgrade' },
],
scopes: [
{ name: 'selection' },
{ name: 'whiteboard' },
{ name: 'point' },
{ name: 'group' },
{ name: 'page' },
{ name: 'component' },
{ name: 'config' },
{ name: 'others' },
],
// it needs to match the value for field type. Eg.: 'fix'
/*
scopeOverrides: {
fix: [
{name: 'merge'},
{name: 'style'}
]
},
*/
// override the messages, de faults are as follows
messages: {
type: 'Choose a type of your submission:',
scope: 'Choose a scope (optional):',
// used if allowCustomScopes is true
customScope: 'Denote the SCOPE of this change:',
subject: 'Brief description:\n',
body: 'Detailed description, use "|" newline (optional):\n',
breaking: 'Incompatibility specification (optional):\n',
footer: 'Associate closed issues, for example: #31, #34 (optional):\n',
confirmCommit: 'Are you sure to commit?',
},
allowCustomScopes: true,
allowBreakingChanges: ['Added', 'Repair'],
// limit subject length
subjectLimit: 100,
};

View File

@@ -4,7 +4,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

4
.env
View File

@@ -1,4 +0,0 @@
# use for download icon from figma
FIGMA_TOKEN
NODE_ENV
AFFINE_FEATURE_FLAG_TOKEN

View File

@@ -1 +0,0 @@
NX_LOCAL=true

11
.env.template Normal file
View File

@@ -0,0 +1,11 @@
ENABLE_PLUGIN=
ENABLE_TEST_PROPERTIES=
ENABLE_BC_PROVIDER=
CHANGELOG_URL=
ENABLE_PRELOADING=
ENABLE_NEW_SETTING_MODAL=
ENABLE_SQLITE_PROVIDER=
ENABLE_NEW_SETTING_UNSTABLE_API=
ENABLE_NOTIFICATION_CENTER=
ENABLE_CLOUD=
ENABLE_MOVE_DATABASE=

View File

@@ -1,4 +1,11 @@
**/webpack.config.js
**/jest.config.js
**/node_modules/**
.github/**
node_modules
dist
.next
out
storybook-static
affine-out
_next
lib
.eslintrc.js
packages/i18n/src/i18n-generated.ts
e2e-dist-*

246
.eslintrc.js Normal file
View File

@@ -0,0 +1,246 @@
const { resolve } = require('node:path');
const createPattern = packageName => [
{
group: ['**/dist', '**/dist/**'],
message: 'Do not import from dist',
allowTypeImports: false,
},
{
group: ['**/src', '**/src/**'],
message: 'Do not import from src',
allowTypeImports: false,
},
{
group: [`@affine/${packageName}`],
message: 'Do not import package itself',
allowTypeImports: false,
},
{
group: [`@toeverything/${packageName}`],
message: 'Do not import package itself',
allowTypeImports: false,
},
{
group: ['@blocksuite /store'],
message: "Import from '@blocksuite/global/utils'",
importNames: ['assertExists', 'assertEquals'],
},
{
group: ['react-router-dom'],
message: 'Use `useNavigateHelper` instead',
importNames: ['useNavigate'],
},
];
const allPackages = [
'packages/cli',
'packages/component',
'packages/debug',
'packages/env',
'packages/graphql',
'packages/hooks',
'packages/i18n',
'packages/jotai',
'packages/native',
'packages/plugin-infra',
'packages/templates',
'packages/theme',
'packages/workspace',
'packages/y-indexeddb',
'apps/web',
'apps/server',
'apps/electron',
'apps/storybook',
'plugins/copilot',
'plugins/bookmark-block',
];
/**
* @type {import('eslint').Linter.Config}
*/
const config = {
root: true,
settings: {
react: {
version: 'detect',
},
next: {
rootDir: 'apps/web',
},
},
extends: [
'eslint:recommended',
'plugin:react-hooks/recommended',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:@typescript-eslint/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
globalReturn: false,
impliedStrict: true,
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
project: resolve(__dirname, './tsconfig.eslint.json'),
},
plugins: [
'react',
'@typescript-eslint',
'simple-import-sort',
'sonarjs',
'i',
'unused-imports',
'unicorn',
],
rules: {
'array-callback-return': 'error',
'no-undef': 'off',
'no-empty': 'off',
'no-func-assign': 'off',
'no-cond-assign': 'off',
'no-constant-binary-expression': 'error',
'no-constructor-return': 'error',
'react/prop-types': 'off',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
'unused-imports/no-unused-imports': 'error',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-expect-error': 'allow-with-description',
'ts-ignore': true,
'ts-nocheck': true,
'ts-check': false,
},
],
'@typescript-eslint/no-restricted-imports': [
'error',
{
patterns: [
{
group: ['**/dist'],
message: "Don't import from dist",
allowTypeImports: false,
},
{
group: ['**/src'],
message: "Don't import from src",
allowTypeImports: false,
},
{
group: ['@blocksuite/store'],
message: "Import from '@blocksuite/global/utils'",
importNames: ['assertExists', 'assertEquals'],
},
{
group: ['react-router-dom'],
message: 'Use `useNavigateHelper` instead',
importNames: ['useNavigate'],
},
],
},
],
'unicorn/filename-case': [
'error',
{
case: 'kebabCase',
ignore: ['^\\[[a-zA-Z0-9-_]+\\]\\.tsx$'],
},
],
'sonarjs/no-all-duplicated-branches': 'error',
'sonarjs/no-element-overwrite': 'error',
'sonarjs/no-empty-collection': 'error',
'sonarjs/no-extra-arguments': 'error',
'sonarjs/no-identical-conditions': 'error',
'sonarjs/no-identical-expressions': 'error',
'sonarjs/no-ignored-return': 'error',
'sonarjs/no-one-iteration-loop': 'error',
'sonarjs/no-use-of-empty-return-value': 'error',
'sonarjs/non-existent-operator': 'error',
'sonarjs/no-collapsible-if': 'error',
'sonarjs/no-same-line-conditional': 'error',
'sonarjs/no-duplicated-branches': 'error',
'sonarjs/no-collection-size-mischeck': 'error',
'sonarjs/no-useless-catch': 'error',
'sonarjs/no-identical-functions': 'error',
},
overrides: [
{
files: 'apps/server/**/*.ts',
rules: {
'@typescript-eslint/consistent-type-imports': 0,
},
},
{
files: '*.cjs',
rules: {
'@typescript-eslint/no-var-requires': 0,
},
},
...allPackages.map(pkg => ({
files: [`${pkg}/src/**/*.ts`, `${pkg}/src/**/*.tsx`],
parserOptions: {
project: resolve(__dirname, './tsconfig.eslint.json'),
},
rules: {
'@typescript-eslint/no-restricted-imports': [
'error',
{
patterns: createPattern(pkg),
},
],
'@typescript-eslint/no-floating-promises': [
'error',
{
ignoreVoid: false,
ignoreIIFE: false,
},
],
},
})),
{
files: [
'**/__tests__/**/*',
'**/*.stories.tsx',
'**/*.spec.ts',
'**/tests/**/*',
'scripts/**/*',
'**/benchmark/**/*',
'**/__debug__/**/*',
'**/e2e/**/*',
],
rules: {
'@typescript-eslint/no-non-null-assertion': 0,
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-expect-error': false,
'ts-ignore': true,
'ts-nocheck': true,
'ts-check': false,
},
],
'@typescript-eslint/no-floating-promises': 0,
},
},
],
};
module.exports = config;

View File

@@ -1,288 +0,0 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx", "react", "filename-rules", "import", "prettier"],
"parserOptions": {
"project": ["./tsconfig.base.json"]
},
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"prettier/prettier": "warn",
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "library:utils",
"onlyDependOnLibsWithTags": ["library:utils"]
},
{
"sourceTag": "datasource:jwt",
"onlyDependOnLibsWithTags": [
"library:utils",
"datasource:remote-kv",
"datasource:jwt-rpc"
]
},
{
"sourceTag": "datasource:db-services",
"onlyDependOnLibsWithTags": [
"library:utils",
"datasource:jwt"
]
},
{
"sourceTag": "datasource:hooks",
"onlyDependOnLibsWithTags": [
"library:utils",
"datasource:jwt",
"datasource:db-services"
]
},
{
"sourceTag": "datasource:http",
"onlyDependOnLibsWithTags": ["library:utils"]
},
{
"sourceTag": "datasource:state",
"onlyDependOnLibsWithTags": [
"library:utils",
"library:feature-flags",
"datasource:http",
"datasource:jwt"
]
},
{
"sourceTag": "components:common",
"onlyDependOnLibsWithTags": [
"library:utils",
"components:icons",
"components:ui",
"library:feature-flags"
]
},
{
"sourceTag": "components:editor-core",
"onlyDependOnLibsWithTags": [
"library:utils",
"library:feature-flags",
"datasource:db-services",
"datasource:state",
"datasource:commands",
"datasource:jwt",
"components:ui",
"components:common",
"components:icons"
]
},
{
"sourceTag": "components:editor-blocks",
"onlyDependOnLibsWithTags": [
"library:utils",
"library:feature-flags",
"components:common",
"components:editor-core",
"framework:editor",
"datasource:db-services",
"components:ui",
"components:icons"
]
},
{
"sourceTag": "components:editor-plugins",
"onlyDependOnLibsWithTags": [
"library:utils",
"components:common",
"components:editor-core",
"framework:editor",
"components:editor-blocks",
"datasource:db-services",
"components:ui",
"components:icons",
"library:feature-flags"
]
},
{
"sourceTag": "components:ui",
"onlyDependOnLibsWithTags": [
"components:icons",
"library:utils"
]
},
{
"sourceTag": "framework:editor",
"onlyDependOnLibsWithTags": [
"components:editor-core"
]
},
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
],
"allowCircularSelfDependency": false
}
],
"filename-rules/match": [
"warn",
{
".tsx": "PascalCase",
".ts": "kebab-case",
".json": "kebab-case",
"": "kebab-case"
}
],
"no-restricted-imports": [
"error",
{
"patterns": [
{
"group": ["lodash"],
"message": "Forbid direct import of lodash, use @toeverything/utils"
},
{
"group": ["lodash-es"],
"message": "Forbid direct import of lodash-es, use @toeverything/utils"
},
{
"group": ["@mui/material", "@mui/material/*"],
"message": "Forbid direct import of @mui/material, use @toeverything/components/ui"
}
]
}
],
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": [
"property",
"parameterProperty",
"accessor",
"enumMember"
],
"format": ["strictCamelCase"]
},
{
"selector": ["property", "accessor"],
"modifiers": ["private"],
"format": ["strictCamelCase"],
"leadingUnderscore": "require"
},
{
"selector": ["method"],
"modifiers": ["public"],
"format": ["strictCamelCase"]
},
// Private methods
{
"selector": ["method"],
"modifiers": ["private"],
"format": ["strictCamelCase"],
"leadingUnderscore": "require"
},
{
"selector": ["method"],
"modifiers": ["protected"],
"format": ["strictCamelCase"],
"leadingUnderscore": "require"
},
// Top Level Methods
// const func: Function
// allow PascalCase for react components
{
"selector": ["variable"],
"modifiers": ["global"],
"types": ["function"],
"format": ["strictCamelCase", "StrictPascalCase"],
"leadingUnderscore": "allow"
},
// function something() { }
{
"selector": ["function"],
"modifiers": ["global"],
"format": ["strictCamelCase"],
"leadingUnderscore": "require"
},
// export const func: Function
{
"selector": ["variable"],
"modifiers": ["exported"],
"types": ["function"],
"format": ["strictCamelCase", "StrictPascalCase"],
"leadingUnderscore": "forbid"
},
// export function something() { }
{
"selector": ["function"],
"modifiers": ["exported"],
"format": ["strictCamelCase", "StrictPascalCase"],
"leadingUnderscore": "forbid"
},
// Top Level Variables
{
"selector": ["variable"],
"modifiers": ["global", "const"],
"types": ["boolean", "string", "number"],
"format": ["UPPER_CASE"]
},
{
"selector": ["variable"],
"modifiers": ["global"],
"format": ["strictCamelCase"],
"leadingUnderscore": "require"
},
{
"selector": ["variable"],
"modifiers": ["exported"],
"format": ["strictCamelCase"]
},
// types, enums
{
"selector": "typeLike",
"format": ["PascalCase"]
},
{
"selector": "variableLike",
"format": ["strictCamelCase"]
}
],
"react/self-closing-comp": "warn",
"no-restricted-syntax": [
"warn",
{
"selector": ":matches(PropertyDefinition)[accessibility!='private'][accessibility!='protected'][key.name!='constructor']",
"message": "Use private instead, please implement getter or setXxx for external read and write requirements"
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {
"prefer-const": "warn",
"no-console": ["warn", { "allow": ["warn", "error"] }],
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-empty-interface": "warn",
"@typescript-eslint/no-empty-function": "warn",
// https://github.com/nrwl/nx/issues/10445
"react/jsx-key": "error",
"import/no-default-export": "warn",
"import/no-duplicates": "warn",
"max-lines": [
"warn",
{ "max": 300, "skipComments": true, "skipBlankLines": true }
]
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
}
]
}

20
.gitattributes vendored Normal file
View File

@@ -0,0 +1,20 @@
* text=auto eol=lf
# These files are binary and should be left untouched
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.ttf binary
*.otf binary
*.eot binary
*.woff binary
*.woff2 binary
*.pdf binary
*.tar.gz binary
*.zip binary
*.7z binary

62
.github/CLA.md vendored Normal file
View File

@@ -0,0 +1,62 @@
<!-- To indicate your agreement, simply edit this file and submit a pull request. -->
# AFFiNE Contributor License Agreement
To clarify the intellectual property license granted with contributions from any person or entity, AFFiNE must have on file a signed Contributor License Agreement ("CLA") from each contributor, indicating agreement with the license terms below. This agreement is for your protection as a contributor as well as the protection of the AFFiNE and its users; it does not change your rights to use your own contributions for any other purpose.
You accept and agree to the following terms and conditions for your past, present and future contributions submitted to AFFiNE. You should sign this agreement before submitting your first contribution. Except for the license granted herein to AFFiNE and recipients of software distributed by AFFiNE, You reserve all right, title, and interest in and to Your Contributions.
1. Parties.
(a) "AFFiNE" refers to the project's operator, TOEVERYTHING PTE. LTD registered in Republic of Singapore.
(b) "You" (or "Your") means the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with AFFiNE.
2. Definitions. "Contribution" shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to AFFiNE for inclusion in, or documentation of, any of the products owned or managed by AFFiNE (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to AFFiNE or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, AFFiNE for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution".
3. Grant of Copyright License. Subject to the terms and conditions of this Agreement, You hereby grant to AFFiNE and to recipients of software distributed by AFFiNE a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to use, copy, reproduce, prepare derivative works of, distribute, sublicense, and publicly perform and display the Contribution and such derivative works on any licensing terms, including without limitation open source licenses and binary, proprietary, or commercial licenses.
4. Grant of Patent License. Subject to the terms and conditions of this Agreement, You hereby grant to AFFiNE and to recipients of software distributed by AFFiNE a perpetual, irrevocable, non-exclusive, worldwide, no-charge, royalty-free patent license to make, have made, use, sell, offer to sell, import, and otherwise transfer your Contribution in whole or in part, alone or in combination with or included in any product, work or materials arising out of the project to which your contribution was submitted, and to sublicense these same rights to third parties through multiple levels of sublicensees or other licensing arrangements.
5. Except as set out above, You keep all right, title, and interest in your contribution. The rights that you grant to AFFiNE under these terms are effective on the date you first submitted a contribution to AFFiNE, even if your submission took place before the date you sign these terms.
6. You promise that:
- Each of Your Contributions is Your original work and that you are legally entitled to grant the above license.
- Each of Your Contributions does not to the best of your knowledge violate any third party's copyrights, trademarks, patents, or other intellectual property rights;
- Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.
- If You are an individual and if your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to AFFiNE, or that your employer has executed a separate Corporate CLA with AFFiNE.
7. You provide Your Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
8. You agree to notify AFFiNE of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect.
9. This Agreement will be governed by the laws of Republic of Singapore without reference to conflict of laws principles.
## List of Contributors
The below-signed are contributors to a code repository that is part of the project named "AFFiNE". Each below-signed contributor has read, understand and agrees to the terms above in the section within this document entitled "AFFiNE Contributor License Agreement" as of the date beside their real name (or entity name) and GitHub account name.
---
<!--
Example:
- Dark Sky, @darkskygit, 2022/07/22
-->
- Dark Sky, @darkskygit, 2022/07/22
- Lin Onetwo, @linonetwo, 2022/02/14
- zqran, @zqran, 2023/02/17
- Alessio Gravili, @AlessioGr, 2023/03/04
- Victor Nanka, @victornanka, 2023/03/09
- Aditya Sharma, @adityash1, 2023/03/21
- Fangdun Tsai, @fundon, 2023/03/21
- Zhilin Liu, @lzlme, 2023/04/09
- Skye Sun, @skyesun, 2023/04/14
- Jordy Delgado, @Jdelgad8, 2023/04/17
- Howard Do, @howarddo2208, 2023/04/20
- 三咲智子 Kevin Deng, @sxzz, 2023/04/21
- Moeyua, @moeyua, 2023/04/22
- Shishu, @shishudesu, 2023/05/19
- Kushagra Singh, @kush002, 2023/06/28

47
.github/CODEOWNERS vendored
View File

@@ -1,47 +0,0 @@
# About code owners
# You can use a CODEOWNERS file to define individuals or teams that are responsible for code in a repository.
# See https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
# =================
# configs
# =================
.* @darkskygit
babel.config.json @darkskygit
nx.json @darkskygit
tsconfig.base.json @darkskygit
**/project.json @darkskygit
**/tsconfig.json @darkskygit
**/tsconfig.*.json @darkskygit
**/.babelrc @darkskygit
**/babel.config.js @darkskygit
**/.* @darkskygit
# =================
# components
# =================
# editor-core
libs/components/editor-core @lawvs
# editor-blocks
# group block
libs/components/editor-blocks/src/blocks/group @lawvs
# todo block
libs/components/editor-blocks/src/blocks/todo @lawvs
libs/framework/virgo @SaikaSakura
# =================
# datasource
# =================
# feature flags
libs/datasource/feature-flags @lawvs
# jwt
libs/datasource/jwt @darkskygit

1
.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1 @@
github: [toeverything]

63
.github/ISSUE_TEMPLATE/BUG-REPORT.yml vendored Normal file
View File

@@ -0,0 +1,63 @@
name: Bug Report
description: File a bug report
title: "\u200b"
labels: ['bug']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: dropdown
id: version
attributes:
label: Distribution version
description: What version of AFFiNE are you using?
options:
- macOS x64 (Intel)
- macOS ARM 64 (Apple Silicon)
- Windows x64
- Linux
- Web (app.affine.pro)
- Web (stage.affine.pro)
- Web (dev.affine.live)
validations:
required: true
- type: dropdown
id: browsers
attributes:
label: What browsers are you seeing the problem on if you're using web version?
multiple: true
options:
- Chrome
- Microsoft Edge
- Firefox
- Safari
- Other
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images here
- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
(Optional) We encourage you to submit a [Pull Request](https://github.com/toeverything/affine/pulls) (PR) to help improve AFFiNE for everyone, especially if you have a good understanding of how to implement a fix or feature.
See the AFFiNE [Contributing Guide](https://github.com/toeverything/affine/blob/master/CONTRIBUTING.md) to get started.
options:
- label: Yes I'd like to help by submitting a PR!

View File

@@ -0,0 +1,36 @@
name: Feature Request
description: Suggest a feature or improvement
title: "\u200b"
labels: ['feat', 'story']
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature suggestion!
- type: textarea
id: description
attributes:
label: Description
description: What would you like to see added to AFFiNE?
placeholder: Please explain in details the feature and improvements you'd like to see.
validations:
required: true
- type: textarea
attributes:
label: Use case
description: |
How might this feature be used and who might use it.
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the idea you have!
Tip: You can attach images here
- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
(Optional) We encourage you to submit a [Pull Request](https://github.com/toeverything/affine/pulls) (PR) to help improve AFFiNE for everyone, especially if you have a good understanding of how to implement a fix or feature.
See the AFFiNE [Contributing Guide](https://github.com/toeverything/affine/blob/master/CONTRIBUTING.md) to get started.
options:
- label: Yes I'd like to help by submitting a PR!

View File

@@ -1,46 +0,0 @@
name: 🐛 Bug report
description: Report a reproducible bug or regression
title: "[bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report!
- type: input
id: description
attributes:
label: Describe the bug
placeholder: A clear and concise description of what the bug is.
- type: textarea
id: reproduce
attributes:
label: To Reproduce
placeholder: "Steps to reproduce the behavior\n1. Go to '...'\n2. Click on '....'\n3. Scroll down to '....'\n4. See error"
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
placeholder: If applicable, add screenshots to help explain your problem.
- type: textarea
id: expected
attributes:
label: Expected behavior
placeholder: A clear and concise description of what you expected to happen.
- type: input
id: platform
attributes:
label: Platform
placeholder: e.g. MacOS, Windows10...
- type: input
id: browser
attributes:
label: Browser
placeholder: e.g. Chrome, Safari
- type: textarea
id: additional
attributes:
label: Additional context
placeholder: Add any other context about the problem here.

View File

@@ -1,11 +1,8 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: 💭 Questions and Help - Reddit
url: https://www.reddit.com/r/Affine/
about: Please ask and answer questions here.
- name: 💬 Questions and Help - Telegram
url: https://t.me/affineworkos
about: Please ask and answer questions here.
- name: 🗯 Questions and Help - Discord
url: https://discord.gg/yz6tGVsf5p
about: Please ask and answer questions here.
- name: Something else?
url: https://github.com/toeverything/AFFiNE/discussions
about: Feel free to ask and answer questions over in GitHub Discussions
- name: AFFiNE Community Support
url: https://community.affine.pro
about: AFFiNE Community - a place to ask, learn and engage with others

View File

@@ -1,31 +0,0 @@
name: ✨ Feature request
description: An idea or request for new functionality
title: "[feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this feature request!
- type: textarea
id: description
attributes:
label: 1~3 main use cases of the proposed feature
description: e.g. As a ..., I have many tasks scattered across documents, and I want to have a unified entry to view these tasks.
placeholder: e.g. As a ...
validations:
required: true
- type: textarea
id: solution
attributes:
label: Ideas for solution
placeholder: e.g. A task view can be added to view all tasks.
- type: input
id: userType
attributes:
label: what types of users can benefit from using your proposed feature
placeholder: busy student
- type: textarea
id: additional
attributes:
label: Additional context
placeholder: Add any other context or screenshots about the feature request here.

View File

@@ -1,31 +0,0 @@
name: 🪄 Improvement request
description: An improvement to existing functionality
title: "[improvement]: "
labels: ["improvement"]
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this improvement request!
- type: textarea
id: description
attributes:
label: 1~3 main use cases of the proposed improvement
description: e.g. As a ..., I have many tasks scattered across documents, and I want to have a unified entry to view these tasks.
placeholder: e.g. As a ...
validations:
required: true
- type: textarea
id: solution
attributes:
label: Ideas for solution
placeholder: e.g. A task view can be added to view all tasks.
- type: input
id: userType
attributes:
label: what types of users can benefit from using your proposed improvement
placeholder: busy student
- type: textarea
id: additional
attributes:
label: Additional context
placeholder: Add any other context or screenshots about the improvement request here.

60
.github/actions/build-rust/action.yml vendored Normal file
View File

@@ -0,0 +1,60 @@
name: 'AFFiNE Rust build'
description: 'Rust build setup, including cache configuration'
inputs:
target:
description: 'Cargo target'
required: true
nx_token:
description: 'Nx Cloud access token'
required: false
runs:
using: 'composite'
steps:
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: ${{ inputs.target }}
- name: Cache cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
.cargo-cache
target/${{ inputs.target }}
key: stable-${{ inputs.target }}-cargo-cache
- name: Build
if: ${{ inputs.target != 'x86_64-unknown-linux-gnu' && inputs.target != 'aarch64-unknown-linux-gnu' }}
shell: bash
run: |
yarn nx build @affine/native --target ${{ inputs.target }}
env:
NX_CLOUD_ACCESS_TOKEN: ${{ inputs.nx_token }}
- name: Build
if: ${{ inputs.target == 'x86_64-unknown-linux-gnu' }}
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
options: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build -e NX_CLOUD_ACCESS_TOKEN=${{ inputs.nx_token }}
run: |
export CC=x86_64-unknown-linux-gnu-gcc
export CC_x86_64_unknown_linux_gnu=x86_64-unknown-linux-gnu-gcc
yarn nx build @affine/native --target ${{ inputs.target }}
chmod -R 777 node_modules/.cache
chmod -R 777 target
- name: Build
if: ${{ inputs.target == 'aarch64-unknown-linux-gnu' }}
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
options: --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build -e NX_CLOUD_ACCESS_TOKEN=${{ inputs.nx_token }}
run: |
yarn nx build @affine/native --target ${{ inputs.target }}
chmod -R 777 node_modules/.cache
chmod -R 777 target

127
.github/actions/setup-node/action.yml vendored Normal file
View File

@@ -0,0 +1,127 @@
name: 'AFFiNE Node.js Setup'
description: 'Node.js setup for CI, including cache configuration'
inputs:
extra-flags:
description: 'Extra flags to pass to the yarn install.'
required: false
default: '--immutable --inline-builds'
package-install:
description: 'Run the install step.'
required: false
default: 'true'
playwright-install:
description: 'Run the install step for Playwright.'
required: false
default: 'false'
electron-install:
description: 'Download the Electron binary'
required: false
default: 'true'
npm-token:
description: 'The NPM token to use for private packages.'
required: false
default: ''
hard-link-nm:
description: 'set nmMode to hardlinks-local in .yarnrc.yml'
required: false
default: 'true'
runs:
using: 'composite'
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: https://npm.pkg.github.com
scope: '@toeverything'
cache: 'yarn'
- name: Set nmMode
if: ${{ inputs.hard-link-nm == 'true' }}
shell: bash
run: yarn config set nmMode hardlinks-local
- name: yarn install
if: ${{ inputs.package-install == 'true' }}
continue-on-error: true
shell: bash
run: yarn install ${{ inputs.extra-flags }}
env:
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
HUSKY: '0'
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
ELECTRON_SKIP_BINARY_DOWNLOAD: '1'
- name: yarn install (try again)
if: ${{ steps.install.outcome == 'failure' }}
shell: bash
run: yarn install ${{ inputs.extra-flags }}
env:
NODE_AUTH_TOKEN: ${{ inputs.npm-token }}
HUSKY: '0'
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
ELECTRON_SKIP_BINARY_DOWNLOAD: '1'
- name: Get installed Playwright version
id: playwright-version
if: ${{ inputs.playwright-install == 'true' }}
shell: bash
run: echo "version=$(yarn why --json @playwright/test | grep -h 'workspace:.' | jq --raw-output '.children[].locator' | sed -e 's/@playwright\/test@.*://' | head -n 1)" >> $GITHUB_OUTPUT
# Attempt to restore the correct Playwright browser binaries based on the
# currently installed version of Playwright (The browser binary versions
# may change with Playwright versions).
# Note: Playwright's cache directory is hard coded because that's what it
# says to do in the docs. There doesn't appear to be a command that prints
# it out for us.
- uses: actions/cache@v3
id: playwright-cache
if: ${{ inputs.playwright-install == 'true' }}
with:
path: '~/.cache/ms-playwright'
key: '${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}'
# As a fallback, if the Playwright version has changed, try use the
# most recently cached version. There's a good chance that at least one
# of the browser binary versions haven't been updated, so Playwright can
# skip installing that in the next step.
# Note: When falling back to an old cache, `cache-hit` (used below)
# will be `false`. This allows us to restore the potentially out of
# date cache, but still let Playwright decide if it needs to download
# new binaries or not.
restore-keys: |
${{ runner.os }}-playwright-
# If the Playwright browser binaries weren't able to be restored, we tell
# paywright to install everything for us.
- name: Install Playwright's dependencies
shell: bash
if: inputs.playwright-install == 'true' && steps.playwright-cache.outputs.cache-hit != 'true'
run: yarn playwright install --with-deps
- name: Get installed Electron version
id: electron-version
if: ${{ inputs.electron-install == 'true' }}
shell: bash
run: |
echo "version=$(yarn why --json electron | grep -h 'workspace:.' | jq --raw-output '.children[].locator' | sed -e 's/@playwright\/test@.*://' | head -n 1)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: electron-cache
if: ${{ inputs.electron-install == 'true' }}
with:
path: 'node_modules/.cache/electron'
key: '${{ runner.os }}-electron-${{ steps.electron-version.outputs.version }}'
restore-keys: |
${{ runner.os }}-electron-
- name: Install Electron binary
shell: bash
if: inputs.electron-install == 'true'
run: node apps/electron/node_modules/electron/install.js
env:
ELECTRON_OVERRIDE_DIST_PATH: ./node_modules/.cache/electron
- name: Build Infra
shell: bash
run: yarn run build:infra

31
.github/actions/setup-rust/action.yml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: 'AFFiNE Rust setup'
description: 'Rust setup, including cache configuration'
inputs:
target:
description: 'Cargo target'
required: true
toolchain:
description: 'Rustup toolchain'
required: false
default: 'stable'
runs:
using: 'composite'
steps:
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ inputs.toolchain }}
targets: ${{ inputs.target }}
- name: Cache cargo
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: cargo-cache-${{ runner.os }}-${{ inputs.toolchain }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
cargo-cache-${{ runner.os }}-${{ inputs.toolchain }}-

10
.github/auto_assign.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
# This is used for tracking in GitHub project.
# See https://github.com/marketplace/actions/auto-assign-action
# Set to true to add reviewers to pull requests
addReviewers: false
# Set to true to add assignees to pull requests
addAssignees: author
runOnDraft: true

View File

@@ -1,28 +0,0 @@
:3000 {
root /* ./dist
file_server {
precompressed br
}
encode {
zstd
gzip 9
}
@notStatic {
not path /*.css
not path /*.js
not path /*.png
not path /*.jpg
not path /*.svg
not path /*.ttf
not path /*.eot
not path /*.woff
not path /*.woff2
}
handle @notStatic {
try_files {path} /index.html
}
}

View File

@@ -1,39 +0,0 @@
:80 {
reverse_proxy /api/* keck:3001
@websockets {
path /collaboration/*
}
reverse_proxy @websockets keck:3000
reverse_proxy /* lisa:3001 {
header_up Host lisa:3001
}
}
http://lisa:3001 {
root /* ./dist
file_server {
precompressed br
}
encode {
zstd
gzip 9
}
@notStatic {
not path /*.css
not path /*.js
not path /*.png
not path /*.jpg
not path /*.svg
not path /*.ttf
not path /*.eot
not path /*.woff
not path /*.woff2
}
handle @notStatic {
try_files {path} /index.html
}
}

View File

@@ -1,28 +0,0 @@
:80 {
root /* ./dist
file_server {
precompressed br
}
encode {
zstd
gzip 9
}
@notStatic {
not path /*.css
not path /*.js
not path /*.png
not path /*.jpg
not path /*.svg
not path /*.ttf
not path /*.eot
not path /*.woff
not path /*.woff2
}
handle @notStatic {
try_files {path} /index.html
}
}

View File

@@ -1,21 +0,0 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:local
FROM node:16-alpine as relocate
WORKDIR /app
COPY --from=builder /app/dist/apps/ligo-virgo ./dist
COPY --from=builder /app/.github/deployment/Caddyfile-affine ./Caddyfile
RUN rm ./dist/*.txt
# =============
# AFFiNE image
# =============
FROM caddy:2.4.6-alpine as AFFiNE
WORKDIR /app
COPY --from=relocate /app .
EXPOSE 3000
CMD ["caddy", "run"]

View File

@@ -1,33 +0,0 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:keck
FROM node:16-alpine as node_modules
WORKDIR /app
COPY --from=builder /app/dist/apps/keck .
COPY --from=builder /app/apps/keck/package.prod.json ./package.json
RUN npm i
# =============
# keck image
# =============
FROM node:16-alpine as keck
WORKDIR /app
COPY --from=node_modules /app .
ENV FIREBASE_ACCOUNT=
ENV FIREBASE_CERT=
ENV FIREBASE_PROJECT=
ENV HOST=0.0.0.0
ENV PORT=3000
# coding
ENV TZ 'Asia/Shanghai'
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
EXPOSE 3000
CMD ["node", "main.js"]

View File

@@ -1,21 +0,0 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build
FROM node:16-alpine as relocate
WORKDIR /app
COPY --from=builder /app/dist/apps/ligo-virgo ./dist
COPY --from=builder /app/.github/deployment/Caddyfile-lisa ./Caddyfile
RUN rm ./dist/*.txt
# =============
# lisa image
# =============
FROM caddy:2.4.6-alpine as lisa
WORKDIR /app
COPY --from=relocate /app .
EXPOSE 3000
CMD ["caddy", "run"]

View File

@@ -1,21 +0,0 @@
FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git libpng-dev
RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:venus
FROM node:16-alpine as relocate
WORKDIR /app
COPY --from=builder /app/dist/apps/venus ./dist
COPY --from=builder /app/.github/deployment/Caddyfile-venus ./Caddyfile
RUN rm ./dist/*.txt
# =============
# venus image
# =============
FROM caddy:2.4.6-alpine as venus
WORKDIR /app
COPY --from=relocate /app .
EXPOSE 80
CMD ["caddy", "run"]

11
.github/deployment/front/Dockerfile vendored Normal file
View File

@@ -0,0 +1,11 @@
FROM openresty/openresty:1.21.4.1-0-buster
WORKDIR /app
COPY ./apps/core/dist ./dist
COPY ./.github/deployment/front/nginx.conf /usr/local/openresty/nginx/conf/nginx.conf
COPY ./.github/deployment/front/affine.nginx.conf /etc/nginx/conf.d/affine.nginx.conf
RUN mkdir -p /var/log/nginx && \
rm /etc/nginx/conf.d/default.conf
EXPOSE 8080
CMD ["/usr/local/openresty/bin/openresty", "-g", "daemon off;"]

View File

@@ -0,0 +1,13 @@
server {
listen 8080;
root /app/dist;
location / {
try_files $uri $uri/index.html $uri.html =404;
}
error_page 404 /404.html;
location = /404.html {
internal;
}
}

14
.github/deployment/front/nginx.conf vendored Normal file
View File

@@ -0,0 +1,14 @@
worker_processes 4;
error_log /var/log/nginx/error.log warn;
pcre_jit on;
events {
worker_connections 1024;
}
http {
include mime.types;
log_format main '$remote_addr [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
include /etc/nginx/conf.d/*.conf;
}

10
.github/deployment/node/Dockerfile vendored Normal file
View File

@@ -0,0 +1,10 @@
FROM node:18-bookworm-slim
COPY ./apps/server /app
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends openssl && \
rm -rf /var/lib/apt/lists/*
CMD ["node", "--es-module-specifier-resolution=node", "./dist/index.js"]

1
.github/helm/affine-cloud/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
charts/

23
.github/helm/affine-cloud/.helmignore vendored Normal file
View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

6
.github/helm/affine-cloud/Chart.lock vendored Normal file
View File

@@ -0,0 +1,6 @@
dependencies:
- name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 12.5.8
digest: sha256:c91c0dc1370e879538dc9d6e435e731a726ef99d6a3b081372318483792b48a7
generated: "2023-06-27T18:34:12.683806+08:00"

12
.github/helm/affine-cloud/Chart.yaml vendored Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: v2
name: affine-cloud
description: A Helm chart for AFFiNE Cloud
type: application
version: 0.6.1
appVersion: '0.6.1'
dependencies:
- name: postgresql
version: 12.5.8
repository: https://charts.bitnami.com/bitnami

30
.github/helm/affine-cloud/readme.md vendored Normal file
View File

@@ -0,0 +1,30 @@
# Helm Chart Configuration
The following table lists the configurable parameters of this Helm chart and their default values.
## AFFiNE Cloud Server parameters
| Parameter | Description | Default |
| ------------------------------ | -------------------------------------------------- | ------------------ |
| `affineCloud.tag` | The Docker tag of the AffineCloud image to be used | `'nightly-latest'` |
| `affineCloud.resources.cpu` | The CPU resources allocated for AffineCloud | `'250m'` |
| `affineCloud.resources.memory` | The memory resources allocated for AffineCloud | `'0.5Gi'` |
| `affineCloud.signKey` | The key used to sign the JWT tokens | `'c2VjcmV0'` |
| `affineCloud.service.type` | The type of the Kubernetes service | `'ClusterIP'` |
| `affineCloud.service.port` | The port of the Kubernetes service | `'http'` |
| `affineCloud.mail.account` | The email account used to send emails | `''` |
| `affineCloud.mail.password` | The password of the email account | `''` |
## PostgreSQL parameters
| Parameter | Description | Default |
| -------------------------------------------- | ------------------------------------------------------------------------------------- | ------------ |
| `postgresql.auth.username` | Username for the PostgreSQL database | `'affine'` |
| `postgresql.auth.password` | Password for the PostgreSQL database. Please change this for production environments. | `'password'` |
| `postgresql.auth.database` | The name of the default database that will be created on image startup | `'affine'` |
| `postgresql.primary.resources.limits.cpu` | The CPU resources allocated for the PostgreSQL primary node | `'500m'` |
| `postgresql.primary.resources.limits.memory` | The memory resources allocated for the PostgreSQL primary node | `'0.5Gi'` |
For more postgres parameters, please refer to: https://artifacthub.io/packages/helm/bitnami/postgresql
Please note that for the `postgresql.auth.password`, you should provide your own password for production environments. The default value is provided only for demonstration purposes.

View File

@@ -0,0 +1,51 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "affine-cloud.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "affine-cloud.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "affine-cloud.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "affine-cloud.labels" -}}
helm.sh/chart: {{ include "affine-cloud.chart" . }}
{{ include "affine-cloud.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "affine-cloud.selectorLabels" -}}
app.kubernetes.io/name: {{ include "affine-cloud.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

View File

@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ include "affine-cloud.fullname" . }}"
labels:
{{- include "affine-cloud.labels" . | nindent 4 }}
spec:
replicas: 1
selector:
matchLabels:
{{- include "affine-cloud.selectorLabels" . | nindent 6 }}
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 2
template:
metadata:
labels:
{{- include "affine-cloud.selectorLabels" . | nindent 8 }}
spec:
restartPolicy: Always
containers:
- name: affine-cloud
image: "ghcr.io/toeverything/cloud-self-hosted:{{ .Values.affineCloud.tag | default .Chart.AppVersion }}"
env:
- name: PG_USER
value: "{{ .Values.postgresql.auth.username }}"
- name: PG_PASS
value: "{{ .Values.postgresql.auth.password }}"
- name: PG_DATABASE
value: "{{ .Values.postgresql.auth.database }}"
- name: PG_HOST
value: "{{ .Values.postgresql.fullnameOverride | default (printf "%s-postgresql" .Release.Name) }}"
- name: DATABASE_URL
value: "{{ .Values.affineCloud.databaseUrl | default "postgresql://$(PG_USER):$(PG_PASS)@$(PG_HOST)/$(PG_DATABASE)" }}"
envFrom:
- secretRef:
name: affine-cloud-secret
ports:
- containerPort: 3000
livenessProbe:
httpGet:
path: /api/healthz
port: 3000
failureThreshold: 1
initialDelaySeconds: 10
periodSeconds: 10
resources:
limits:
cpu: "{{ .Values.affineCloud.resources.cpu }}"
memory: "{{ .Values.affineCloud.resources.memory }}"

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: Secret
metadata:
name: affine-cloud-secret
type: Opaque
data:
SIGN_KEY: "{{ .Values.affineCloud.signKey }}"
MAIL_ACCOUNT: "{{ .Values.affineCloud.mail.account }}"
MAIL_PASSWORD: "{{ .Values.affineCloud.mail.password }}"

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: "{{ include "affine-cloud.fullname" . }}"
labels:
{{- include "affine-cloud.labels" . | nindent 4 }}
spec:
type: "{{ .Values.affineCloud.service.type }}"
ports:
- name: http
protocol: TCP
port: {{ .Values.affineCloud.service.port }}
targetPort: 3000
selector:
{{- include "affine-cloud.selectorLabels" . | nindent 4 }}

30
.github/helm/affine-cloud/values.yaml vendored Normal file
View File

@@ -0,0 +1,30 @@
affineCloud:
tag: 'canary-5e0d5e0cc65ea46f326fdde12658bfac59b38c9f-0949'
# databaseUrl: 'postgresql://affine:password@affine-cloud-postgresql:5432/affine'
signKey: TUFtdFdzQTJhdGJuem01TA==
mail:
account: ''
password: ''
service:
type: ClusterIP
port: 80
resources:
cpu: '250m'
memory: 0.5Gi
postgresql:
fullnameOverride: tcp-postgresql
auth:
# only for demo, please modify it at prod env
username: affine
password: password
database: affine
primary:
initdb:
scripts:
01-init.sql: |
CREATE DATABASE affine_binary;
GRANT ALL PRIVILEGES ON DATABASE affine_binary TO affine;
resources:
limits:
cpu: '500m'
memory: 0.5Gi

23
.github/helm/affine/.helmignore vendored Normal file
View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

6
.github/helm/affine/Chart.yaml vendored Normal file
View File

@@ -0,0 +1,6 @@
apiVersion: v2
name: affine
description: AFFiNE cloud chart
type: application
version: 0.0.0
appVersion: '0.7.0-canary.18'

View File

@@ -0,0 +1,6 @@
apiVersion: v2
name: graphql
description: AFFiNE GraphQL server
type: application
version: 0.0.0
appVersion: '0.7.0-canary.18'

View File

@@ -0,0 +1,16 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "graphql.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "graphql.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "graphql.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "graphql.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
{{- end }}

View File

@@ -0,0 +1,132 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "graphql.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "graphql.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "graphql.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "graphql.labels" -}}
helm.sh/chart: {{ include "graphql.chart" . }}
{{ include "graphql.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "graphql.selectorLabels" -}}
app.kubernetes.io/name: {{ include "graphql.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "graphql.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "graphql.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}
{{- define "jwt.key" -}}
{{- $secret := lookup "v1" "Secret" .Release.Namespace .Values.app.jwt.secretName -}}
{{- if and $secret $secret.data.private -}}
{{/*
Reusing existing secret data
*/}}
key: {{ $secret.data.private }}
{{- else -}}
{{/*
Generate new data
*/}}
key: {{ genPrivateKey "ecdsa" | b64enc }}
{{- end -}}
{{- end -}}
{{- define "objectStorage.r2" -}}
{{- $secret := lookup "v1" "Secret" .Release.Namespace .Values.app.objectStorage.r2.secretName -}}
{{- if $secret -}}
{{/*
Reusing existing secret data
*/}}
accountId: {{ $secret.data.accountId }}
accessKeyId: {{ $secret.data.accessKeyId }}
secretAccessKey: {{ $secret.data.secretAccessKey }}
bucket: {{ $secret.data.bucket }}
{{- else -}}
{{/*
Generate new data
*/}}
accountId: {{ .Values.app.objectStorage.r2.accountId | b64enc }}
accessKeyId: {{ .Values.app.objectStorage.r2.accessKeyId | b64enc }}
secretAccessKey: {{ .Values.app.objectStorage.r2.secretAccessKey | b64enc }}
bucket: {{ .Values.app.objectStorage.r2.bucket | b64enc }}
{{- end -}}
{{- end -}}
{{- define "objectStorage.oauth.google" -}}
{{- $secret := lookup "v1" "Secret" .Release.Namespace .Values.app.oauth.google.secretName -}}
{{- if $secret -}}
{{/*
Reusing existing secret data
*/}}
clientId: {{ $secret.data.clientId }}
clientSecret: {{ $secret.data.clientSecret }}
{{- else -}}
{{/*
Generate new data
*/}}
clientId: "{{ .Values.app.oauth.google.clientId | b64enc }}"
clientSecret: "{{ .Values.app.oauth.google.clientSecret | b64enc }}"
{{- end -}}
{{- end -}}
{{- define "objectStorage.oauth.github" -}}
{{- $secret := lookup "v1" "Secret" .Release.Namespace .Values.app.oauth.github.secretName -}}
{{- if $secret -}}
{{/*
Reusing existing secret data
*/}}
clientId: {{ $secret.data.clientId }}
clientSecret: {{ $secret.data.clientSecret }}
{{- else -}}
{{/*
Generate new data
*/}}
clientId: "{{ .Values.app.oauth.github.clientId | b64enc }}"
clientSecret: "{{ .Values.app.oauth.github.clientSecret | b64enc }}"
{{- end -}}
{{- end -}}

View File

@@ -0,0 +1,126 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "graphql.fullname" . }}
labels:
{{- include "graphql.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "graphql.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "graphql.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "graphql.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: AUTH_PRIVATE_KEY
valueFrom:
secretKeyRef:
name: "{{ .Values.app.jwt.secretName }}"
key: key
- name: NODE_ENV
value: "{{ .Values.env }}"
- name: DATABSE_PASSWORD
valueFrom:
secretKeyRef:
name: pg-postgresql
key: postgres-password
- name: DATABASE_URL
value: postgres://{{ .Values.database.user }}:$(DATABSE_PASSWORD)@{{ .Values.database.url }}:{{ .Values.database.port }}/{{ .Values.database.name }}
- name: AFFINE_SERVER_PORT
value: "{{ .Values.service.port }}"
- name: AFFINE_SERVER_SUB_PATH
value: "{{ .Values.app.path }}"
- name: AFFINE_SERVER_HOST
value: "{{ .Values.app.host }}"
- name: ENABLE_R2_OBJECT_STORAGE
value: "{{ .Values.app.objectStorage.r2.enabled }}"
{{ if .Values.app.objectStorage.r2.enabled }}
- name: R2_OBJECT_STORAGE_ACCOUNT_ID
valueFrom:
secretKeyRef:
name: "{{ .Values.app.objectStorage.r2.secretName }}"
key: accountId
- name: R2_OBJECT_STORAGE_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: "{{ .Values.app.objectStorage.r2.secretName }}"
key: accessKeyId
- name: R2_OBJECT_STORAGE_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: "{{ .Values.app.objectStorage.r2.secretName }}"
key: secretAccessKey
- name: R2_OBJECT_STORAGE_BUCKET
valueFrom:
secretKeyRef:
name: "{{ .Values.app.objectStorage.r2.secretName }}"
key: bucket
{{ end }}
{{ if .Values.app.oauth.google.enabled }}
- name: OAUTH_GOOGLE_CLIENT_ID
valueFrom:
secretKeyRef:
name: "{{ .Values.app.oauth.google.secretName }}"
key: clientId
- name: OAUTH_GOOGLE_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: "{{ .Values.app.oauth.google.secretName }}"
key: clientSecret
{{ end }}
{{ if .Values.app.oauth.github.enabled }}
- name: OAUTH_GITHUB_CLIENT_ID
valueFrom:
secretKeyRef:
name: "{{ .Values.app.oauth.github.secretName }}"
key: clientId
- name: OAUTH_GITHUB_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: "{{ .Values.app.oauth.github.secretName }}"
key: clientSecret
{{ end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }}
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Values.app.jwt.secretName }}"
type: Opaque
data:
{{- ( include "jwt.key" . ) | indent 2 -}}

View File

@@ -0,0 +1,34 @@
apiVersion: batch/v1
kind: Job
metadata:
name: {{ include "graphql.fullname" . }}-database-migration
labels:
{{- include "graphql.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": pre-install,pre-upgrade
"helm.sh/hook-weight": "-1"
"helm.sh/hook-delete-policy": before-hook-creation
spec:
template:
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
command: ["yarn", "prisma", "migrate", "deploy"]
env:
- name: NODE_ENV
value: "{{ .Values.env }}"
- name: DATABSE_PASSWORD
valueFrom:
secretKeyRef:
name: pg-postgresql
key: postgres-password
- name: DATABASE_URL
value: postgres://{{ .Values.database.user }}:$(DATABSE_PASSWORD)@{{ .Values.database.url }}:{{ .Values.database.port }}/{{ .Values.database.name }}
resources:
requests:
cpu: '100m'
memory: '200Mi'
restartPolicy: Never
backoffLimit: 1

View File

@@ -0,0 +1,10 @@
{{- if .Values.app.oauth.github.enabled -}}
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Values.app.oauth.github.secretName }}"
type: Opaque
data:
{{- ( include "objectStorage.oauth.github" . ) | indent 2 -}}
{{- end }}

View File

@@ -0,0 +1,10 @@
{{- if .Values.app.oauth.google.enabled -}}
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Values.app.oauth.google.secretName }}"
type: Opaque
data:
{{- ( include "objectStorage.oauth.google" . ) | indent 2 -}}
{{- end }}

View File

@@ -0,0 +1,9 @@
{{- if .Values.app.objectStorage.r2.enabled -}}
apiVersion: v1
kind: Secret
metadata:
name: "{{ .Values.app.objectStorage.r2.secretName }}"
type: Opaque
data:
{{- ( include "objectStorage.r2" . ) | indent 2 -}}
{{- end }}

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "graphql.fullname" . }}
labels:
{{- include "graphql.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "graphql.selectorLabels" . | nindent 4 }}

View File

@@ -0,0 +1,12 @@
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "graphql.serviceAccountName" . }}
labels:
{{- include "graphql.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "graphql.fullname" . }}-test-connection"
labels:
{{- include "graphql.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "graphql.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never

View File

@@ -0,0 +1,69 @@
replicaCount: 1
image:
repository: ghcr.io/toeverything/affine-graphql
pullPolicy: IfNotPresent
tag: ''
imagePullSecrets: []
nameOverride: ''
fullnameOverride: ''
# map to NODE_ENV environment variable
env: 'production'
database:
user: 'postgres'
url: 'pg-postgresql'
port: '5432'
name: 'affine'
app:
# AFFINE_SERVER_SUB_PATH
path: ''
# AFFINE_SERVER_HOST
host: '0.0.0.0'
jwt:
secretName: jwt-private-key
# base64 encoded ecdsa private key
privateKey: ''
objectStorage:
r2:
enabled: false
secretName: r2
accountId: ''
accessKeyId: ''
secretAccessKey: ''
bucket: ''
oauth:
google:
enabled: false
secretName: oauth-google
clientId: ''
clientSecret: ''
github:
enabled: false
secretName: oauth-github
clientId: ''
clientSecret: ''
serviceAccount:
create: true
annotations: {}
name: 'affine-graphql'
podAnnotations: {}
podSecurityContext:
fsGroup: 2000
resources:
limits:
cpu: '2000m'
memory: 4Gi
requests:
cpu: '1000m'
memory: 2Gi
probe:
initialDelaySeconds: 20
nodeSelector: {}
tolerations: []
affinity: {}

View File

@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@@ -0,0 +1,6 @@
apiVersion: v2
name: web
description: A Helm chart for Kubernetes
type: application
version: 0.0.0
appVersion: "0.7.0-canary.18"

View File

@@ -0,0 +1,16 @@
1. Get the application URL by running these commands:
{{- if contains "NodePort" .Values.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "web.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "web.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "web.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "web.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
{{- end }}

View File

@@ -0,0 +1,62 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "web.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "web.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "web.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "web.labels" -}}
helm.sh/chart: {{ include "web.chart" . }}
{{ include "web.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "web.selectorLabels" -}}
app.kubernetes.io/name: {{ include "web.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "web.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "web.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "web.fullname" . }}
labels:
{{- include "web.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "web.selectorLabels" . | nindent 6 }}
template:
metadata:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
labels:
{{- include "web.selectorLabels" . | nindent 8 }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "web.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }}
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: {{ .Values.probe.initialDelaySeconds }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "web.fullname" . }}
labels:
{{- include "web.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "web.selectorLabels" . | nindent 4 }}

View File

@@ -0,0 +1,12 @@
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "web.serviceAccountName" . }}
labels:
{{- include "web.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "web.fullname" . }}-test-connection"
labels:
{{- include "web.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "web.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never

View File

@@ -0,0 +1,37 @@
replicaCount: 1
image:
repository: ghcr.io/toeverything/affine-front
pullPolicy: IfNotPresent
tag: ""
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
serviceAccount:
create: true
annotations: {}
name: "affine-web"
podAnnotations: {}
podSecurityContext:
fsGroup: 2000
resources:
limits:
cpu: '500m'
memory: 2Gi
requests:
cpu: '500m'
memory: 2Gi
nodeSelector: {}
tolerations: []
affinity: {}
probe:
initialDelaySeconds: 1

View File

@@ -0,0 +1,62 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "affine.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "affine.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}
{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "affine.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}
{{/*
Common labels
*/}}
{{- define "affine.labels" -}}
helm.sh/chart: {{ include "affine.chart" . }}
{{ include "affine.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}
{{/*
Selector labels
*/}}
{{- define "affine.selectorLabels" -}}
app.kubernetes.io/name: {{ include "affine.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{/*
Create the name of the service account to use
*/}}
{{- define "affine.serviceAccountName" -}}
{{- if .Values.serviceAccount.create }}
{{- default (include "affine.fullname" .) .Values.serviceAccount.name }}
{{- else }}
{{- default "default" .Values.serviceAccount.name }}
{{- end }}
{{- end }}

View File

@@ -0,0 +1,64 @@
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "affine.fullname" . -}}
{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }}
{{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }}
{{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}}
{{- end }}
{{- end }}
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
apiVersion: networking.k8s.io/v1beta1
{{- else -}}
apiVersion: extensions/v1beta1
{{- end }}
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
{{- include "affine.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
- host: "{{ .Values.ingress.host }}"
http:
paths:
- path: /graphql
pathType: Prefix
backend:
service:
name: affine-graphql
port:
number: {{ .Values.graphql.service.port }}
- path: /api
pathType: Prefix
backend:
service:
name: affine-graphql
port:
number: {{ .Values.graphql.service.port }}
- path: /
pathType: Prefix
backend:
service:
name: affine-web
port:
number: {{ .Values.web.service.port }}
{{- end }}

17
.github/helm/affine/values.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
ingress:
enabled: false
className: ''
annotations:
kubernetes.io/ingress.class: nginx
host: affine.pro
tls: []
graphql:
service:
type: ClusterIP
port: 3000
web:
service:
type: ClusterIP
port: 8080

60
.github/helm/deployment_guide.md vendored Normal file
View File

@@ -0,0 +1,60 @@
# Cluster Deployment Guide
This document provides a step-by-step guide for developers on how to deploy services in a Kubernetes cluster. The following content assumes that the reader already has a basic understanding of Kubernetes concepts and operations.
### 1. Configure Service Mesh (Optional)
In the Kubernetes cluster, we optionally use Service Mesh (like Istio and Anthos Service Mesh) to manage the network interactions of microservices. If Service Mesh is already deployed on your cluster or do not need to use the service network, you can skip this step. In this step, we assume that you are using Google Kubernetes Engine (GKE) and have already installed Anthos Service Mesh on your cluster, if you wish to use another Ingress Controller, please refer to the relevant documentation.
To configure your kubectl context to interact with your Kubernetes cluster using the gcloud tool, you need to execute the following commands:
```sh
export CLUSTER_NAME=your_cluster_name
export REGION=your_cluster_region
export PROJECT=your_project_id
gcloud container clusters get-credentials $CLUSTER_NAME --region $REGION --project $PROJECT
```
In this command, you should replace `CLUSTER_NAME`, `REGION` and `PROJECT` with the actual name, region and project id of your Kubernetes cluster. This command retrieves the access credentials for your Kubernetes cluster and automatically configures kubectl to use these credentials.
Now, to inject Service Mesh for a specific Namespace, first, set the environment variable `NAMESPACE` that should correspond to your target Kubernetes Namespace. In this example, we use `prod` as the target Namespace:
```sh
export NAMESPACE=prod
```
Then, we label the Namespace which will enable Istio to automatically inject the sidecar container for all new Pods under this Namespace:
```sh
kubectl label namespace $NAMESPACE istio-injection- istio.io/rev=asm-managed --overwrite
```
Finally, we trigger the Kubernetes Deployment restart mechanism to allow existing Pods to also obtain sidecar container injection:
```sh
kubectl rollout restart deployment -n $NAMESPACE
```
### 2. Deploying the Application
Next, we will deploy our application in the Kubernetes cluster through Helm. First, set relevant environment variables:
```sh
export NAMESPACE=prod
export RELEASE=affine-cloud-prod
export PATH=.github/helm/affine-cloud
```
- `NAMESPACE` should be consistent with the first step, indicating your target Kubernetes Namespace.
- `RELEASE` is the name of your Helm release.
- `PATH` is the location of your Helm chart in your file system.
Finally, use the `helm upgrade --install` command to deploy or upgrade your application:
```sh
helm upgrade --namespace $NAMESPACE --create-namespace --install $RELEASE $PATH
```
This command creates (if it doesn't already exist) and deploys your Helm chart in the specified Namespace. If the release already exists, it will be upgraded.
The above are the complete steps for deploying an application in a Kubernetes cluster. Make sure all prerequisites are met before deploying, and also ensure that you have the correct permissions for operations in Kubernetes.

2
.github/helm/releaser.yaml vendored Normal file
View File

@@ -0,0 +1,2 @@
owner: toeverything
git-repo: helm-charts

62
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
docs:
- 'docs/**/*'
- '**/README.md'
- 'packages/templates/**/*'
test:
- 'tests/**/*'
- '**/tests/**/*'
- '**/__tests__/**/*'
mod:dev:
- 'scripts/**/*'
- 'packages/cli/**/*'
- 'packages/debug/**/*'
mod:plugin:
- 'plugins/**/*'
plugin:bookmark-block:
- 'plugins/bookmark-block/**/*'
plugin:copilot:
- 'plugins/copilot/**/*'
mod:plugin-infra:
- 'packages/plugin-infra/**/*'
mod:workspace: 'packages/workspace/**/*'
mod:i18n: 'packages/i18n/**/*'
mod:env: 'packages/env/**/*'
mod:hooks: 'packages/hooks/**/*'
mod:component: 'packages/component/**/*'
mod:storage: 'packages/storage/**/*'
mod:native: 'packages/native/**/*'
mod:store:
- 'packages/jotai/**/*'
- '**/atoms/**/*'
rust:
- '**/*.rs'
- '**/Cargo.toml'
- '**/Cargo.lock'
- '**/rust-toolchain'
- '**/rust-toolchain.toml'
- '**/rustfmt.toml'
package:y-indexeddb: 'packages/y-indexeddb/**/*'
app:core: 'apps/core/**/*'
app:electron: 'apps/electron/**/*'
app:server: 'apps/server/**/*'
app:docs: 'apps/docs/**/*'

View File

@@ -1,57 +0,0 @@
name: Build AFFiNE-Local
on:
push:
branches: [master]
pull_request:
branches: [master]
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
env:
REGISTRY: ghcr.io
NAMESPACE: toeverything
AFFINE_IMAGE_NAME: AFFiNE
IMAGE_TAG_LATEST: nightly-latest
jobs:
ligo-virgo:
runs-on: self-hosted
environment: development
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker (AFFiNE-Local)
id: meta_affine
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.AFFINE_IMAGE_NAME }}
tags: ${{ env.IMAGE_TAG_LATEST }}
- name: Build and push Docker image (AFFINE-Local)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./.github/deployment/Dockerfile-affine
push: ${{ github.ref == 'refs/heads/master' && true || false }}
tags: ${{ steps.meta_affine.outputs.tags }}
labels: ${{ steps.meta_affine.outputs.labels }}
target: AFFiNE

12
.github/workflows/auto-labeler.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: 'Pull Request Labeler'
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4

554
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,554 @@
name: Build & Test
on:
push:
branches:
- master
- v[0-9]+.[0-9]+.x-staging
- v[0-9]+.[0-9]+.x
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build.yml'
- '!.github/actions/build-rust/action.yml'
- '!.github/actions/setup-node/action.yml'
pull_request:
merge_group:
branches:
- master
- v[0-9]+.[0-9]+.x-staging
- v[0-9]+.[0-9]+.x
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/build.yml'
- '!.github/actions/build-rust/action.yml'
- '!.github/actions/setup-node/action.yml'
env:
DEBUG: napi:*
BUILD_TYPE: canary
APP_NAME: affine
COVERAGE: true
MACOSX_DEPLOYMENT_TARGET: '10.13'
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
electron-install: false
- name: Run i18n codegen
run: yarn i18n-codegen gen
- name: Run Type Check
run: yarn typecheck
- name: Run ESLint
run: yarn lint:eslint --max-warnings=0
- name: Run Prettier
# Set nmMode in `actions/setup-node` will modify the .yarnrc.yml
run: |
git checkout .yarnrc.yml
yarn lint:prettier
- name: Run circular
run: yarn circular
- name: Upload server dist
uses: actions/upload-artifact@v3
with:
name: server-dist
path: ./apps/server/dist
if-no-files-found: error
build-docs:
name: Build Docs
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
electron-install: false
- run: yarn nx build @affine/docs
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
build-storybook:
name: Build Storybook
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
electron-install: false
- run: yarn nx build @affine/storybook
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Upload storybook artifact
uses: actions/upload-artifact@v3
with:
name: storybook
path: ./apps/storybook/storybook-static
if-no-files-found: error
build-core:
name: Build @affine/core
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build Plugins
run: yarn run build:plugins
- name: Build Core
run: yarn nx build @affine/core
- name: Upload core artifact
uses: actions/upload-artifact@v3
with:
name: core
path: ./apps/core/dist
if-no-files-found: error
server-test:
name: Server Test
runs-on: ubuntu-latest
environment: development
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: affine
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Initialize database
run: |
psql -h localhost -U postgres -c "CREATE DATABASE affine;"
psql -h localhost -U postgres -c "CREATE USER affine WITH PASSWORD 'affine';"
psql -h localhost -U postgres -c "ALTER USER affine WITH SUPERUSER;"
env:
PGPASSWORD: affine
- name: Generate prisma client
run: |
yarn exec prisma generate
yarn exec prisma db push
working-directory: apps/server
env:
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
- name: Run init-db script
run: yarn exec ts-node-esm ./scripts/init-db.ts
working-directory: apps/server
env:
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
target: 'x86_64-unknown-linux-gnu'
- name: Build Storage
run: yarn build:storage
- name: Run server tests
run: yarn test:coverage
working-directory: apps/server
env:
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
DATABASE_URL: postgresql://affine:affine@localhost:5432/affine
- name: Upload storage.node
uses: actions/upload-artifact@v3
with:
name: storage.node
path: ./packages/storage/storage.node
if-no-files-found: error
- name: Upload server test coverage results
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./apps/server/.coverage/lcov.info
flags: server-test
name: affine
fail_ci_if_error: false
storybook-test:
name: Storybook Test
runs-on: ubuntu-latest
environment: development
needs: [build-storybook]
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
playwright-install: true
electron-install: false
- name: Download storybook artifact
uses: actions/download-artifact@v3
with:
name: storybook
path: ./apps/storybook/storybook-static
- name: Run storybook tests
working-directory: ./apps/storybook
run: |
yarn exec concurrently -k -s first -n "SB,TEST" -c "magenta,blue" "yarn exec serve ./storybook-static -l 6006" "yarn exec wait-on tcp:6006 && yarn test"
e2e-plugin-test:
name: E2E Plugin Test
runs-on: ubuntu-latest
environment: development
needs: build-core
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
playwright-install: true
electron-install: false
- name: Download core artifact
uses: actions/download-artifact@v3
with:
name: core
path: ./apps/core/dist
- name: Run playwright tests
run: yarn e2e --forbid-only
working-directory: tests/affine-plugin
env:
COVERAGE: true
- name: Collect code coverage report
run: yarn exec nyc report -t .nyc_output --report-dir .coverage --reporter=lcov
- name: Upload e2e test coverage results
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/lcov.info
flags: e2e-plugin-test
name: affine
fail_ci_if_error: false
- name: Upload test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-results-e2e-plugin
path: ./test-results
if-no-files-found: ignore
e2e-test:
name: E2E Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4, 5]
environment: development
needs: build-core
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
playwright-install: true
electron-install: false
- name: Download core artifact
uses: actions/download-artifact@v3
with:
name: core
path: ./apps/core/dist
- name: Run playwright tests
run: yarn e2e --forbid-only --shard=${{ matrix.shard }}/${{ strategy.job-total }}
working-directory: tests/affine-local
env:
COVERAGE: true
- name: Collect code coverage report
run: yarn exec nyc report -t .nyc_output --report-dir .coverage --reporter=lcov
- name: Upload e2e test coverage results
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/lcov.info
flags: e2etest
name: affine
fail_ci_if_error: false
- name: Upload test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-results-e2e-${{ matrix.shard }}
path: ./test-results
if-no-files-found: ignore
e2e-migration-test:
name: E2E Migration Test
runs-on: ubuntu-latest
environment: development
needs: build-core
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
playwright-install: true
electron-install: false
- name: Download core artifact
uses: actions/download-artifact@v3
with:
name: core
path: ./apps/core/dist
- name: Unzip
run: yarn unzip
working-directory: ./tests/affine-legacy/0.7.0-canary.18
- name: Run legacy playwright tests
run: yarn e2e --forbid-only
working-directory: ./tests/affine-legacy/0.7.0-canary.18
- name: Run vitest
run: yarn test
working-directory: ./tests/affine-legacy/0.7.0-canary.18
- name: Upload test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-results-e2e-migration
path: ./tests/affine-legacy/0.7.0-canary.18/test-results
if-no-files-found: ignore
desktop-test:
name: Desktop Test
runs-on: ${{ matrix.spec.os }}
environment: development
strategy:
fail-fast: false
# all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64
matrix:
spec:
- {
os: macos-latest,
platform: macos,
arch: x64,
target: x86_64-apple-darwin,
test: true,
}
- {
os: macos-latest,
platform: macos,
arch: arm64,
target: aarch64-apple-darwin,
test: false,
}
- {
os: ubuntu-latest,
platform: linux,
arch: x64,
target: x86_64-unknown-linux-gnu,
test: true,
}
- {
os: windows-latest,
platform: windows,
arch: x64,
target: x86_64-pc-windows-msvc,
test: true,
}
needs: build-core
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
timeout-minutes: 10
with:
playwright-install: true
hard-link-nm: false
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with:
target: ${{ matrix.spec.target }}
nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Run unit tests
if: ${{ matrix.spec.test }}
shell: bash
run: yarn vitest
working-directory: ./apps/electron
- name: Download core artifact
uses: actions/download-artifact@v3
with:
name: core
path: apps/electron/resources/web-static
- name: Build Plugins
run: yarn run build:plugins
- name: Build Desktop Layers
run: yarn workspace @affine/electron build
- name: Run desktop tests
if: ${{ matrix.spec.test && matrix.spec.os == 'ubuntu-latest' }}
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn workspace @affine/electron test
env:
COVERAGE: true
- name: Run desktop tests
if: ${{ matrix.spec.test && matrix.spec.os != 'ubuntu-latest' }}
run: yarn workspace @affine/electron test
env:
COVERAGE: true
- name: Make bundle
if: ${{ matrix.spec.os == 'macos-latest' && matrix.spec.arch == 'arm64' }}
run: yarn workspace @affine/electron make --platform=darwin --arch=arm64
- name: Bundle output check
if: ${{ matrix.spec.os == 'macos-latest' && matrix.spec.arch == 'arm64' }}
run: |
./scripts/unzip-macos-arm64.sh
yarn ts-node-esm ./scripts/macos-arm64-output-check.mts
working-directory: apps/electron
- name: Collect code coverage report
if: ${{ matrix.spec.test }}
run: yarn exec nyc report -t .nyc_output --report-dir .coverage --reporter=lcov
- name: Upload e2e test coverage results
if: ${{ matrix.spec.test }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/lcov.info
flags: e2etest-${{ matrix.spec.os }}-${{ matrix.spec.arch }}
name: affine
fail_ci_if_error: false
- name: Upload test results
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: test-results-e2e-${{ matrix.spec.os }}-${{ matrix.spec.arch }}
path: ./test-results
if-no-files-found: ignore
unit-test:
name: Unit Test
runs-on: ubuntu-latest
environment: development
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
with:
electron-install: false
- name: Unit Test
run: yarn nx test:coverage @affine/monorepo
- name: Upload unit test coverage results
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./.coverage/store/lcov.info
flags: unittest
name: affine
fail_ci_if_error: false
build-docker:
if: github.ref == 'refs/heads/master'
name: Build Docker
needs:
- lint
- desktop-test
- server-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download core artifact
uses: actions/download-artifact@v3
with:
name: core
path: ./apps/core/dist
- name: Download server dist
uses: actions/download-artifact@v3
with:
name: server-dist
path: ./apps/server/dist
- name: Download storage.node
uses: actions/download-artifact@v3
with:
name: storage.node
path: ./apps/server
- name: Setup Git short hash
run: |
echo "GIT_SHORT_HASH=$(git rev-parse --short HEAD)" >> "$GITHUB_ENV"
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
logout: false
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build front Dockerfile
uses: docker/build-push-action@v4
with:
context: .
push: true
pull: true
platforms: linux/amd64,linux/arm64
provenance: true
file: .github/deployment/front/Dockerfile
tags: ghcr.io/toeverything/affine-front:${{ env.GIT_SHORT_HASH }},ghcr.io/toeverything/affine-front:latest
# setup node without cache configuration
# Prisma cache is not compatible with docker build cache
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
registry-url: https://npm.pkg.github.com
scope: '@toeverything'
- name: Install Node.js dependencies
run: yarn workspaces focus @affine/server --production
- name: Generate Prisma client
run: yarn workspace @affine/server prisma generate
- name: Build graphql Dockerfile
uses: docker/build-push-action@v4
with:
context: .
push: true
pull: true
platforms: linux/amd64,linux/arm64
provenance: true
file: .github/deployment/node/Dockerfile
tags: ghcr.io/toeverything/affine-graphql:${{ env.GIT_SHORT_HASH }},ghcr.io/toeverything/affine-graphql:latest

36
.github/workflows/cache-cleanup.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
name: Cleanup caches for closed branches
on:
pull_request:
types:
- closed
workflow_dispatch:
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Cleanup
run: |
gh extension install actions/gh-actions-cache
REPO=${{ github.repository }}
BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
echo "Done"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

18
.github/workflows/cancel.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Cancel
on:
pull_request_target:
types:
- edited
- synchronize
jobs:
cancel:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: styfle/cancel-workflow-action@0.11.0
with:
# See https://api.github.com/repos/toeverything/AFFiNE/actions/workflows
workflow_id: 44038251, 61883931
access_token: ${{ github.token }}

70
.github/workflows/codeql.yml vendored Normal file
View File

@@ -0,0 +1,70 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: 'CodeQL'
on:
push:
branches: [master]
pull_request:
merge_group:
# The branches below must be a subset of the branches above
branches: [master]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

66
.github/workflows/helm-releaser.yml vendored Normal file
View File

@@ -0,0 +1,66 @@
name: Release Charts
on:
push:
branches: [master]
paths:
- '.github/helm/**/Chart.yml'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout Helm chart repo
uses: actions/checkout@v3
with:
repository: toeverything/helm-charts
path: .helm-chart-repo
ref: gh-pages
token: ${{ secrets.HELM_RELEASER_TOKEN }}
- name: Install Helm
uses: azure/setup-helm@v3
- name: Install chart releaser
run: |
set -e
arch="$(dpkg --print-architecture)"
curl -s https://api.github.com/repos/helm/chart-releaser/releases/latest \
| yq --indent 0 --no-colors --input-format json --unwrapScalar \
".assets[] | select(.name | test("\""^chart-releaser_.+_linux_${arch}\.tar\.gz$"\"")) | .browser_download_url" \
| xargs curl -SsL \
| tar zxf - -C /usr/local/bin
- name: Package charts
working-directory: .helm-chart-repo
run: |
mkdir -p .cr-index
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm dependencies build ../.github/helm/affine
helm dependencies build ../.github/helm/affine-cloud
cr package ../.github/helm/affine
cr package ../.github/helm/affine-cloud
- name: Publish charts
working-directory: .helm-chart-repo
run: |
set -ex
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
owner=$(cut -d '/' -f 1 <<< '${{ github.repository }}')
repo=helm-charts
git_hash=$(git rev-parse HEAD)
cr upload --commit "$git_hash" \
--git-repo "$repo" --owner "$owner" \
--token '${{ secrets.HELM_RELEASER_TOKEN }}' \
--skip-existing
cr index --git-repo "$repo" --owner "$owner" \
--token '${{ secrets.HELM_RELEASER_TOKEN }}' \
--index-path .cr-index --push

View File

@@ -1,69 +0,0 @@
name: Build Keck
on:
workflow_dispatch:
push:
branches: [master]
paths:
- 'apps/keck/**'
- '.github/deployment'
- '.github/workflows/keck.yml'
pull_request:
branches: [master]
paths:
- 'apps/keck/**'
- '.github/deployment'
- '.github/workflows/keck.yml'
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
env:
REGISTRY: ghcr.io
NAMESPACE: toeverything
KECK_IMAGE_NAME: keck
IMAGE_TAG: canary-${{ github.sha }}
IMAGE_TAG_LATEST: nightly-latest
jobs:
ligo-virgo:
runs-on: self-hosted
environment: development
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker (keck)
id: meta_keck
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.KECK_IMAGE_NAME }}
tags: |
${{ env.IMAGE_TAG }}
${{ env.IMAGE_TAG_LATEST }}
- name: Build and push Docker image (keck)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./.github/deployment/Dockerfile-keck
push: ${{ github.ref == 'refs/heads/field' && true || false }}
tags: ${{ steps.meta_keck.outputs.tags }}
labels: ${{ steps.meta_keck.outputs.labels }}
target: keck

19
.github/workflows/label-checker.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Label Checker
on:
pull_request:
types:
- opened
- labeled
- unlabeled
branches:
- master
jobs:
check_labels:
name: PR should not have a blocked label
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
none_of: blocked
repo_token: ${{ secrets.GITHUB_TOKEN }}

37
.github/workflows/languages-sync.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: Languages Sync
on:
push:
branches: ['master']
paths:
- 'packages/i18n/**'
- '.github/workflows/languages-sync.yml'
- '!.github/actions/setup-node/action.yml'
pull_request_target:
branches: ['master']
paths:
- 'packages/i18n/**'
- '.github/workflows/languages-sync.yml'
- '!.github/actions/setup-node/action.yml'
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Check Language Key
if: github.ref != 'refs/heads/master'
working-directory: ./packages/i18n
run: yarn run sync-languages:check
env:
TOLGEE_API_KEY: ${{ secrets.TOLGEE_API_KEY }}
- name: Sync Languages
if: github.ref == 'refs/heads/master'
working-directory: ./packages/i18n
run: yarn run sync-languages
env:
TOLGEE_API_KEY: ${{ secrets.TOLGEE_API_KEY }}

View File

@@ -1,62 +0,0 @@
name: Lint
on:
push:
branches: [master]
pull_request:
branches: [master]
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
jobs:
main:
strategy:
matrix:
node-version: [16]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
# TODO Remove the next line after cleaning all errors
continue-on-error: true
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use pnpm
uses: pnpm/action-setup@v2
with:
version: 7
- name: Use Node.js ${{ matrix.node-version }}
# https://github.com/actions/setup-node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install node modules
run: pnpm install
- name: Lint
if: always()
run: pnpm run lint:with-cache
# - name: Check
# if: always()
# run: pnpm run check
# - name: Format Check
# if: always()
# run: pnpm run format:ci
# - name: Build
# run: pnpm run build
# - name: Test
# run: pnpm run test

View File

@@ -1,60 +0,0 @@
name: Build Lisa
on:
push:
branches: [master]
pull_request:
branches: [master]
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
env:
REGISTRY: ghcr.io
NAMESPACE: toeverything
LISA_IMAGE_NAME: lisa
IMAGE_TAG: canary-${{ github.sha }}
IMAGE_TAG_LATEST: nightly-latest
jobs:
ligo-virgo:
runs-on: self-hosted
environment: development
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker (lisa)
id: meta_lisa
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.LISA_IMAGE_NAME }}
tags: |
${{ env.IMAGE_TAG }}
${{ env.IMAGE_TAG_LATEST }}
- name: Build and push Docker image (lisa)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./.github/deployment/Dockerfile-lisa
push: ${{ github.ref == 'refs/heads/master' && true || false }}
tags: ${{ steps.meta_lisa.outputs.tags }}
labels: ${{ steps.meta_lisa.outputs.labels }}
target: lisa

226
.github/workflows/nightly-build.yml vendored Normal file
View File

@@ -0,0 +1,226 @@
name: Build Canary Desktop App on Staging Branch
on:
push:
branches:
# 0.6.x-staging
- v[0-9]+.[0-9]+.x-staging
# 0.6.1-staging
- v[0-9]+.[0-9]+.[0-9]+-staging
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/nightly-build.yml'
- '!.github/actions/build-rust/action.yml'
- '!.github/actions/setup-rust/action.yml'
- '!.github/actions/setup-node/action.yml'
permissions:
actions: write
contents: write
security-events: write
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
env:
BUILD_TYPE: internal
jobs:
set-build-version:
runs-on: ubuntu-latest
environment: production
outputs:
version: 0.0.0-internal.${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@v3
- uses: toeverything/set-build-version@latest
- id: version
run: echo ::set-output name=version::${{ env.BUILD_VERSION }}
before-make:
runs-on: ubuntu-latest
environment: production
needs:
- set-build-version
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Replace Version
run: ./scripts/set-version.sh ${{ needs.set-build-version.outputs.version }}
- name: generate-assets
working-directory: apps/electron
run: yarn generate-assets
env:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
NEXT_PUBLIC_SENTRY_DSN: ${{ secrets.NEXT_PUBLIC_SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
- name: Upload core artifact
uses: actions/upload-artifact@v3
with:
name: core
path: apps/electron/resources/web-static
make-distribution:
environment: production
strategy:
# all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64
matrix:
spec:
- {
os: macos-latest,
platform: darwin,
arch: x64,
target: x86_64-apple-darwin,
}
- {
os: macos-latest,
platform: darwin,
arch: arm64,
target: aarch64-apple-darwin,
}
- {
os: ubuntu-latest,
platform: linux,
arch: x64,
target: x86_64-unknown-linux-gnu,
}
- {
os: windows-latest,
platform: win32,
arch: x64,
target: x86_64-pc-windows-msvc,
}
runs-on: ${{ matrix.spec.os }}
needs:
- before-make
- set-build-version
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
SKIP_GENERATE_ASSETS: 1
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with:
target: ${{ matrix.spec.target }}
nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Replace Version
run: ./scripts/set-version.sh ${{ needs.set-build-version.outputs.version }}
- uses: actions/download-artifact@v3
with:
name: core
path: apps/electron/resources/web-static
- name: Build Plugins
run: yarn run build:plugins
- name: Build Desktop Layers
run: yarn workspace @affine/electron build
- name: Signing By Apple Developer ID
if: ${{ matrix.spec.platform == 'darwin' }}
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: make
run: yarn workspace @affine/electron make --platform=${{ matrix.spec.platform }} --arch=${{ matrix.spec.arch }}
- name: Save artifacts (mac)
if: ${{ matrix.spec.platform == 'darwin' }}
run: |
mkdir -p builds
mv apps/electron/out/*/make/*.dmg ./builds/affine-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.dmg
mv apps/electron/out/*/make/zip/darwin/${{ matrix.spec.arch }}/*.zip ./builds/affine-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.zip
- name: Save artifacts (windows)
if: ${{ matrix.spec.platform == 'win32' }}
run: |
mkdir -p builds
mv apps/electron/out/*/make/zip/win32/x64/AFFiNE*-win32-x64-*.zip ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.zip
mv apps/electron/out/*/make/squirrel.windows/x64/*.exe ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.exe
mv apps/electron/out/*/make/squirrel.windows/x64/*.msi ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.msi
mv apps/electron/out/*/make/squirrel.windows/x64/*.nupkg ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.nupkg
- name: Save artifacts (linux)
if: ${{ matrix.spec.platform == 'linux' }}
run: |
mkdir -p builds
mv apps/electron/out/*/make/zip/linux/x64/*.zip ./builds/affine-${{ env.BUILD_TYPE }}-linux-x64.zip
mv apps/electron/out/*/make/AppImage/x64/*.AppImage ./builds/affine-${{ env.BUILD_TYPE }}-linux-x64.AppImage
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: affine-${{ matrix.spec.platform }}-${{ matrix.spec.arch }}-builds
path: builds
release:
needs:
- make-distribution
- set-build-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Artifacts (macos-x64)
uses: actions/download-artifact@v3
with:
name: affine-darwin-x64-builds
path: ./
- name: Download Artifacts (macos-arm64)
uses: actions/download-artifact@v3
with:
name: affine-darwin-arm64-builds
path: ./
- name: Download Artifacts (windows-x64)
uses: actions/download-artifact@v3
with:
name: affine-win32-x64-builds
path: ./
- name: Download Artifacts (linux-x64)
uses: actions/download-artifact@v3
with:
name: affine-linux-x64-builds
path: ./
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Generate Release yml
run: |
cp ./apps/electron/scripts/generate-yml.js .
node generate-yml.js
env:
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
- name: Create Release Draft
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
repository: 'toeverything/AFFiNE-Releases'
name: ${{ needs.set-build-version.outputs.version }}
tag_name: ${{ needs.set-build-version.outputs.version }}
prerelease: true
files: |
./VERSION
./*.zip
./*.dmg
./*.exe
./*.nupkg
./RELEASES
./*.AppImage
./*.apk
./*.yml

54
.github/workflows/nx.yml vendored Normal file
View File

@@ -0,0 +1,54 @@
name: NX
on:
push:
branches:
- master
- v[0-9]+.[0-9]+.x-staging
- v[0-9]+.[0-9]+.x
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/nx.yml'
- '!.github/actions/build-rust/action.yml'
- '!.github/actions/setup-node/action.yml'
pull_request:
merge_group:
branches:
- master
- v[0-9]+.[0-9]+.x-staging
- v[0-9]+.[0-9]+.x
paths-ignore:
- README.md
- .github/**
- '!.github/workflows/nx.yml'
- '!.github/actions/build-rust/action.yml'
- '!.github/actions/setup-node/action.yml'
jobs:
main:
name: Nx Cloud - Main Job
uses: nrwl/ci/.github/workflows/nx-cloud-main.yml@v0.13.0
with:
runs-on: macos-latest
main-branch-name: master
number-of-agents: 5
init-commands: |
yarn exec nx-cloud start-ci-run --stop-agents-after="build" --agent-count=5
environment-variables: |
BUILD_TYPE=canary
# parallel-commands: |
# yarn exec nx-cloud record -- yarn exec nx format:check
parallel-commands-on-agents: |
yarn exec nx affected --target=build --parallel=5
timeout: 60
agents:
name: Nx Cloud - Agents
uses: nrwl/ci/.github/workflows/nx-cloud-agents.yml@v0.13.0
with:
runs-on: macos-latest
number-of-agents: 5
environment-variables: |
BUILD_TYPE=canary
timeout: 60

12
.github/workflows/pr-auto-assign.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: Pull request auto assign
# on: pull_request
on:
pull_request:
types: [opened, ready_for_review]
jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.4

23
.github/workflows/pr-title-lint.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: PR Title Lint
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- master
permissions:
contents: read
jobs:
check-pull-request-title:
name: Check pull request title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- run: echo "${{ github.event.pull_request.title }}" | npx commitlint -g ./.commitlintrc.json

View File

@@ -0,0 +1,223 @@
name: Release Desktop App
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-canary.[0-9]+'
workflow_dispatch:
inputs:
version:
description: App Version
required: true
default: 0.0.0
is-draft:
description: 'Draft Release?'
type: boolean
required: true
default: true
is-pre-release:
description: 'Pre Release? (labeled as "PreRelease")'
type: boolean
required: true
default: true
build-type:
description: 'Build Type (canary, beta or stable)'
type: string
required: true
default: canary
permissions:
actions: write
contents: write
security-events: write
env:
BUILD_TYPE: ${{ github.event.inputs.build-type || (github.ref_type == 'tag' && contains(github.ref, 'canary') && 'canary') }}
DEBUG: napi:*
APP_NAME: affine
MACOSX_DEPLOYMENT_TARGET: '10.13'
jobs:
before-make:
runs-on: ubuntu-latest
environment: production
outputs:
RELEASE_VERSION: ${{ steps.get-canary-version.outputs.RELEASE_VERSION }}
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Get canary version
id: get-canary-version
if: ${{ github.ref_type == 'tag' }}
run: |
TAG_VERSION=${GITHUB_REF#refs/tags/v}
PACKAGE_VERSION=$(node -p "require('./apps/electron/package.json').version")
if [ "$TAG_VERSION" != "$PACKAGE_VERSION" ]; then
echo "Tag version ($TAG_VERSION) does not match package.json version ($PACKAGE_VERSION)"
exit 1
fi
echo "RELEASE_VERSION=$(node -p "require('./apps/electron/package.json').version")" >> $GITHUB_OUTPUT
- name: generate-assets
run: yarn workspace @affine/electron generate-assets
env:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
RELEASE_VERSION: ${{ github.event.inputs.version || steps.get-canary-version.outputs.RELEASE_VERSION }}
- name: Upload core artifact
uses: actions/upload-artifact@v3
with:
name: core
path: apps/electron/resources/web-static
make-distribution:
environment: production
strategy:
# all combinations: macos-latest x64, macos-latest arm64, windows-latest x64, ubuntu-latest x64
matrix:
spec:
- {
os: macos-latest,
platform: darwin,
arch: x64,
target: x86_64-apple-darwin,
}
- {
os: macos-latest,
platform: darwin,
arch: arm64,
target: aarch64-apple-darwin,
}
- {
os: ubuntu-latest,
platform: linux,
arch: x64,
target: x86_64-unknown-linux-gnu,
}
- {
os: windows-latest,
platform: win32,
arch: x64,
target: x86_64-pc-windows-msvc,
}
runs-on: ${{ matrix.spec.os }}
needs: before-make
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
SKIP_GENERATE_ASSETS: 1
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Build AFFiNE native
uses: ./.github/actions/build-rust
with:
target: ${{ matrix.spec.target }}
nx_token: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- uses: actions/download-artifact@v3
with:
name: core
path: apps/electron/resources/web-static
- name: Build Plugins
run: yarn run build:plugins
- name: Build Desktop Layers
run: yarn workspace @affine/electron build
- name: Signing By Apple Developer ID
if: ${{ matrix.spec.platform == 'darwin' }}
uses: apple-actions/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: make
run: yarn workspace @affine/electron make --platform=${{ matrix.spec.platform }} --arch=${{ matrix.spec.arch }}
- name: Save artifacts (mac)
if: ${{ matrix.spec.platform == 'darwin' }}
run: |
mkdir -p builds
mv apps/electron/out/*/make/*.dmg ./builds/affine-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.dmg
mv apps/electron/out/*/make/zip/darwin/${{ matrix.spec.arch }}/*.zip ./builds/affine-${{ env.BUILD_TYPE }}-macos-${{ matrix.spec.arch }}.zip
- name: Save artifacts (windows)
if: ${{ matrix.spec.platform == 'win32' }}
run: |
mkdir -p builds
mv apps/electron/out/*/make/zip/win32/x64/AFFiNE*-win32-x64-*.zip ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.zip
mv apps/electron/out/*/make/squirrel.windows/x64/*.exe ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.exe
mv apps/electron/out/*/make/squirrel.windows/x64/*.msi ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.msi
mv apps/electron/out/*/make/squirrel.windows/x64/*.nupkg ./builds/affine-${{ env.BUILD_TYPE }}-windows-x64.nupkg
- name: Save artifacts (linux)
if: ${{ matrix.spec.platform == 'linux' }}
run: |
mkdir -p builds
mv apps/electron/out/*/make/zip/linux/x64/*.zip ./builds/affine-${{ env.BUILD_TYPE }}-linux-x64.zip
mv apps/electron/out/*/make/AppImage/x64/*.AppImage ./builds/affine-${{ env.BUILD_TYPE }}-linux-x64.AppImage
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: affine-${{ matrix.spec.platform }}-${{ matrix.spec.arch }}-builds
path: builds
release:
needs: [before-make, make-distribution]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download Artifacts (macos-x64)
uses: actions/download-artifact@v3
with:
name: affine-darwin-x64-builds
path: ./
- name: Download Artifacts (macos-arm64)
uses: actions/download-artifact@v3
with:
name: affine-darwin-arm64-builds
path: ./
- name: Download Artifacts (windows-x64)
uses: actions/download-artifact@v3
with:
name: affine-win32-x64-builds
path: ./
- name: Download Artifacts (linux-x64)
uses: actions/download-artifact@v3
with:
name: affine-linux-x64-builds
path: ./
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Generate Release yml
run: |
cp ./apps/electron/scripts/generate-yml.js .
node generate-yml.js
env:
RELEASE_VERSION: ${{ github.event.inputs.version || needs.before-make.outputs.RELEASE_VERSION }}
- name: Create Release Draft
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
name: ${{ github.event.inputs.version || needs.before-make.outputs.RELEASE_VERSION }}
body: ''
draft: ${{ github.event.inputs.is-draft || true }}
prerelease: ${{ github.event.inputs.is-pre-release || needs.before-make.outputs.version }}
files: |
./VERSION
./*.zip
./*.dmg
./*.exe
./*.nupkg
./RELEASES
./*.AppImage
./*.apk
./*.yml

19
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Try publishing npm@latest release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Try publishing to NPM
run: ./scripts/publish.sh
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -1,67 +0,0 @@
name: Build Venus
on:
push:
branches: [master]
paths:
- 'apps/venus/**'
- '.github/deployment'
- '.github/workflows/venus.yml'
pull_request:
branches: [master]
paths:
- 'apps/venus/**'
- '.github/workflows/venus.yml'
# Cancels all previous workflow runs for pull requests that have not completed.
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
# The concurrency group contains the workflow name and the branch name for
# pull requests or the commit hash for any other events.
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
env:
REGISTRY: ghcr.io
NAMESPACE: toeverything
VENUS_IMAGE_NAME: venus
IMAGE_TAG: canary-${{ github.sha }}
IMAGE_TAG_LATEST: nightly-latest
jobs:
ligo-virgo:
runs-on: self-hosted
environment: development
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker (venus)
id: meta_venus
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
images: ${{ env.REGISTRY }}/${{ env.NAMESPACE }}/${{ env.VENUS_IMAGE_NAME }}
tags: |
${{ env.IMAGE_TAG }}
${{ env.IMAGE_TAG_LATEST }}
- name: Build and push Docker image (venus)
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./.github/deployment/Dockerfile-venus
push: ${{ github.ref == 'refs/heads/master' && true || false }}
tags: ${{ steps.meta_venus.outputs.tags }}
labels: ${{ steps.meta_venus.outputs.labels }}
target: venus

22
.github/workflows/workers.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Deploy Cloudflare Worker
on:
push:
branches:
- master
paths:
- packages/workers/**
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
environment: production
steps:
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/wrangler-action@2.0.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
workingDirectory: 'packages/workers'

40
.gitignore vendored
View File

@@ -1,9 +1,19 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
.yarn/versions
# compiled output
*dist
/tmp
/out-tsc
.nyc_output
.coverage
.swc
# dependencies
node_modules
@@ -19,21 +29,22 @@ node_modules
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/settings.template.json
!.vscode/launch.template.json
!.vscode/extensions.json
# misc
/.sass-cache
/connect.lock
/coverage
coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
.pnpm-debug.log
/typings
tsconfig.tsbuildinfo
# System Files
.DS_Store
@@ -43,3 +54,26 @@ Thumbs.db
*.env.local
*.local.env
.history
.next
.vercel
out/
storybook-static
i18n-generated.ts
test-results
playwright-report
playwright/.cache
download
# Cache
.eslintcache
next-env.d.ts
.rollup.cache
# Rust
target
*.node
tsconfig.node.tsbuildinfo
lib
affine.db

View File

@@ -1,8 +1,23 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# npx lint-staged
# check lockfile is up to date
yarn install --mode=skip-build --inline-builds --immutable
pnpm run lint:with-cache
pnpm run check
pnpm run format:ci
# build infra code
yarn -T run build:infra
# generate prisma client type
yarn workspace @affine/server prisma generate
# generate i18n
yarn i18n-codegen gen
# lint staged files
yarn exec lint-staged
# type check
yarn typecheck
# circular dependency check
yarn circular

View File

@@ -1,14 +0,0 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
# Show just the current branch in Git
# See https://stackoverflow.com/questions/1417957/show-just-the-current-branch-in-git/1418022#1418022
current_branch=$(git rev-parse --abbrev-ref HEAD)
default_branch="master"
if test $current_branch != $default_branch; then
exit 0
fi
npm run type:check

21
.i18n-codegen.json Normal file
View File

@@ -0,0 +1,21 @@
{
"$schema": "./node_modules/@magic-works/i18n-codegen/schema.json",
"version": 1,
"list": [
{
"input": "./packages/i18n/src/resources/en.json",
"output": "./packages/i18n/src/i18n-generated",
"parser": {
"type": "i18next",
"contextSeparator": "$",
"pluralSeparator": "_"
},
"generator": {
"type": "i18next/react-hooks",
"hooks": "useAFFiNEI18N",
"emitTS": true,
"shouldUnescape": true
}
}
]
}

Some files were not shown because too many files have changed in this diff Show More