From 88cb8909a675da19c84fcecc7169eb6be5a834cb Mon Sep 17 00:00:00 2001 From: Simon Heimler Date: Mon, 2 Sep 2024 22:12:32 +0200 Subject: [PATCH] Style and tips improvements (#143) * Style links grey again * Bump version correctly * Proper markdown for tips * Added tip --------- Co-authored-by: Simon Heimler --- CHANGELOG.md | 2 +- Tips.md | 80 ++++++++++++++++++++++++--------------------- popup/css/style.css | 2 +- 3 files changed, 45 insertions(+), 39 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d64e880..3c87e69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [unreleased] -## [v1.10.1] +## [v1.10.2] - **FIXED**: Bookmark tagging autocomplete was partly broken. Fixed update of dependency. - **CHANGED**: Moved the tips & tricks to markdown file and just link it, instead of random tips on startup. diff --git a/Tips.md b/Tips.md index 150644f..ddebd41 100644 --- a/Tips.md +++ b/Tips.md @@ -1,71 +1,77 @@ # Tips & Tricks -Customization: This extension can be customized via options in many ways. Please refer to the Documentation (link bottom right). +**Customization**: This extension can be customized via options in many ways. Please refer to the [User Documentation](https://github.com/Fannon/search-bookmarks-history-and-tabs/tree/main?tab=readme-ov-file#user-documentation).
-Tips on startup: Disable via option: enableHelp: false +**Keyboard Shortcut**: Trigger the extension via keyboard.
+The default is `CTRL` + `Shift` + `.`. + +This can be customized in the browsers [extensions settings](chrome://extensions/) > "Keyboard Shortcuts".
-Search Strategies: Switch between PRECISE (faster, exact) and FUZZY (slower, more results, fuzzy).

-This can be done via clicking on the top-right corner of the popup or by setting it in the options like: searchStrategy: precise +**Search Strategies**: Switch between PRECISE (faster, exact) and FUZZY (slower, more results, fuzzy). + +This can be done via clicking on the top-right corner of the popup or by setting it in the options like: `searchStrategy: precise`
-Keyboard Shortcut: Trigger the extension via keyboard.
-The default is CTRL + Shift + ..

-This can be customized in the browsers extensions settings. +**Search Modes**: Use search modes to be more selective. -
+Start your search query with a search mode prefix: -History Size & History: By default the number of history items to load are limited. -Consider increasing or decreasing this, depending on your performance situation and personal preferences:

-Add / adjust option: historyMaxItems: 1024
-Add / adjust option: historyDaysAgo: 14 +- \*`#`: Only **bookmarks with the tag** will be returned +- `~`: Only **bookmarks within the folder** will be returned +- `t `: Only **tabs** will be searched. +- `b `: Only **bookmarks** will be searched. +- `h `: Only **history** and **tabs** will be searched. +- `s `: Only **search engines** will be proposed. +
-Open selected results: By default, the extension will open the selected result in a new tab or switch to an existing tab if fitting.

-Hold Shift or Alt to open the result in the current tab.
-Hold Ctrl to open the result without closing the popup.
-Press Right Click to copy URL of result into clipboard without closing the popup. +**History Size & History**: By default the number of history items to load are limited. +Consider increasing or decreasing this, depending on your performance situation and personal preferences: + +Add / adjust option: `historyMaxItems: 1024`
+Add / adjust option: `historyDaysAgo: 14`
-Custom Bonus Scores: Append + [whole number] to your bookmark title (before tags).

-Example: Another Bookmark +10 #tag1 +**Open selected results**: By default, the extension will open the selected result in a new tab or switch to an existing tab if fitting. + +Hold `Shift` or `Alt` to open the result in the current tab.
+Hold `Ctrl` to open the result without closing the popup.
+Press `Right Click` to copy URL of result into clipboard without closing the popup.
-Custom Bonus Scores: Append + [whole number] to your bookmark title (before tags).

-Example: Another Bookmark +10 #tag1 +**Custom Bonus Scores**: Append ` + [whole number]` to your bookmark title (before tags).

+Example: `Another Bookmark +10 #tag1`
-Copy to Clipboard: Right click a result item to copy its URL to the clipboard. +**Copy to Clipboard**: Right click a result item to copy its URL to the clipboard.
-Search Modes: Use search modes to be more selective.

-Start your search query with a search mode prefix: - - +**Special Browser Pages**: You can add special browser pages to your bookmarks, like +[chrome://downloads](chrome://downloads).
-Special Browser Pages: You can add special browser pages to your bookmarks, like -chrome://downloads. +**Clean Up History**: There is an option to ignore URLs from history if they include a string. +Use this to remove unwanted entries from your history from your search index. + +```yaml +historyIgnoreList: + - extension:// + - http://localhost + - http://127.0.0.1 +```
-Keyboard Navigation: You can navigate result entries also in Emacs / Vim style:

-Ctrl+N and Ctrl+J to navigate search results up.
-Ctrl+P and Ctrl+K to navigate search results down. +**Keyboard Navigation**: You can navigate result entries also in Emacs / Vim style:

+` Ctrl+N``` and `Ctrl+J`to navigate search results up.
`Ctrl+P`and`Ctrl+K` to navigate search results down. diff --git a/popup/css/style.css b/popup/css/style.css index 31f4a51..375eaab 100644 --- a/popup/css/style.css +++ b/popup/css/style.css @@ -259,7 +259,7 @@ code { font-size: 14px; } #links a { - color: #87aaca; + color: #a3a3a3; text-decoration: underline; } #links #result-counter {