Commit Graph

12883 Commits (5f6e2596e889d69a4e62e84169eae3d64b75fb0e)

Author SHA1 Message Date
Gabriel Horner 7f0f5f4f70 fix: create graph script not working
also fix not being able to use logseq.tasks.db-graph.* with nbb scripts
external to logseq
2023-09-05 16:10:31 -04:00
Tienson Qin 60ab58c2ad fix: can't tag a block if the tag name has spaces 2023-09-06 01:08:33 +08:00
Andelf cd24919716
enhance(sync): refine network checking (#10147) 2023-09-06 00:18:34 +08:00
Tienson Qin 11ad914f27 fix: display tags for blocks too 2023-09-05 23:24:22 +08:00
Tienson Qin 3af4b7e530 fix: no need to update existing object's classes 2023-09-05 22:00:09 +08:00
Tienson Qin ff078afb8e fix: select objects from specified classes 2023-09-05 21:56:36 +08:00
bluemeda 4b60ed2d9f add some Indonesian terms to allowed-duplicates 2023-09-05 09:53:06 -04:00
bluemeda fe495f0380 add translation `id` 2023-09-05 09:53:06 -04:00
Tienson Qin 93643dafd5 feat: specify multple classes for object type 2023-09-05 20:19:31 +08:00
Tienson Qin 5f282ce3bb remove unnecessary div 2023-09-05 17:49:00 +08:00
Tienson Qin b9424d662b style tweaks 2023-09-05 17:39:42 +08:00
Tienson Qin 07d58178b2 feat: configure hidden properties 2023-09-05 16:40:14 +08:00
omahs 52134b3617
fix(docs): typos (#10143) 2023-09-05 11:23:21 +08:00
Tienson Qin cab00429c0 enhance: preload more blocks 2023-09-04 22:13:46 +08:00
Tienson Qin dfd5fa0a16 revert the change 2023-09-04 22:12:08 +08:00
Tienson Qin 02cc7eb46c enhance: set block placeholder height to 120 2023-09-04 22:10:37 +08:00
Tienson Qin f8f2f987c4 enhance: new lazy blocks implementation
1. GC blocks below viewport only
2. No long uses heavy react-intersection-observer
2023-09-04 22:00:45 +08:00
Andelf 5058f599e3 enhance(fs): check graph folder for bad name and nested graph 2023-09-04 17:44:43 +08:00
Tienson Qin 43ca48bdde fix: outdent not working for newly added object block 2023-09-04 17:41:50 +08:00
rcmerci 2d34af9f6a
Enhance(sync): serveral enhancements in sync (#10134)
* enhance(sync): 1. dont clear-tokens when refresh-token failed

2. log invalid json when fail to parse api json body,
   usually, it's returned by firewall (e.g. a XML)
3. handle exceptions carefully in frontend.fs.sync

* enhance(sync): update avoid reentrancy related code

* rename exp to guard-ex
2023-09-04 17:27:51 +08:00
Tienson Qin 54de53d4aa fix: scroll up if Enter pressed at the bottom 2023-09-04 15:12:07 +08:00
Tienson Qin 33f8a24397 perf enhancement
1. add :block/tx-id to check whether block has been updated
2. avoid rendering blocks if they're not updated
2023-09-04 14:15:46 +08:00
Tienson Qin b7a6b92be0 enhance: small text for tags 2023-09-03 23:01:57 +08:00
Tienson Qin cb177df037 fix: order block's own properties by id (squuid time) 2023-09-03 23:01:03 +08:00
Tienson Qin 3a14808b57 updated default icon for properties 2023-09-03 22:50:26 +08:00
Tienson Qin 387ad13536 enhance: group properties by classes 2023-09-03 22:09:39 +08:00
Gabriel Horner b3efb93335 Move initial namespaces to start outliner dep 2023-09-01 17:23:34 -04:00
Gabriel Horner d17c9a21f5 enhance: sort parent class options 2023-09-01 16:03:31 -04:00
Gabriel Horner 22d1cb54c5 fix: schema.org classes missing from tree
also fix typos
2023-09-01 15:08:11 -04:00
Gabriel Horner adab8a8e2e Add a basic tree hierarchy for db graph classes 2023-09-01 11:33:56 -04:00
Gabriel Horner 4c90983fd1 enhance: meta-click on a parent class to navigate to it 2023-08-31 14:24:25 -04:00
Gabriel Horner 22ac81a9d5 fix: regression on file graphs not showing hashtag for tags 2023-08-31 11:24:44 -04:00
Tienson Qin f5b290c64f enhance: show tags when editing a block 2023-08-31 17:36:38 +08:00
Tienson Qin 285bda2c29 enhance: display an empty block ready for input for block type value 2023-08-31 14:43:14 +08:00
Tienson Qin 1c12085150 fix: wrap property key if it's long 2023-08-31 13:45:03 +08:00
rcmerci 98bff93439
enhance(sync): add connectivity-testing (#10112)
* enhance(sync): add connectivity-testing

* update connectivity-testing s3 url
2023-08-31 12:20:53 +08:00
Gabriel Horner 7a48557ec9 Add url properties to schema and page properties
This required adding support for property :properties to create-graph.
Also fixed a subtle bug where transact! silently fails for positive
:db/id integers. Also misc script cleanup and docs
2023-08-30 16:15:46 -04:00
Gabriel Horner 43c299972c Fix url and text type detection in script 2023-08-30 16:15:46 -04:00
Gabriel Horner 34248736c7 First pass at a script that creates a db graph with schema.org ontology 2023-08-30 16:15:46 -04:00
rcmerci 510df28e06 support page create/rename/delete in rtc 2023-08-30 22:10:55 +08:00
Konstantinos Kaloutas 92ad2e4065 move filter rule to pdf page 2023-08-30 16:52:07 +08:00
charlie 2eaa1162e1 enhance(plugin): better log for beforeunload hook on user side 2023-08-30 14:17:14 +08:00
Allan Chain bba8aa5729 fix: reject promise on child error
So that the we won't await infinitely.

Fixes #10107
2023-08-30 14:17:14 +08:00
Allan Chain 474360ff1e fix: input-selection-end is not firing correctly
Fixes #10106
2023-08-30 14:16:39 +08:00
Leonardo Salgueiro 5e1117ef92
fix(bug): #4447 (#10111)
* actually using result from deepMerge when updating settings
* replacing merge from lodash with merge from deepmerge

---------

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2023-08-30 14:15:45 +08:00
Charlie 10caacd830
fix(ux): make linked references filters reactive when the page properties changed (#9638)
* enhance(ux): reactive page properties for the linked references filters
2023-08-30 14:14:29 +08:00
rcmerci 27ccf55d11 listen ds tx-report to generate page related ops 2023-08-30 13:04:33 +08:00
Gabriel Horner 5a16f50340 fix: regressions on object property caused by
a recent fix
2023-08-29 21:06:44 -04:00
djm2k 7de92849dd Update develop-logseq-on-windows.md 2023-08-29 22:13:50 +08:00
Charlie 6d6da2046c
Enhance/shortcuts (#9803)
* refactor(shortcuts): simplify to build handler category map

* fix(shortcuts): redundant re-mount for the pdf shortcuts

* refactor(shortcuts): simplify names

* refactor(shortcuts): simplify user keynames

* fix(shortcuts): persist inited state for dev mode

* refactor(shortcuts): simplify handlers installation

* refactor(shortcuts): optimize shortcuts mixin

* fix: incorrect function ref

* refactor(shortcuts): shortcuts mixin

* fix(shortcuts): incorrect initialization for the pdf shortcut handler

* refactor(shortcuts): optimize binding keys map

* refactor(shortcuts): optimize shortcuts conflicts detection

* refactor(shortcuts): optimize binding ids map

* refactor(shortcuts): WIP the new keymap page

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP fuzzy search for the shortcuts

* refactor(shortcuts): WIP the new keymap related components

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP the new shorcuts record component

* feat(shortcuts): WIP check shortcut conflicts component

* feat(shortcuts): WIP the new shorcuts record component

* refactor(shortcuts): WIP persist user shortcuts

* fix(shortcuts): detection for the conflicts

* feat(shortcuts): WIP detection for the conflicts

* feat(shortcuts): WIP persist user shortcuts

* refactor(shortcuts): add unit tests

* enhance(ux): search pane for the shortcuts

* feat(shortcuts): remove the existent shortcut item

* feat(shortcuts): fold/unfold categories

* feat(shortcuts): add shortcuts filters

* enhance(shortcuts): resove binding map description

* enhance(shortcuts): reactive category shortcuts

* enhance(shortcuts): register api for plugins

* feat(shortcuts): add keyboard shortcuts filters

* feat(shortcuts): impl keyboard shortcuts filters

* enhance(shortcuts): leader keys for the shortcut conflicts detection

* enhance(tests): leader keys conflicts for the shortucts

* enhance(shortcuts): parse conflicts from current binding list

* enhance(ui): polish the component of the restore shortcut action

* enhance(shortcuts): get conflicts with specific handler id

* enhance(shortcuts): polish the confilts component

* enhance(shortcuts): polish keymap conflicts component

* enhance(shortcuts): ux for handling shorcuts conflicts

* enhance(ui): polish notifications cp

* fix(shortcuts): remove reduplicate shortcuts for category

* enhance(shortcuts): polish ux for handling shorcuts conflicts

* chore(plugin): build libs core

* enhance(plugin): support shortcut command lifecycle hooks

* enhance(plugin): support shortcut command lifecycle hooks

* chore(plugin): build libs core

* enhance(shortcuts): support shortcuts saved to global config

* enhance(shortcuts): support shortcuts be saved to global config

* feat(shortcuts): support keymap manager to global settings

* enhance(shortcuts): shortcut to open keymap settings

* fix(units): tests

* fix: lints

* enhance(shortcuts): unlisten all shortcuts

* fix: lints

* fix: lints

* fix(units): tests

* fix(units): tests

* fix(units): tests

* enhance(shortcuts): unlisten/listen all shortcuts

* enhance(shortcuts): polish conflicts component

* fix(ui): modal size

* fix(ui): modal panel container

* enhance(shortcuts): i18n

* enhance(ui): layout of the shortcuts recorder component

* fix(lint): i18n

* enhance(ui): keyboard icon for the keymap settings tab

* fix(shortcuts): incorrect filters for the collaspsed shortcuts

* enhance(ui): polish details for the keymap settings

* enhance(ui): polish details for the keymap settings

* fix(shortcuts): get shortcut description error when the associated handler-id not exist

* fix(ui): the shortcut disabled label overlaps with section headers.

* refactor(shortcuts): names

* enhance(ui): filter icons
2023-08-29 19:33:48 +08:00