Commit Graph

114 Commits

Author SHA1 Message Date
Mega Yu
de1a7a9c6e enhance i18n 2026-04-09 16:22:42 +08:00
Mega Yu
e9d3c8da00 enhance i18n 2026-04-08 09:32:18 +08:00
Tienson Qin
3ff06e5a15 fix: clicking new node ("+ button") in a list view crashes UI
Fixes https://github.com/logseq/db-test/issues/442.

This commit also fixed scroller issue for gallery view and list view.
2025-08-24 13:00:01 +08:00
Tienson Qin
21a9b37ed0 enhance(perf): render references after table has been loaded
Also, use search index to check whether there're unlinked refs.
2025-06-19 18:37:02 +08:00
Tienson Qin
f4f15c251a enhance(ux): set initial height for pictures 2025-06-18 17:26:16 +08:00
Tienson Qin
707861c3e8 fix: tags displayed twice on the "Tags" property page 2025-06-08 10:38:16 +08:00
Tienson Qin
65f5b9cd64 enhance(ux): tag properties using select 2025-05-22 19:03:24 +08:00
Tienson Qin
68417bbb01 enhance(ux): table row/cell navigation (#11837)
* enhance(ux): up/down to navigate table rows

* enhance: remove block id+uuid class

Use `blockid`.

* enhance: arrowleft to select cell when a table row has been selected

* wip: table cell navigation

* feat: up/down/left/right table cell navigation

* enhance(ux): scroll to cell when it's not visible

* fix: save block content when exit title cell popup

* fix: table keyboard navigation doesn't work on virtualized table

The solution is to preload more rows for virtualized tables.
2025-05-02 05:47:58 +08:00
Tienson Qin
b6bff46979 fix: add object on private tags crashed 2025-04-24 04:24:47 +08:00
Tienson Qin
1dfd4b4a24 enhance(ux): open new object in the sidebar 2025-04-15 17:39:14 +08:00
Tienson Qin
d466b98848 fix: lint 2025-04-07 21:25:29 +08:00
Tienson Qin
4169f20a28 Merge branch 'feat/db' into perf/app-start 2025-04-07 20:06:45 +08:00
Tienson Qin
70e2012e29 bump React to 18 2025-04-07 19:51:14 +08:00
Tienson Qin
5923f24f56 fix: lint and test 2025-03-31 22:38:34 +08:00
Tienson Qin
9c7db9bebe fix: add new object 2025-03-26 12:10:52 +08:00
Tienson Qin
3476d6665f fix: on-delete-rows 2025-03-26 09:44:03 +08:00
Tienson Qin
e76be2a2c7 handle linked refs and unlinked refs in worker instead of ui thread 2025-03-19 22:00:15 +08:00
Tienson Qin
b87c43e697 Merge branch 'feat/db' into perf/app-start 2025-03-13 04:35:52 +08:00
Tienson Qin
35275616b3 fix: can't add :checkbox property object 2025-03-13 00:33:59 +08:00
Tienson Qin
48e8ab4f97 fix: no need to query memory db for objects 2025-03-10 11:14:43 +08:00
Tienson Qin
5abdfca0ec unify data loading for class/property objects and all pages 2025-03-10 09:16:34 +08:00
Gabriel Horner
f5ea424e17 chore: remove deleted translations from #11739
Also enable counts for class-objects as they can get quite large
2025-02-24 10:39:01 -05:00
Tienson Qin
71c21e09ea fix: list view shouldn't care about queries 2025-02-24 15:24:59 +08:00
Tienson Qin
20d483fa30 Merge branch 'feat/db' into enhance/reference-view 2025-02-20 17:39:46 +08:00
Gabriel Horner
e92b107b5b fix: entity-util/{journal?,whiteboard?,page?} calls
Split up fns of these checks into entity-util, file-entity-util and
common-entity-util so that we have explicit fns for checking in single
or multi-graph contexts. By doing this, were were able to fix more than
20+ fns that were calling general fns in a single graph context e.g.
checking for :block/type in DB graph only namespaces. Some of these
calls were happening on every :block/title lookup so there may be
some perf enhancements
2025-02-19 16:29:26 -05:00
Tienson Qin
e5c339e443 fix: support both page filter and view filter 2025-02-19 22:19:34 +08:00
Tienson Qin
030fbff1c3 fix: multiple views created 2025-02-19 21:59:39 +08:00
Tienson Qin
73bcc08fd0 style tweaks 2025-02-17 22:39:43 +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
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
Gabriel Horner
9b223be0a8 enhance(dev): add util for logseq class idents 2025-01-27 14:28:44 -05: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
Tienson Qin
e318e0d6c1 Merge branch 'feat/db' into refactor/block-schema 2025-01-12 16:48:19 +08:00
rcmerci
61054768c1 refactor: replace all rum/use-effect!, add kondo :discouraged-var config 2025-01-08 13:57:28 +08:00
Tienson Qin
8a0a05183e refactor: remove :block/format for db graphs (#11667) 2025-01-05 12:10:47 +08:00
Gabriel Horner
2c8aaedecf fix: don't allow deletion of built-in class objects or property
relationships from table view. This would break major internals if delete actions were done
on logseq.class/Root or most built-in properties
2025-01-03 12:55:30 -05:00
Tienson Qin
f72ec588b6 feat: select to delete rows from query result 2024-12-26 04:27:16 +08:00
Tienson Qin
646566399f enhance: put tagged nodes and nodes with property into tabs 2024-12-17 22:04:27 +08:00
charlie
914793a4ad enhance(ux): foldable section for the class page 2024-11-29 12:30:47 +08:00
charlie
cf3102b934 enhance(ux): display the page properties on the right sidebar as default 2024-11-21 14:43:19 +08:00
Gabriel Horner
96cbac5f47 fix: don't crash public classes in private published graph
Public classes don't load their properties currently but something to
consider
2024-10-30 16:51:06 -04:00
Tienson Qin
818f0645ac fix: CMD+(shift)k does not navigate to block
Fixes https://github.com/logseq/db-test/issues/125.
2024-10-28 17:52:27 +08:00
Gabriel Horner
43b0e6879d enhance: show tags table if objects have more than one tag
fix logseq/db-test#146
2024-10-21 09:32:03 -04:00
Tienson Qin
9d3e2d3e75 fix: assets not shown after uploading on #Asset page 2024-10-18 12:57:21 +08:00
Tienson Qin
3db6976861 chore: simplify code 2024-10-16 17:13:16 +08:00
Tienson Qin
fbaeca8708 fix: table search/filter still using outdated entities 2024-10-16 13:00:34 +08:00
Gabriel Horner
c592b39707 fix: capitalize pdf-annotation ident
Only class ident that isn't capitalized
2024-10-15 11:14:53 -04:00
Gabriel Horner
ae7131ad20 enhance: Pdf Annotation table columns
Display asset column and hide redundant ls-type. Also fix tags columns
showing up in tables that didn't make sense - query and tags. Also
cleaned up build-columns so it's independent of any specific table
2024-10-15 10:37:59 -04:00