charlie
61b158fd7f
enhance(api): compatible block properties for the db graph
2024-05-31 11:03:15 +08:00
charlie
2528317e04
fix(api): upsert block property within db graph
2024-05-31 09:50:19 +08:00
Gabriel Horner
ec7839fcce
fix: simple queries in db graphs for most property types
...
Also fix parse-query was being called in multiple places
without a correct default value for :db-graph? option
2024-05-30 15:54:20 -04:00
Gabriel Horner
8cfaddc25a
fix: frontend lints
2024-05-30 11:27:25 -04:00
Gabriel Horner
790d0460a1
fix: remove + disable :block/macros for db graphs
...
part of LOG-3137
2024-05-30 11:01:37 -04:00
Tienson Qin
da3929376a
fix: don't extract macros from block content for db graphs
2024-05-30 21:32:45 +08:00
Tienson Qin
9dff707ae1
enhance: use an icon to identity block/page embeds
2024-05-30 21:32:19 +08:00
Tienson Qin
bde1eb4ac3
fix: show refs count when editing
2024-05-30 20:43:07 +08:00
Tienson Qin
9ce7f5d709
fix: eager loading nested blocks for short pages
2024-05-30 20:01:31 +08:00
Tienson Qin
22c87bc0dd
debug: worker init time
2024-05-30 18:43:35 +08:00
Tienson Qin
13b19a1b9c
perf: render less blocks and improve app start time
...
1. load only 1 journal when app starts
2. fix can't load more journals
3. pretend all the unloaded pages as long pages to avoid more
rendering
4. don't send <get-block queries if there're already requests
2024-05-30 18:31:19 +08:00
rcmerci
94c13553f5
fix(rtc): update schema transformer
2024-05-30 17:35:02 +08:00
rcmerci
a5ebcd651f
enhance(rtc): apply schema changes from remote
2024-05-30 16:59:26 +08:00
Tienson Qin
eff37bdf2a
fix: display object block as block reference
2024-05-30 16:06:03 +08:00
Tienson Qin
5729da0463
enhance: choose a class before selecting when creating new property
2024-05-30 14:35:20 +08:00
Gabriel Horner
1f44b269ee
fix: new tag from block doesn't redirect
2024-05-29 16:33:49 -04:00
Gabriel Horner
aeb51f8415
fix: only show class pages for tag completion
...
Fixes LOG-2742. Only showing class pages removes buggy
edge cases with property pages that suddenly act like classes,
particularly built-in properties, with no way for the user to undo
their action. Also cleans up search results so users can focus
on the classes they use often
2024-05-29 16:26:29 -04:00
Gabriel Horner
d885c68e84
enhance: page-ref completion completes user pages
...
Don't include built-in pages in :page-search as it clutters their search
results and will be more confusing than helpful
2024-05-29 15:53:57 -04:00
Gabriel Horner
1dd9823fdf
fix: remove alias ref to avoid recursive display bug
...
A page with aliases resulted in linked references recursively showing the
current page
2024-05-29 13:25:32 -04:00
Gabriel Horner
1654d9df34
fix: alias property showing up twice
2024-05-29 12:58:26 -04:00
rcmerci
0b8f5fe3e2
fix(rtc): sort client->remote-ops
2024-05-30 00:15:03 +08:00
Gabriel Horner
a4d8e05e2f
fix: esc saves a tag class with a :db/ident
...
Also refactor to update class tests to use correct helper
2024-05-29 11:09:09 -04:00
Gabriel Horner
cc92702a98
chore: remove unused fn when setting prop values
2024-05-29 11:09:09 -04:00
charlie
ee51887265
enhance(ux): improve accessibility for the property creation
2024-05-29 22:47:37 +08:00
rcmerci
877193c887
chore: lint
2024-05-29 19:26:21 +08:00
rcmerci
958f306d84
enhance(rtc): update update-schema-op
2024-05-29 19:21:20 +08:00
Tienson Qin
011b09204b
fix: repeat page info border
2024-05-29 16:20:46 +08:00
Tienson Qin
59a3b871c6
fix: align page info
2024-05-29 15:58:32 +08:00
Tienson Qin
53f7b9d034
fix: align class with properties
2024-05-29 15:44:53 +08:00
Tienson Qin
f4dd06f959
enhance: display tags the same way as other properties
2024-05-29 15:37:23 +08:00
charlie
d9462274e3
chore(ui): upgrade tabler icons package
2024-05-29 15:21:17 +08:00
Tienson Qin
db14a0a65a
fix: configure position
2024-05-29 15:20:32 +08:00
Tienson Qin
fa72a92a57
tweak opacity for non-default property bullet
2024-05-29 15:18:19 +08:00
Tienson Qin
7b6bd38f3f
fix: align page elements including properties, references, etc.
2024-05-29 15:17:00 +08:00
Tienson Qin
6d51fc2a43
fix: close property dialog after adding a property to a class
2024-05-29 14:29:10 +08:00
Tienson Qin
57690f2dc9
Update object icon
2024-05-29 14:15:04 +08:00
Tienson Qin
2cefa3b505
enhance: add icons for different types of properties
2024-05-29 13:37:43 +08:00
Tienson Qin
813e67b39f
enhance: don't highlight default property when hovering
2024-05-29 12:59:00 +08:00
Tienson Qin
170e8bbc15
fix: property value alignment
2024-05-29 12:47:55 +08:00
Gabriel Horner
4b944bbb03
fix: edit for :url and :number property vals
...
Also for :default :many
2024-05-28 22:45:08 -04:00
Gabriel Horner
effde81161
enhance: all user classes have :db/ident
...
This is important as a user's ontology (properties + classes) is now describable
with unique identifiers. This will allow for easy sharing and
importing of ontologies between users.
Also <create-class! now exists to create classes consistently. Will
be helpful when we want to provide some validation for classes
2024-05-28 16:52:12 -04:00
Tienson Qin
b759a66414
fix: lint
2024-05-28 18:56:14 +08:00
rcmerci
485ba81ff2
chore: remove debug prn
2024-05-28 18:43:24 +08:00
rcmerci
98967184a7
enhance(rtc): add update-schema op
2024-05-28 18:42:19 +08:00
rcmerci
4a0f95c79f
test(rtc): remove :fix-me for gen-remote-ops-test
2024-05-28 18:42:19 +08:00
Tienson Qin
e6280cd35c
fix: check property value exists when creating :default value
2024-05-28 18:10:46 +08:00
Tienson Qin
1ee04446e9
chore: remove debug
2024-05-28 18:04:15 +08:00
Tienson Qin
18a36f856d
enhance: no need to create empty value
...
The editor state will be restored after setting a property or exiting
the property editing.
2024-05-28 17:59:50 +08:00
charlie
0dead80fe1
enhance(ui): support more props for the shui dialog config
2024-05-28 17:03:45 +08:00
Tienson Qin
e8ac2ecb05
chore: cleanup unused code
2024-05-28 16:44:27 +08:00