Commit Graph

573 Commits

Author SHA1 Message Date
Tienson Qin
bcf35b76d4 Merge branch 'master' into feat/ai-lab 2023-05-18 15:45:52 +08:00
Ben Yorke
928742e66b shui/table introduction 2023-05-12 13:24:54 -04:00
Tienson Qin
1f3505aeaa Switch between ai services 2023-05-09 20:36:06 +08:00
Tienson Qin
01479ef9da enhance(perf): insert and delete blocks (#9142)
* enhance(perf): improve performance for both insert and delete

* fix: remember cursor pos before executing the body in a transaction

Otherwise, the edit-block and position could be changed

* fix: disable delete-concat when there's no child or right sibling

---------

Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
Co-authored-by: Gabriel Horner <gabriel@logseq.com>
2023-05-09 17:24:09 +08:00
Tienson Qin
4adf373d9a feat: translate 2023-05-04 23:48:50 +08:00
Tienson Qin
af83525308 Disable AI by default 2023-05-01 19:55:06 +08:00
Tienson Qin
3ee8a81064 chats on the right sidebar 2023-04-27 13:53:39 +08:00
Tienson Qin
af691a8e80 Merge branch 'master' into feat/ai-lab 2023-04-27 11:28:54 +08:00
Charlie
60fbfdf2f7 Enhance: plugin-related improvements (#8787)
- fix: Select and Input elements rendered using provideUI via onMacroRendererSlotted don't function #8374
 - fix: logseq.Editor.getPageBlocksTree does not work when page uuid is passed in as param #4920
 - feat: add a plug-in flag for the plugin slash commands item
 - feat: add logseq.App.setCurrentGraphConfigs: (configs: {}) => Promise<void>
 - feat: add hook logseq.App.onTodayJournalCreated: IUserHook<{ title: string }
 - enhance: auto-check updates for the installed plugins from Marketplace
 - feat: expose template-related APIs to SDK
2023-04-12 21:27:40 +08:00
Konstantinos Kaloutas
b613a9a3b7 enhance: page only mode 2023-04-12 20:37:52 +08:00
Tienson Qin
6f1237a8b5 enhance: bottom bar to show undo mode 2023-04-12 20:37:52 +08:00
Tienson Qin
68691467de feat: limit the scope of undo/redo to page only 2023-04-12 20:37:52 +08:00
Tienson Qin
339fb7ceb2 fix: buggy selection hightlights (#9074) 2023-04-12 17:19:06 +08:00
Tienson Qin
5d9a3b2f52 Merge branch 'master' into feat/ai-lab 2023-04-09 23:25:58 +08:00
Gabriel Horner
9ac17d485a Wire up frontend to use nbb export and html
- Add tests for export
- Refactor export to be more readable
- Add error notification for export that user can see
- Remove unused :ui/show-recent? state
- Cleanup and move escape fns to proper locations
2023-04-09 23:13:33 +08:00
Tienson Qin
bdc15d04db fix: default value :scheduled/future-days is 7 2023-04-07 14:13:03 +08:00
Tienson Qin
f7f2a26fa6 fix: scheduled and deadlines no long works 2023-04-07 14:13:03 +08:00
Tienson Qin
4351213542 chore: remove unnecessary :copy/blocks 2023-03-29 18:41:04 +08:00
Andelf
72a290d21c fix(electron): initial warning of local dir 2023-03-28 09:14:42 +08:00
Andelf
f1404fd537 fix(fs): avoid nil repo on ios 2023-03-28 09:14:42 +08:00
Andelf
b255ca030a refactor(fs): rewrite nfs implementation
- avoid op before granted, using await-permission-granted
2023-03-28 09:14:42 +08:00
Konstantinos
b5494f33cc Fix (Whiteboards): An attempt to fix most of the remaining issues (#8893)
* Revert "enhance: clear selection ranges"

This reverts commit cb2c1f1d6a.

* fix: untitled name crash on click

* fix: breadcrumb without label

* fix: maintain original page name

* fix: revert shape to block change

* fix: allow toolbar scrolling

* fix: remove overflow from context bar
2023-03-25 10:40:58 +08:00
Tienson Qin
cb2c1f1d6a enhance: clear selection ranges 2023-03-23 13:02:41 +08:00
Tienson Qin
a92588a18b Release whiteboard to everyone (#8853)
* chore: release whiteboards for everyone

Also, toggle it on by default

* fix: e2e test

* add onboarding tour test

---------

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-03-21 19:37:21 +08:00
Tienson Qin
0eab5ebef4 fix: undo block deletion needs multiple steps (#8833)
fix: undo block deletion needs multiple steps

---------

Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 19:35:40 +08:00
Tienson Qin
db6fc6b7ee feat: simple query builder (#8774)
Simple query builder

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2023-03-21 14:27:00 +08:00
rcmerci
5efbd125de only copy-as/export level<N blocks for text export 2023-03-20 12:31:35 +08:00
aiirobyte
0eb25b3934 Add option to handle default block refs expanding behaviour (#8839)
* Add option to handle default block refs expanding behaviour

* provide default value

* polish config desc for dicts

* polish config desc in template config

* specify option on settings page

* fix: typo on fn name

* chore: remove the tail period

---------

Co-authored-by: situ2001 <yongcong2001@outlook.com>
2023-03-17 21:40:38 +08:00
Tienson Qin
2f4f35723e openai: chat 2023-03-09 19:03:17 +08:00
Tienson Qin
fa24509c44 AI token setting 2023-03-09 15:30:14 +08:00
Tienson Qin
6a5b0c8199 Fix pencil not working if drawing quickly (replace tldraw's undo/redo history with logseq's) (#7786)
* fix: pencil not working if drawing quickly

* feat: mod+c mod+g to toggle grid

Co-authored-by: Konstantinos Kaloutas <konstantinos@logseq.com>
2023-02-22 23:16:52 +08:00
rcmerci
2a12ffc331 feat(editor/copy-paste): refactor copy/export in cljs (#8530)
Huge performance improvement for copy and export

Refactor copy/export in cljs instead of Mldoc
2023-02-20 23:08:58 +08:00
Charlie
55b5149f4a Enhance/pdf enhancements (#8616)
- Improve interactions about the popup modal from the PDF viewer toolbar
- Persist highlights data with multiple-lines text format (for friendly Git diff)
- Blink the text highlight when scrolling to position
- Open the PDF viewer in the system Window
2023-02-20 15:58:43 +08:00
Tienson Qin
dcf9559094 fix: don't store broken config in DB (#8578)
* fix: don't store broken config in DB

Also, all configs should be clojure maps.

* fix: editor should show the corresponding file's content from disk
2023-02-12 14:33:52 +08:00
Konstantinos Kaloutas
16c1e30589 fix: clear user info on logout 2023-02-10 11:40:25 +08:00
Konstantinos Kaloutas
82aa3abfe6 fix: access to whiteboards dashboard 2023-02-10 11:40:25 +08:00
charlie
434713727c improve(ui): just make block fold-arrow enabled for mobile platform 2023-02-06 16:15:16 +08:00
charlie
e02b32b183 fix(ui): main editor overlap from left sidebar container 2023-02-06 16:15:16 +08:00
Gabriel Horner
f9604e1b07 Merge branch 'master' into feat/tweet-shape 2023-01-19 10:02:29 -05:00
Gabriel Horner
c804e051cc Add validation for repo config.edn
- Add test, task and schema for repo config.edn
- Also removed no longer needed temp fix
2023-01-18 10:07:52 -05:00
Andelf
c92f44d22e fix(editor): revise date-picker shortcut key handling and opening condition 2023-01-18 15:14:25 +08:00
Gabriel Horner
d9096e8b82 Fix search tippy failing
See
https://sentry.io/organizations/logseq/issues/3857043471/?project=5311485&query=is%3Aunresolved&referrer=issue-stream
for full error
Also added a schema for the offending fn so future stacktraces lead to
the buggy UI component
2023-01-17 11:24:22 +08:00
Konstantinos Kaloutas
1300f1e232 fix: editing state 2023-01-13 18:03:43 +02:00
Sergio Miguéns Iglesias
e58e545248 Add option to show full block body in ref 2023-01-09 22:48:22 +08:00
Charlie
675811ccde Enhance/plugins (#8202)
* improve(plugins): install hooks with user options

* improve(plugin): remove todos

* improve(plugin): hook for a specific plugin

* e2e tests

* improve(ui): global search bar for the results from the custom search service
2023-01-05 19:30:41 +08:00
Andelf
94d75b80bc fix(editor): avoid select-all while editing title 2022-12-30 16:26:16 +08:00
Charlie
51aaa02e76 Feat: APIs http server (#7699)
http server
2022-12-29 22:30:44 +08:00
Tienson Qin
1206d54c86 feat: mod+a to select parent up to the whole page (#7803)
mod+a to select parent up to the whole page
2022-12-29 22:29:26 +08:00
Konstantinos Kaloutas
e919df3d9a fix: error on reference click 2022-12-28 12:19:22 +08:00
Konstantinos Kaloutas
6eee0e1afd fix: unresolved symbol 2022-12-22 12:48:08 +08:00