Commit Graph

13738 Commits

Author SHA1 Message Date
charlie
09ddf31a8e enhance(ux): force hide table header action popup for the pointer outside event 2025-02-06 16:54:28 +08:00
Gabriel Horner
6848f98be9 fix: query builder not working for multi-word task values
Another fix for https://github.com/logseq/db-test/issues/215
2025-02-05 16:12:40 -05:00
Gabriel Horner
38aff834f5 fix: export+import of blocks with built-in property closed values
e.g. Status. Also tweak class-parent to not needlessly emit Root
which is the default
2025-02-05 15:22:44 -05:00
Gabriel Horner
ca011c980e enhance: add command to export/import graph's ontology 2025-02-05 14:47:12 -05:00
Gabriel Horner
f02687b184 fix: task query for "In Review" status
Affected this status or any user ones with spaces in name.
Fixes https://github.com/logseq/db-test/issues/215
2025-02-05 09:59:45 -05:00
Gabriel Horner
379752dc03 fix: tests broken by previous commit 2025-02-04 09:24:03 -05:00
Gabriel Horner
d91b509715 fix: import textarea not scrolling 2025-02-03 16:07:43 -05:00
Gabriel Horner
f66f3100e1 fix: imported page not showing up
root needed to be re-rendered like with file graph import
2025-02-03 14:42:40 -05:00
Gabriel Horner
43c6633543 enhance: page import works for existing pages
or graph. Also add tests for fresh page import
2025-02-03 11:24:24 -05:00
Gabriel Horner
44cf521d3a enhance: initial support for export+import of current page
Works across graphs for basic top-level blocks. Generalized import
command to work with block+page and other future exports
2025-01-31 20:09:17 -05:00
Gabriel Horner
02f893f66b enhance: better error handling when importing data
Gracefully handle invalid EDN and property conflicts
2025-01-31 09:01:05 -05:00
Tienson Qin
3853fc5e5b fix: invalid data 2025-01-30 18:12:12 +08:00
Gabriel Horner
574becd8bb enhance: import a block with properties across graphs
Add test to confirm multiple imports are idempotent.
Also fix sqlite.build not handling valid value for :db/cardinality
2025-01-29 17:57:06 -05:00
Gabriel Horner
77a64701c2 enhance: Allow commands to marked as :db-graph?
so that file graphs get a helpful notification that the command
can't be used instead of failing weirdly. Also remove unused
db-graph-enabled?
2025-01-29 11:53:43 -05:00
Gabriel Horner
085872ea64 enhance: dev commands for exporting and importing
a block data. Works within same graph currently
2025-01-29 11:35:54 -05:00
Gabriel Horner
05496a0f69 fix: deprecate old srs config options 2025-01-28 11:49:58 -05:00
Gabriel Horner
57b4376425 enhance(dev): test helper returns entity
instead of harder to inspect and use d/q results
2025-01-27 15:48:12 -05:00
Gabriel Horner
9b223be0a8 enhance(dev): add util for logseq class idents 2025-01-27 14:28:44 -05:00
Tienson Qin
0dc45cb7ce fix: regression on query builder 2025-01-26 09:02:11 +08:00
charlie
3bad903f9f enhance(ux): add global app not found page 2025-01-25 15:28:17 +08:00
Tienson Qin
423a4b088e feat: views support multiple columns sort (#11694)
undefined
2025-01-24 10:29:37 -05:00
Tienson Qin
926d05c185 feat: table columns pinning (#11693)
* Add property :logseq.property.table/pinned-columns

* feat: table column pinning

* enhance: hide :id column by default

---------

Co-authored-by: charlie <xyhp915@qq.com>
2025-01-24 11:17:09 +08:00
Gabriel Horner
6170ba10d4 chore: disable test since its unused per rcmerci 2025-01-23 17:03:27 -05:00
Gabriel Horner
2e846f78fc Merge branch 'feat/db' into refactor/block-schema 2025-01-22 17:54:23 -05:00
Gabriel Horner
ddf921f267 fix: mention 'task' on scheduled property
as it also belongs to tasks. Also tweak language so that it also starts
with 'Repeat'. Using consistent language helps users understand behavior
that changes depending on configuration
2025-01-22 17:04:59 -05:00
Gabriel Horner
213111247f fix: Show as checkbox config showing up
on a property's page when it doesn't apply there.
Also clarify desc so user understands when the
configuration applies to a node vs tagged nodes
2025-01-22 16:44:32 -05:00
Gabriel Horner
4af5095806 fix: convert tag to page was possible on built-ins 2025-01-22 10:14:18 -05:00
Gabriel Horner
455ccec296 chore: rename sqlite.build edn to remove mention
of schema. schema concept no longer exists and these old
names would be confusing
2025-01-21 14:22:16 -05:00
Gabriel Horner
9ca0ca1523 chore: cleanup schema mapping spread across the app
Now that schema is no longer a persisted concept there is no need
to spread built-in-properties keyword mappings across the app.
Doing so makes built-in-properties more rigid as it would be
needlessly coupled to the frontend, exporter and migrations.
With this cleanup it'll be easy to deprecate :schema from
built-in-properties when we need to
2025-01-21 12:57:51 -05:00
Gabriel Horner
fab1de6429 fix(regression): changing a property type
from ref to non-ref e.g. :default to :checkbox
created an unusable property type since :db/valueType
wasn't removed
2025-01-20 18:12:50 -05:00
Gabriel Horner
bcd1d33940 fix(regression): can't edit property name from config 2025-01-20 15:53:50 -05:00
Gabriel Horner
eed3d76970 fix: migrating empty graph has one invalid property 2025-01-20 11:32:20 -05:00
charlie
43490238e6 fix(plugin): node file creation for the specific plugin settings 2025-01-19 16:36:43 +08:00
charlie
21ff5399bd enhance(plugin): install plugin from Github releases for development mode 2025-01-18 17:22:50 +08:00
Gabriel Horner
53ed226d53 fix: bootstrapping of properties
Some bootstrapped properties weren't in indexes. Didn't need
all schema properties to be bootstrapped, just the first 2.
Also fixed built-in? having the wrong title
2025-01-18 00:50:08 -05:00
Gabriel Horner
0181a332ab Merge branch 'feat/db' into refactor/block-schema 2025-01-17 15:50:50 -05:00
Gabriel Horner
3a62177082 chore: rename public property to publishing-public?
Since #11673 will provide a lower level public? property,
made sense to rename to avoid confusion between public and public?.
Also start deprecating :name config in built-in-properties as it
is barely used and is somewhat confusing
2025-01-17 15:29:20 -05:00
Gabriel Horner
bec095ee6c fix(regression): properties and classes collapsed on publishing
Properties and class pages have critical info in their properties.
When reading on a published site, it's bad ux to have this useful info
hidden on hover
2025-01-17 13:48:59 -05:00
Tienson Qin
7cda45eea9 fix: migration 2025-01-17 17:42:56 +08:00
charlie
a15a9e15b1 enhance(plugin): install plugin from Github releases for development mode 2025-01-17 16:50:24 +08:00
Gabriel Horner
68896c257f Merge branch 'feat/db' into refactor/block-schema 2025-01-16 17:11:53 -05:00
Gabriel Horner
961f6ec241 fix: tests and incorrect schema property detection after rename 2025-01-16 16:41:55 -05:00
Gabriel Horner
7e89dd3865 fix: don't initialize rtc components in publishing 2025-01-16 15:20:24 -05:00
Gabriel Horner
fb5dbaac02 fix(regression): multiple ways to edit property config when published 2025-01-16 15:06:45 -05:00
Gabriel Horner
27a8ec636b fix: publishing failing to load
Was calling enable-sqlite-wal-mode on nil client-ops-db
2025-01-16 11:56:21 -05:00
Gabriel Horner
e61f046be5 fix: publishing failing to load on undefined LSPluginCore
Plugins shouldn't be on for publishing. Moved PUBLISHING to
common-config as it is now relied on by frontend.util. Also removes
needless state/publishing? and its wonky initialization
2025-01-16 11:44:05 -05:00
Tienson Qin
20fad17f5d Merge branch 'feat/db' into refactor/block-schema 2025-01-16 01:01:06 +08:00
charlie
ab6abef14d fix(apis): sanitize property key from the plugin id 2025-01-15 22:15:50 +08:00
Tienson Qin
bd96226443 fix: lint 2025-01-15 19:51:28 +08:00
Tienson Qin
1d9fbc8a3d perf: reduce :block/properties calls on db graphs
`:block.temp/property-keys` was added to get all the properties
for given entity.
2025-01-15 19:35:09 +08:00