Tienson Qin
621faf90a4
fix: don't treat a block as pre block if it has auto heading
2023-12-15 17:10:16 +08:00
Gabriel Horner
8dde33e915
chore: Update datascript to latest version before our fork
...
Also updated db/entity because d/entity returns nil for nonexistent ids since 1.4.2
2023-12-15 09:42:52 +08:00
Tienson Qin
ed06991f46
fix: remove :pdf from allowed formats
2023-12-06 17:39:31 +08:00
Tienson Qin
17f10edb39
fix: ignore binary files and other formats from watcher
2023-12-06 17:39:31 +08:00
Tienson Qin
ecde2c3bfc
fix: cross-platform shotcuts ( #10590 )
...
This PR also simplifies the implementation of shui/shortcut a lot.
* fix: consistent char for the Enter key
* fix: show ctrl instead of ⌘ for copy ref
* fix: "Ctrl" should be split from "Ctrl X"
2023-12-03 12:40:08 +08:00
Tienson Qin
47082c8a16
fix: do not hide shortcuts in the search modal
...
Fixes #10575
2023-11-30 22:31:27 +08:00
Gabriel Horner
548fa98605
enhance: allow CLI and github action to set color accent
2023-11-28 22:32:34 +08:00
Andelf
68bae90039
test(fs): add unittests for new fn
2023-11-28 02:39:52 +08:00
Andelf
3069f5d7e3
fix(fs): path-join testcase
2023-11-28 02:39:52 +08:00
Andelf
61a3c19176
fix(fs): windows unc path support
2023-11-28 02:39:52 +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
charlie
0e1295b142
fix(ui): shui button internal theme state
2023-11-13 21:57:16 +08:00
Tienson Qin
e4714668b9
fix: cmdk on mobile
2023-11-13 16:41:00 +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
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
f52e6bf127
enhance: replace ui/button with shui/button
2023-11-09 00:37:14 +08:00
Ben Yorke
018835b700
Specify gradient stops
2023-11-08 15:59:48 +01:00
Tienson Qin
117ebe0768
fix: create button bg
2023-11-08 22:00:59 +08:00
Tienson Qin
05da1618b6
enhance: tip style tweaks based on jakob's suggestions
2023-11-08 20:41:07 +08:00
Ben Yorke
1896d372b1
fix highlighted text color
2023-11-07 16:35:31 +01:00
Tienson Qin
69370db70e
fix: esc handler
2023-11-07 16:49:00 +08:00
Tienson Qin
eeeea39fa4
fix: button doesn't support href attribute
2023-11-06 22:34:17 +08:00
Tienson Qin
b0b24f795a
fix: lint
2023-11-06 22:09:41 +08:00
Tienson Qin
04b85f6572
fix: hidden text
2023-11-06 11:35:23 +08:00
Tienson Qin
fc4c1d4c71
fix: highlight match
2023-11-05 21:37:55 +08:00
Tienson Qin
2d1d841926
fix: white text icon for dark theme only
2023-11-05 19:56:12 +08:00
Tienson Qin
3f18cebe7d
enhance: add fade-in to shortcut
2023-11-03 01:48:16 +08:00
Tienson Qin
6e046fb3d1
enhance: display shortcut when highlighted
2023-11-03 01:03:09 +08:00
Tienson Qin
12ddf65a22
Add shui/shortcut component
...
Display mod+up/down for show more/less
2023-11-03 00:47:31 +08:00
Tienson Qin
8d2d857ca3
fix: add default value for button theme
2023-11-03 00:19:17 +08:00
Tienson Qin
07146f4b81
enhance: ESC to quit filter
2023-11-03 00:16:36 +08:00
Tienson Qin
f16127c80b
enhance: tile sm size
2023-11-03 00:16:36 +08:00
Tienson Qin
439d08cf8a
enhance: move tip to the left
2023-11-03 00:16:36 +08:00
Tienson Qin
42aa66c8e1
fix: replace buggy shortcuts handler with mixins
...
Also, removes :none for sections expand/collapse because:
1. It's not needed that often, we also have filters
2. Highlighted item will be invisible when collapsing the section
2023-11-01 16:47:44 +08:00
Tienson Qin
3b336ba9b1
fix: display block breadcrumb instead of its page for search items
2023-11-01 13:18:24 +08:00
Ben Yorke
184dfd7d54
More design tweaks
2023-10-26 14:24:12 +02:00
Ben Yorke
7a7c3b9c62
Design refresh
2023-10-24 17:35:51 +02:00
Ben Yorke
3325f47136
resizing
2023-10-21 16:28:17 +02:00
Ben Yorke
69e02edaeb
Merge branch 'master' into feat/cmdk
2023-10-16 21:02:12 +02:00
Ben Yorke
9d6154937a
Save dialog
2023-10-16 20:39:04 +02:00
Ben Yorke
2d659e8058
Indice being built async + jakob feedback
2023-10-10 15:47:19 +02:00
Ben Yorke
2730f3bc0e
another round of logging
2023-10-09 17:08:40 +02:00
Ben Yorke
145c519e1a
Add logging to highlight query
2023-10-09 16:05:14 +02:00
Ben Yorke
6247cc35fe
Abandon perf fix attempt
2023-10-09 15:00:35 +02:00
Ben Yorke
79a11f8b88
Jakob IV
2023-09-29 17:03:31 +02:00
Ben Yorke
2ab619e44a
Fix build error
2023-09-29 16:21:14 +02:00
Ben Yorke
328cd58c9f
Jakob round III
2023-09-29 16:11:20 +02:00
Ben Yorke
3106eeff99
Fix breaking normalization
2023-09-29 11:24:21 +02:00
Ben Yorke
7868b3aee7
Jakob feedback
2023-09-29 11:17:52 +02:00