Commit Graph

151 Commits

Author SHA1 Message Date
Simon Cambier f4ad7a9de1 #454 - Fixed inconsistencies in binding labels 2025-04-02 12:13:10 +02:00
Simon Cambier ee55615951 Fixed mounting ModalInFile 2025-03-22 15:25:02 +01:00
Simon Cambier 8c5efcfa46 Migrated ModalVault syntax to svelte 5 2025-03-22 15:00:59 +01:00
Simon Cambier d495f49a35 Split settings into multiple files 2025-02-15 18:15:43 +01:00
Simon Cambier 7925e63106 Yay lazy loading
At long last.
2025-02-15 15:54:43 +01:00
Simon Cambier 84812771ec Feature/172 recency (#439)
* Fixed ts errors

* #172 - First draft at recency boost
2025-02-01 18:47:36 +01:00
Eli W. Hunter 9d7f4183cf feat: Allow #heading as display title setting (#434)
* feat: Allow #heading as display name setting

* Add displayTitle usage to create markdown link

* Tweak description text

* Address comments
2025-01-29 09:45:14 +01:00
YuNing Chen e272aeabef chore: better key label display for cmd and alt in macos (#428) 2025-01-03 12:24:01 +01:00
Simon Cambier 351dc30523 Fixed #418 2024-12-01 16:02:13 +01:00
Simon Cambier efd99b67a0 small fixes 2024-10-26 11:07:21 +02:00
Simon Cambier e2962ec021 Refactored relevant methods to SearchHistory 2024-10-13 18:01:40 +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 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 34e7f378da fix: on mobile, added a delay before showing the keyboard #345 2024-08-13 18:55:08 +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 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 1e2df5e82a Renamed "Omnisearch" into "SearchEngine" 2024-05-25 23:07:34 +02:00
Simon Cambier 6566a2e958 Massive refactor to get rid of the global app. 2024-05-25 22:49:50 +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 35f702a325 Merge branch 'develop' of https://github.com/scambier/obsidian-omnisearch into develop 2024-03-30 18:24:53 +01:00
Price Baldwin f86736e140 Add shortcut to open note in a new split pane (PR #202) (#358)
This adds the shortcut `cmd/ctrl + alt + enter` to the search modal to open a found file in a new leaf. I used the term "split" in user-facing text, because I think that's the more common

Some things to note:
- This function ignores the existing "open in new pane by default" setting.
- It also does not check to see if the file is already open. It will continue opening the value in a new split as often as the user wants.
2024-03-29 21:44:18 +01:00
Simon Cambier bcea7493c7 Removed useless code 2024-03-26 21:41:54 +01:00
Simon Cambier 484e961a7e Highlighting rework, should help with #304 2024-03-26 21:32:03 +01:00
Simon Cambier 036363884d Correct ctrl+g label 2024-03-16 14:54:16 +01:00
eegrok 72cb4216c0 Add ability to downrank some folders in the results (#350)
* add downrankedFoldersFilters to settings

* use downrankedFoldersFilters to downrank some files without excluding them in obsidian, which also prevents tags from being indexed

* change hotkey for toggling excerpts to ctrl-g

* change var to let for proper scoping

* trim folders after splitting them

* only log downranking when we actually do it

* format with Prettier

* make prompt-instruction-command still ctrl g for now
2024-03-14 18:36:23 +01:00
Simon Cambier 609e52f711 Fixed #336 2024-02-23 17:32:43 +01:00
Simon Cambier 94b34c2a8f #338 - Fixed, + fixed some other noUncheckedIndexedAccess 2024-01-06 10:53:11 +01:00
Simon Cambier 2ef38bdf26 Fixed the scrollIntoView() position 2024-01-05 20:59:38 +01:00
Maxime Lapointe 44b25eca25 Add highlighting in the note path (#327)
Co-authored-by: Maxime Lapointe <maxlap@gmail.com>
2023-12-16 10:12:13 +01:00
Hajime Nagisa 9cac7c0581 Fix: issue#190 (#317)
* Fixed search results with diacritics

- Caches are now stored with diacritics regardless of settings.ignoreDiacritics
- Modified getMatches() behavior to return results with correct form
- Modified ResultItemVault.svelte

* Fixed highlighting words with comma and period

- remove commas and periods from matches

* Fixed highlighting of Cyrillic characters

- changed highlight regexp determination to be based on character type

* Fixed highlighting problem of Japanese and Korean

- marked some Japanese diacritics to escape removal
- added NFC normalization to keep right form of Korean character

* Fixed highlighting of words with punctuation

- deleted space/punctuation list from stringsToRegex()
- it seems to be working correctly with words with punctuation and hyphenated words AFAIK

* Deleted some unused imports

* Modified the comment

* Added comment

* Fixed highlighting issue with comma and period

* Fixed highlighting issue with caret and other symbols

- Added `^` to separators
- Changed regex to use separators
- Added escape of `^` from diacritics removal
2023-11-29 07:32:25 +01:00
Simon Cambier 99a20f2e55 #164 - Added a button on mobile to switch to In-File (and back) 2023-11-02 18:02:20 +01:00
Simon Cambier 8d9a583335 Reduced debounce delay to 0 for updateResults() 2023-11-01 15:30:53 +01:00
Simon Cambier 1e6478d83e Cleaned some warnings from the deprecated global app object 2023-11-01 14:51:07 +01:00
Simon Cambier 285c4e9257 Fixed bug where "Searching..." label wouldn't disappear 2023-11-01 12:26:35 +01:00
Simon Cambier beb4f191dc #306 - Reworked search field auto-fill 2023-11-01 10:29:41 +01:00
Simon Cambier fc6da987c9 getFiles().find() > .getAbstractFileByPath() 2023-11-01 09:20:37 +01:00
Simon Cambier c8505245b3 fixed null check 2023-10-12 20:40:06 +02:00
Simon Cambier d651278b43 1.17.0 2023-09-10 09:09:20 +02:00
Simon Cambier 5277c9dd80 #212 - pre-fill query with selected text (#286) 2023-09-09 12:34:23 +02:00
Simon Cambier cf09ce5a28 Feature/275 open in background (#285)
* quodana base config

* Using constants instead of magic strings

* #275 - Added "alt o" to open a note without closing the omnisearch modal
2023-09-09 10:54:14 +02:00
Simon Cambier 603116158e Refactored excerpts and highlighting 2023-08-31 19:23:44 +02:00
Simon Cambier 6607dffa98 Vim shortcut (#279)
* Allow VIM navigation shortcuts without VIM mode enabled in Obsidian

* Default value for vim navigation keys

---------

Co-authored-by: Neil-Chen <v009008777@hotmail.com>
2023-08-22 08:08:36 +02:00
Simon Cambier 8f1638da2c Merge branch 'develop'
# Conflicts:
#	manifest-beta.json
#	src/settings.ts
#	versions.json
2023-07-22 23:17:43 +02:00
Simon Cambier 3ac85e7aa8 #74 - boost unmarked tags 2023-07-22 23:04:30 +02:00
Simon Cambier 1a109d6d89 #254 - Index unsupported files 2023-07-17 11:49:54 +02:00
Simon Cambier 17c23f8a81 "create in new pane" > using Mod instead of Ctrl 2023-05-19 23:20:05 +02:00