Commit Graph

12275 Commits

Author SHA1 Message Date
Tienson Qin
7f079a8b53 UP/DOWN support for multiple values 2023-08-09 23:33:07 +08:00
Tienson Qin
742937993d Better atom name 2023-08-09 21:56:26 +08:00
Tienson Qin
fa52a08391 enhance(ux): hide add button for multiple values 2023-08-09 20:28:24 +08:00
Tienson Qin
34f18c0260 chore: separate property value namespace 2023-08-09 19:11:48 +08:00
Tienson Qin
9f497c223b fix: UI crash 2023-08-09 18:50:42 +08:00
Tienson Qin
7aa420914e fix: don't show close button when editing 2023-08-09 17:22:31 +08:00
Tienson Qin
d7cacd67fd enhance(properties): mod+enter to create new value 2023-08-09 16:35:18 +08:00
Tienson Qin
8e87913f1f enhance(properties): Enter to create new value 2023-08-09 14:21:27 +08:00
rcmerci
5c605192be update rtc upload-graph 2023-08-09 00:08:22 +08:00
rcmerci
6f0697de7f update rtc init-upload graph logic 2023-08-08 22:11:14 +08:00
rcmerci
ac15c6c75e remove adding opts to outliner-tx/transact! 2023-08-08 22:11:10 +08:00
Tienson Qin
bf73045891 enhance: page properties ux 2023-08-08 21:04:20 +08:00
Tienson Qin
de6669fce0 fix: multiple values 2023-08-08 15:48:57 +08:00
Tienson Qin
2e5a216e62 fix: can't select all again 2023-08-07 21:25:00 +08:00
Tienson Qin
2729f0ad01 remove gap from property blocks 2023-08-07 21:19:49 +08:00
Tienson Qin
61a6232bd4 fix: avoid circle block ref 2023-08-07 21:12:21 +08:00
Tienson Qin
3a530496e3 fix: built-in property id changes after app reload 2023-08-07 20:32:38 +08:00
Tienson Qin
7a5ee44f85 fix: recursive property block reference 2023-08-07 19:29:18 +08:00
Tienson Qin
e2c28aa91a enhance: hide block refs count for blocks created in property 2023-08-07 18:53:28 +08:00
Tienson Qin
fe9c082e5e fix: remove hack $$property page 2023-08-07 18:35:05 +08:00
Tienson Qin
668a17c2af enhance: be able to collapse/expand properties 2023-08-07 17:31:34 +08:00
Tienson Qin
59ce087247 enhance: exit property editing on blur input 2023-08-07 17:06:40 +08:00
Tienson Qin
448b21c0c4 enhance: use dropdown instead of modal for property configuration 2023-08-07 16:41:02 +08:00
Tienson Qin
6ec79d48cb feat: property icon emoji picker 2023-08-07 15:03:03 +08:00
Tienson Qin
d2efb81c52 Style tweaks 2023-08-07 13:02:04 +08:00
Gabriel Horner
023a47562d Fix regression on configure page with properties
Was unable to add multiple page or schema properties. Caused by move to
select component which exited page modal by default
2023-08-04 14:11:25 -04:00
Gabriel Horner
11991a0919 fix query builder not starting
Also fix hidden properties showing up in property dropdown of query
builder
2023-08-04 12:00:59 -04:00
Tienson Qin
f3e351901d enhance: multiple values better ux 2023-08-04 15:51:09 +08:00
Tienson Qin
5d2e65b8f8 enhance: use row layout for multiple pages 2023-08-04 12:21:09 +08:00
Tienson Qin
a775746d97 fix: remove existing properties/alias/tags from auto-complete 2023-08-04 11:08:34 +08:00
Gabriel Horner
6537f0dfab Loosen property name check for db graphs
properties don't need to be keywords for db graphs since property names
aren't involved in property storage. This change allows for property
names to have whitespace and be invalid edn.

See #6753 for example bugs that db-validation-property-name? catches
2023-08-03 17:00:49 -04:00
Gabriel Horner
8253477a9d fix regression - pages can add schema or page properties 2023-08-03 14:22:23 -04:00
Gabriel Horner
19d52c178b fix: still disallow invalid property names
Issues with using tag or page ref syntax on pages still exist
with db graphs
2023-08-03 11:17:19 -04:00
Gabriel Horner
47cea36e7d fix: add back disallowing adding hidden built-in properties
Without this adding a built in prop and value leads to it disappearing
with no explanation. Also cleaned up gp-property into sections mostly
to differentiate between file and db graph properties
2023-08-03 10:11:23 -04:00
Tienson Qin
99ecf6cd42 fix: use select/select component for new property input 2023-08-03 18:53:50 +08:00
Tienson Qin
d3329856af fix: put alias before tags 2023-08-03 16:24:21 +08:00
Tienson Qin
cdb6d5d7ae fix: hide page configure for built-in property pages
Also, disabled page delete and rename for built-in property pages
2023-08-03 16:01:35 +08:00
Gabriel Horner
24f38f232f fix: block property deletion
e.g. select "Delete property"
2023-08-02 17:30:06 -04:00
Gabriel Horner
d3ba0de946 fix: user can't add hidden built-in properties to blocks
Allowing this leads to errors e.g. user adds 'query-properties' property
and then adding value throws error b/c of internal schema type :coll
2023-08-02 15:39:18 -04:00
Gabriel Horner
a85e7d4b2a fix: User shouldn't be able to alter built in properties
Allowing this causes all kinds of bugs. Also trivial type fix
for last commit
2023-08-02 14:53:22 -04:00
Gabriel Horner
2c53a1b121 fix: don't display built in property types to user
Also add :keyword type as a couple built in properties use it
2023-08-02 12:25:03 -04:00
rcmerci
aff2620505 persist edit-operation 2023-08-02 22:54:05 +08:00
Gabriel Horner
e85557bacd Fix graph-parser lint
Also bump property perf for db-graph as it's a little slower but
still within reasonable range
2023-08-01 16:48:35 -04:00
Gabriel Horner
991c0994e5 All query-dsl tests pass for db graphs
Add to CI. Also fix graph-parser lint and typo
2023-08-01 16:34:48 -04:00
Tienson Qin
50a897153b fix: alias page crashes if there's a non-page block with alias property 2023-08-02 03:23:51 +08:00
Tienson Qin
bd79b4b7e4 enhance: put alias and tags before other properties 2023-08-02 03:12:53 +08:00
Tienson Qin
4f24c80b33 fix: add back support for alias and tags 2023-08-02 03:09:55 +08:00
Tienson Qin
15cb78fbf7 fix: add pre-configured properties when creating a new db graph 2023-08-02 01:49:23 +08:00
Gabriel Horner
791bd90d88 Fix frontend code breaking a deps library again
Please run `yarn test` in a dep to ensure it still works /cc
@tiensonqin. See 84b80e8b76 for previous
examples
2023-08-01 11:18:10 -04:00
Tienson Qin
8e9a189ba1 handle whiteboard built-in properties 2023-08-01 21:48:36 +08:00