Commit Graph

465 Commits

Author SHA1 Message Date
Simon Cambier
7d7902ec9d Warn when too many errors in a short time 2024-10-13 18:44:22 +02:00
Simon Cambier
fc19f96dfd Renamed CacheManager to DocumentsRepository 2024-10-13 18:16:25 +02:00
Simon Cambier
e2962ec021 Refactored relevant methods to SearchHistory 2024-10-13 18:01:40 +02:00
Simon Cambier
0c41d48963 escape html for external strings 2024-10-08 20:46:12 +02:00
Simon Cambier
9f0c460161 Fixed css classes names 2024-10-08 20:45:34 +02:00
acrylicus
e9faa24369 Added support for Iconize plugin (#405)
* 1.25.0-beta.1 manifest

* chore: manifest 1.25.0-beta.2

* Added support for Iconize plugin

* Adjusted logic to fallback to generic icon if nothing found & added supported for Lucide Icon

* Added support for Emojis (thanks ChatGPT)

* Added dynamic updating of icons to match search results

* Moved icon logic to tools/iconUtils.ts, cleaned up ResultItemVault.svelte

* Moved icon logic to tools/iconUtils.ts, cleaned up ResultItemVault.svelte

* Prettified code and fixed case where CamelCase lucideicons do not render in search results

* Refactored code to check for Iconize plugin enablement, rehandled errors, minor tidy ups and utilization of native obsidian functions

* Minor touchups and improvements, removed unecessary error logging, consolidated LucideIcon prefix code

* Null return for no iconize condition

---------

Co-authored-by: Simon Cambier <simon.cambier@protonmail.com>
2024-10-08 20:27:01 +02:00
Simon Cambier
a4352c365c Fixed embeds injection in results 2024-10-08 17:13:04 +02:00
Simon Cambier
24ee6675c4 Weights are now ranged 0-10 (instead of 0-5) 2024-10-02 18:21:30 +02:00
Simon Cambier
372e40fe74 feat(#245): added a setting to determine how many embeds references to display in results 2024-09-27 13:53:57 +02:00
Simon Cambier
983fa2120b fix(#245): correctly update embeds on fs events 2024-09-27 13:53:30 +02:00
Simon Cambier
10721601b1 ffs typescript. 2024-09-25 20:52:02 +02:00
Simon Cambier
1b442d1f24 feat(#245): in results list, show where an image/pdf is embedded
* Add an index of embeds for reference in results

* Notes embedding images are now shown in results

* Updated dependencies

* Correctly referencing all embeds

* Updated docs

* Basic embedded feature ok
2024-09-25 20:47:27 +02:00
Simon Cambier
43dd1f469e chore: deps update and fixed some import paths 2024-09-15 16:39:20 +02:00
Simon Cambier
490c2811ab Merge branch 'master' of github.com:scambier/obsidian-omnisearch 2024-08-13 19:06:31 +02:00
Simon Cambier
34e7f378da fix: on mobile, added a delay before showing the keyboard #345 2024-08-13 18:55:08 +02:00
Swaggeroo
e9869758b5 Bug fix / Refactor Added Ai Image Analyzer Text again and removed unnecessary var indexingDesc (#388) 2024-08-13 18:32:30 +02:00
Simon Cambier
439150a1f0 fix: tentative workaround for #383 2024-07-31 11:17:35 +02:00
Simon Cambier
5bc393e3ca Merge branch 'master' into develop
# Conflicts:
#	src/settings.ts
2024-07-23 09:56:31 +02:00
Swaggeroo
58cc6400e8 Added Ai Image Analyzer support (#386)
* Added Ai Image Analyzer support

* removed unnecessary null check
2024-07-23 09:51:43 +02:00
Simon Cambier
38c964bec2 feat: Make any property of frontmatter a display name (#329) 2024-06-29 17:02:11 +02:00
Simon Cambier
94d687aeaa fix: missing the new arabic diacritics settings in a few places (#373) 2024-06-29 16:51:16 +02:00
Simon Cambier
1d64ca52cc fix: using a debounced function to clear the cache when triggered by a text field 2024-06-29 16:14:02 +02:00
Simon Cambier
da161b8ffe chore: cleaned up html descriptions in settings 2024-06-29 16:04:30 +02:00
Simon Cambier
3611884bc5 #349 - Added a "danger" setting to disable the cache killswitch 2024-06-27 21:25:06 +02:00
Simon Cambier
87d2085fda #373 - Arabic diacritics 2024-06-27 21:00:18 +02:00
Simon Cambier
85a23d8352 #380 - Replaced alt+o with ctrl+o for "open in background" 2024-06-27 20:33:49 +02:00
Simon Cambier
074a96fcff Show "dashboard" icon for excalidraw files 2024-06-20 18:34:54 +02:00
Simon Cambier
6cd777ea73 Fixed notice 2024-06-16 20:22:48 +02:00
Simon Cambier
59cfd877ae Don't needlessly refresh the live cache 2024-06-11 07:03:49 +02:00
Simon Cambier
2f6e25ce47 Don't needlessly refresh the live cache 2024-06-07 12:30:00 +02:00
Simon Cambier
48b694d358 "Negative" weights for custom fields 2024-05-29 21:21:55 +02:00
Simon Cambier
79bcc671b2 Merge branch 'develop' 2024-05-29 18:58:58 +02:00
Simon Cambier
0b70cbeb16 WIP indexing non-existing docs 2024-05-26 18:05:10 +02:00
Simon Cambier
85b7810d07 Renamed and reorganized some objets & methods 2024-05-26 17:39:31 +02:00
Simon Cambier
14c1dac8c8 Fixed binding 2024-05-26 17:36:43 +02:00
Simon Cambier
1e2df5e82a Renamed "Omnisearch" into "SearchEngine" 2024-05-25 23:07:34 +02:00
Simon Cambier
efdfbbcf8a #374 - private setting to change the HTTP host 2024-05-25 23:01:43 +02:00
Simon Cambier
6566a2e958 Massive refactor to get rid of the global app. 2024-05-25 22:49:50 +02:00
Simon Cambier
5f5417f0ff #134 - Async loading of minisearch cache
Using a custom build of minisearch
2024-05-23 21:38:46 +02:00
Simon Cambier
dcfb77f551 Massive refactoring to get rid of the deprecated global app instance 2024-05-21 21:13:35 +02:00
Simon Cambier
a370041e2f Quick hack for global app 2024-05-18 22:59:45 +02:00
Simon Cambier
482a66eac0 Quick hack for global app 2024-05-18 22:55:33 +02:00
Simon Cambier
5010a47466 Cleaned global app warnings 2024-05-18 09:52:28 +02:00
Simon Cambier
82fe4c7eb8 Disable url tokenization on iOS 2024-05-18 08:52:39 +02:00
Simon Cambier
7a6ffb5682 Removed welcome message 2024-05-17 23:10:21 +02:00
Simon Cambier
54bbe59db8 #151 - User-defined boosted fields 2024-05-17 23:10:00 +02:00
Aiden Liu
c4211a0b09 feat: enable search optimized tokenizer for Chinese (#370)
* feat: enable search optimized tokenizer for Chinese

* docs: update readme on CJK support
2024-05-07 17:58:01 +02:00
Simon Cambier
9da29b3f3f Fixed typo 2024-04-15 07:23:41 +02:00
Simon Cambier
13c7ec7c78 #363 - Gate url tokenization behind a setting 2024-04-15 07:18:17 +02:00
Simon Cambier
610272b885 try-catch the url extractor part of the tokenizer, should fix #362 2024-04-11 12:50:16 +02:00