Tienson Qin
a1093171df
fix: can't find default property values in search
...
Fixes LOG-2921
2023-11-21 12:49:29 +08:00
Tienson Qin
89284f07fd
fix: can't open references when refed block is a property value
...
Fixes LOG-2910
2023-11-21 12:01:28 +08:00
Tienson Qin
cb7bcb3816
fix: a non-journal home page is empty on initial graph load
...
Fixes LOG-2813
2023-11-21 11:26:48 +08:00
Tienson Qin
bb5762df62
fix: uuid based property values appear blank on initial graph load
...
Fixes LOG-2909
2023-11-21 10:48:09 +08:00
Gabriel Horner
c69c22c716
fix: duplicate closed value validation
...
c65958f5ec didn't fix it correctly
for the "closed value" values
2023-11-20 16:07:53 -05:00
Gabriel Horner
6749577105
fix: a property must have a :type when making schema changes
...
Caught by schema validation. This also aligns with what users
are seeing in the UI i.e. a :default type when they're
starting to interact with a property
2023-11-20 11:59:14 -05:00
Gabriel Horner
fde68d9d02
fix: handle cardinality many to one change
...
fixes LOG-2922
2023-11-20 11:06:09 -05:00
Tienson Qin
5704fc2eea
fix: remove orphaned block refs/tags when saving a block's content
...
Fixes LOG-2820
2023-11-20 17:34:36 +08:00
Gabriel Horner
be747bd728
chore: move db graph property fns to db-based.property
...
Doing this revealed db graph fns were being called on file graphs for
every block and linked reference. Also removed property.handler fns
that were just wrapping a graph-specific fn as they were making handlers
less explicit and adding duplicate config/db-based-graph? checks
2023-11-17 23:37:17 -05:00
Gabriel Horner
e95531869a
chore: move db only property util fns to their own ns
...
by doing this found a couple places where we accidentally called db fns
in file graph contexts
2023-11-17 16:36:49 -05:00
Gabriel Horner
6f9143df4f
chore: add db and file graph linter to CI
...
This has run successfully locally for weeks. Also fix install doc for
bb tasks
2023-11-17 10:35:01 -05:00
Tienson Qin
a25ab8af30
enhance: reduce the time to wait for ensuring sqlite initialization
2023-11-17 13:36:59 +08:00
Gabriel Horner
f64f1461a3
enhance: make bb dev:db-transact usable for any task
...
closes LOG-2647. This task was used to update multiple graphs
that were now invalid with the removal of :block/type "object"
2023-11-16 16:40:35 -05:00
Gabriel Horner
cca80e37a7
fix: remove unused :block/type "object"
...
fixes LOG-2914
2023-11-16 14:50:21 -05:00
Gabriel Horner
834c466590
fix missed lint
2023-11-16 14:05:11 -05:00
Gabriel Horner
b3b5be5ec6
fix unit tests and lints
2023-11-16 13:55:04 -05:00
Gabriel Horner
28e1cd9182
Merge branch 'master' into feat/db
2023-11-16 13:41:12 -05:00
rcmerci
b54c39e8a6
fix(rtc): fix add-ops-to-block-uuid->ops & add testcase
2023-11-17 01:20:18 +08:00
Andelf
3b35db2b71
fix: published page
2023-11-17 00:04:14 +08:00
Gabriel Horner
cdbae43b26
fix: regression on publishing app starting up
2023-11-16 09:42:33 -05:00
rcmerci
16208a877e
test(rtc): entity-datoms=>ops
2023-11-16 22:15:43 +08:00
Andelf
be03ddc28f
chore: rm wrong debug print
2023-11-16 22:07:53 +08:00
Tienson Qin
ad88d873a5
fix: don't reload db worker
2023-11-16 21:57:06 +08:00
Tienson Qin
0226275647
fix: view-box instead of viewbox
2023-11-16 21:34:10 +08:00
Tienson Qin
48b610a9f0
fix: tag autocomplete if its name has any space
2023-11-16 21:32:01 +08:00
Andelf
dc13a26756
fixup! enhance(db): use wasm-based sqlite storage
2023-11-16 21:15:25 +08:00
Andelf
60159eba87
enhance(db): use wasm-based sqlite storage
2023-11-16 21:15:25 +08:00
Tienson Qin
563409bd93
chore: remove unused fn
2023-11-16 20:13:09 +08:00
Tienson Qin
1c5abc7bcc
Merge branch 'master' into feat/db
2023-11-16 20:08:33 +08:00
Tienson Qin
71992cf1cf
fix: lint warning
2023-11-16 20:03:55 +08:00
Tienson Qin
d0d0a825ea
fix: remove user-letter icon for now since it's distracted
2023-11-16 19:30:04 +08:00
Tienson Qin
215c1f2f92
enhance: backspace to exit search filter mode
2023-11-16 19:19:19 +08:00
Tienson Qin
ba82d990a8
fix: graph icon
2023-11-16 19:03:02 +08:00
rcmerci
8bc6d8d9a0
enhance(rtc): split local-block-ops->remote-ops
...
also fix <download-graph
2023-11-16 18:26:06 +08:00
Tienson Qin
09ad27b0ff
enhance: support inline tags in block content
2023-11-16 18:15:45 +08:00
Tienson Qin
6277f76557
fix: open search in right sidebar doesn't work when input is empty
...
Fixes LOG-2923
2023-11-16 17:44:09 +08:00
Tienson Qin
f46c471d4a
fix: close button for tags
...
Disable tag background for now
2023-11-16 17:10:35 +08:00
Tienson Qin
98c0fe389e
chore: remove bug report from menu since it's already in help
2023-11-16 15:50:07 +08:00
Tienson Qin
5afb1619df
Merge branch 'master' into feat/db
2023-11-16 15:45:13 +08:00
Tienson Qin
887e637d3a
enhance: show other search results when there's slash in input
2023-11-16 15:16:10 +08:00
Tienson Qin
b1622d2411
fix: cmd+c to copy block ref
2023-11-16 15:16:10 +08:00
Tienson Qin
15ed50e357
enhance: remove the need to add a space to trigger search command
2023-11-16 15:16:10 +08:00
Tienson Qin
103f253882
fix: typo
2023-11-16 12:46:40 +08:00
Gabriel Horner
d43fb23ef0
enhance: allow CLI and github action to set color accent
2023-11-15 16:37:03 -05:00
Gabriel Horner
c65958f5ec
fix: duplicate closed value validation
...
wasn't working for hidden block or page uuid cases
2023-11-15 15:15:49 -05:00
Gabriel Horner
b359694c4b
fix: multiple fixes for property validation
...
- couldn't use :default block property values
- couldn't add new closed number value
- couldn't select existing :page or :date closed values
- editor/CLI validation wasn't working - see failing db-graph-test job
- update schema for closed-value
Part of LOG-2871. Also fixed typo in ui.cljs
2023-11-15 14:55:57 -05:00
Tienson Qin
443eb3f2b8
fix: closed value validation
...
A closed value must be a UUID and exists in the predefined schema
values from its property.
Related to LOG-2871.
2023-11-15 22:58:05 +08:00
Tienson Qin
450b5d39a3
fix: deleted enum choice effects existing blocks
...
Fixes LOG-2872
2023-11-15 21:38:44 +08:00
Tienson Qin
c9d01bc333
fix: no need to set :block/left for closed value blocks
...
related to LOG-2871
2023-11-15 21:29:51 +08:00
Tienson Qin
ac41115521
fix: only the icon displays in the block for a closed value
...
related to LOG-2871
2023-11-15 20:52:38 +08:00