Commit Graph

430 Commits

Author SHA1 Message Date
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
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
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
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
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
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
8d34618849 feat: binary export 2022-08-10 00:52:50 +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
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
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
lawvs
5fdbd90877 fix: clean ReferenceMenuPlugin side effect 2022-08-09 15:00:58 +08:00
QiShaoXuan
75083f1c75 style: update code style 2022-08-09 14:54:59 +08:00
Whitewater
81867d85e3
chore: prefer const 2022-08-09 12:33:56 +08:00
DiamondThree
c2edd93c72 fix page title tranform 2022-08-09 12:14:14 +08:00
QiShaoXuan
849bf813b4 Merge branch 'develop' into fix/clipboard 2022-08-09 11:28:20 +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
tzhangchi
2310b4306f feat(Switcher): change words 2022-08-09 10:19:57 +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
austaras
eff461891d fix(plugin): left menu item refresh on blockId change 2022-08-08 18:44:45 +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
DarkSky
45763aa4e3 chore: update deps 2022-08-08 01:16:25 +08:00
DarkSky
63e1989d4b
Merge branch 'master' into develop 2022-08-07 22:33:30 +08:00
tzhangchi
450a54bcb9 fix(Reference): add robust judgment 2022-08-07 19:58:37 +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
Caleb OLeary
7042a04212 fix(component): fixes codeblock so lang selection persists across refresh 2022-08-06 12:22:05 -05: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
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
Caleb OLeary
b183506c13 feat(component): add support for elixir highlighting in code block 2022-08-05 23:14:10 -05: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
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
DarkSky
ecc7080179 Revert "Merge pull request #42 from toeverything/feat/sub-page"
This reverts commit cf6491fb0c, reversing
changes made to e12deb302f.
2022-08-05 22:06:31 +08:00
SaikaSakura
5c51457761 feat: outer drag 、fix new page selection 2022-08-05 19:29:26 +08:00
Whitewater
cf6491fb0c
Merge pull request #42 from toeverything/feat/sub-page
Feat/sub page
2022-08-05 17:44:34 +08:00
austaras
e12deb302f fix(editor): behavior when clicking in blank page and backspacing on last group 2022-08-05 17:38:39 +08:00
lawvs
8102c24f14 chore: update text 2022-08-05 16:35:26 +08:00
lawvs
a4013d7378 chore: add overflow scroll 2022-08-05 16:04:02 +08:00
lawvs
bd15d2d674 fix: ci 2022-08-05 16:04:02 +08:00
lawvs
f0678e1eff chore: tweak style 2022-08-05 16:04:02 +08:00
lawvs
612ee4926d chore: add kanban card ref page flag 2022-08-05 16:04:02 +08:00
lawvs
4a7c6be8a0 chore: add example feature flag bootstrap 2022-08-05 16:04:02 +08:00
lawvs
07cf74d52f fix: feature flag offline mode 2022-08-05 16:04:02 +08:00
lawvs
42c943f904 chore: clean code 2022-08-05 16:04:02 +08:00
lawvs
93f7ebf5c9 chore: update modal 2022-08-05 16:04:02 +08:00
lawvs
0709b5557c refactor: switch to useEditor 2022-08-05 16:04:02 +08:00
lawvs
974239bf9d chore: rename to ref page 2022-08-05 16:04:02 +08:00
lawvs
c609d40f5a fix: import path 2022-08-05 16:04:02 +08:00
lawvs
bac8c91497 feat: kanban card open sub page 2022-08-05 16:04:02 +08:00
lawvs
de510ba5ae chore: clean code 2022-08-05 16:04:02 +08:00
lawvs
4c882c13cc feat: add sub page 2022-08-05 16:04:02 +08:00
QiShaoXuan
4f73eeb9de fix: fixed can not add new card in kanban 2022-08-05 15:06:12 +08:00
alt0
b3c0bf5a89 fix: disable reading mode 2022-08-05 14:03:32 +08:00
Chi Zhang
eb4589cbe0
Merge pull request #92 from toeverything/bugfix/Backspace-block-in-group
fix bacakspace in group first block
2022-08-05 10:43:59 +08:00
DiamondThree
75ebb6a59f
Merge pull request #31 from toeverything/bugfix/iframe
fix iframe will take away the focus
2022-08-04 22:03:27 +08:00
QiShaoXuan
eee90f1a5c feat: improved clipboard event determination conditions 2022-08-04 19:18:45 +08:00
DiamondThree
afa640ac52 fix lint 2022-08-04 19:10:25 +08:00
mitsuhatu
1f109d62bc
Merge pull request #94 from toeverything/fixbug-issue76-mitsuha-dev
fixbug: [issue76]when click activities button, throw error;
2022-08-04 19:07:53 +08:00
DiamondThree
228bcd8c06 fix lint 2022-08-04 19:05:17 +08:00
DiamondThree
fc1377bcfb add loding style 2022-08-04 19:01:04 +08:00
DarkSky
1a43ce4d02 feat: fix private prefix 2022-08-04 18:55:23 +08:00
mitsuha
b129030dbb fixbug: [issue76]when click activities button, throw error; 2022-08-04 18:42:55 +08:00
mitsuha
f0713400d0 fixbug: [issue76]when click activities button, throw error; 2022-08-04 18:39:01 +08:00
mitsuha
9ec41c013b fixbug: [issue76]when click activities button, throw error; 2022-08-04 18:34:47 +08:00
austaras
c63d5da4df refact(hook): remove afterOnNodeDragOver 2022-08-04 18:17:39 +08:00
Qi
4b81cdbf27
Merge pull request #91 from toeverything/fix/lighter-box-shadow
fix: lighter box shadow
2022-08-04 18:15:16 +08:00
DiamondThree
f490ad497b fix bacakspace in group first block 2022-08-04 17:59:34 +08:00
DarkSky
e46da42fac feat: query blocks 2022-08-04 17:54:05 +08:00
austaras
c4e39980c6 fix(whiteboard): disable editor rotation 2022-08-04 17:50:47 +08:00
alt0
ce5a523b12 fix: rename shadowSxDownLg -> shadow1 2022-08-04 17:47:09 +08:00
mitsuhatu
28997ad966
Merge pull request #89 from toeverything/opti-page-tree-mitsuha-dev
opti: 1.adjust layout style;
2022-08-04 17:30:17 +08:00
alt0
37a7e36c45 fix: lighter box shadow 2022-08-04 17:29:51 +08:00
mitsuha
5b682188a8 opti: 1.adjust layout style; 2022-08-04 17:20:03 +08:00
Qi
869e0f7ebf
Merge pull request #86 from toeverything/fix/scroll
fix: fixed #81
2022-08-04 16:23:49 +08:00
Qi
04b56ddff3
Merge pull request #44 from toeverything/feat/block-pendant
Feat/block pendant
2022-08-04 16:23:00 +08:00
austaras
511afe63d9 fix(component): children line style in whiteboard 2022-08-04 15:36:54 +08:00
DiamondThree
9708f0dc0d fix iframe 2022-08-04 15:26:18 +08:00
DarkSky
78b24891d5 feat: sort & limit for jwt query 2022-08-04 15:16:45 +08:00
austaras
62cd0b4424 fix(whiteboard): editor init size when creating new editor 2022-08-04 15:09:49 +08:00
QiShaoXuan
edf35e44a9 fix: fixed #81 2022-08-04 14:32:52 +08:00
DiamondThree
c777c3c71d Merge branch 'master' into bugfix/iframe 2022-08-04 14:21:56 +08:00
wang xinglong
fbe9add924
Merge pull request #64 from toeverything/feat/frame-background-color
feat: support set frame background color
2022-08-04 12:08:28 +08:00
xiaodong zuo
2f03304961 fix: variable naming 2022-08-04 11:42:03 +08:00
alt0
fa36432a33 fix: remove unused console 2022-08-04 11:06:41 +08:00
QiShaoXuan
c5a9764e56 refactor: refactor logic of value history 2022-08-03 19:24:49 +08:00
QiShaoXuan
503752ce00 refactor: remove useless params in setValue method 2022-08-03 19:21:30 +08:00
tzhangchi
4c9a559c08 Merge branch 'master' of github.com:toeverything/AFFiNE into feat/userConfig 2022-08-03 18:56:18 +08:00
tzhangchi
ccaca1fa0e refactor(user-config): refactor snake_case to lowerUpperCase 2022-08-03 18:50:41 +08:00
DarkSky
fcf699511e feat: insert page into workspace block 2022-08-03 18:48:48 +08:00
austaras
57ce992102 fix(plugin): left menu postion and size 2022-08-03 18:33:35 +08:00
alt0
cf7eb9cf39 fix: set draw color & width 2022-08-03 18:23:33 +08:00
QiShaoXuan
c347878f23 refactor: improves readability 2022-08-03 18:02:28 +08:00
QiShaoXuan
7b543ec2c1 fix: fixed #19 2022-08-03 18:01:00 +08:00
QiShaoXuan
13b608277d refactor: abstract the logic of the value history to the recastBlock 2022-08-03 18:00:00 +08:00
alt0
cb7b16c7b3 feat: support set frame background color 2022-08-03 17:28:21 +08:00
Whitewater
d683f7ce05
Merge pull request #61 from toeverything/fix/template-error
fix: check error
2022-08-03 17:01:18 +08:00
lawvs
67238b8da8 fix: check error 2022-08-03 16:38:47 +08:00
SaikaSakura
e813b4a8d9 feat: fix code review 2022-08-03 16:37:12 +08:00
SaikaSakura
3070322393 feat: change left menu icon style 2022-08-03 16:37:12 +08:00
SaikaSakura
28f744e57c feat: grid optimise 2022-08-03 16:37:12 +08:00
DiamondThree
eab4fd2b8f fix interfere in Menu.tsx 2022-08-03 15:30:02 +08:00
QiShaoXuan
fe9a4470fc fix: fix mui select throw wraning when pendant select change 2022-08-03 11:18:00 +08:00
QiShaoXuan
727c742889 feat: modify the type of animation that appears for the pendant Add button 2022-08-03 11:14:52 +08:00
DiamondThree
928a90942a fix clickaway error in page 2022-08-03 11:04:02 +08:00
DarkSky
62b057d5c1
Merge pull request #54 from toeverything/refactor/update-template
Refactor/update template
2022-08-03 03:00:01 +08:00
DarkSky
126d929350 feat: jwst comming soon 2022-08-03 01:06:17 +08:00
lawvs
7027fa4ac9 refactor: split page template 2022-08-03 00:31:03 +08:00
wang xinglong
0a54e95682
Merge pull request #41 from toeverything/fix/scroll-controller-may-not-exist
fix(editor-core): scrollController not exist in Board mode
2022-08-02 23:53:58 +08:00
QiShaoXuan
dd4360fb79 fix: The status history in kanban mode cannot be synced to text mode, fixed #43 2022-08-02 19:44:04 +08:00
QiShaoXuan
f18f51ba7c feat: support group by status in kanban mode, resolved #40 2022-08-02 19:10:51 +08:00
alt0
329263d049 fix(editor-core): scrollController not exist in Board mode 2022-08-02 19:09:45 +08:00
wang xinglong
6992cfc4eb
Merge pull request #39 from toeverything/feature/editor-shape-init-size
feat(draw): editor shape size
2022-08-02 19:00:39 +08:00
alt0
a73651817e feat(draw): when first time transfer to board mode, use page width as editor shape's width 2022-08-02 18:50:49 +08:00
mitsuha
f0cfcbc533 opti: 1.adjust padding of page-tree item; 2. fetch new icon from figma; 2022-08-02 18:09:50 +08:00
mitsuha
2a110f7cde opti: 1.adjust padding of page-tree item; 2. fetch new icon from figma; 2022-08-02 17:57:17 +08:00
mitsuha
68eddb597c opti: 1.adjust padding of page-tree item; 2. fetch new icon from figma; 2022-08-02 17:53:49 +08:00
DiamondThree
96ea531b4e fix iframe will take away the focus 2022-08-02 17:03:01 +08:00
DiamondThree
6f340adf24 fix iframe will take away the focus 2022-08-02 16:59:59 +08:00
Diamond
cca7cdd940
Merge pull request #26 from toeverything/bugfix/command-menu
fix command menu don's vanish on scorlling
2022-08-02 16:20:20 +08:00
DiamondThree
e8f390a0d2 fix iframe will take away the focus 2022-08-02 16:17:10 +08:00
austaras
b71dc4a04a feat(whiteboard): keep editing state when crossing editor 2022-08-02 16:10:10 +08:00
Qi
418e260ade
Merge pull request #21 from toeverything/feat/block-pendant
Feat/block pendant
2022-08-02 15:06:29 +08:00
QiShaoXuan
2ee360918c chore: abstracting callback functions to reduce the complexity of the jsx 2022-08-02 14:53:44 +08:00
xiaodong zuo
d4be73b78b fixbug When opening multiple left sidebar "three-dot" menus in doc mode, the menu boxes will block each other. #16 2022-08-02 11:22:02 +08:00
xiaodong zuo
86faaadbe8 fixbug There is a bug in the rename workspace name function in doc mode #15 2022-08-02 11:17:59 +08:00
DiamondThree
7c0e3c03d5 fix command menu don's vanish on scorlling 2022-08-01 23:16:44 +08:00
lawvs
d0bb43c855 fix: cancel identify user wait 2022-08-01 20:41:15 +08:00
QiShaoXuan
2d3ae52bbd fix: fix spelling mistakes 2022-08-01 20:11:53 +08:00
austaras
c32878dea9 fix(plugin): fix left menu behavior 2022-08-01 18:07:35 +08:00
QiShaoXuan
64877f1c4d Merge branch 'master' into feat/block-pendant 2022-08-01 17:50:45 +08:00
QiShaoXuan
7dc25bfa95 fixed: when remove all tag, editor will throw error in tag history popover, fixed #20 2022-08-01 17:37:18 +08:00
lawvs
4fb498c562 fix(kanban): kanban reorder
Co-authored-by: mitsuhatu <mitsuhatu@gmail.com>
2022-08-01 17:03:49 +08:00
Whitewater
01c8b8959f
Merge branch 'master' into chore/kanban-card-styles 2022-08-01 16:43:59 +08:00
QiShaoXuan
5c71eb4f0f feat: error message will be appear when tag edit empty, resolved #13 2022-08-01 16:25:32 +08:00
tzhangchi
60f330f67f refactor(src): restore apk accept to application/affine 2022-08-01 15:25:40 +08:00
tzhangchi
b5cc15287f refactor(src): change affine to AFFiNE in string 2022-08-01 14:27:26 +08:00
lawvs
8822d1a096 chore: tweak kanban group gap 2022-08-01 11:33:29 +08:00
lawvs
e6a27f6286 feat: show card action only on hover 2022-08-01 11:32:55 +08:00
DarkSky
d7a5809861 fix: rebase glitch 2022-08-01 02:15:25 +08:00
qishaoxuan
36d8c0493d feat: add default title when pendant type change, resolved #616 2022-07-29 11:05:54 +08:00
qishaoxuan
56998d07a1 fix: input placeholder display error when the width is not enough 2022-07-29 10:21:18 +08:00
qishaoxuan
0cce817813 feat: rewrite message component 2022-07-28 23:42:05 +08:00
qishaoxuan
d5f6ab0bb5 chore: remove useless file 2022-07-28 14:24:51 +08:00
qishaoxuan
56eae05a0f feat: add tab-index in select 2022-07-28 14:06:56 +08:00
qishaoxuan
ec80998b82 refactor: refactor input component, to support tab-index 2022-07-28 14:05:52 +08:00
DiamondThree
d99649a9b6 fix: commond menu in whitebord 2022-07-28 23:10:30 +08:00
alt1o
7407349561 fix(draw): close #515 2022-07-28 16:00:05 +08:00
alt1o
cdb497e747 fix(draw): close #525 2022-07-28 15:24:37 +08:00
mitsuhatu
d18a07727c opti: topbar style 2022-07-28 17:58:25 +08:00
SaikaSakura
66488d1ec8 feat: fix class name 2022-07-29 10:14:27 +08:00
SaikaSakura
57bbf5aebe feat: fix grid drag border 2022-07-28 19:18:24 +08:00
SaikaSakura
142523337b feat: grid item style 2022-07-28 18:16:43 +08:00
SaikaSakura
cfe9d5a82d feat: select in grid 2022-07-27 18:13:52 +08:00
austaras
e150b7c32a fix(plugin): make group menu invisible when leave 2022-07-28 16:24:46 +08:00
alt1o
fbce0e11dc feat(draw): lock shape 2022-07-28 18:56:39 +08:00
alt1o
5a78afceb2 feat(icon): update icon 2022-07-28 17:18:39 +08:00
qishaoxuan
f4d3a6eafa refactor: refactor lock scroll 2022-07-28 15:52:17 +08:00
qishaoxuan
439eb90e93 feat: add frozen scroll method in editor.scrollManager, resolved #564 2022-07-27 19:06:59 +08:00
qishaoxuan
937221a040 fix: fix selection rect error when editor is scrolling, fixed #563 2022-07-27 17:56:52 +08:00