Commit Graph

15921 Commits (fce5adb40081ac685d54a8ad111363f424397c9f)

Author SHA1 Message Date
Tienson Qin d6ffd16799 fix: can't move blocks up
Fixes LOG-3140
2024-05-09 04:36:14 +08:00
Gabriel Horner d3c276ac50 fix: named heading route for file and db graphs 2024-05-08 16:32:10 -04:00
Gabriel Horner 00e153e866 fix: closed value :number can also be float 2024-05-08 15:23:57 -04:00
Gabriel Horner 1b5ad28302 fix: deleting :default property pair also deletes property value 2024-05-08 14:58:10 -04:00
Gabriel Horner fe80ce371c fix: property names and values search results 2024-05-08 14:42:52 -04:00
Gabriel Horner 949d676f02 fix: number closed value not saved as its original value
A :number closed value saved as a string is problematic for a couple
reasons:
* Not storing a number by the user's intended value means a loss of any
  numeric functionality the property provides. Basic things like sorting
  by the numeric property don't work. This has caused us problems in the
  past and we invented hacky workarounds like logseq.query/nlp-date to
  compensate for this
* Creates inconsistency in how numbers are saved as non-closed values
  are not saved as string. This affects not only the validation layer
  but also creates bugs when querying for these property values as the
  querying interface is inconsistent
