Commit graph

302 commits

Author SHA1 Message Date
Mojmír Majer
5581471f08 Reformat code 2026-06-26 21:57:15 +02:00
Mojmír Majer
2b7bbb436f Migrate save data chunks from 0.7.0 to 0.7.3-NEXT 2026-06-26 21:57:15 +02:00
Mojmír Majer
3502a07d1b Heal ADR-0005 boundary: move search result types into libraries/
Nine files in libraries/ were importing from unicode-search/, pulling
plugin-layer types and Obsidian APIs into supposedly agnostic code.

Root cause: search result types lived in unicode-search/components/,
UnicodeSearchError lived in unicode-search/errors/, and toSearchQueryMatch
imported directly from obsidian.

- Move search result types to libraries/types/characterSearch.ts;
  characterSearch.ts becomes a re-export facade
- Define SearchMatchResult inline (no obsidian import)
- Inline toSearchQueryMatch as FuzzySearchModal.toSearchMatch(); delete the file
- Introduce LibraryError in libraries/errors/ for library-layer throws;
  retire the UnicodeSearchError imports from persistCache and getRandomItem
- Delete characterSearchAttributes.ts (absorbed into the new types file)
- Document the two-tier custom error policy in ADR-0015
2026-06-26 00:13:47 +02:00
Mojmír Majer
7a33f9eb81 Collapse comparison cluster into a deep Ranking module
The 14-file comparison cluster exposed one public seam per leaf function,
forcing callers and tests to understand the entire call graph to reason
about ranking. A single rankCharacterSearchResults module concentrates
the logic, reduces the public interface to one function, and lets tests
target the ranking behaviour directly rather than internal comparators.
2026-06-25 23:57:46 +02:00
Mojmír Majer
4789754f16 Document architecture and standardize domain language 2026-06-25 23:43:06 +02:00
Mojmír Majer
a8b05b4c4f Redefine domain language 2026-06-25 23:43:06 +02:00
Mojmír Majer
1bcdcfe437 NPM Audit 2026-06-25 23:43:04 +02:00
Mojmír Majer
d64b6f9a6b
Merge pull request #20 from BambusControl/copilot/npm-audit-fix-obsidian-unicode-search
fix: resolve npm audit vulnerabilities in dev dependencies
2026-03-22 22:35:03 +01:00
copilot-swe-agent[bot]
030c3c7363 fix: run npm audit fix to resolve 6 security vulnerabilities
Co-authored-by: BambusControl <73384901+BambusControl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/BambusControl/obsidian-unicode-search/sessions/4b5ab672-7b2f-427e-ad3f-18c721e05b8a
2026-03-22 21:28:02 +00:00
copilot-swe-agent[bot]
78c6a1561f Initial plan 2026-03-22 21:26:29 +00:00
Mojmír Majer
543919333b
Merge pull request #19 from BambusControl/copilot/onboard-repo-codespaces-integration
Add repository-level Copilot coding instructions in `.github`
2026-03-22 22:20:16 +01:00
copilot-swe-agent[bot]
6b7ed3c6df docs: add repository copilot coding instructions
Co-authored-by: BambusControl <73384901+BambusControl@users.noreply.github.com>
Agent-Logs-Url: https://github.com/BambusControl/obsidian-unicode-search/sessions/38855c47-98bf-46a6-9433-4e8208b7fb2a
2026-03-22 21:17:04 +00:00
copilot-swe-agent[bot]
5b5c011c66 Initial plan 2026-03-22 21:12:54 +00:00
Mojmír Majer
57346f6628 Document new features to add 2026-01-04 18:15:59 +01:00
Mojmír Majer
8cd005a738 Use LFS for images 2025-12-23 11:49:36 +01:00
Mojmír Majer
5379d1c8ee Update doc 2025-09-27 15:52:35 +02:00
Mojmír Majer
534787af2b Set version as 0.7.3-NEXT 2025-09-27 15:49:19 +02:00
Mojmír Majer
5ef3859800
Merge branch 'release/0.7.3'
This pull request updates the plugin version to 0.7.3 and fixes Unicode character handling, fixing #15 (again).
2025-09-27 15:29:00 +02:00
Bambus Control
56eebad831 Version 0.7.3 2025-09-27 15:20:58 +02:00
Bambus Control
36cf853806 Generate regression tests for comparison and helpers
Generate regression tests for helpers

