Commit Graph

4900 Commits

Author SHA1 Message Date
llcc
5a24d63f54 fix scroll lags on iOS images 2022-04-26 09:25:58 +08:00
rcmerci
bebf224f42 fix(sync): trigger remote->local-full-sync when no diff txn founded 2022-04-26 09:25:43 +08:00
rcmerci
b816fa0816 chore: fix lint 2022-04-26 09:25:43 +08:00
rcmerci
1ef5a2f59a fix(sync): clear graphs-txid.edn after deleting related graph
update graphs-txid.edn structure
now:
graphs-txid = [user-uuid graph-uuid local-txid]
before:
graphs-txid = [graph-uuid local-txid]
2022-04-26 09:25:43 +08:00
Marco G
ba64d85b0e Update block.cljs (#5081)
fix typo for email hrefs. was: maiNto, should: maiLto.
2022-04-26 00:24:26 +08:00
Shotaro Yamada
2b2fc92c4b Fix logbook clock-summary
Current implementation does not correctly handle the carrying up to hours. E.g., for logbook records `0:30:30` and `0:29:30`, it would return `00:00:00`.
2022-04-25 10:29:42 +08:00
Junyi Du
efacbbae5d ui: only notify error on default error screen 2022-04-25 10:27:54 +08:00
Junyi Du
6746c8813e ui: capture invalid pdf error 2022-04-25 10:27:54 +08:00
charlie
3973f2794e fix: page crash when navigating to home if default home is a custom page #5060 2022-04-24 15:32:49 +08:00
Tienson Qin
e992e627ab fix: move target block could be a page 2022-04-24 12:11:33 +08:00
Tienson Qin
198efb164c fix: lint warnings 2022-04-24 11:52:32 +08:00
Tienson Qin
46b71b0398 Remove encrypt 2022-04-24 11:50:14 +08:00
Tienson Qin
50f8954886 fix: markdown fenced code parsing 2022-04-24 11:48:30 +08:00
llcc
ed7defbe97 enhance(iOS): add a modal to instruct users to select valid directory (#4947)
* enhance(ios): add a modal to instruct users to select valid directory

* tweak height for loom video on iPhone
2022-04-24 11:20:44 +08:00
sawhney17
9383652458 fix issues with CI and change shortcuts 2022-04-24 11:19:15 +08:00
sawhney17
a65fa87b05 update keybindings 2022-04-24 11:19:15 +08:00
sawhney17
779ce56546 add shortcuts to open in default app + directory 2022-04-24 11:19:15 +08:00
Peng Xiao
24c4973bc2 fix: simple query title issue 2022-04-24 11:18:42 +08:00
Peng Xiao
1da9422262 feat: resolve datascript query inputs with Logseq DSL for plugins 2022-04-24 11:18:42 +08:00
Tienson Qin
4d162f29b5 Remove more unused dict keys 2022-04-24 11:17:47 +08:00
Tienson Qin
b65359ae3f Remove unused code based on Gabriel's suggestions 2022-04-24 11:17:47 +08:00
Tienson Qin
d93911b44c Remove both unused :git/** and :project/** dict keys 2022-04-24 11:17:47 +08:00
Tienson Qin
679139c183 Remove unused dict key 2022-04-24 11:17:47 +08:00
Tienson Qin
114c71e60b remove debugging 2022-04-24 11:17:47 +08:00
Tienson Qin
b3f67c69b1 misc: delete both web github integration and encryption 2022-04-24 11:17:47 +08:00
Tienson Qin
1ff87706f6 enhance: shift+up/down for smooth select and alt+up/down for block select 2022-04-23 07:25:24 +08:00
kkkiio
e8ab5c761d refactor: fix format 2022-04-23 07:20:30 +08:00
kkkiio
140fe27ad7 enhance(edit): add smooth-select action 2022-04-23 07:20:30 +08:00
Tienson Qin
8ec93205b4 fix: alias 2022-04-23 06:50:22 +08:00
Tienson Qin
24c0891e29 fix: lint warnings 2022-04-23 06:50:22 +08:00
Tienson Qin
042f39d2ca fix: add title:: property if needed 2022-04-23 06:50:22 +08:00
Tienson Qin
403bb10b14 Fix: creating new pages from bracketing text is broken #4971
close #4971
2022-04-23 06:50:22 +08:00
Tienson Qin
067f25f4bc fix: copy paste 2022-04-23 06:16:45 +08:00
Andelf
9938d1971b fix(code): do not accept tab in codemirror 2022-04-22 16:24:23 +08:00
Peng Xiao
c5b434c0b2 fix: should not display onboarding card in published 2022-04-22 16:24:00 +08:00
Tienson Qin
192eab6a09 fix: Cmd-v sometimes pastes wrong content 2022-04-22 04:32:15 +08:00
Tienson Qin
cb9fde5b12 fix: use ES Module syntax
see https://shadow-cljs.github.io/docs/UsersGuide.html#_language_support
2022-04-22 03:33:56 +08:00
Tienson Qin
d286d37590 remove unused :editor/last-edit-block 2022-04-22 00:33:48 +08:00
Tienson Qin
ec29848427 fix: indent cursor position 2022-04-22 00:28:56 +08:00
Tienson Qin
33e0fb4fe9 fix: press Enter in list's content when dwim 2022-04-21 21:39:09 +08:00
Tienson Qin
98ac07d990 fix: only reorder the first matched ordered list 2022-04-21 21:39:09 +08:00
Tienson Qin
87007f8b07 fix: ordered list numbers 2022-04-21 21:39:09 +08:00
Tienson Qin
4eec369740 fix: only restore last editor's position if it's the same block 2022-04-21 20:41:38 +08:00
Tienson Qin
dd92e10b96 remove debugging prn 2022-04-21 20:20:46 +08:00
Tienson Qin
0e36ae85ee fix: collapsed state when zooming into a parent block with some children 2022-04-21 20:17:47 +08:00
Junyi Du
644dde0f24 feat: logseq protocol open with file path 2022-04-21 18:46:35 +08:00
Junyi Du
c7df6fc969 feat: open in running window by default; add new-window url action 2022-04-21 18:46:35 +08:00
Junyi Du
0a37f71433 feat: logseq protocol support on non-darwin 2022-04-21 18:46:35 +08:00
Charlie
79bc33e1e3 Enhance/more ns plugin api (#4828)
* improve(plugin): WIP add settings schema

* improve(plugin): add identity for settings modal

* improve(plugin): WIP add settings input

* fix(ui): scrollbar overlay of modal panel content

* improve(plugin): WIP add more render types of setting item

* improve(plugin): WIP polish settings items

* improve(plugin): WIP settings list of plugins

* improve(plugin): more settings types & polish releated ui

* fix(plugin): sometimes disable plugin not work

* improve(plugin): polish ui of plugin settings

* fix(dev): warning of lint

* improve(plugin): add api of settings changed

* chore: build libs core

* fix(ui): width of settings panel wrap

* improve(plugin): separate layouts data from settings aio file

* imporve(plugin): container size of single plugin settings

* fix: add missing state

* improve(plugin): add Git ns

* improve(plugin): git related api

* improve(api): type of git result

* chore: build libs core

* fix(dev): kondo lint

* fix(plugin): use cdn sdk when js entry

* chore: build libs core

* fix(plugin): env condition

* improve(plugin): add UI ns

* fix(api): arguments of datascript query

* enhance(api): manageable message instance of UI tools

* enhance(api): WIP add experiments api

* enhance(api): WIP add resources state of plugin

* improve(plugin): add status of loading script resources

* improve(plugin): more opts for script loader

* improve(plugin): WIP add fenced code renderer hook

* improve(plugin): fenced code renderer hook

* fix(plugin): resource root path of plugin fs location

* imporve(plugin): support local files for loading scripts

* improve(plugin): types of expirements api

* fix: typo of class

* enhance(api): add namespace related apis

* enhance(api): add linked refrences related apis

* enhance(plugin): add sample links to related api comments

* improve(plugin): add db changed hook & optimize strategy of caller for hooks

* improve(plugin): compatible commands registration for old sdk

* improve(plugin): collect user sdk version for plugin local

* improve(plugin): add internal callable apis for user sdk

* chore(plugin): missing files & bump libs version

* improve(plugin): compatiable for old sdk about hook messaging optimization

* improve(plugin): db hook optimization for old sdk

* enhance(ux): auto focus searchbar when open plugins list

* improve(plugin): api of a hook from specific block changed event

* improve(plugin): api of db block change hook

* improve(plugin): add show bracket user config of api

* improve(plugin): api of db block change hook

* fix(api): toggle collapsed of block

* improve(api): try to init grpah with git before exec git commands

* improve(plugin): attributes of sandbox container

* improve(dev): support register command with keybinding

* improve(plugin): add api of register shortcut command

* fix(plugin): reubild slash commands when new command registration

* fix(dev): lint

* improve(dev): lint script of libs codebase

* chore(dev): remove useless codes

* improve(plugin):sanitize path string of plugin repo value

* fix(plugin): rebuild commands list when unregister a plugin

* fix(ui): overflow width of query result table

* chore: rebuild libs core

* improve(plugin): add assets related apis

* chore: rebuild libs core

* improve(plugin): support replace state of into block in page api

* improve(plugin): prepend/append child block in page

* improve(plugin): polished exceptions message of plugin update/install

* fix(plugin): update settings within gui

* improve(ux): debounce change event of input for plugin settings gui

* chore: rebuild libs core

* enhance(plugin): catch exception of hook plugin
2022-04-21 18:43:16 +08:00
Tienson Qin
274639fe78 fix: editor freeze when cut and paste blocks at the bottom 2022-04-21 18:36:58 +08:00