pengx17
a4841bbfa3
feat(core): drop doc onto split view ( #9487 )
...
fix AF-2068, AF-2069, AF-1175, AF-2061, AF-2079, AF-2034, AF-2080, AF-1960, AF-2081
1. replace `dnd-kit` with `@atlaskit/pragmatic-drag-and-drop`
2. allow creating split views by drag & drop the following
a. WorkbenchLinks (route links), like journals, trash, all docs
b. doc refs
c. tags/collection
3. style adjustments to split view
4. remove split view's feature flag and make it GA for electron
https://github.com/user-attachments/assets/6a3e4a25-faa2-4215-8eb0-983f44db6e8c
2025-01-08 05:05:33 +00:00
pengx17
1c6c2194c4
fix(core): should use doc index for at menu config ( #9430 )
2024-12-31 09:31:07 +00:00
pengx17
e3d681306c
fix(core): split view reordering crash ( #9461 )
...
a workaround fix AF-1940
2024-12-31 09:14:04 +00:00
Peng Xiao
e8aabed3fa
docs(server): update developing server md ( #9457 )
2024-12-31 16:35:35 +08:00
pengx17
887732179e
feat(electron): expose electron apis to web worker ( #9441 )
...
fix AF-2044
2024-12-31 03:17:03 +00:00
Peng Xiao
6883cc2ded
fix(electron): page history api fetch issue ( #9440 )
2024-12-31 10:19:25 +08:00
pengx17
79e006467c
fix(core): split view solo view crash ( #9432 )
2024-12-30 16:54:45 +00:00
pengx17
ea6fed127b
fix(editor): tooltip styles when having span tags ( #9422 )
...
fix AF-2040
2024-12-30 06:54:03 +00:00
pengx17
87331b49b7
docs(core): clarify developing server docs ( #9420 )
2024-12-30 03:51:59 +00:00
pengx17
70e4c8feab
feat(core): info modal should render backlinks with preview ( #9387 )
...
fix AF-2033
2024-12-27 13:47:06 +00:00
pengx17
8bceece5b1
fix(core): cmdk command highlight ( #9390 )
...
fix AF-2032
2024-12-27 11:13:51 +00:00
pengx17
6977b0a948
fix(core): optimize at menu config loading 2 ( #9366 )
...
fix AF-2028
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7931ddc8-3721-4b7d-b4cb-065f923f295c.mp4 ">Recording at 2024-12-27 11.50.54.mp4</video>
2024-12-27 09:26:03 +00:00
pengx17
153c1b2c55
refactor(core): make lit portal a bit cleaner ( #9354 )
2024-12-27 08:34:04 +00:00
pengx17
b3933e8bf8
fix(mobile): do not show toc in doc peek view ( #9348 )
...
fix AF-2025
2024-12-27 05:48:50 +00:00
pengx17
7d0160c8fb
feat(electron): enable vscode debugger for electron ( #9333 )
2024-12-26 15:37:56 +00:00
pengx17
70d9cc6b01
fix(electron): electron crash on leave fullscreen ( #9314 )
2024-12-26 01:55:07 +00:00
pengx17
40b90ef51b
feat(core): at menu loading state ( #9284 )
...
fix AF-2017
2024-12-25 16:13:04 +00:00
pengx17
17c2293986
feat(core): open in app for self-hosted ( #9231 )
...
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/545994dd-6f7d-468d-a90c-45cb382fdb9d.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/545994dd-6f7d-468d-a90c-45cb382fdb9d.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/545994dd-6f7d-468d-a90c-45cb382fdb9d.mp4 ">20241222-1456-24.5006677.mp4</video>
fix AF-1815
2024-12-24 03:04:02 +00:00
pengx17
74a168222c
fix(core): disable page header title from dragging when editing ( #9258 )
...
fix AF-2014
2024-12-23 13:27:00 +00:00
pengx17
8b076cb2a7
chore(core): edit property meta events ( #9253 )
...
fix AF-1986
2024-12-23 11:36:24 +00:00
pengx17
2ea79d25ad
chore(core): events for backlinks ( #9228 )
...
fix AF-2008
2024-12-23 04:37:59 +00:00
pengx17
c775b2e264
fix(core): text-renderer should be readonly ( #9244 )
...
fix AF-2010, AF-2009
2024-12-23 04:19:06 +00:00
pengx17
bdbefd3e28
fix(core): backlinks styles ( #9126 )
...
fix AF-1946
2024-12-20 09:06:46 +00:00
pengx17
0fdf2c4905
fix(core): indexer worker crash on unexpected markdown indent ( #9210 )
2024-12-20 02:08:44 +00:00
pengx17
da0f3d0b56
chore(core): some dnd events ( #9206 )
...
fix AF-1999
2024-12-19 07:42:13 +00:00
pengx17
6dc512e0da
fix(core): dnd should not create new doc on dragging start ( #9201 )
...
fix AF-2000
2024-12-19 03:28:29 +00:00
pengx17
7b0387541c
fix(core): redudant drop target register ( #9177 )
...
fix the following issue.
root cause is that options.element is being reused when cleaning up, but if its value comes from a ref, it might be null at that point.

2024-12-16 10:23:31 +00:00
pengx17
0db6dd2f62
fix(mobile): doc info title max width ( #9147 )
...
fix AF-1925
2024-12-16 03:44:18 +00:00
pengx17
7b173a68d5
fix(mobile): hide scrollbar ( #9144 )
...
fix AF-1934
2024-12-16 03:44:17 +00:00
pengx17
a84a40e777
fix(mobile): date picker style ( #9143 )
...
fix AF-1871
2024-12-16 03:44:16 +00:00
Peng Xiao
293a155977
chore(electron): bump electron ( #9152 )
2024-12-13 09:44:00 +00:00
pengx17
152a406ced
fix(core): center peek style ( #9127 )
...
fix PD-1912
2024-12-12 12:33:30 +00:00
pengx17
59f4f1e51d
fix(core): at menu results use indexer data source ( #9123 )
...
fix AF-1942

2024-12-12 10:17:15 +00:00
pengx17
ae2d0c3bcf
fix(core): tag inline editor filter should ignore case ( #8936 )
...
fix PD-1891
2024-12-12 02:49:32 +00:00
pengx17
fea4777ef2
chore(core): at menu journal entry tracking ( #9054 )
...
fix AF-1844
2024-12-12 02:25:01 +00:00
pengx17
30d6793978
feat(core): add journal search results to bs doc search ( #9052 )
...
fix AF-1842
2024-12-12 02:25:00 +00:00
pengx17
01effaa0f1
fix(core): doc header drag preview styles ( #9105 )
2024-12-11 10:34:58 +00:00
Peng Xiao
b864cbf9d3
fix(core): backlink preview should use sans font family ( #9102 )
2024-12-11 17:59:04 +08:00
pengx17
dc7d128252
feat(core): allow bs snapshot dragging targets ( #9093 )
...
fix AF-1924, AF-1848, AF-1928, AF-1931
dnd between affine & editor
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/dff3ceb1-dc82-4222-9b55-13be80b28b2f.mp4 ">20241210-1217-49.8960381.mp4</video>
2024-12-11 08:12:01 +00:00
pengx17
ec140da0d9
feat(core): remember backlink open/close state ( #9073 )
...
fix AF-1850, AF-1883
2024-12-10 02:28:20 +00:00
pengx17
4335b0dc79
feat(core): add draghandle to doc page title ( #9079 )
...
fix AF-1846
2024-12-10 02:13:09 +00:00
pengx17
814b4c9cb0
fix(core): canDrop check for external ( #9058 )
2024-12-09 10:25:38 +00:00
pengx17
f073df3ee5
fix(mobile): backlink ordering in doc info ( #9015 )
...
fix AF-1885
2024-12-09 03:48:08 +00:00
pengx17
5a6dd29d36
fix(mobile): center peek styles ( #9014 )
...
fix AF-1876

2024-12-09 03:48:07 +00:00
pengx17
9ddcdb8e50
test(core): test case for dragging from bs editor to sidebar ( #9057 )
...
fix AF-1904
2024-12-09 03:31:05 +00:00
pengx17
7a1dab134f
fix(core): doc db text property editing issue ( #9055 )
...
fix AF-1901
2024-12-09 02:37:13 +00:00
pengx17
fafacdb265
feat(core): dnd support external types ( #9033 )
...
fix AF-1847
two issues:
1. original `dropTargetForExternal` only works if dragging target is from another window context. patched the library to bypass this issue
2. `dataTransfer`'s content is only available on `drop` event. This means we cannot have `canDrop` checks for external elements (like blocksuite links).
2024-12-06 21:46:08 +08:00
pengx17
3ef28ed19b
fix(core): peek db row should always show the related db row property ( #8942 )
...
fix BS-1963
depends on https://github.com/toeverything/blocksuite/pull/8818
2024-12-06 10:02:22 +00:00
pengx17
b378af5ade
feat(core): at menu ux ( #9045 )
...
fix AF-1843
2024-12-06 08:50:13 +00:00
pengx17
7dad9fe816
fix(component): workaround for storybook startup ( #9025 )
...
It seems starting up storybook throws error when parsing doc using typescript.
Temporarily remove reactDocgen for now.

2024-12-05 05:35:00 +00:00
pengx17
f4f005bffb
fix(core): db property number cell should be cast to number ( #8937 )
...
fix BS-1962
2024-12-04 07:49:56 +00:00
pengx17
e4f94c7e3f
fix(mobile): progress styles ( #9001 )
...
fix AF-1875, fix AF-1878, fix AF-1879
2024-12-04 06:56:34 +00:00
pengx17
82d133d64d
fix(mobile): doc info radio group width ( #9000 )
...
fix AF-1874
2024-12-04 06:56:31 +00:00
pengx17
018b293f2d
fix(mobile): tags editor max height ( #8999 )
...
fix AF-1873
2024-12-04 06:56:29 +00:00
pengx17
4706f1e2a3
fix(core): date-picker styles ( #8997 )
...
fix AF-1871
2024-12-04 06:56:26 +00:00
pengx17
dddefcf768
fix(core): lit portal rerender ( #9012 )
2024-12-04 06:20:03 +00:00
pengx17
0c718921a0
fix(core): open-in-app page crash ( #8995 )
...
fix AF-1839
should not render `Link` in open-in-app component
2024-12-03 07:38:28 +00:00
pengx17
af81c95b85
fix(mobile): workaround for tag modal blink ( #8985 )
...
workaround for fix AF-1822
2024-12-03 02:08:32 +00:00
pengx17
671885d510
fix(mobile): property input field keyboard mode ( #8982 )
2024-12-03 01:52:00 +00:00
pengx17
31bab2507e
feat: enhance markdown preview for backlinks ( #8956 )
...
fix AF-1770
fix AF-1771
---
fix: doc link middlewares
feat: markdown renderer
feat: allow multiple backlink for a single doc
feat: showing correct doc ref link
feat: trim long para & ident lists
feat: list indentition fix
feat: database/latext handling
feat: other block types handling
fix: lint
2024-12-02 10:29:44 +00:00
pengx17
f2398574ed
fix(electron): should not show context menu if there is no typos ( #8895 )
...
fix AF-1794
2024-11-27 07:00:45 +00:00
pengx17
83c587f8ad
feat(core): at menu journal entries ( #8877 ) ( #8935 )
...
fix AF-1790
fix AF-1774
added `DateSelectorDialog` for selecting a date through blocksuite;
added `AtMenuConfigService` for constructing the at menu config
fix AF-1776
fix PD-1942
resubmitted to replace #8877
2024-11-27 03:08:11 +00:00
pengx17
d87a6f7068
fix(core): multi sub menu layer handling ( #8916 )
...
fix AF-1800, AF-1801
<div class='graphite__hidden'>
<div>🎥 Video uploaded on Graphite:</div>
<a href="https://app.graphite.dev/media/video/T2klNLEk0wxLh4NRDzhk/7523df2b-2326-4878-b37a-d16e4275858d.mp4 ">
<img src="https://app.graphite.dev/api/v1/graphite/video/thumbnail/T2klNLEk0wxLh4NRDzhk/7523df2b-2326-4878-b37a-d16e4275858d.mp4 ">
</a>
</div>
<video src="https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7523df2b-2326-4878-b37a-d16e4275858d.mp4 ">20241126-0806-30.0904958.mp4</video>
2024-11-26 08:39:09 +00:00
pengx17
f6eb84a8e0
fix(mobile): setting item popover cannot be closed ( #8910 )
...
fix AF-1798
2024-11-25 05:54:48 +00:00
pengx17
47243247b9
fix(electron): respect locale for spellchecker ( #8844 )
...
may fix #8837 .
fix AF-1712
MacOS automatically do spellcheck based on given text. This only works for Win/Linux.

2024-11-20 06:44:36 +00:00
Peng Xiao
8689465e00
fix(electron): potential crash on quit ( #8855 )
2024-11-20 14:44:06 +08:00
Peng Xiao
afa0e31ecd
feat(core): open in app cmd ( #8870 )
2024-11-20 14:23:18 +08:00
pengx17
3f5dadb4f5
fix(core): doc info event tracking issues ( #8868 )
...
fix AF-1769
2024-11-20 01:15:51 +00:00
Peng Xiao
401106203c
fix(core): info modal style issue ( #8842 )
2024-11-18 23:36:31 +08:00
Peng Xiao
e200e0a1a0
fix(core): peek view animation ( #8858 )
2024-11-18 23:31:10 +08:00
Peng Xiao
56a3f054f9
fix(core): emoji doc name rendering on windows ( #8857 )
2024-11-18 23:28:54 +08:00
pengx17
df99e2ca97
fix(electron): potential crash on quit ( #8829 )
...
fix AF-1696
Related log:
```
Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread
0 Electron Framework 0x10c3bb09c electron::MessagePort::Close()
1 Electron Framework 0x10c3bcb78 gin::internal::Dispatcher<void (electron::MessagePort*)>::DispatchToCallbackImpl(gin::Arguments*)
2 Electron Framework 0x10c3bc984 gin::internal::Dispatcher<void (electron::MessagePort*)>::DispatchToCallback(v8::FunctionCallbackInfo<v8::Value> const&)
3 ??? 0x147e0f58c ???
4 ??? 0x147e0d45c ???
5 ??? 0x147e0d45c ???
6 ??? 0x147e0d45c ???
7 ??? 0x1401743b8 ???
8 ??? 0x147e0b088 ???
9 ??? 0x147e0acd4 ???
10 Electron Framework 0x10d657578 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*)
11 Electron Framework 0x10d53e478 v8::Function::Call(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*)
12 Electron Framework 0x11337ad34 node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context)
13 Electron Framework 0x11337b0b0 node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context)
14 Electron Framework 0x10c46d9dc gin_helper::internal::CallMethodWithArgs(v8::Isolate*, v8::Local<v8::Object>, char const*, base::span<v8::Local<v8::Value>, 18446744073709551615ul, v8::Local<v8::Value>*>)
15 Electron Framework 0x10c3833b0 bool gin_helper::EventEmitterMixin<electron::api::WebContents>::Emit<>(std::__Cr::basic_string_view<char, std::__Cr::char_traits<char>>)
16 Electron Framework 0x10c38324c electron::api::WebContents::WebContentsDestroyed()
17 Electron Framework 0x10ebc2ee8 void content::WebContentsImpl::WebContentsObserverList::NotifyObservers<void (content::WebContentsObserver::*)()>(void (content::WebContentsObserver::*)())
18 Electron Framework 0x10ebc229c content::WebContentsImpl::~WebContentsImpl()
19 Electron Framework 0x10ebc32b0 content::WebContentsImpl::~WebContentsImpl()
20 Electron Framework 0x10c4212dc electron::InspectableWebContents::~InspectableWebContents()
21 Electron Framework 0x10c4213ac electron::InspectableWebContents::~InspectableWebContents()
22 Electron Framework 0x10c382ffc electron::api::WebContents::~WebContents()
23 Electron Framework 0x10c383498 non-virtual thunk to electron::api::WebContents::~WebContents()
24 Electron Framework 0x10c46cb80 gin_helper::CleanedUpAtExit::DoCleanup()
25 Electron Framework 0x10c3ec994 electron::JavascriptEnvironment::DestroyMicrotasksRunner()
26 Electron Framework 0x10c3d2828 electron::ElectronBrowserMainParts::PostMainMessageLoopRun()
27 Electron Framework 0x10e663458 content::BrowserMainLoop::ShutdownThreadsAndCleanUp()
28 Electron Framework 0x10e664a80 content::BrowserMainRunnerImpl::Shutdown()
29 Electron Framework 0x10e661098 content::BrowserMain(content::MainFunctionParams)
30 Electron Framework 0x10c6339a4 content::RunBrowserProcessMain(content::MainFunctionParams, content::ContentMainDelegate*)
31 Electron Framework 0x10c634968 content::ContentMainRunnerImpl::RunBrowser(content::MainFunctionParams, bool)
32 Electron Framework 0x10c6347e8 content::ContentMainRunnerImpl::Run()
33 Electron Framework 0x10c633208 content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*)
34 Electron Framework 0x10c6332f0 content::ContentMain(content::ContentMainParams)
35 Electron Framework 0x10c2e98c0 ElectronMain
36 dyld 0x18b5a8274 start
```
2024-11-15 02:58:19 +00:00
pengx17
01d1631fe8
fix(core): peek view animation use zoom when possible ( #8793 )
...
fix AF-1667
2024-11-13 02:40:01 +00:00
pengx17
fa82842cd7
fix(mobile): doc property styles ( #8760 )
...
fix AF-1582
fix AF-1671
- mobile doc info dialog styles
- added ConfigModal for editing property values in modal, including:
- workspace properties: text, number, tags
- db properties: text, number, label, link
2024-11-12 07:11:00 +00:00
pengx17
cc9a23e424
fix(core): revise open app card text ( #8783 )
...
fix AF-1669
2024-11-12 03:16:10 +00:00
pengx17
35f3fc7b5d
feat(electron): spellcheck setting ( #8730 )
...
fix AF-1647
2024-11-11 13:03:33 +00:00
pengx17
b3749246f6
fix(core): do not delete tag on cancel ( #8776 )
2024-11-11 12:10:57 +00:00
pengx17
e6ef1dea51
fix(core): deleted tags property cannot be added back ( #8761 )
...
fix AF-1661
2024-11-11 02:48:04 +00:00
pengx17
c1ece15560
fix(core): close setting when workspace is deleted ( #8747 )
...
fix AF-1618
2024-11-08 10:50:13 +00:00
pengx17
727130ec97
fix(core): add open in app hint text ( #8728 )
...
fix AF-1625
2024-11-07 04:10:34 +00:00
pengx17
584d095895
fix(core): modal height issue ( #8710 )
...
fix AF-1616
2024-11-06 02:59:12 +00:00
pengx17
fcd4f8c4ff
fix(electron): deep link handling in macos ( #8713 )
...
fix AF-1617
The issue is that handling deep link on opening new instance will access the screen module from electron too soon. Move the open call behind whenReady to mitigate the issue.
2024-11-06 02:02:56 +00:00
pengx17
029654f45e
fix(electron): share page in electron issues ( #8703 )
...
fix AF-1592
fix AF-1612
2024-11-05 11:46:03 +00:00
pengx17
ef82b9d3e7
chore(core): tracking events for doc properties ( #8651 )
...
fix AF-1565
2024-11-05 11:30:57 +00:00
pengx17
684b676028
fix(core): adapt new database chip color scheme ( #8697 )
...
fix AF-1609
2024-11-05 08:33:57 +00:00
pengx17
e7732d0e18
fix(core): update prompt texts for opening new doc ( #8696 )
...
fix AF-1590
2024-11-05 07:31:00 +00:00
pengx17
8c650f7b43
test(core): add open in app test case ( #8695 )
...
fix AF-1496
2024-11-05 07:30:59 +00:00
pengx17
de7b1ff516
fix(core): do not show open-in-app in mobile web browser ( #8694 )
2024-11-04 12:33:10 +00:00
Peng Xiao
378c9eb73a
fix(electron): active view sometimes does not get focused ( #8683 )
2024-11-04 08:34:11 +00:00
pengx17
fd7d112235
fix(core): open in app card wording ( #8677 )
2024-11-04 07:58:07 +00:00
Peng Xiao
ecbf5a95fa
fix: open in app card style ( #8667 )
2024-11-01 18:42:09 +08:00
pengx17
070f5fae49
fix(electron): deep link handling without running instance ( #8661 )
...
fix AF-1586
2024-11-01 07:23:38 +00:00
pengx17
33088500e4
fix(core): unnamed doc title of db properties ( #8657 )
2024-11-01 07:23:37 +00:00
pengx17
4f16e22f5b
fix(electron): add missing configureAppThemeModule to shell ( #8656 )
2024-11-01 07:23:37 +00:00
pengx17
c915a3bcb5
revert(electron): revert http protocl in electron ( #8655 )
...
fix AF-1583
2024-11-01 06:33:27 +00:00
pengx17
51ffccbbb6
fix(core): do not redirect to open-page for open-in-app card ( #8646 )
2024-10-31 08:23:52 +00:00
pengx17
2b3b7057c5
fix(core): checkbox property styling and layout ( #8645 )
...
fix BS-1725
2024-10-31 07:31:52 +00:00
pengx17
0f8b273134
feat(core): open app in electron app entry ( #8637 )
...
fix PD-208
fix PD-210
fix PD-209
fix AF-1495
2024-10-31 06:16:32 +00:00
pengx17
d96cc097c2
fix(core): db properties ui issues ( #8638 )
...
fix AF-1562
fix BS-1711
2024-10-31 04:46:50 +00:00
pengx17
a791481ac8
refactor(electron): move electron-api to framework ( #8601 )
...
fix AF-1394
2024-10-30 09:16:20 +00:00