Commit Graph

6513 Commits

Author SHA1 Message Date
Tienson Qin
030fbff1c3 fix: multiple views created 2025-02-19 21:59:39 +08:00
Tienson Qin
a838edd0e4 fix: multiple views created if there's no view yet 2025-02-19 21:05:09 +08:00
Tienson Qin
6cf56b6ea8 Merge branch 'feat/db' into enhance/reference-view 2025-02-19 19:04:47 +08:00
Gabriel Horner
885c06f1fb chore: mv file-handler dependent namespaces
that are now obviously file graph specific

- mv save-tree! as it calls file-handler/alter-files via events
- mv roam import which called file-handler/alter-files
- mv git component which is only enabled for file graphs
- fixed handler.code which allowed db graphs to call file graph code for
  an edge case
2025-02-17 14:02:49 -05:00
Gabriel Horner
8710195440 chore: mv handler ns to file-based
since it's only used by file graphs. Also remove unnecessary
db-based-graph? calls in in ns and make aliasing consistent for this ns
2025-02-17 14:02:49 -05:00
Tienson Qin
a7c2035682 fix: lint warnings 2025-02-17 22:48:52 +08:00
Tienson Qin
73bcc08fd0 style tweaks 2025-02-17 22:39:43 +08:00
Tienson Qin
113945940e fix: keep old reference view for file graphs 2025-02-17 22:16:34 +08:00
Tienson Qin
4e70901f0d enhance: display columns visibility only for the table view 2025-02-17 18:28:40 +08:00
Tienson Qin
6a5555bfaf fix: all pages view 2025-02-17 18:14:09 +08:00
Tienson Qin
fbb9c2498b refactor: all views support tabs 2025-02-17 16:06:35 +08:00
Tienson Qin
c5b23f8609 enhance: create linked reference view when there're references
The view is created only if it's going to be displayed to avoid
generating meaningless views for all the blocks.
2025-02-17 14:02:54 +08:00
Gabriel Horner
1038d79292 fix: frontend lint 2025-02-13 14:04:59 -05:00
Tienson Qin
c183686c57 wip: linked references view 2025-02-13 20:43:34 +08:00
charlie
d4b14d8e67 fix(ui): incorrect behavior for the table header action popups 2025-02-13 18:05:48 +08:00
Gabriel Horner
5c8b23febd fix: don't run rtc task in publishing
Also forgot to commit better binding name for #11731
2025-02-12 13:11:50 -05:00
Tienson Qin
e7e4294088 Feat: view group by (#11731)
* wip: view group by

* feat: view group by rendering

* enhance: use current group's value when creating new block

* enhance: add icons for view layouts

* fix: group rows selection

* fix: property type migration from #11695

* refactor: use namespaced keyword for block export

instead of confusing :build/block. Also improved related tests,
simplified import steps, added some missing sqlite.build docs,
and fixed :build/uuid not working for some existing journals.

* fix: remove export+imports invalid

when uuids are kept and when journals are created.
Also removed :logseq.class/Journal from export as its needless noise

* fix(ux): incorrect behavior for the sub menu content within the table header popup

* fix: group rows delete

* fix: lint

* fix: group block delete

* fix: bump version

* fix: group by titles not correct for :checkbox

Also enable group-by for :date as they just work

* fix: disable nonsensical and unreadable groupings for :many properties

* fix: grouping not working for :default property type

and sometimes :number or :url.
Was grouping by entity and not what user reads. If there are
2 :default values with 'text ha', this seemed buggy

* fix: icons not showing for grouping by status

---------

Co-authored-by: Gabriel Horner <gabriel@logseq.com>
Co-authored-by: charlie <xyhp915@qq.com>
2025-02-12 12:56:55 -05:00
rcmerci
0533377e0f Merge remote-tracking branch 'origin/feat/db' into enhance/rtc-migrate-graph-schema 2025-02-12 15:05:36 +08:00
Gabriel Horner
4ed5897e4e chore: enable export+import edn commands
for any user. Better to get feedback early and iterate.
Easy to reverse this as needed
2025-02-11 15:31:29 -05:00
Gabriel Horner
4517f666c9 fix: frontend lint 2025-02-11 10:15:26 -05:00
charlie
8d3dbaa0eb fix(ux): incorrect behavior for the sub menu content within the table header popup 2025-02-11 11:43:31 +08:00
Tienson Qin
f5c227e7ae feat: match all/any filters suport (#11695) 2025-02-10 13:56:12 +08:00
Tienson Qin
8140ba7937 fix: sort 2025-02-10 13:54:01 +08:00
Tienson Qin
38a197eec4 feat: match all/any filters suport (#11695) 2025-02-10 13:32:44 +08:00
Tienson Qin
5a64e6359f fix: sort 2025-02-10 13:15:17 +08:00
rcmerci
49658d8d67 fix: refresh local repos as well 2025-02-08 17:32:11 +08:00
rcmerci
9a54d2a4b4 enhance(rtc): notify when need to upload/download higher schema graphs 2025-02-08 17:32:11 +08:00
rcmerci
bec7835783 enhance(rtc): add schema-version arg to related apis 2025-02-08 17:32:11 +08:00
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
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
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
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
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
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
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
charlie
21ff5399bd enhance(plugin): install plugin from Github releases for development mode 2025-01-18 17:22:50 +08: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
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
fb5dbaac02 fix(regression): multiple ways to edit property config when published 2025-01-16 15:06:45 -05:00
Tienson Qin
20fad17f5d Merge branch 'feat/db' into refactor/block-schema 2025-01-16 01:01:06 +08:00