Commit Graph

6091 Commits

Author SHA1 Message Date
Flo2410
0a71d557c0
URI encode querry on server. 2024-01-31 20:42:47 +00:00
shamoon
bb4d603a88 Remove unneeded right margin on suggestions 2024-01-31 10:59:37 -08:00
shamoon
b547e22705 Revert "Set user agent in cached-fetch request."
This reverts commit 891610ea7f.
2024-01-31 10:46:09 -08:00
shamoon
fe1829020c Fix suggestion wrapping on small screens 2024-01-31 10:46:03 -08:00
shamoon
b2f6ea6dc8 Fix z-index 2024-01-31 10:41:13 -08:00
Flo2410
891610ea7f
Set user agent in cached-fetch request.
This makes the Google search suggestion API return charset=utf-8.
2024-01-30 21:36:53 +00:00
Flo2410
d75c361603
Added greyed out suggestions to search bar. 2024-01-30 20:37:16 +00:00
shamoon
0950ed9e5c Fix highlighting when search string not found 2024-01-30 12:32:08 -08:00
shamoon
31ca40393a Fix non-custom search widget show suggestions fallback 2024-01-30 11:11:21 -08:00
shamoon
ef25756534 Refactor quicklaunch fallback to search widget suggestions setting 2024-01-30 10:11:28 -08:00
shamoon
2729a3b03e Update search.md 2024-01-30 10:11:28 -08:00
shamoon
2cec3a124d Minor code stlying 2024-01-30 10:10:47 -08:00
shamoon
77311d853d Fix search widget with custom provider 2024-01-30 10:10:47 -08:00
shamoon
dde88bca26 Styling tweaks to search widget suggestions 2024-01-30 09:29:44 -08:00
Flo2410
454d51808e
showSearchSuggestions of the quick lauch will now inherit the setting from the search widget. 2024-01-29 21:27:42 +00:00
Flo2410
ed827837aa
Added opacity-50 to suggested part of the search suggestion. 2024-01-29 21:08:08 +00:00
Flo2410
86ec610345
Added new quicklaunch type searchSuggestion.
This represents a search suggestion in the quick launch.

This commit also adds the locales for it in en and de
2024-01-29 20:52:57 +00:00
Flo2410
a442c4d968
Fixed setting the custom provider as the selected search provider. 2024-01-29 20:42:45 +00:00
Flo2410
3e74645db3
Draft of the sugggestion dropdown for the search bar.
This can be activated by adding `showSearchSuggestions: true` to the search widget config.
2024-01-29 20:25:56 +00:00
shamoon
7a543c0398
Apply suggestions from code review 2024-01-28 16:41:09 -08:00
Flo2410
9bc86c488a
Fix the splice again...
`.splice(0, 4)` returns the first 4 entries. Therefore we need to reasign `newSearchSuggestions[1]`
2024-01-28 20:07:14 +00:00
Flo2410
d7fd48b5ad
Changed hideSearchSuggestions to showSearchSuggestions.
This makes the search suggestions opt-in.
2024-01-28 19:47:50 +00:00
Flo2410
fda908a65c
Fixed search suggestion slice to max. 4 entries. 2024-01-28 19:42:50 +00:00
Flo2410
645a6ceba8
Removed unnecessary ?? operator. 2024-01-28 19:38:54 +00:00
Flo2410
854a0dcdde
moved api endpoint to /api/search/searchSuggestion 2024-01-28 19:33:34 +00:00
Flo2410
53e740578c
Use AbortController to abort pending requests when search changes. 2024-01-27 21:25:47 +00:00
Flo2410
649ca33cd6
Clear search suggestions in closeAndReset. 2024-01-27 21:23:51 +00:00
Flo2410
bd28a872c1
Add docs 2024-01-27 20:54:31 +00:00
Flo2410
ac0ca8c14f
Ran pre-commit hook 2024-01-27 20:31:46 +00:00
Flo2410
262d9f7d44
Added support for the *custom* search provider. 2024-01-26 23:16:19 +00:00
Flo2410
2cd55cb2ea
fixed google suggestionUrl 2024-01-26 22:47:51 +00:00
Flo2410
0907c89b41
Fixed infinite loop
Now the search request is only sent, if the *searchString* changed.
2024-01-26 22:43:09 +00:00
Flo2410
769beb7dc6
Now only the search suggestions are handled asynchronously.
This commit removes the async wrapper in the useEffect again. Instead the search suggestions are stored in their own state and the `quicklaunch` results show the last suggestions until they are updated.

This allows the search for services be fast even with a slow internet connection.
2024-01-26 22:20:43 +00:00
Flo2410
cc73839874
Added search suggestions to the quick launch menu.
If this feture and the search feature of the `quicklaunch` are turned on, up to *four* search suggestions will be shown as results.
2024-01-26 21:57:20 +00:00
shamoon
a01f60ec25 Make service links less weird 2024-01-24 14:27:47 -08:00
shamoon
89f4862545 Update development.md 2024-01-24 01:04:43 -08:00
Tharic99
5d550b8597
Documentation: add project links to service widget docs (#2737) 2024-01-22 10:26:15 -08:00
Arden Rasmussen
e803c3bf16
Feature: Added gatus uptime widget (#2729) 2024-01-21 21:22:19 -08:00
shamoon
58fa63f7cb
Update FUNDING.yml 2024-01-21 20:54:09 -08:00
shamoon
a4657037c6
Documentation: Fix netdata docs 2024-01-21 01:03:05 -08:00
shamoon
cd29cbbdce Fix broken docker service discovery in 0.8.5 (#2717) 2024-01-20 22:12:30 -08:00
Mark Lavi
44b161799b
Documentation: improve bookmarks documentation and working examples (#2713) 2024-01-20 18:35:54 -08:00
stephenc01
e206c86de8
Documentation: fix typo in coin-market-cap widget docs (#2711) 2024-01-20 15:52:46 -08:00
shamoon
71b919bbe2
Documentation: Add username / pw to romm widget 2024-01-20 10:02:45 -08:00
github-actions[bot]
8684292d02
New Crowdin translations by GitHub Action (#2534)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-01-20 00:16:55 -08:00
shamoon
cca747c0fe
Fix: Calendar widget iCal integration catch RRule failures (#2706) 2024-01-20 00:15:45 -08:00
Karl0ss
f6ca3f57f7
Feature: Romm Widget (#2663)
---------

Co-authored-by: Karl Hudgell <karl.hudgell@bjss.com>
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-01-19 23:36:44 -08:00
Gianfranco
0cdc354ead
Documentation: add info for obtaining immich API keys (#2703) 2024-01-19 20:07:55 -08:00
Luke Hagar
a24b5d2fd1
Fix: remove date time load delay (#2675) 2024-01-18 14:58:42 -08:00
Mitchell
7f621ed518
Feature: Netdata service widget (#2672) 2024-01-17 16:01:20 -08:00