2024-05-08 13:49:22 -04:00
Gabriel Horner 298c37ffc7 fix: lints + schema key which shouldn't have been removed 2024-05-08 12:31:08 -04:00
Gabriel Horner 8b15b64360 chore: disable unsupported :page and :date generation in properties graph 2024-05-08 12:08:38 -04:00
Gabriel Horner f57f4c0c75 fix: cleanup old references to schema values 2024-05-08 11:59:02 -04:00
Gabriel Horner 22f15a3fb3 fix: validating closed value ents
Also fix closed value membership not being checked from CLI
2024-05-08 11:47:45 -04:00
charlie d3fe5d26b7 enhance(ux): polish themes filter for the cmdk 2024-05-08 21:58:59 +08:00
rcmerci f69094713f enhance: move missionary-util to src/main/frontend/common/ 2024-05-08 21:56:52 +08:00
charlie c8bf09b131 enhance(ux): add shortcut for the cmdk themes picker 2024-05-08 18:50:11 +08:00
Andelf da78593eb1 fix(sync): cannot delete some nested files
Close #11278
2024-05-08 16:42:41 +08:00
charlie d6d9226466 enhance(ux): add themes filter for the cmdk 2024-05-08 15:39:29 +08:00
rcmerci 34e2f132d8 enhance(rtc): upload&download to support :block/order 2024-05-08 13:44:35 +08:00
rcmerci d75e3d944d enhance(rtc): clear deprecated schema 2024-05-08 13:12:40 +08:00
Gabriel Horner be9237d101 refactor: move rules deps usage into helper fn
Dries up task dependency that was copied in query-dsl
2024-05-07 22:11:27 -04:00
Gabriel Horner 489e7f3422 fix: :default-queries for db graphs
closes LOG-3042. Moved :default-queries to default-config as this allows
for any future fix to automatically update for a user. There's also a
breaking change with this config key from :block/journal? so moving this
to default-config makes the migration easier e.g. just tell users to
remove the config key
2024-05-07 18:03:50 -04:00
Tienson Qin d92bd4c30a fix: page configure button partial display 2024-05-08 02:02:37 +08:00
Tienson Qin 89afdcdd7b fix: outliner core tests 2024-05-08 01:29:23 +08:00
Tienson Qin 55bc527df5 fix: closed values test 2024-05-08 00:50:06 +08:00
Tienson Qin 976e5c2f6b fix: generate n keys for fractional index 2024-05-08 00:37:17 +08:00
Tienson Qin 1cb0896e3b refactor: remove [:block/schema :values]
Some changes:
1. use :block/closed-value-property instead to record which property
this value entity belongs to.
2. use :block/content instead of [:block/schema :value].
3. :page and :date have been removed from closed-value-property-types
because there could be a page/date that's a closed value for multiple
properties, we have no idea what's the `:block/order` for a specific
property.
2024-05-07 23:33:04 +08:00
Gabriel Horner ead9f30f1b fix: typing hashtag sets heading
also remove unused var
2024-05-07 10:53:32 -04:00
Tienson Qin 4e32a5042a fix: reset *max-key when loading graph 2024-05-07 21:52:56 +08:00
rcmerci 26f019853e fix: FIXME in carve config 2024-05-07 21:34:13 +08:00
Gabriel Horner 039d0ed287 fix: frontend lints
@RCmerci There's a fixme for you
2024-05-07 08:33:44 -04:00
Tienson Qin 308c3bcd17 fix: reset max key when generate-n-keys-between 2024-05-07 20:07:06 +08:00
rcmerci c4b70491a0 fix(rtc): remove occurrences of :block/left 2024-05-07 17:32:15 +08:00
Tienson Qin ee0d89ad85 refactor: replace [:block/schema :value] with :property/schema.value 2024-05-07 17:26:56 +08:00
rcmerci 660df47fa0 chore: tag fix-me 2024-05-07 14:05:49 +08:00
rcmerci 7f7248033d refactor(rtc): remove deprecated ns and fns 2024-05-07 14:02:27 +08:00
rcmerci 635e52dad4 refactor(rtc): remove old ns frontend.worker.rtc.core 2024-05-07 13:42:49 +08:00
rcmerci 5773f037c2 refactor(rtc): remake rtc-download-graph-from-s3 api 2024-05-07 13:34:37 +08:00
charlie e906462273 refactor(cmdk): seperate the cmdk related codes to special ns 2024-05-07 13:03:59 +08:00
charlie 0a70600575 fix(lint): remove unused keys of i18n 2024-05-07 10:29:17 +08:00
Gabriel Horner 4c3fc530b9 fix: task rule and filter for db graphs
Part of LOG-3042
2024-05-06 16:55:45 -04:00
Gabriel Horner 4059062919 fix: block property rules for new properties structure 2024-05-06 16:40:55 -04:00
Gabriel Horner d1d50a5b85 chore: mv marker + priority fns to file specific ns
part of LOG-3042
2024-05-06 14:52:28 -04:00
Gabriel Horner 5ae14ebcf0 fix: priority commands not working for file graphs e.g. '/A 2024-05-06 14:33:07 -04:00
Gabriel Horner 0d95786a7f fix: remove unused db attributes from db graph schema
part of LOG-3042
2024-05-06 11:59:32 -04:00
Gabriel Horner 6a83812ae9 fix: typing TODO/DOING/etc shouldn't create marker pages for db graphs 2024-05-06 11:49:56 -04:00
Gabriel Horner 8a8dba6af8 fix: db graphs shouldn't have :block/marker at all
part of LOG-3042
2024-05-06 11:40:54 -04:00
Gabriel Horner 42e00f00d7 fix: typo and add more fix-mes left from :block/order change
/cc @tiensonqin and @RCmerci for tests to fix
2024-05-06 11:26:16 -04:00
Gabriel Horner af200f9f2f fix: add temporary fixmes for linters that have failed for awhile
/cc @RCmerci for remove unused rtc fns
2024-05-06 10:47:07 -04:00
Gabriel Horner 110813accd fix: deps and frontend lints 2024-05-06 10:45:40 -04:00
charlie 60a8cea1fa fix(cmdk): missing file 2024-05-06 22:19:53 +08:00
Gabriel Horner 9495177a33
Merge pull request #11177 from logseq/refactor/db-properties-schema
DB properties storage refactoring
2024-05-06 10:18:21 -04:00
Gabriel Horner a8081ef73a chore: update linter to validate more file-graph attrs aren't in db 2024-05-06 09:40:33 -04:00