Commit Graph

7239 Commits

Author SHA1 Message Date
Andelf
73d0c3efa0 fix(mobile): not showing hide keyboard button
Introduced #8201
2023-01-13 22:15:11 +08:00
Tienson Qin
e179e1c86e fix: template e2e test 2023-01-13 16:02:35 +08:00
sallto
2e374f7b08 fix: Add error notification if graph can't be opened (#8200)
enhance: add error notification if graph can't be opened
fixes #7573
2023-01-13 15:51:45 +08:00
Tienson Qin
ccb5628f3c fix: separate saving current block from other outliner op's tx 2023-01-13 15:12:07 +08:00
situ2001
ef1febb771 fix(editor): incorrect undo/redo sequence of indent/outdent 2023-01-13 15:03:59 +08:00
Gabriel Horner
daba5ae1b8 Fix #8334 to at least revert back to previous behavior 2023-01-13 14:19:02 +08:00
Gabriel Horner
dded4be84b Improve wording for #8317
Also add missing label to bug report url
2023-01-12 11:05:03 -05:00
rcmerci
6fd8d8d165 feat: export login-callback fn
if users can't redirect from browser back to app,
the workaround is calling
frontend.handler.user.login_callback("<code>") to finish login progress
2023-01-12 23:25:20 +08:00
Andelf
b5b1a46215 chore: bump version 0.8.16 2023-01-12 21:05:10 +08:00
charlie
e70d76589b enhance(pdf): make the weblink pdf filename to be human-readable for the annotations page 2023-01-12 21:04:12 +08:00
Andelf
418502deed fix(ui): error calling set-step in bug-report (#8328) 2023-01-12 20:50:04 +08:00
situ2001
7fd2a9a3b6 feat: bug report page & clipboard data inspector (#8317)
* feat: init page route for bug-report
* feat: navigate to bug-report page in dropdown-menu
* feat: add route for bug report tools
* feat: export clipboard to map
* fix: set-step! in promise and remove unused state
* chore: there is no need to actively read from clipboard, just waiting copy-paste from user
* chore: only parse dataTransfer
* feat: initially done the clipboard data inspector
* fix: use `util/copy-to-clipboard!` instead
* feat: init page route for bug-report
* feat: navigate to bug-report page in dropdown-menu
* feat: add route for bug report tools
* feat: export clipboard to map
* fix: set-step! in promise and remove unused state
* feat: initially done the clipboard data inspector
* fix: use `util/copy-to-clipboard!` instead
* fix: remove unused `:require`
* ux: finetune clipbard inspector and bug report
* feat: component `report-item-button`
* fix: update text for clarity
* fix: add subtext to button to fix lint error
* fix: add missing argument
* fix: change bg color to logseq css variable
* fix: remove redundant div box in `report-item-button`

Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
Co-authored-by: Bad3r <bad3r@protonmail.com>
2023-01-12 20:29:56 +08:00
Andelf
193677b46f perf: Reduce usage of remove-nils since it's too slow (#8323)
* reduce usage of remove-nils since it's too slow

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-01-12 19:00:50 +08:00
Andelf
761d2dee9d fix(electron): return only file from readdir 2023-01-12 18:11:04 +08:00
rcmerci
08edcb76b4 feat: add frontend.pubsub ns (#8312)
* feat: add frontend.pubsub ns
* update clj-kondo config
2023-01-12 18:07:05 +08:00
Charlie
401c416484 feat:pdf highlight drag & drop (#8103)
* refactor(pdf): names
* improve(pdf): support highlight region draggable
* improve(pdf): unused class of pdf container
* improve(pdf): unused class of pdf container
* fix(pdf): ensure highlight block ref exists when draging to editor & whiteboard region

Co-authored-by: Bad3r <bad3r@protonmail.com>
Co-authored-by: Andelf <andelf@gmail.com>
2023-01-12 01:25:10 +08:00
Gabriel Horner
ba69f13d34 Allow :rules and built in rules usage
Fixes #8250 and fixes #7201
2023-01-11 11:59:18 -05:00
Junyi Du
6785486047 fix: a bug cause page content cache outdate when external edition happens 2023-01-12 00:47:44 +08:00
sallto
719a4add89 enhance(ui): remove non clickable space between links in sidebar (#8268)
fixes #8174

Co-authored-by: Andelf <andelf@gmail.com>
2023-01-11 10:53:57 -05:00
situ2001
c2288639e7 fix(hierarchy): should update :block/namespace while renaming page (#8266)
* fix: should update `block:namespace` while renaming
* fix: check logic in `rename-update-namespace!`

Co-authored-by: Bad3r <bad3r@protonmail.com>
Co-authored-by: Junyi Du <junyidu.cn@gmail.com>
2023-01-11 16:03:40 +08:00
Gabriel Horner
46433cbd6f Fix query tables failing on published apps
Fix #7332, fix #8211
2023-01-11 15:56:31 +08:00
Gabriel Horner
a72f5ef0a5 Display full property value in tables - fix #8227 2023-01-11 15:56:31 +08:00
rcmerci
d36b06b171 feat(sync): trigger a remote->local when app awake from sleep 2023-01-10 21:51:17 +08:00
rcmerci
d39081acf3 feat: add <app-wake-up-from-sleep-loop 2023-01-10 21:51:17 +08:00
Gabriel Horner
a0f6d89e78 Remove accidental whitespace from #8247 2023-01-09 11:40:53 -05:00
TaylorHo
d2a87741b7 chore: added translations for pt-BR, pt-PT, fr and tr 2023-01-09 11:38:17 -05:00
Sergio Miguéns Iglesias
4095fdfca0 Improve show-full-blocks option text 2023-01-09 22:48:22 +08:00
Sergio Miguéns Iglesias
86e52378ac Move full-blocks condition to the right place 2023-01-09 22:48:22 +08:00
Sergio Miguéns Iglesias
e58e545248 Add option to show full block body in ref 2023-01-09 22:48:22 +08:00
Tienson Qin
77e63f6461 enhance: allows empty content only for delete-blocks and move-blocks (#8199)
allows empty content only for delete-blocks and move-blocks
2023-01-09 22:24:08 +08:00
rcmerci
6dba93a0d7 fix(sync): incorrectly ignore unlink events 2023-01-09 22:09:40 +08:00
rcmerci
725145270b fix(sync): make diff-file-metadata-sets path compare case-insensitive 2023-01-09 22:09:40 +08:00
rcmerci
8a90a66691 fix(sync): filter-case-different-same-files & trigger remote->local when idle 2023-01-09 22:09:40 +08:00
Konstantinos
2e929ebb21 Chore(deps): Upgrade electron to 20 (#7692)
upgrade electron to 21
2023-01-09 13:57:41 +08:00
Gabriel Horner
17f51c7b77 Make resolve-input nbb compatible
- Brought back Xd-{before,after}-ms and tested it
- Move it to its own ns in graph-parser
- Updated nbb-logseq in deps/
- Made db-utils alias consistent
- Organized resolve-input
2023-01-07 02:49:07 -05:00
Gabriel Horner
506faa89c7 Add tests for :current-block and :parent-block
Remove before-ms and after-ms if we don't have a good use case for it
2023-01-07 02:49:07 -05:00
Ben
657d83e4ae Apple feedback to query_react 2023-01-07 02:49:07 -05:00
Darwis
6b750b832e resolve into :db/id instead of uuid 2023-01-07 02:49:07 -05:00
Gabriel Horner
fee656b4f9 add new query input :current-block-uuid, :parent-block-uuid, nd-before-ms, nd-after-ms 2023-01-07 02:49:07 -05:00
rcmerci
47d5b40e0f fix(sync): sync immediately when android app switching to background 2023-01-06 22:16:55 +08:00
rcmerci
f73e79857e fix <sync-local->remote-all-files! return value 2023-01-06 20:28:13 +08:00
rcmerci
cb25be08b4 sync background task for android 2023-01-06 20:28:13 +08:00
rcmerci
03df32665d fix: resp body maybe not json 2023-01-06 20:28:13 +08:00
rcmerci
c8b3afdc5a fix(sync): check get-local-files-checksum return nil 2023-01-06 20:28:13 +08:00
rcmerci
42bdcbfec3 rename origin-txid to *txid-for-get-deletion-log 2023-01-06 20:28:13 +08:00
rcmerci
b422edd3d2 fix(sync): rename multiple files 2023-01-06 20:28:13 +08:00
rcmerci
9f273c951e fix(sync): update local-txid 2023-01-06 20:28:13 +08:00
charlie
9aa626dcf3 improve(plugin): filter hooks of db block changes for performance 2023-01-05 20:59:42 +08:00
charlie
a80a64dfdf fix(mobile): wrong behavior when backspace with line-head text selection for ios 2023-01-05 19:43:57 +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