Commit Graph

18312 Commits

Author SHA1 Message Date
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
Tienson Qin
b36d025097 Merge branch 'master' into feat/db 2023-11-15 20:16:40 +08:00
Tienson Qin
f67adcd4d5 fix: cut paste blocks 2023-11-15 20:01:24 +08:00
Tienson Qin
fc450f5398 fix: remove title handling 2023-11-15 16:06:28 +08:00
Tienson Qin
e2cb7f1b34 fix: send parameters to ui/button :button-props
Fixes LOG-2920
2023-11-15 16:06:28 +08:00
Tienson Qin
02e9f8eaa7 fix: add assets support on memory-fs 2023-11-15 16:05:04 +08:00
Gabriel Horner
80ac797c8a fix: multiple choice not working due to #10132
looks like there's a breaking change with ui/button's options
2023-11-14 16:56:08 -05:00
Gabriel Horner
86eb1b394d fix: update schema for latest changes to closed values
part of LOG-2871
2023-11-14 16:08:03 -05:00
Gabriel Horner
5ed5b72b72 enhance ux with tippy explain property locking
fixes LOG-2900
2023-11-14 10:29:02 -05:00
Tienson Qin
3000d21158 fix: class name in the create item 2023-11-14 21:15:42 +08:00
Tienson Qin
344e919c4e fix: input # in cmdk to create a class 2023-11-14 21:13:07 +08:00
Tienson Qin
ee3442a44b Merge branch 'master' into feat/db 2023-11-14 20:40:36 +08:00
Tienson Qin
6a47648c6c Replace enum type with available choices (#10438)
* Add type schema for enum values

* Refactor: closed values instead of enum to limit values

There's no need to add the enum type, we just want to limit the
values.

* feat: :page type supports closed values

* fix: can't set property values for text/number types

* fix: don't trigger on-chosen when unmounting any select component

* fix: can't apply both page classes limitation and closed values

* fix: merge conflicts

* fix: ui not refresh when changing closed value

* fix: can't set icon for closed value
2023-11-14 18:48:34 +08:00
Andelf
583d611259 fix(fs): missing mkdir-recur! for nfs and memory-fs 2023-11-14 17:23:12 +08:00
Tienson Qin
9917f06b89 fix: cloudflare branch 2023-11-14 15:35:48 +08:00
Tienson Qin
4fd46a2990 Merge pull request #10132 from logseq/feat/cmdk
feat: new cmdk
2023-11-14 15:28:10 +08:00
Tienson Qin
7dc4b24d64 rename workflow 2023-11-14 15:25:58 +08:00
Tienson Qin
0e1d7daaf2 fix: update workflow 2023-11-14 15:16:30 +08:00
Tienson Qin
a035be233e add stage deployment for the master branch 2023-11-14 15:12:57 +08:00
Tienson Qin
10a025e8ef fix: whiteboard selected button bg 2023-11-14 14:55:07 +08:00
charlie
5023316274 Merge branch 'feat/cmdk' of https://github.com/logseq/logseq into feat/cmdk 2023-11-14 14:44:20 +08:00
charlie
843e3d5d71 fix(ux): open in right sidebar with click 2023-11-14 14:44:09 +08:00
Tienson Qin
8e0a70017e fix: editor e2e tests 2023-11-14 14:10:47 +08:00
charlie
450f20a275 Merge branch 'feat/cmdk' of https://github.com/logseq/logseq into feat/cmdk 2023-11-14 14:00:41 +08:00
charlie
eaea4bdc2e fix(ui): polish the active navigation items color 2023-11-14 14:00:23 +08:00
Tienson Qin
bb1f0a29bc fix: whiteboards e2e tests 2023-11-14 13:50:30 +08:00
charlie
eee0410181 enhance(ui): polish document text color 2023-11-14 13:45:51 +08:00
Gabriel Horner
ade1af5874 fix: refs to hidden block property values doesn't make sense
part of LOG-2819
2023-11-13 12:20:34 -05:00
Gabriel Horner
d656c75428 fix: improve property type ux by locking once property is used
fixes LOG-2900. Also fixed lint
2023-11-13 10:05:54 -05:00
Tienson Qin
bbc6e5ffe3 Merge branch 'master' into feat/cmdk 2023-11-13 23:00:32 +08:00
Tienson Qin
88acf53303 fix: lint warnings 2023-11-13 22:59:34 +08:00
Tienson Qin
2a62767f34 chore: replace shui__ with ui__
Theme creators don't need to know about shui.
2023-11-13 22:39:53 +08:00
Tienson Qin
b1eacf9259 fix: lint warning 2023-11-13 22:29:38 +08:00
charlie
b05a4dffa5 Revert "Merge branch 'feat/cmdk' of https://github.com/logseq/logseq into feat/cmdk"
This reverts commit 5681452262, reversing
changes made to 0e1295b142.
2023-11-13 22:05:33 +08:00
charlie
5681452262 Merge branch 'feat/cmdk' of https://github.com/logseq/logseq into feat/cmdk 2023-11-13 21:58:17 +08:00
charlie
0e1295b142 fix(ui): shui button internal theme state 2023-11-13 21:57:16 +08:00
charlie
63398429f5 enhance(ui): shui button 2023-11-13 21:55:01 +08:00
Andelf
2b4229db1f chore(deps): upgrade rsapi, rm doh 2023-11-13 20:16:15 +08:00
Tienson Qin
9805e7fe1d fix: search title bar not changed in sidebar 2023-11-13 17:31:37 +08:00
Tienson Qin
e4714668b9 fix: cmdk on mobile 2023-11-13 16:41:00 +08:00
Tienson Qin
88fc95a8ea fix: right sidebar background color 2023-11-13 13:48:18 +08:00
Tienson Qin
eaadd462ff fix: listitem hardcode css variable 2023-11-13 13:37:21 +08:00
Tienson Qin
80703328b0 fix: keyboard shortcuts style 2023-11-13 13:09:14 +08:00
Tienson Qin
a31c530de5 fix: color-level class 2023-11-12 22:58:02 +08:00
Tienson Qin
e0c7ff0ba3 fix: keep one command for toggle cards 2023-11-12 21:49:41 +08:00
Tienson Qin
40955a025c enhance: replace help font with svg 2023-11-12 21:20:33 +08:00