Commit Graph

776 Commits

Author SHA1 Message Date
fantasticit b6c652baed client: fix loading content 2022-06-23 18:29:45 +08:00
fantasticit 860e2471e5 client: update tocs style 2022-06-23 18:18:54 +08:00
fantasticit 5f05715ed1 client: fix style 2022-06-23 18:10:14 +08:00
fantasticit 661dc1862f feat: improve star, ui of document actions 2022-06-23 17:55:22 +08:00
fantasticit 7a55602275
Merge pull request #96 from TinsFox/main
fix: contain a matching <a> in <span>
2022-06-22 19:03:50 +08:00
fantasticit cf2d6c975c server: remove cluster mode as use pm2 2022-06-22 19:03:11 +08:00
TinsFox 2a31ffe2b9
fix: contain a matching <a> in <span> 2022-06-22 19:00:29 +08:00
fantasticit 1541a6acb0 tiptap: update node input rule 2022-06-21 23:21:37 +08:00
fantasticit db53cc576c tiptap: get data when visible 2022-06-21 23:08:34 +08:00
fantasticit 8543c77e06 client: update height 2022-06-21 22:30:39 +08:00
fantasticit fa91f87675 client: update document import 2022-06-21 22:20:26 +08:00
fantasticit ccc8adfe6b tiptap: inset block node at after, no need for create paragraph 2022-06-21 21:36:08 +08:00
fantasticit 2e991f0a79 tiptap: add list judge 2022-06-21 21:33:28 +08:00
fantasticit 6abd21545c tiptap: fix set title 2022-06-21 21:32:59 +08:00
fantasticit de824badee tiptap: just return text for list node 2022-06-21 21:31:44 +08:00
fantasticit a9f3de8ff0 tiptap: insert block node after current pos 2022-06-21 20:54:07 +08:00
fantasticit 1687dc297c client: fix get same md5 for file 2022-06-21 20:34:32 +08:00
weikx 9fd0dd4ad1 perf(tiptap): 对不支持的浏览器进行兜底 2022-06-21 00:11:35 +08:00
weikx fc2e5fce48 perf(tiptap): 优化出现滚动条时页面会闪动 fix #85 2022-06-20 21:47:12 +08:00
fantasticit da9c8151ee tiptap: try add a new paragraph before insert block node; fix #86 2022-06-19 23:18:54 +08:00
fantasticit 15b14fd173
Merge pull request #84 from weikx/fix/title-sync
fix #83
2022-06-18 19:59:22 +08:00
weikx 87cb551be4 feat(tiptap): add default tilte 2022-06-18 14:24:42 +08:00
weikx 854f796a58 fix(tiptap): fix #83 2022-06-18 14:22:36 +08:00
fantasticit 3aa2f2013d tiptap: update the way to set default title 2022-06-18 14:03:38 +08:00
fantasticit a03312b816 tiptap: add lazy render for flow and mind 2022-06-18 00:13:02 +08:00
fantasticit 86fc6bf843 tiptap: fix copy node 2022-06-17 23:05:02 +08:00
fantasticit 8e728391f2 client: fix navigate after delete document 2022-06-17 22:58:40 +08:00
fantasticit f80a7b9d1b tiptap: fix loading indicator 2022-06-17 22:55:12 +08:00
fantasticit 53bfef34b4 client: fix #issuecomment-1158885416 2022-06-17 22:50:12 +08:00
fantasticit 9a6c1c40e6 tiptap: improve debug, fix paste html 2022-06-17 22:37:55 +08:00
fantasticit b8f174f482 tiptap: add debug console 2022-06-17 22:16:14 +08:00
fantasticit fea52025fe server: fix logout 2022-06-17 22:12:19 +08:00
fantasticit ae373fbe48 client: scroll active label into view 2022-06-17 21:53:00 +08:00
fantasticit 1785e7a220 tiptap: fix select title without cover 2022-06-17 21:31:47 +08:00
fantasticit cb23944be6 tiptap: fix title placeholder, remove span 2022-06-17 21:30:53 +08:00
fantasticit 4ad8552925 client: usememo for get ydoc instance 2022-06-17 18:51:01 +08:00
fantasticit a1380bb064 feat: import document from markdown file 2022-06-17 18:48:07 +08:00
fantasticit 0eff8aa9ab tiptap: fix edit link when only one letter 2022-06-16 16:31:30 +08:00
fantasticit 3f19e0715a fix: #75 2022-06-16 16:23:06 +08:00
fantasticit ae1d32931c client: fix get collected wikis 2022-06-14 22:28:56 +08:00
fantasticit 0630870d0a client: use page for pagination 2022-06-14 22:28:34 +08:00
fantasticit 4148b63c67 client: update type 2022-06-14 22:28:12 +08:00
fantasticit b38d6ce507 tiptap: remove margin of p in list 2022-06-13 18:07:26 +08:00
fantasticit 6c1c29ee1a tiptap: add clipboard extension 2022-06-13 18:03:45 +08:00
fantasticit c6fc458ae3 tiptap: fix paste without title extension 2022-06-13 17:47:04 +08:00
fantasticit e50b81cb4f client: fix jserror 2022-06-12 15:49:07 +08:00
fantasticit e3fd5efb49 chore: fix eslint config 2022-06-10 22:33:31 +08:00
fantasticit 82446482c7 tiptap: show modal when create iframe 2022-06-10 22:32:27 +08:00
fantasticit 8cadda82c2 chore: fix eslint 2022-06-10 21:57:49 +08:00
fantasticit c5ebb307aa client: rename tsx to ts 2022-06-10 19:53:37 +08:00
fantasticit b05b6fe7ae tiptap: use prosemirror-codemark
see https://curvenote.github.io/prosemirror-codemark/
2022-06-10 19:33:58 +08:00
fantasticit d309d538f5 tiptap: fix paste link 2022-06-10 19:28:51 +08:00
fantasticit 7425a4e53e tiptap: fix link 2022-06-07 16:32:41 +08:00
fantasticit 4651453e86 tiptap: fix valid url 2022-06-07 16:32:29 +08:00
fantasticit 73deb5e54e server: order docs 2022-06-05 21:11:11 +08:00
fantasticit 287fdb3a66 client: update documents when need refresh 2022-06-05 21:11:01 +08:00
fantasticit 1407117eb0 tiptap: clean code in mind 2022-06-05 19:34:11 +08:00
fantasticit 5368182a7f tiptap: add size setter in flow 2022-06-05 19:33:58 +08:00
fantasticit 49974328c6 tiptap: update minder bgcolor 2022-06-05 19:33:41 +08:00
fantasticit f24b00a6ec tiptap: add title 2022-06-05 19:33:22 +08:00
fantasticit fbc6673118 client: update size setter type 2022-06-05 19:32:36 +08:00
fantasticit 698680455e tiptap: add default title when empty and can't editable 2022-06-05 19:03:17 +08:00
fantasticit 28fe0c361a tiptap: remove flow default data 2022-06-05 18:40:20 +08:00
fantasticit 157a61ba8c tiptap: fix triangle, circle, diamond shape 2022-06-05 18:40:01 +08:00
fantasticit 9983bd65b9 chore: refactor file serve 2022-06-05 03:14:47 +08:00
fantasticit 610367b8ae client: fix upload progress 2022-06-05 01:22:03 +08:00
fantasticit ba60716390 server: fix upload chunk 2022-06-05 01:21:50 +08:00
fantasticit 21966051a4 client: update image uploader position 2022-06-05 01:01:45 +08:00
fantasticit 018305c1d0 tiptap: fix type 2022-06-05 01:00:18 +08:00
fantasticit 196d27d568 tiptap: improve staus 2022-06-05 00:59:17 +08:00
fantasticit bbb3ec3f53 tiptap: fix type 2022-06-05 00:33:11 +08:00
fantasticit ff86457cf7 tiptap: add defaultShowPicker in Mind 2022-06-05 00:30:10 +08:00
fantasticit 894759fb25 tiptap: add defaultShowPicker in Flow 2022-06-05 00:26:52 +08:00
fantasticit 42ec024279 tiptap: update katex empty message 2022-06-05 00:20:28 +08:00
fantasticit e928981c08 tiptap: use id instead of name 2022-06-05 00:19:30 +08:00
fantasticit d073531325 tiptap: add defaultShowPicker for DocumentReference 2022-06-05 00:17:09 +08:00
fantasticit 7e46e7ba65 tiptap: fix type 2022-06-05 00:03:20 +08:00
fantasticit a589db9978 tiptap: use shared commands 2022-06-05 00:01:39 +08:00
fantasticit bfddd4cc6e tiptap: fix react key 2022-06-04 23:03:41 +08:00
fantasticit 1ccad83686 tiptap: fix get image size 2022-06-04 23:03:28 +08:00
fantasticit 2932e1d6bd client: fix type 2022-06-04 23:03:06 +08:00
fantasticit 62d4f720aa Update app.module.ts 2022-06-04 22:41:53 +08:00
fantasticit 319fb50ab3 server: remove unused code 2022-06-04 22:40:43 +08:00
fantasticit 3b2b21e9a5 client: update index 2022-06-04 22:25:48 +08:00
fantasticit 9edf9a71bb Update aliyun.client.ts 2022-06-04 22:25:35 +08:00
fantasticit 76ccf38925 server: support tencent cos 2022-06-04 22:25:18 +08:00
fantasticit 77435213ec Update local.client.ts 2022-06-04 19:49:34 +08:00
fantasticit ed03f1e90f server: add ali-oss 2022-06-04 19:48:43 +08:00
fantasticit 757eac171a server: return url if file alreay exist 2022-06-04 19:03:58 +08:00
fantasticit 1f94d0e465 client: use web-woker to calculate md5 2022-06-04 19:03:39 +08:00
fantasticit a05908d28f feat: add local file oss 2022-06-04 17:01:33 +08:00
fantasticit c7eeb104b4 client: fix comment to login 2022-06-03 21:57:17 +08:00
fantasticit 2d477ba698 client: fix hook dep 2022-06-03 21:09:08 +08:00
fantasticit 6da1283c95 client: fix current theme icon 2022-06-03 21:03:29 +08:00
fantasticit da9847e5b3 server: fix delete comment 2022-06-03 20:56:16 +08:00
fantasticit a71a31046c server: fix comment in public document 2022-06-03 20:54:09 +08:00
fantasticit a56ff665c0 client: fix js error 2022-06-03 19:26:20 +08:00
fantasticit 8d910cf8b4 client: update toast info 2022-06-03 19:26:01 +08:00
fantasticit df1b1cedd3 client: update style 2022-06-03 19:11:51 +08:00
fantasticit 1c4cb792de tiptap: use event-emitter for search result 2022-06-03 19:06:33 +08:00
fantasticit a632181f80 client: update icon 2022-06-03 19:06:09 +08:00
fantasticit 9d13ffccd4 client: add navigator button 2022-06-03 18:48:13 +08:00
fantasticit 1b2843f185 client: fix tocs scroll listener 2022-06-03 18:47:34 +08:00
fantasticit c20c9794f9 client: update editor user name 2022-06-03 18:21:24 +08:00
fantasticit 57959a904f client: use divider between wiki and document 2022-06-03 18:21:07 +08:00
fantasticit 232c818c81 client: use dropdown instad of popover 2022-06-03 18:08:08 +08:00
fantasticit ef8d3924b9 client: improve theme
support set dark, light and follow system
2022-06-03 17:32:44 +08:00
fantasticit 4891c278db client: update api reference 2022-06-03 16:48:43 +08:00
fantasticit fd2d5e7052 client: fix overflow style 2022-06-03 16:44:25 +08:00
fantasticit 10aca8ff2b client: remove unused code 2022-06-03 16:44:11 +08:00
fantasticit a1f519d8ca tiptap: remove unused code 2022-06-03 16:35:31 +08:00
fantasticit 4966dfc509 tiptap: update preload 2022-06-03 16:35:17 +08:00
fantasticit e382686b3b Merge branch 'main' of github.com:fantasticit/think 2022-06-03 16:32:41 +08:00
fantasticit 799697c98a tiptap: refactor structure 2022-06-03 16:29:41 +08:00
fantasticit 20f07e3ffc
Delete packages/client/src/components/document/comments/comments/Item directory 2022-06-03 15:54:05 +08:00
fantasticit 77cf05fb20 client: fix file extension 2022-06-03 15:52:56 +08:00
fantasticit e0f09caa3d client: fix name case 2022-06-03 15:49:56 +08:00
fantasticit b77a7d2ffe server: support get comment without login 2022-06-03 15:40:49 +08:00
fantasticit a7fb655f4c client: add comment in share 2022-06-03 15:40:26 +08:00
fantasticit 778217022a client: keep router query 2022-06-03 15:39:44 +08:00
fantasticit 5b6f211900 tiptap: fix transform title 2022-06-03 14:17:14 +08:00
fantasticit 0510303c7c tiptap: fix title placeholer style 2022-06-03 14:17:00 +08:00
fantasticit 4380617601 client: add polyfill 2022-06-03 04:27:15 +08:00
fantasticit cd071ccae1 client: catch error 2022-06-03 04:26:55 +08:00
fantasticit 86755013b4 tiptap: improve tocs
add resizeobserver, scroll active anchor into view
2022-06-03 01:51:44 +08:00
fantasticit 9c9211c055 tiptap: add margin-top in cover 2022-06-03 01:06:26 +08:00
fantasticit 68d0859c79 tiptap: enable Atlassian and Citrix 2022-06-03 00:41:24 +08:00
fantasticit 4a4d1e63ef tiptap: add default data in flow 2022-06-03 00:40:48 +08:00
fantasticit 31d3d939b8 tiptap: fix flow style 2022-06-03 00:40:34 +08:00
fantasticit 6c2351cbf2 tiptap: update title wrapper 2022-06-02 23:40:33 +08:00
fantasticit a8985ae76f tiptap: update padding-bottom 2022-06-02 23:33:08 +08:00
fantasticit c4dfe1155d client: preload resource 2022-06-02 23:32:41 +08:00
fantasticit 4d5f745983 client: reduce image reflow 2022-06-02 23:32:25 +08:00
fantasticit 614e56f15b tiptap: use lazyLoad 2022-06-02 21:46:55 +08:00
fantasticit 29d2523bd8 constants: update covers 2022-06-02 21:46:41 +08:00
fantasticit 5173fc4c61 constants: update document covers 2022-06-02 18:32:46 +08:00
fantasticit 86ba08cfd9 client: add overflow 2022-06-02 17:59:28 +08:00
fantasticit 2992943e4f tiptap: fix backtop btn position 2022-06-02 17:59:17 +08:00
fantasticit 37c310363d client: use image-uploader in wiki setting 2022-06-02 17:54:47 +08:00
fantasticit bbaeeebf3f client: fix tocs detect 2022-06-02 17:54:23 +08:00
fantasticit fa40d87aa4 client: update emoji-picker 2022-06-02 17:33:15 +08:00
fantasticit 9c2acfb6fc client: improve emoji-picker layout 2022-06-02 14:03:05 +08:00
fantasticit 051f8ec3f0 client: now we can insert cover in title 2022-06-02 13:42:32 +08:00
fantasticit 4ce3e03058 tiptap: fix loading indicator in flow modal 2022-06-01 00:38:25 +08:00
fantasticit 9a7614f569 tiptap: fix sketch in diagram editor 2022-06-01 00:28:04 +08:00
fantasticit 3754a43ba6 tiptap: add more xml 2022-06-01 00:27:32 +08:00
fantasticit d4b71c8d8e client: fix table inner element margin-top 2022-06-01 00:27:13 +08:00
fantasticit 60b033c22e client: fix toolbar zIndex 2022-06-01 00:26:57 +08:00
fantasticit 0ba11156a1 client: make box center 2022-05-31 22:36:33 +08:00
fantasticit 3c1bc0b08f client: fix nav-item active judge 2022-05-31 22:36:04 +08:00
fantasticit 0e66e9663a client: disable image-viewer when editing 2022-05-31 22:24:06 +08:00
fantasticit 68c2f8ecc5 client: refresh templates when mount 2022-05-31 22:23:31 +08:00
fantasticit 663096dc17 client: update diagram editor 2022-05-31 13:50:06 +08:00
fantasticit cad806272d client: add image-viewer 2022-05-30 17:51:14 +08:00
fantasticit 990152b11c client: add illustration when document auth error 2022-05-30 17:51:04 +08:00
fantasticit beb7642159 client: fix layout 2022-05-30 17:44:52 +08:00
fantasticit c4e2a82493 client: use popover instead of modal 2022-05-30 17:32:34 +08:00
fantasticit 0faf0f3086 client: add paddingBottom in editor 2022-05-30 17:32:19 +08:00
fantasticit d010f3aaba client: add resize handler in tocs 2022-05-30 17:32:04 +08:00
fantasticit 19924b740b client: update layout 2022-05-30 17:31:46 +08:00
fantasticit 1c782e23ad client: hidden scroll bar in tocs 2022-05-30 15:45:51 +08:00
fantasticit a26da9c2b9 client: remove console when production 2022-05-30 15:42:36 +08:00
fantasticit 359105f474 client: fix tocs collapsed detector 2022-05-30 15:42:15 +08:00
fantasticit 1233211966 client: autofous when open search 2022-05-30 12:25:04 +08:00
fantasticit 52ee2a98bb client: fix style 2022-05-30 12:15:32 +08:00
fantasticit 4ded780906 client: intergrate tocs is editor 2022-05-30 12:15:11 +08:00
fantasticit 548d811130 client: update style 2022-05-30 00:22:37 +08:00
fantasticit 589eff0545 tiptap: improve katext 2022-05-30 00:08:58 +08:00
fantasticit b08e1be52f client: fix selection in callout 2022-05-29 23:43:20 +08:00
fantasticit 9d72480316 client: use popover with arrow 2022-05-29 23:43:00 +08:00
fantasticit 70d3879a85 client: clean code 2022-05-29 23:42:35 +08:00
fantasticit 9c1d9bd15d client: remove text bubble menu 2022-05-29 23:42:17 +08:00
fantasticit bec87175b4 client: update style 2022-05-29 23:42:05 +08:00
fantasticit 188cfca6d7 client: fix tocs 2022-05-29 23:41:29 +08:00
fantasticit 3d5cf24ee5 client: improve tocs layout 2022-05-29 22:53:42 +08:00
fantasticit cd31c2c765 client: update tocs 2022-05-28 15:42:04 +08:00
fantasticit 6f1a31cc3d client: remove swcMinify 2022-05-28 15:22:15 +08:00
fantasticit 9a40ca9e89 client: upgrade 2022-05-28 15:13:25 +08:00
fantasticit 7b6ba4ccca client: fix tocs collapsed detect 2022-05-28 15:03:30 +08:00
fantasticit 97ae2d929f client: update tocs 2022-05-28 14:03:40 +08:00
fantasticit ff5ee8de29 client: update tocs 2022-05-28 13:10:05 +08:00
fantasticit 2eea71c3e5 client: update tocs 2022-05-28 12:48:18 +08:00
fantasticit 4e1c464615 client: improve toc 2022-05-28 00:34:03 +08:00
fantasticit c37182f0a8 client: tableOfContent markdown support 2022-05-27 23:13:52 +08:00
fantasticit 42e05bec0f client: optimize fetch collector 2022-05-27 22:02:38 +08:00
fantasticit f317086d7a client: optimize data fetch 2022-05-27 21:51:21 +08:00
fantasticit eef782f096 client: optimize render actions 2022-05-27 21:41:03 +08:00
fantasticit a3b2e3d97d client: update timeout 2022-05-27 15:51:23 +08:00
fantasticit a48f5669d8 chore: optimize data handle logic 2022-05-27 15:46:04 +08:00
fantasticit dadd098800 client: throttle update width 2022-05-26 21:46:17 +08:00
fantasticit 802f7c9228 server: improve get views 2022-05-26 21:42:51 +08:00
fantasticit 5c4019c102 client: update pwa config 2022-05-26 14:01:42 +08:00
fantasticit b90a1065ee client: enable swc 2022-05-26 13:35:32 +08:00
fantasticit fbfc00ddd1 client: add 429 handler 2022-05-26 13:35:21 +08:00
fantasticit add3f93ebe client: fix get version data 2022-05-26 13:35:04 +08:00
fantasticit cd19310974 server: add rateLimit 2022-05-26 13:18:36 +08:00
fantasticit 04ae4949e9 client: fix data fetch 2022-05-26 12:59:11 +08:00
fantasticit 0fd93c31e6 client: fix style 2022-05-26 12:59:02 +08:00
fantasticit 62839b1ff3 server: fix get version data 2022-05-26 12:58:49 +08:00
fantasticit c1db90aa21 client: use throttle instead of debounce 2022-05-26 12:45:45 +08:00