Commit Graph

1954 Commits

Author SHA1 Message Date
Tienson Qin
141bf4c3ab fix: can not change URL type property value
fixes https://github.com/logseq/db-test/issues/159
2024-11-08 09:23:22 +08:00
Gabriel Horner
0fcbe9fe89 fix(dev): import script's user options 2024-11-06 15:22:45 -05:00
Gabriel Horner
643ff63a10 fix: 3 user options defaulting to #{""} values
which could have caused subtle bugs. Also cleaned up user-options so
future changes don't require making so many changes
2024-11-06 11:13:03 -05:00
charlie
d6354529a0 enhance(ux): auto calculate popup side position for default option 2024-11-06 16:46:20 +08:00
Gabriel Horner
a3fde2a9f4 enhance: add import option to remove-inline-tags
Part of LOG-3235. Now with the ability to import all tags, Some users
will want to keep inline tags
2024-11-04 17:27:00 -05:00
Tienson Qin
3f232ce6c7 fix: :logseq.property/order-list-type kept using existing values
It needs to be updated to closed values
2024-11-05 00:23:40 +08:00
Tienson Qin
d0c7160118 fix: tests 2024-11-05 00:18:35 +08:00
Tienson Qin
be27e3e2d8 fix: lint 2024-11-04 23:15:35 +08:00
Tienson Qin
385b4937e1 enhance: store url property value in :block/title
So that url can be written using the block editor.
2024-11-04 23:11:48 +08:00
Tienson Qin
98967ecede fix: always create a new block if :default property is not closed 2024-11-04 20:09:04 +08:00
Tienson Qin
53a7b92b3c fix: tests 2024-11-04 19:54:06 +08:00
Tienson Qin
245b342654 refactor: hl-color updates to closed values
hl-page changes to :raw-number
2024-11-04 19:35:21 +08:00
Tienson Qin
04eaea43fd feat: add option to hide empty value for properties 2024-11-04 15:47:30 +08:00
Gabriel Horner
2232fc8a1d fix: removing tags from content
when two tags have same prefix e.g. foo and foo-bar.
Similar issue to b34325be77.
Also tweaked import wording
2024-11-01 16:50:47 -04:00
Gabriel Horner
0f5faf7b40 enhance: user can optionally import all tags as classes in UI
Part of LOG-3235 and part of logseq/db-test#7
2024-11-01 14:19:39 -04:00
Gabriel Horner
1dd3aacb5f fix: assets of published db graphs 2024-10-31 16:50:46 -04:00
Gabriel Horner
0036a5d9de fix: invalid throws and remove unused values
Caught by updating to latest kondo
2024-10-31 14:12:09 -04:00
Gabriel Horner
92cc1ce38c fix: publishing build failing b/c there are no source maps
See
https://github.com/logseq/publish-spa/actions/runs/11614252492/job/32341972020.
Decided to build and include source maps on release as it won't affect
initial load and improves debuggability
2024-10-31 12:08:09 -04:00
Tienson Qin
beb8c46b21 fix: hidden columns can't be toggled back 2024-10-31 13:25:41 +08:00
Gabriel Horner
2cab93b354 fix: loading private published db graphs
Initial All Pages view failed to load as did most public pages.
private db graph was also leaking datoms it shouldn't
2024-10-30 15:49:05 -04:00
Gabriel Horner
e157e818cb chore: mv publishing.cljs to deps/publishing
allows for faster publishing dev as publishing-backend workflow
works against latest deps/publishing instead of cached version in .nbb
2024-10-30 12:37:02 -04:00
Tienson Qin
7d084abc5e fix: publishing app fails to load initial and then user data
fixes https://linear.app/logseq/issue/LOG-3257/publishing-app-fails-to-load-initial-and-then-user-data
2024-10-30 15:51:58 +08:00
Gabriel Horner
379b7768ce enhance: add optional support for importing all tags as classes
Part of LOG-3235 and fixes part of logseq/db-test#7. Not enabled in UI yet as need to test more
2024-10-29 16:17:01 -04:00
Gabriel Horner
a6238233c5 chore: cleanup on namespace import support
namespace modifications should happen with other modify fn instead of
in arbitrary property fn. Fixes LOG-3230
2024-10-18 14:32:49 -04:00
Gabriel Horner
90d1b7261f fix: import bug with aliased namespace pages
Was also failing docs graph. Part of logseq/db-test#136 and part of
LOG-3230
2024-10-18 11:54:39 -04:00
Gabriel Horner
3e05347379 fix: db import failing on namespace pages with built-in name
e.g. term/alias in docs graph. Also added some basic namespace import
tests. Part of logseq/db-test#136 and part of LOG-3230
2024-10-18 11:46:05 -04:00
Gabriel Horner
28457cd02b enhance: import namespaces to db graph
Working for basic graph but failing on edge case for docs graph.
Part of logseq/db-test#136 and part of LOG-3230
2024-10-18 08:24:45 -04:00
Tienson Qin
2e3c269375 fix: :checkbox type properties should be specified with position to
be used as positioned properties.
2024-10-18 17:36:58 +08:00
Tienson Qin
07a5187e30 enhance: show empty left && right positioned properties
Also fixed the issue that positioned property value can't be selected.
2024-10-18 17:24:52 +08:00
Tienson Qin
284c2c23ce perf: all pages 2024-10-18 12:33:05 +08:00
Gabriel Horner
e231192cda enhance: add import metadata
Useful for debugging different types of imports and knowing
when import was done, especially since it can differ from when
graph was created
2024-10-17 13:23:30 -04:00
Gabriel Horner
4214885b7c chore: mv remaining pdf properties to be in logseq.property.pdf 2024-10-16 11:10:15 -04:00
Gabriel Horner
c592b39707 fix: capitalize pdf-annotation ident
Only class ident that isn't capitalized
2024-10-15 11:14:53 -04:00
Tienson Qin
c1be7c9105 enhance: add :logseq.class/pdf-annotation 2024-10-15 17:11:46 +08:00
Gabriel Horner
41a05097c7 enhance: Asset page defaults to gallery view
Also remove unnecessary hack for property.view/type
2024-10-14 16:23:42 -04:00
Gabriel Horner
53556d9230 fix: rename Card View to Gallery View
Don't overload 'Card' to mean multiple things.
Also improved migration docstrings
2024-10-14 15:41:10 -04:00
Tienson Qin
3132c5c92e fix: tests 2024-10-14 22:22:25 +08:00
Tienson Qin
0567d4d14f fix: built-in-classes should be ordered map
Because some classes depend on others.
2024-10-14 21:44:50 +08:00
Tienson Qin
473fe192b1 fix: clear markdown heading when saving on db graph 2024-10-14 21:28:45 +08:00
Tienson Qin
c215f7e496 fix: worker add missing class or properties to typed display blocks 2024-10-14 21:23:58 +08:00
Tienson Qin
36ce75c58a enhance: add #Code, #Math and #Quote 2024-10-14 19:59:22 +08:00
Tienson Qin
61d91bd16d refactor: remove # heading chars from block/title
fixes https://github.com/logseq/db-test/issues/129
2024-10-14 16:53:23 +08:00
Tienson Qin
e0e1bac8d9 fix: block references not rendering on first load
fix https://github.com/logseq/db-test/issues/140
2024-10-14 15:04:45 +08:00
Tienson Qin
e85b05336d perf: table search
1. cache :block/title calculation
2. sort rows if only sorting changed
3. use string/includes? instead of fuzzy search
2024-10-13 02:38:13 +08:00
charlie
eb4cb0609f enhance(ui): remove all of the classic modal components 2024-10-12 15:17:32 +08:00
Gabriel Horner
594e255d98 fix: db import shouldn't fail on asset imports
Correctly display asset related properties as ignored for now.
Related to #11563. Also fix lint
2024-10-11 11:36:01 -04:00
Gabriel Horner
a9213c6fae enhance: validate asset block has required properties
Unlike other built-in tagged nodes, this node has required properties
when it's first created
2024-10-11 10:20:13 -04:00
Tienson Qin
639e4770c9 fix: text-format asset displayed as downloadable link 2024-10-11 13:37:53 +08:00
Gabriel Horner
d675f6ce1f fix: new assets have invalid schema
Follow up to #11563. Fix by relying on required asset property rather
than making :block/type more inconsistent. :block/type is mostly a page
type except for tech debt with "hidden" and "closed value"
2024-10-10 22:06:04 -04:00
Gabriel Horner
39994b6891 fix: missing pages caused by import of changed property type
related to logseq/db-test#134
2024-10-10 09:34:22 -04:00