Commit Graph

125 Commits

Author SHA1 Message Date
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
Simon Cambier
d32f250b76 #175 - fixed label
missed it during the review
2023-05-19 09:59:00 +02:00
Ian Fisher
027c9e3bc9 Add setting to open/create files in new pane by default (#241)
* Manifest 1.14.1-beta.1

* 1.14.1-beta.2 manifest

* Add setting to open/create files in new pane by default

* Fix typo with key labels

* Address review comments

---------

Co-authored-by: Simon Cambier <simon.cambier@protonmail.com>
2023-05-19 09:53:31 +02:00
Simon Cambier
a2853fa2fd 1.14.1-beta.2 2023-05-13 22:13:57 +02:00
Simon Cambier
0d6907abbd Cancelable search query 2023-05-13 22:04:37 +02:00
Simon Cambier
8b7cd2d3e3 Fixed #236 - missing space with highlighted words (#239) 2023-05-09 21:50:51 +02:00
Simon Cambier
4a935b3eda #232 - Tentative fix 2023-05-01 16:05:39 +02:00
Simon Cambier
7f5d707de1 Bugfix/180 infile to vault (#221)
* #210 - Fixed scrolling issue

* #180 - Fixed: switching from In-File to Vault modal would lose the current query
2023-04-09 08:57:02 +02:00
Simon Cambier
30dd78f8d9 #210 - Fixed scrolling issue (#220) 2023-04-07 21:51:22 +02:00
Simon Cambier
56fc8157fb Feature/40 key value current folder (#218)
* #40 - Reworked Query

* #40 - added a "path:" option in the query field

* #40 - folder exclusion

* Cleaner code
2023-04-02 13:00:52 +02:00
Simon Cambier
2b2709d9ab Merge branch 'master' into develop
# Conflicts:
#	package.json
2023-03-11 14:58:01 +01:00
Simon Cambier
24bfb94b71 #184 - Verbose logging 2023-03-11 14:43:29 +01:00
Simon Cambier
58db940b68 Sort then slice 2023-03-11 13:32:26 +01:00
Simon Cambier
fc8c0763f0 #206 - Added middle click support to open in a new tab 2023-03-09 21:40:12 +01:00
Simon Cambier
e611202da2 #206 - Added ctrl+enter shortcut for InFile results 2023-03-09 21:29:09 +01:00
Simon Cambier
c4cf6a70bf #205 - Replaced ↹ symbol with tab 2023-03-09 21:28:32 +01:00
Simon Cambier
c70e446e84 #195 - Fixed highlighting for cyrillic chars 2023-02-19 14:03:16 +01:00
Simon Cambier
ae08608e02 #107 #154 - Added file icon 2023-02-19 12:29:14 +01:00
Simon Cambier
48c9efcedc #107 - new layout ok 2023-02-11 10:42:01 +01:00
Simon Cambier
e9c3e9414e #107 - updated WIP layout 2023-02-08 18:11:11 +01:00
Simon Cambier
34a2fda066 Cleaning 2023-01-29 21:07:53 +01:00
Simon Cambier
4f8370574c #158 - Also remove diacritics from note title 2023-01-27 23:29:48 +01:00
Simon Cambier
6d1fba1429 Fixed a promises race bug + disabled showing previous messages 2023-01-27 23:03:48 +01:00
Simon Cambier
f0a2a6a7ae Fixed history navigation 2023-01-11 20:54:16 +01:00
Simon Cambier
b1f6a89e16 Fixed use directive 2023-01-03 10:47:32 +01:00
Simon Cambier
c8bdcad17c Small (potential) bugfixes 2022-12-31 21:26:15 +01:00
Simon Cambier
da2dd90374 fix #148 2022-12-10 15:41:12 +01:00