Commit Graph

21223 Commits

Author SHA1 Message Date
charlie
4c6cf5c018 enhance(mobile): depth sheet view layout 2025-08-14 19:08:29 +08:00
Tienson Qin
0498e9dd58 fix: don't open modal when block is not available 2025-08-14 16:14:38 +08:00
Tienson Qin
87ebf68ff6 enhance(mobile): sidebar navigation font size 2025-08-14 15:55:07 +08:00
charlie
2040cd4a92 fix(mobile): incorrect scroll for the block page modal 2025-08-14 14:50:09 +08:00
charlie
965aec534f Merge branch 'enhance/mobile-silk' of https://github.com/logseq/logseq into enhance/mobile-silk 2025-08-14 14:45:51 +08:00
Tienson Qin
af99188c1e remove recent pages from search since they're listed on sidebar 2025-08-14 14:00:52 +08:00
Tienson Qin
060a0dd86b fix(mobile): don't switch to editing mode when scrolling 2025-08-14 13:50:34 +08:00
charlie
81f6f06981 Merge branch 'master' into enhance/mobile-silk 2025-08-14 13:41:28 +08:00
Salman Chishti
d65f81ef0a upgrading action versions (#12006)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2025-08-14 13:24:51 +08:00
Tienson Qin
36de5397e1 feat: sort groups for views (#12046)
* Add two properties for groups sorting

1. :logseq.property.table/sort-groups-by
2. :logseq.property.table/sort-groups-desc?

* Add ui for groups sort by and order

* enhance: sort by journal day desc by default

* rename to :*.view/sort-groups-by-property to make it clear that

property type is :property.

* suggested by copilot

* fix: name

* Group by Page instead of "Block Page"
2025-08-14 13:24:51 +08:00
Gabriel Horner
50325ff7f6 enhancement: add offline CLI search and predefined query
to address https://github.com/logseq/logseq/pull/12000#issuecomment-3177406045.
Also bump version for initial release
2025-08-14 13:24:50 +08:00
Tienson Qin
03a004e452 enhance: add bb ai:check-common-errors 2025-08-14 13:24:50 +08:00
Tienson Qin
3faee9cc7e fix: stale embedding check (#12049)
* fix: slow stale embedding check

* fix: mark all blocks for embedding when full embedding

Also, store hnsw index for each batch so that embedding can continue
when aborted by switching graph or closing the app.

* remove embedding/re-embedding-graph-data!

* enhance: mod+c mod+s to rebuild both keyword and semantic search
2025-08-14 13:24:50 +08:00
Tienson Qin
061528d082 fix: slow switch to large graph with local embedding enabled 2025-08-14 13:24:50 +08:00
Salman Chishti
be340b5ee4 upgrading action versions (#12006)
Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
2025-08-14 13:23:46 +08:00
Tienson Qin
cd13713513 feat: sort groups for views (#12046)
* Add two properties for groups sorting

1. :logseq.property.table/sort-groups-by
2. :logseq.property.table/sort-groups-desc?

* Add ui for groups sort by and order

* enhance: sort by journal day desc by default

* rename to :*.view/sort-groups-by-property to make it clear that

property type is :property.

* suggested by copilot

* fix: name

* Group by Page instead of "Block Page"
2025-08-14 13:14:34 +08:00
Gabriel Horner
cc1093ac85 enhancement: add offline CLI search and predefined query
to address https://github.com/logseq/logseq/pull/12000#issuecomment-3177406045.
Also bump version for initial release
2025-08-13 10:59:08 -04:00
Tienson Qin
afe9db73a9 enhance: add bb ai:check-common-errors 2025-08-13 15:35:33 +08:00
Tienson Qin
38e049e1c5 fix: stale embedding check (#12049)
* fix: slow stale embedding check

* fix: mark all blocks for embedding when full embedding

Also, store hnsw index for each batch so that embedding can continue
when aborted by switching graph or closing the app.

* remove embedding/re-embedding-graph-data!

* enhance: mod+c mod+s to rebuild both keyword and semantic search
2025-08-13 13:47:52 +08:00
charlie
1de207a0ca enhance(ui): refactor mobile UI components for improved readability and maintainability 2025-08-12 16:15:34 +08:00
Tienson Qin
0032c4949b fix: slow switch to large graph with local embedding enabled 2025-08-12 12:52:16 +08:00
charlie
c0dc53c3f5 enhance(ui): adjust positioning and opacity for search icon and input elements 2025-08-12 12:03:27 +08:00
charlie
7c4f8566e4 enhance(mobile): adjust search page layout and styling for improved usability 2025-08-12 11:58:32 +08:00
charlie
aecff1e18f Merge branch 'master' into enhance/mobile-silk 2025-08-12 10:40:30 +08:00
Gabriel Horner
7c610cfd51 chore: bump cli alpha release 2025-08-11 17:14:50 -04:00
Gabriel Horner
35c2952f6b fix: commands with required arguments
failing w/ confusing stacktraces. Also exit correctly when a nonexistent
graph is given
2025-08-11 17:05:39 -04:00
Gabriel Horner
a6974021ce chore: add basic help test
Also add assertion to guard against previous load time issue
2025-08-11 17:05:39 -04:00
Gabriel Horner
5adc5dcdc6 enhance: entity queries per Tienson's feedback
Can use uuid string as shorthand identifier. Can make properties
readable with option. Also wire up local query to use default catch
handler
2025-08-11 17:05:39 -04:00
Gabriel Horner
d5c46433b2 fix: silent failures on commands
Also add user friendly error handling when api server isn't turned on
2025-08-11 17:05:39 -04:00
Gabriel Horner
70855ef033 chore: add changelog
also fix minor bug silently failing show command for abnormal graphs
2025-08-11 17:05:39 -04:00
Gabriel Horner
bf6433ed7a chore: update readme 2025-08-11 17:05:39 -04:00
Gabriel Horner
bdb5143031 enhance: add workflow to publish CLI 2025-08-11 17:05:39 -04:00
Gabriel Horner
677f5df46b fix: also print version correctly when installed via npm 2025-08-11 17:05:39 -04:00
Gabriel Horner
637d158478 chore: prep package.json for alpha release
confirmed with npm pack that CLI works with files config
2025-08-11 17:05:39 -04:00
Gabriel Horner
8beb52e213 fix: bump to latest nbb-logseq to fix quirky datascript require 2025-08-11 17:05:39 -04:00
Gabriel Horner
3ae3ff2cd4 fix: CLI start time
Lazy load namespaces as start time goes up with more required namespaces
external to nbb-logseq or node. CLI now only loads ~6 namespaces instead
of 55 namespaces at start and then lazy loads a command ns as needed
2025-08-11 17:05:39 -04:00
Gabriel Horner
b135b9c880 enhance(dev): task to vendor nbb deps for release 2025-08-11 17:05:39 -04:00
Gabriel Horner
9c6b7a2a6d fix: correct api calls
Also update cli install instructions
2025-08-11 17:05:39 -04:00
Gabriel Horner
a60b1177d2 Add readme and confirm logseq installs as a local CLI 2025-08-11 17:05:39 -04:00
Gabriel Horner
c67e254b4a enhance: search cmd highlights search term and
allows for user specified limit of results.
Also enabled nbb-logseq tests for cli since first
test was introduced
2025-08-11 17:05:39 -04:00
Gabriel Horner
81b3c65d6a enhance: add api-based search cmd
Also add error handler for required option since
search cmd has one
2025-08-11 17:05:39 -04:00
Gabriel Horner
a0912b5fd9 fix: api query should return same as default query
Print as edn and unwrap nested datalog results
2025-08-11 17:05:39 -04:00
Gabriel Horner
fd0f54b9f9 enhance: query can optionally use api 2025-08-11 17:05:39 -04:00
Gabriel Horner
0dfcd64d2d enhance: help cmd prints args and options usage 2025-08-11 17:05:39 -04:00
Gabriel Horner
465dceae17 enhance: add export edn command
Also DRY up graph-dir related fns
2025-08-11 17:05:39 -04:00
Gabriel Horner
0ecc41e19e enhance: unexpected failures print more helpful stack and context 2025-08-11 17:05:39 -04:00
Gabriel Horner
cf02369a20 enhance: query DB graph(s) 2025-08-11 17:05:39 -04:00
Gabriel Horner
6f1d6bd437 chore: add clj-kondo config 2025-08-11 17:05:39 -04:00
Gabriel Horner
a64bea57c8 enhance: add --version
Also print global options in help and error if db version not installed
2025-08-11 17:05:39 -04:00
Gabriel Horner
f86a7558c8 chore: add workflow for cli linters 2025-08-11 17:05:39 -04:00