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
Gabriel Horner
61eeb96709
fix: 3 bugs with persisting whiteboard data
...
- :block/uuid was a string
- no timestamps on whiteboard blocks
- no created-at on whiteboard shape blocks
Also added missing page attributes for whiteboard page. Initially I
modeled whiteboards as its own schema type with fewer page attributes
but then I noticed it got format and journal? when referenced so just
added the missing attributes. Fixes LOG-2915
2023-11-09 11:21:18 -05: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
Gabriel Horner
3162a06c3d
fix: page-tags filter shouldn't show :block/link duplicates
2023-11-06 14:22:44 -05: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
Gabriel Horner
3ccf80fcba
add docs for new linter
...
also fix outliner lint
2023-11-02 09:32:51 -04: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
Gabriel Horner
3c134d4716
enhance: Make db validation configurable
...
Added 3 db validation options to more aggressively notify and to provide
stricter levels of validation. Part of LOG-2818
2023-10-30 17:25:12 -04:00
Gabriel Horner
c88b0a2a4e
fix: remove broken built-in enum properties from app and script
...
It's too complicated for now but hope to bring this back
Part of LOG-2871
2023-10-30 10:43:58 -04:00
Gabriel Horner
5f392a2260
fix: update schema to include new enum value block
...
Part of LOG-2871.
Also fixed create-graph failing due to renamed ns
2023-10-30 10:43:58 -04:00
Tienson Qin
8c7098b21f
enhance: move enum property choices to hidden page
...
related to LOG-2871
2023-10-30 20:35:39 +08:00
Gabriel Horner
2ce35667c5
First pass at a general transact script for db graphs
...
Moved persist-graph ns into outliner dep so it can be used
by scripts
2023-10-27 17:40:12 -04:00
Gabriel Horner
a6c30554af
fix: 3 date related attrs missing from block schema
2023-10-27 15:13:32 -04:00
Tienson Qin
e8d411b837
fix: typing markdown property results in a blank line
...
Fixes LOG-2741
2023-10-27 14:23:26 +08:00
Gabriel Horner
075efcb222
fix: malli schema missing two ref attributes
...
Validator errored when I collapsed a property. Added a sync
check so that future changes to datascript schema alert developer
to make a change in the malli schema.
Also removed a ds attribute for DB schema
2023-10-26 15:44:14 -04:00
Gabriel Horner
d571e90d3e
fix: new hidden pages showing up in search
...
part of LOG-2854
2023-10-26 13:58:44 -04:00
Gabriel Horner
e5e25bb403
update schema for new hidden page attributes
...
part of LOG-2854. Also update --closed-maps to use library fn
2023-10-26 12:05:12 -04:00
Ben Yorke
184dfd7d54
More design tweaks
2023-10-26 14:24:12 +02:00
Gabriel Horner
2acac87094
fix: macros were not being saved
...
macros were being discarded as unknown blocks when they should've been
saved as a block with a known type. Introduced a new type number as
macros don't have most of the attributes that blocks or pages do.
Features like collapsible queries now work in db graphs. Also removed
an outdated reference that assumed macro was a page (which it no longer
is)
2023-10-25 17:05:31 -04:00
Gabriel Horner
211dd6aea7
enhance: disable preferred-format and setting org-mode
...
for db graphs. Also deprecate in config
2023-10-24 17:15:05 -04: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
Gabriel Horner
4fd591620b
validate entities that are changed per transact!
...
This should help us catch bugs due to invalid data fairly quickly.
This only runs when in dev?
part of LOG-2818
2023-10-20 16:57:00 -04:00
Gabriel Horner
f860553d89
enhance: add enum choices to built-in table properties
...
Also hide all built-in table properties like we do for file graphs
2023-10-19 11:57:27 -04:00
Gabriel Horner
b4e5e4b640
enhance: tags dropdown autocompletes to classes
...
Autocompleting all pages including journals and built-in pages is
noisy and misleading. By autocompleting classes we give user
a better experience and avoid creating buggy edge cases like built-ins as a
class. Properties can also choose to class page autocompletion by
choosing "Logseq Class" for their property's :classes
2023-10-18 16:43:40 -04:00
Gabriel Horner
c7c438b85a
fix: last-modified-at not being set for files
...
Also fixed a bug with the all-files view where the current time was
being displayed instead of a file's last modified time. Also updated
db graph's schema for files
2023-10-17 16:12:24 -04:00
Gabriel Horner
edaf9b286a
chore: move frontend db namespaces to a dedicated parent ns
...
Moved these namespaces to logseq.db.frontend.* to make their purpose
explicit and make the namespaces easier to maintain
2023-10-16 17:24:51 -04:00
Gabriel Horner
b1b830c872
fix tests I forgot to update with :block/format fix
2023-10-16 16:14:53 -04: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
Gabriel Horner
e09a5d9988
fix: pages didn't consistenly have :block/format
...
Making attributes consistent reduce bugs in components and query layer (where
most wouldn't know to use get-else)
2023-10-16 12:58:11 -04:00
Gabriel Horner
8756600fd7
Add CI job to test creating and validating a db graph
...
also update older actions
2023-10-13 10:53:01 -04:00