Commit Graph

594 Commits

Author SHA1 Message Date
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
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
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
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
mitsuha(XiWen TU)
a07c865161
Merge branch 'develop' into opti-toc-dev 2022-08-24 01:55:20 +08:00
mitsuha
b96d6c37f7 opti: 1.adjust eventlistener; 2022-08-23 20:07:35 +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
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
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
DarkSky
78184741a2
Merge pull request #297 from toeverything/feat/shapes-bindings
Feat/shapes bindings
2022-08-19 23:42:15 +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
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
2eaf26c40f fix:shapaes 2022-08-19 16:37:04 +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
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
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
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
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
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
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
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
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
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
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
4add6d9732 Merge branch 'master' into develop 2022-08-15 16:41: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
lawvs
72868bec31 fix: no forward zIndex 2022-08-15 11:36:55 +08:00
DarkSky
6514efb430
Update LayoutHeader.tsx 2022-08-13 17:59:46 +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
zuomeng wang
5cec5a363d
fix: update default status color (#227) 2022-08-12 12:25:43 +00: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
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
QiShaoXuan
3f49c7e509 feat: update paste behavior 2022-08-12 19:25:29 +08:00