Commit graph

64 commits

Author SHA1 Message Date
Kacper
c038366783
feat: add TAGS() macro and auto-detection for multi-tag AND queries (#202)
* feat: add TAGS() macro and auto-detection for multi-tag AND queries

Introduces two complementary solutions for the common mistake of filtering
by multiple tags with AND (which always returns zero results):

1. TAGS() macro: explicit opt-in syntax
   WHERE TAGS('#project', '#active')
   → path IN (SELECT path FROM tags WHERE tag = '#project'
              INTERSECT SELECT path FROM tags WHERE tag = '#active')

2. Auto-detection: transparently rewrites the broken pattern
   WHERE tag = '#a' AND tag = '#b'
   → path IN (...INTERSECT...)
   Mixed conditions (AND name = 'test') are preserved correctly.

Both use INTERSECT subqueries which are more flexible than an EXISTS
approach (no hardcoded table reference required).

Adds disableTagAutoDetection setting so advanced users can opt out of
the transparent rewrite and handle the SQL themselves.

Docs updated in query-vault-content.md and faq/understanding-tags.md.

* chore: adding changeset
2026-04-06 12:50:00 +01:00
Kacper
fc24a4f9c0
feat: add JSONL/NDJSON file format support with sidebar preview (#203)
feat: support for JSONL and NDJSON
2026-04-06 12:36:50 +01:00
Kacper
c8567131cd
feat: expose task status symbol in tasks table (#207)
* feat: expose task status symbol in tasks table

Adds a 'status' column to the tasks table that contains the raw
checkbox character (e.g. ' ', 'x', '-', '/'). This allows querying
by specific task states beyond just completed/incomplete.

* feat: adding tasks statuses support
2026-03-29 20:31:15 +01:00
Kacper
bf085fe896
Migrating SQL Engine to wa-sqlite (#193)
* feat: WIP. Proof of concept of using sqlite-wasm

* chore: few experiments with kysely

* chore: poc of using idb with modern version of sqlite

* feat: reworking project to use wa-sqlite

* feat: making database queries work too

* infra: refactoring database connection and cleaning dependencies

* fix: fixing issue with tests

* chore: adding missing packages

* chore: underlying engine updated to wa-sqlite
2026-03-22 18:01:03 +00:00
Kacper Kula
6e8b294bea
chore: fixing docs and upgrading to the lastest version (#187) 2025-08-15 15:11:39 +01:00
Kacper Kula
dfdad63476 chore: fixing documentation pages 2025-06-04 16:21:29 +01:00
Kacper Kula
c70ec3553d
docs: added documentation for charts (#165) 2025-06-04 16:16:56 +01:00
Kacper Kula
64354edaec chore: fixing docs 2025-05-16 23:41:18 +01:00
Kacper Kula
b13960bf48 Merge branch 'main' into feat/define-type 2025-05-16 16:38:48 +01:00
Kacper Kula
1973789308 chore: documentation describing issue with obsidian-sync 2025-04-09 11:37:04 +01:00
Kacper Kula
cfa4e6d4ec feat: adding basename and parent SQL variables 2025-03-27 12:19:59 +00:00
Kacper Kula
183ef9e597 release: 0.30.0 2025-03-26 13:29:01 +00:00
Kacper Kula
cde5a4df65
Merge pull request #128 from kDCYorke/feature/taskHeadings
feat: Add heading and heading_level to tasks table
2025-03-26 13:26:00 +00:00
Kai Yorke
3e32efaaf2
feat: Add heading and heading_level to tasks table 2025-03-26 11:56:08 +13:00
Kacper Kula
460050d2f8 feat: Markdown tables can now refer to named headers and other files 2025-03-22 18:36:40 +00:00
Kacper Kula
66b1172342 feat: added option to display interactive checkboxes in tasks table 2025-03-21 16:50:03 +00:00
Kacper Kula
6ea57ff6ab
Merge branch 'main' into feature/frontmatterLinks 2025-03-20 09:02:33 +00:00
Kacper Kula
1beb4a5d52
Merge pull request #111 from sksizer/TagsOnFileFix
Quick Fix For Missing Frontmatter Tags
2025-03-20 08:43:47 +00:00
Kai Yorke
adaec2ca58
Add examples to documentation 2025-03-20 14:01:50 +13:00
Kacper Kula
ef19e25684 docs: adding syntax highlighting to the documentation 2025-03-19 11:35:38 +00:00
Kelly Sizer
07f729ffc5 Adding documentation for tags behavior 2025-03-18 23:19:04 -05:00
Kacper Kula
4053550dcc feat: template can now access file properties 2025-03-15 16:22:20 +00:00
Kacper Kula
51339f061a chore: updating documentation 2025-03-14 10:26:43 +00:00
Kacper Kula
243ed8742d docs: adding documentation for the new template view 2025-03-14 10:11:14 +00:00
Kacper Kula
766902392d docs: minor formatting fix 2025-03-11 15:50:55 +00:00
Kacper Kula
d5f9d6dcae docs: adding documentation 2025-03-11 15:49:40 +00:00
Kacper Kula
1ae1be87e1 docs: adding documentation and bumping version 2025-02-17 10:26:26 +00:00
Kacper Kula
5cf7f247de fix: adding path column names to tags and tasks 2025-02-05 17:17:15 +00:00
Kacper Kula
6f4967ef9b docs: fixed example with the books 2025-02-04 20:12:32 +00:00
Kacper Kula
31f61cb30e docs: moved transactions file to appropriate place 2025-02-04 20:02:30 +00:00
Kacper Kula
54981be715
Merge pull request #74 from h-sphere/fix/indexedb-filename
fix: issue with multiple vaults open
2025-02-04 17:28:08 +00:00
Kacper Kula
9b4f5c137f fix: SQLSeal now work with multiple vaults open at the same time 2025-02-04 17:24:07 +00:00
Kacper Kula
2c7a2ac99c
Merge pull request #71 from h-sphere/feat/adding-flags
feat: adding flags and ability to run explain
2025-02-04 14:35:31 +00:00
Kacper Kula
4c82a7b032 docs: updated documentation 2025-02-04 14:28:24 +00:00
Kacper Kula
d10876a064 docs: adding landing page with some extra informations 2025-02-04 14:05:58 +00:00
Kacper Kula
50b1697da5 docs: adding favicon to the docs 2025-02-04 13:26:11 +00:00
Kacper Kula
42e6b3bfd0 feat: updated created_at and modified_at from JS unix epoch to ISO 8601 for ease-of-use 2025-01-31 13:24:00 +00:00
Kacper Kula
18941135ff docs: fixing logo placement 2025-01-29 12:27:21 +00:00
Kacper Kula
42217edba6 chore: fixing docs logo location 2025-01-28 15:53:57 +00:00
Kacper Kula
5a20dbf32a docs: added new logo to the docs 2025-01-28 15:37:58 +00:00
Kacper Kula
ca554f0a75 feat: added links table 2025-01-28 11:15:01 +00:00
Kacper Kula
4da531ae1b docs: adding search functionality for docs 2025-01-24 20:20:32 +00:00
Kacper Kula
94e21df502 chore: adding disclaimer about the version for JSON and JSON5 2025-01-24 16:39:01 +00:00
Kacper Kula
8870c8c018 feat: added jsonpath support. Improved documentation 2025-01-24 16:34:42 +00:00
Kacper Kula
e0199dfb7c feat: adding modified and created times 2025-01-23 17:18:54 +00:00
Kacper Kula
424a3ff698 version: upgrade to 0.17.0 2025-01-20 13:12:17 +00:00
Kacper Kula
ab7fee6b83 feat: added list view and documented all available ones 2025-01-20 12:33:01 +00:00
Kacper Kula
a41076943f docs: adding more dev docs 2025-01-16 16:13:11 +00:00
Kacper Kula
3f0691058a docs: adding documentation for markdown tables 2025-01-16 14:11:44 +00:00
Kacper Kula
c7a319651c docs: updating docs based on feedback 2025-01-15 14:30:09 +00:00