Commit Graph

8808 Commits

Author SHA1 Message Date
Tienson Qin
3781c8a0ca enhance: vertical align block values 2023-09-12 13:11:42 +08:00
Gabriel Horner
da4beef34d enhance: clicking on properties navigates in publishing
Previously this did nothing since publishing is read only. This is
also more user friendly as clicking on a page normally navigates to it
2023-09-11 17:16:36 -04:00
Gabriel Horner
59567321f1 enhance: improve default class pages for publishing 2023-09-11 16:54:19 -04:00
Gabriel Horner
d69a64399f fix: hidden properties should display their existing values 2023-09-11 16:18:29 -04:00
Gabriel Horner
23307101fa enhance: publishing hides blank properties by default
No need to display blank properties since they are for editing
and publishing is readonly
2023-09-11 16:07:05 -04:00
Gabriel Horner
ad70f0e049 fix: Don't show toggle on tags for file graph 2023-09-11 13:03:11 -04:00
Gabriel Horner
094c0d1f64 fix: tagged blocks display class properties 2023-09-11 09:31:42 -04:00
rcmerci
bae95c4a42 fix(rtc): build remove-ops 2023-09-11 19:07:58 +08:00
Tienson Qin
bc9c3b4506 fix: slow input cursor for the new created block 2023-09-11 17:28:49 +08:00
Tienson Qin
9d8d20792e fix: new created block blink 2023-09-11 16:16:32 +08:00
Tienson Qin
46838785b1 fix: focus on editor after tag has been added 2023-09-11 15:39:33 +08:00
Tienson Qin
f8b048ca8b enhance: add a toggle for creating tagged blocks or pages 2023-09-11 15:25:55 +08:00
rcmerci
bc904aa8d7 enhance(rtc): handle graph confict-update case 2023-09-10 01:57:39 +08:00
Gabriel Horner
36edf87db3 Move config.edn template to a library
so it can be used outside Electron e.g. when creating graphs from CLI.
Put a symlink in the old templates/config.edn location to make new
location easier to find but it's not needed for anything to work
2023-09-08 13:52:45 -04:00
Gabriel Horner
5f66ca027e enhance: Use path-refs calculation in CLI namespaces
Also moved path-refs truncation into outliner so that it applies consistently
across environments
2023-09-08 11:57:35 -04:00
Gabriel Horner
779b7417fb fix: unable to open modals with '/'
@tiensonqin There may be other uses of this atom that are buggy
2023-09-08 09:24:28 -04:00
Gabriel Horner
5b99078d6a fix typos 2023-09-08 09:08:53 -04:00
rcmerci
550661a615 remove unused code 2023-09-08 16:47:32 +08:00
rcmerci
c1cad0adc3 add debug-ui for rtc 2023-09-08 16:46:32 +08:00
Gabriel Horner
41bd76a704 Merge branch 'master' into feat/db 2023-09-07 17:52:25 -04:00
Gabriel Horner
8d9d258aef fix: auto-created property values shouldn't have multiple classes 2023-09-07 16:12:52 -04:00
rcmerci
0cef911069 remove redundant codes 2023-09-07 21:53:26 +08:00
Andelf
c346116639 refactor(sync): start-sync loop 2023-09-07 21:53:26 +08:00
Andelf
0e4e42ac2b fix(sync): check user refresh-token as well 2023-09-07 21:53:26 +08:00
Andelf
70cb124e8b fix(sync): avoid check connectivity for non-sync graph
Close #10169
2023-09-07 21:53:26 +08:00
Gabriel Horner
651866ba0b fix: searching in :classes field 2023-09-07 09:50:53 -04:00
rcmerci
f786b6495b add timestamp to log 2023-09-07 08:20:51 -04:00
charlie
b17cf11139 enhance(dev): better logs 2023-09-07 16:57:30 +08:00
Andelf
645a8d32df chore: bump version 0.9.17 2023-09-07 11:37:19 +08:00
Andelf
9e2fe79c48 Revert "Enhance (UX): Electron loading (#10049)" (#10165)
This reverts commit 12642f5777.
2023-09-07 11:36:53 +08:00
Andelf
850bc1a89c fix(sync): missing cross-origin handling for conn check (#10163) 2023-09-07 11:33:42 +08:00
Gabriel Horner
a93fe4d81b Move recalculate-block-path-refs to outliner dep
Moved dependent query fns also into the outliner dep. Removed
get-block-children-ids from model as there was only one use of it after
the refactor. Also setup testing for outliner and moved in a test for it
2023-09-06 16:20:29 -04:00
Tienson Qin
128e03452f fix indent/outdent/move-up-down cursor when there's a link block
This commit also replaces setTimeout with rum/schedule
2023-09-07 01:29:43 +08:00
Tienson Qin
0cbd6c09f8 perf: slow switch to the editor mode for long pages 2023-09-07 00:12:48 +08:00
Tienson Qin
a23068fec7 fix: blocks rendering 2023-09-07 00:12:48 +08:00
Gabriel Horner
ea8d6679de Fix frontend and graph-parser tests
A number of outliner tests were failing which is distracting when trying
to separate out outliner namespaces. Most failures were caused by
introduction of state/get-selection-blocks into outliner layer. A few
are caused by trivial count change in datoms. Removed config/test? from
outliner as it's unused
2023-09-06 11:57:41 -04:00
Andelf
e043a2c3fa chore(release): bump version 0.9.16 (#10149) 2023-09-06 14:52:25 +00:00
Konstantinos
b678a806a1 fix: close button visibility (#10145) 2023-09-06 14:51:44 +00:00
Tienson Qin
481481fc47 perf: disable lazy load for short pages
Also, fixed slow blocks selection
2023-09-06 22:49:18 +08:00
Charlie
331afbc04f Enhance/plugins apis (#10127)
* enhance(api): add page to recent for route api

* enhance(api): support open block in right sidebar with entity id
2023-09-06 14:49:18 +00:00
Tienson Qin
853b54510c perf: fast rendering for long pages (no need to wait for seconds) 2023-09-06 22:00:39 +08:00
Tienson Qin
4657acbc43 perf: reduce cost for edit-block! 2023-09-06 21:38:08 +08:00
Tienson Qin
89186a438e perf: avoid unnessary block component rendering 2023-09-06 21:38:08 +08:00
Gabriel Horner
c07da6cc80 Move handler.common.repo fn into sqlite-util
This makes create-graph* namespaces independent of frontend
as they should be to be used externally
2023-09-06 08:59:40 -04:00
Konstantinos
12642f5777 Enhance (UX): Electron loading (#10049)
* hide window until theme is loaded

* show window on db-restored

* move manage call to handle maximized state

* hook on theme load
2023-09-06 15:34:52 +08:00
charlie
a6ace12832 fix: lint 2023-09-06 14:42:00 +08:00
charlie
e0543eb695 enhance(ui): remove legacy shortcuts entry from the general settings 2023-09-06 14:42:00 +08:00
Tienson Qin
26a673f201 fix: redirect to linked block if zoom in 2023-09-06 14:12:47 +08:00
Gabriel Horner
b264d17309 Move db-graph property fns to its own logseq.db ns
db-graph related fns like these shouldn't be in the graph-parser dep as
that dep should only really be used with file graphs as much as possible.
This is also being done in preparation for making the create-graph ns independent of
the frontend

Also db- prefixes in fns were dropped since the ns now carries the db-
prefix
2023-09-05 17:15:45 -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