Commit Graph

1089 Commits

Author SHA1 Message Date
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
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
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
Arden Rasmussen
e803c3bf16
Feature: Added gatus uptime widget (#2729) 2024-01-21 21:22:19 -08:00
shamoon
cd29cbbdce Fix broken docker service discovery in 0.8.5 (#2717) 2024-01-20 22:12:30 -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
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
Denis Papec
72efd9a08d
Fix: calendar timezone performance improvements (#2668) 2024-01-17 15:00:51 -08:00
0phoff
7837864841
Enhancement: locale option for date & relativeDate format (#2658) 2024-01-17 09:23:11 -08:00
shamoon
1f905bc241
Fix: constrain usage bar to 0-100 (#2650) 2024-01-16 16:07:20 -08:00
shamoon
d61d0eb88f
Fix configured service weight = 0 (#2628) 2024-01-15 06:30:46 -08:00
Denis Papec
1f2081af5d
Add option to specify a timezone for events (#2623)
* Add option to specify a timezone for events

* Amend message, update docs
2024-01-14 18:01:10 -08:00
Denis Papec
674d7f2e01
Fix for events repeating on mothly basis and old events that are shown as occuring today (#2624) 2024-01-14 13:49:28 -08:00
shamoon
9984e7894f Fix lint error for service anchors 2024-01-10 14:26:40 -08:00
shamoon
66a1368aa3
Fix: sort ical events in monthly view (#2604) 2024-01-10 14:24:38 -08:00
Metin Yazici
1103df2b64
Feature: support multiple checks for healthchecks widget (#2580)
* Change healthchecks online/offline with the original up/down

* Add group statistics to healthcheck widget

* Update healthchecks docs

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-01-07 09:17:07 -08:00
shamoon
50c989e36a
Fix: unique element key generation in quicklaunch and services (#2586) 2024-01-06 09:22:25 -08:00
shamoon
1c47d9d70e
Fix: pass user/pass as strings with OMV proxy (#2555) 2023-12-31 20:18:17 -08:00
shamoon
aa7cfa58ff
Better handle malformed docker labels (#2552) 2023-12-31 10:48:10 -08:00
Brandon McFarlin
ccad62b5c2
Fix: Peanut widget v2 api compatibility (#2526) 2023-12-27 07:29:27 -08:00
myztillx
59ccc3a215
Added Option for Grafana Alertmanager (#2498)
---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-12-26 20:21:57 -08:00
HaveAGitGat
b9f1ddd284
Fix: Tdarr widget should use viewable count if exists (#2492) 2023-12-18 00:39:30 -08:00