Commit Graph

9433 Commits

Author SHA1 Message Date
Tienson Qin
98c0fe389e chore: remove bug report from menu since it's already in help 2023-11-16 15:50:07 +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
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
10a025e8ef fix: whiteboard selected button bg 2023-11-14 14:55:07 +08:00
charlie
843e3d5d71 fix(ux): open in right sidebar with click 2023-11-14 14:44:09 +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
88acf53303 fix: lint warnings 2023-11-13 22:59:34 +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
63398429f5 enhance(ui): shui button 2023-11-13 21:55:01 +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
Tienson Qin
34fd9d20fa enhance: show cmdk in the basic shortcut group 2023-11-12 20:59:44 +08:00
Tienson Qin
96693439d0 Feat/cmdk radix tweaks (#10493)
* prefer --lx-gray-11

* Fix sidebar item color

* Update theme mode images

* Update shortcuts globally

* Assets updated to support radix

* fix: add missing keyboard-shortcut class

* fix: custom button background

* fix: lower case shortcuts

* chore: remove old shortcut list

* fix: shortcut ns

* enhance: shortcut accepts both sequence and string

* fix: shortcut remap ux

* fix: remove codemirror box shadow

---------

Co-authored-by: Ben Yorke <ben@yorke.io>
2023-11-12 20:43:10 +08:00
Tienson Qin
acf7881672 Merge branch 'master' into feat/cmdk 2023-11-12 16:57:00 +08:00
Tienson Qin
4d89867a91 fix: shortcuts 2023-11-12 16:48:27 +08:00
Tienson Qin
a87e14d8be fix: graph/open and graph/remove commands 2023-11-12 16:42:15 +08:00
Tienson Qin
f8630bc641 enhance: allow search input to be changed in the sidebar 2023-11-12 15:58:30 +08:00
Tienson Qin
c5568e738d enhance: add tip for mod+enter to open search in sidebar 2023-11-12 15:50:05 +08:00
Tienson Qin
c066365f40 enhance: mod+enter to open search in sidebar 2023-11-12 15:41:47 +08:00
Tienson Qin
0bb7099ed5 feat: open multiple cmdk search in sidebar 2023-11-12 15:34:27 +08:00