Test move
2025-09-27 14:53:45 +02:00
Bambus Control
5e087b0cf0 Code Cleanup 2025-09-27 14:53:40 +02:00
Bambus Control
e945278980 Multi-character codepoints don't trigger UCD download
The Unicode `codepoint` can now be of any length in the normalized NFC form.
Fixes (again) #15.

See: e4746c699d
2025-09-27 13:23:23 +02:00
Bambus Control
a945a7afb1 Set version as 0.7.2-NEXT 2025-09-14 15:52:24 +02:00
Bambus Control
35e756b1ca Merge branch 'release/0.7.2' 2025-09-14 15:48:38 +02:00
Bambus Control
4f07cdc693 Version 0.7.2 2025-09-14 15:44:25 +02:00
Bambus Control
e4746c699d Multi-character codepoints don't trigger UCD download
The Unicode `codepoint` can now be 2 characters in the normalized NFC form.
Fixes #15.
2025-09-14 15:39:35 +02:00
Bambus Control
7768b0bc88 Set version as 0.7.1-NEXT 2025-05-16 23:32:08 +02:00
Bambus Control
4d434fc42c Merge branch 'release/0.7.1' 2025-05-16 23:29:02 +02:00
Bambus Control
de743ff408 Version 0.7.1 2025-05-16 23:24:21 +02:00
Bambus Control
b8c3e2718d Update Obsidian API to 1.8.7 2025-05-16 23:20:30 +02:00
Bambus Control
c48a89f837 Fix: UCD can be downloaded through GIT
The mobile version always failed with HTTP 427, so a branch of the repo has the necessary data published.
Fixes #8
2025-05-16 23:16:21 +02:00
Bambus Control
c63cd9a433 Fix: Filter save data is no longer mistakenly overwritten
Fixes #11
Fixes #12
2025-05-16 23:16:18 +02:00
Bambus Control
47592652b6 Update README.md with usage info from updates 2025-05-06 22:47:52 +02:00
Bambus Control
c74a6336e5 Set version as 0.7.0-NEXT 2025-04-22 19:27:55 +02:00
Bambus Control
ae6b66f6c5 Merge branch 'release/0.7.0' 2025-04-22 19:24:23 +02:00
Bambus Control
bf8a86ecdb Version 0.7.0 2025-04-22 19:21:56 +02:00
Bambus Control
4044caade0 Add tests 2025-04-22 19:06:51 +02:00
Bambus Control
3a273a1897 UI & Cleanup 2025-04-22 18:50:48 +02:00
Bambus Control
c6df7a34bb Update Sonar 2025-04-22 11:32:43 +02:00
Bambus Control
9b74a6bc89 Rename and move files 2025-04-22 11:32:40 +02:00
Bambus Control
18007d6a5c Merge branch 'fix/save-data' into develop 2025-04-22 11:11:50 +02:00
Bambus Control
63e86e864b Save data 0.6.0 migrates to newer versions 2025-04-22 11:11:19 +02:00
Bambus Control
766f39a0a4 Cleanup 2025-04-21 17:56:24 +02:00
Bambus Control
a530179375 Character downloading 2025-04-20 15:23:49 +02:00
Bambus Control
c3036d0e3f Cleanup data fragment initialization 2025-04-20 14:12:14 +02:00
Bambus Control
f0339bf541 Remove old save data implementation 2025-04-20 14:06:56 +02:00
Bambus Control
f764879ca5 Create "meta" data part 2025-04-19 13:16:55 +02:00
Bambus Control
a07df045d0 Use new data stores 2025-04-19 13:16:45 +02:00
Bambus Control
d333b7fe7f Savedata initialization migrated 2025-04-18 12:23:03 +02:00
Bambus Control
98e610ffaf Asynchronous methods for data managers 2025-04-18 11:58:56 +02:00