rcmerci
51a599060f
chore: prn bad data when coerce failed
2024-06-17 22:20:42 +08:00
rcmerci
9ab79bfe38
enhance(rtc): validate graph skeleton data when start-rtc
2024-06-16 19:44:05 +08:00
Tienson Qin
b294896f8a
fix: reuse page uuids when parsing files
...
This commit also removes `with-id?` because it's too confusing.
Fixes LOG-3143
2024-06-15 22:52:30 +08:00
rcmerci
acd06e1e9e
enhance(rtc): ensure refed-blocks from remote existing in client
2024-06-14 18:48:04 +08:00
rcmerci
61df440c6e
fix(rtc): update :refed-blocks schema
2024-06-13 21:51:52 +08:00
rcmerci
e07a572a22
fix(rtc): fix schema
2024-06-13 21:03:50 +08:00
rcmerci
0692edc17d
enhance(rtc): update data-from-ws-schema
2024-06-13 16:19:00 +08:00
Tienson Qin
2545d15a5e
fix: write files only if it's a file-based graph
2024-06-13 09:12:52 +08:00
Gabriel Horner
9f89717a57
refactor: finish splitting file and db page create
...
db create had file specific assumptions and file create had db specific
assumptions like class?
2024-06-12 14:57:23 -04:00
Gabriel Horner
0b61bdea29
fix: edit an empty page for file and db graphs
...
To repro, create a block with a page-ref, click into page and
then click on 'Click here to edit'
2024-06-12 13:59:59 -04:00
Gabriel Horner
13f5971d3c
chore: mv worker.file.page-rename to appropriate ns
...
This ns is file graph specific so it should be in a file-graph
specific ns. Its current location was confusing as it was next to
other namespaces in frontend.worker.file.* that are not
file graph specific. Also moved related tests to correct location
2024-06-12 11:38:00 -04:00
Gabriel Horner
99939c600f
fix: remove dead code caught when updating linter
...
Also added a db-concepts not in file linter fn
2024-06-12 10:36:22 -04:00
rcmerci
9763b01ae4
fix(rtc): filter remote-ops by pending local ops
2024-06-12 16:26:27 +08:00
Tienson Qin
fbdda658e8
fix: undo route redirects
2024-06-12 06:39:06 +08:00
Tienson Qin
1dc72d79f2
fix: separate page/create impl for db and file graphs
...
Also, move rtc page create impl to its own fn.
2024-06-12 06:39:06 +08:00
Tienson Qin
2d3f152454
fix: simplify page delete and fix rtc issues
2024-06-11 20:23:57 +08:00
Tienson Qin
4b3920b049
fix: delete page when entity exists
2024-06-11 16:37:53 +08:00
rcmerci
9bad800eff
fix(rtc): ensure mws-create won't return nil
2024-06-11 15:37:53 +08:00
rcmerci
8cbdd2a881
enhance(rtc): update schema for :block/order
2024-06-11 13:15:02 +08:00
Tienson Qin
20e4ff133c
fix: can't delete pages that have refs
...
Also, redirect to home after deleting the page
2024-06-11 08:30:49 +08:00
rcmerci
575558e169
fix(rtc): wrong order
2024-06-11 00:09:48 +08:00
rcmerci
d574cc3b0e
enhance(rtc): replace :left by :block/order in query-response
2024-06-10 23:52:00 +08:00
Tienson Qin
0a77ba077f
fix: reuse :block/order if exists when inserting blocks from remote
2024-06-09 11:02:26 +08:00
rcmerci
7396176dd3
fix(rtc): dont generate undo-ops rtc-ops when download-graph
2024-06-08 00:23:23 +08:00
rcmerci
fda893fca7
fix(rtc): update local-tx if not exists yet when register-graph-updates
2024-06-08 00:23:23 +08:00
Gabriel Horner
29810f4683
fix: lint
2024-06-07 12:12:17 -04:00
Tienson Qin
14368026ab
fix: can't delete :many property from a block
2024-06-07 21:20:55 +08:00
rcmerci
806e24fff7
fix(rtc): fix :update-schema op, must have :db/valueType key
2024-06-07 18:10:49 +08:00
rcmerci
6fac75a036
fix(rtc): update :av-coll in :update op
2024-06-07 17:38:14 +08:00
rcmerci
bd0482f60e
enhance(rtc): update block position related logic
2024-06-07 13:31:28 +08:00
Tienson Qin
08de1fc84d
fix: full text search matches on page-ref uuids
...
fixes LOG-3147
I also removed properties from search, because it can make the search
results verbose and also increases time on datascript queries.
2024-06-07 01:12:47 +08:00
Tienson Qin
05425667b9
fix: undo deleting refed blocks
2024-06-06 19:44:13 +08:00
Tienson Qin
2b17284f77
fix: DEL lost editor state
2024-06-06 16:44:00 +08:00
Tienson Qin
c871ca8a50
fix: remove hidden properties from search indice
2024-06-05 17:40:14 +08:00
Tienson Qin
554926cb19
fix: tons of issues on whiteboards
...
Mostly because we made the change that multiple pages can have the
same name now, also the UI db is not full anymore.
2024-06-03 22:50:17 +08:00
Tienson Qin
3e94e25741
fix: search in page
2024-06-03 15:12:31 +08:00
Tienson Qin
bce5a308bb
perf: skip db storage when batch applying outliner ops
2024-06-03 14:53:06 +08:00
rcmerci
8a94b856bd
enhance(rtc): add debug prn when failed to transact
2024-06-02 21:19:59 +08:00
rcmerci
5d1cffef7a
enhance(rtc): :update-op add :card-one-attrs
2024-06-02 16:24:30 +08:00
rcmerci
6a7a7c68e4
fix(rtc): adjust op-mem-layer/new-branch! position
2024-06-01 18:59:32 +08:00
rcmerci
592c57c936
fix(rtc): update remote-op-value->tx-data
2024-06-01 18:03:55 +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
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
rcmerci
0b8f5fe3e2
fix(rtc): sort client->remote-ops
2024-05-30 00:15:03 +08:00
rcmerci
958f306d84
enhance(rtc): update update-schema-op
2024-05-29 19:21:20 +08: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
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
fce5adb400
enhance(rtc): watch schema related attrs when db-listen
2024-05-28 16:22:41 +08:00