Commit Graph

166 Commits

Author SHA1 Message Date
Denis Papec
d4fd923be5
Refactored information widgets, improve widget-boxed style
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 03:01:21 +01:00
Denis Papec
c79d45f91e
Add optional boxed styling and error component to information widgets
Signed-off-by: Denis Papec <denis.papec@gmail.com>
2023-06-03 02:14:38 +01:00
shamoon
5850a48ec9 Include right margin on greeting widget
Closes #224

Co-Authored-By: David Moor <dave@ducks-n-tworms.co.uk>
2023-05-26 08:21:02 -07:00
Georges-Antoine Assi
cdd7b2d44b
Enhanced glances widget (#1534)
* Enhanced glances widget (resource match)

* Make widget clickable + cleanup helperrs

* Prevent unused glances API calls

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2023-05-22 10:50:58 -07:00
shamoon
f2fc78b63f Glances include cpu tempts labeled Tctl 2023-04-18 12:09:02 -07:00
shamoon
2fbe4e5f24 Update cputemp.jsx 2023-04-04 17:05:22 -07:00
shamoon
2829f0b649 Update memory.jsx 2023-04-03 23:22:28 -07:00
shamoon
f3ec238a2c Fix glances cpu temp detection & fahrenheit conversion 2023-04-03 21:49:28 -07:00
shamoon
4cb5241e94 glances temp usage bar 2023-03-31 10:37:41 -07:00
shamoon
872237167d Uptime usage bar 2023-03-31 10:37:31 -07:00
shamoon
a90f178ee0 Better handle multi-core temp 2023-03-31 08:44:27 -07:00
shamoon
a2aab6451c lint 2023-03-30 14:40:24 -07:00
shamoon
1e64cf02cd Add temp usage bar, fix disk percentage 2023-03-30 14:36:40 -07:00
shamoon
9333af20f5 Update glances.jsx 2023-03-29 14:57:31 -07:00
shamoon
f830faf8af update glances widget 2023-03-29 14:35:48 -07:00
shamoon
b51af4377f Add uptime to resources widget 2023-03-29 14:35:48 -07:00
shamoon
f46addf20a Add cputemp to resources widget 2023-03-29 14:35:48 -07:00
shamoon
d4a3ba84e9 Convert resources widget to systeminformation dependency
Update resources.js
2023-03-29 14:35:48 -07:00
shamoon
69fcd3f0c8 Add padding to values in resources widget
Closes #1110
2023-03-15 10:27:01 -07:00
shamoon
17ebdd8226 Unifi widgets support sites other than default 2023-02-03 01:19:42 -08:00
shamoon
c2983197a0 Unifi widgets show warning with no data 2023-02-03 01:19:42 -08:00
shamoon
ce644afe9e Fix search broken in 0.6.5 2023-02-02 09:40:52 -08:00
shamoon
7a5a3a6608 Compatible with quicklaunch internet search 2023-01-31 00:36:11 -08:00
shamoon
87dbbcb1e0 Refactor multi & single providers & retain provider key only 2023-01-31 00:34:29 -08:00
chain710
3bc0522812 Support multi search providers
- add `providers` option in search widget, value is array of provider name, like: `[google, bing]`
2023-01-31 00:34:29 -08:00
shamoon
11d03be4de Use configured search provider, allow disable internet search 2023-01-30 23:38:37 -08:00
shamoon
c7e4a52b99
Merge pull request #841 from JacksonBarker/main
Added Brave search provider
2023-01-18 18:52:11 -08:00
Jackson Barker
ab2c3c6412
Added Brave search provider 2023-01-18 14:10:01 -05:00
James Wynn
b6e8b64a2e Merge branch 'main' into kubernetes 2023-01-09 08:34:43 -06:00
Michael Shamoon
84b7f103c3 Allow setting locale for datetime widget directly 2023-01-04 13:53:06 -08:00
Michael Shamoon
af29f5b266 Use tabular nums for datetime to prevent size changing 2023-01-02 08:30:57 -08:00
James Wynn
e15ba1c82c Merge branch 'main' into kubernetes 2022-12-31 11:19:42 -06:00
Michael Shamoon
0afc1b96f1 CPU / memory / disk usage bars start from 0
Closes #737
2022-12-28 16:21:04 -08:00
Michael Shamoon
95dcb8802a Use ResolvedIcon, remove extra div 2022-12-11 10:30:04 -08:00
Snekussaurier
645cf211dd Add ability to use custom logo 2022-12-11 17:31:59 +01:00
James Wynn
09eb172079 new status format, new podSelector field, more accurate pod stats
* renamed pod label prefix from "homepage" to "gethomepage.dev"
  which is more inline with typical kubernetes practices
2022-12-08 16:04:33 -06:00
James Wynn
174cb651b4 Merge branch 'main' into kubernetes 2022-12-08 09:57:51 -06:00
Michael Shamoon
656b818488 Fix conditions map for openmeteo 2022-12-05 08:52:45 -08:00
Michael Shamoon
98c8f2078d fix another react deps warning 2022-11-30 09:52:20 -08:00
Michael Shamoon
44c2a1ecbd fix react dep warning 2022-11-29 10:06:47 -08:00
Michael Shamoon
4c70bff952 Show memory up to 1 decimal place 2022-11-28 17:35:04 -08:00
Michael Shamoon
812eb3d70f Fix datetime react render error 2022-11-28 10:42:21 -08:00
James Wynn
c54374068d fixed a formatting error and longhorn's usage bar 2022-11-25 10:21:51 -06:00
James Wynn
a1f2003a77 Merge branch 'main' into kubernetes 2022-11-19 09:09:23 -06:00
James Wynn
1ca61114ef
Merge branch 'benphelps:main' into kubernetes 2022-11-18 18:02:53 -06:00
James Wynn
fdb143304f Separated kubernetes widgets from resources widgets 2022-11-18 18:02:23 -06:00
Michael Shamoon
8a783ba9f6 Simplify error catching 2022-11-18 15:24:07 -08:00
Jason
280bd0e621
Fix: openweathermap day/night icon issue
The day/night icon does not display properly in openwathermap widget due to the typo (sundown -> sunset) in parsing data from openweathermap api. The icon should be displayed properly after the fix.
2022-11-09 15:21:29 +08:00
James Wynn
4fc6db49ca Improved kubernetes error handling 2022-11-06 06:58:52 -06:00
James Wynn
8887fcc3ee longhorn support
* longhorn widget for showing storage stats as "disks"
2022-11-06 06:58:52 -06:00
James Wynn
c4333fd2dc Kubernetes support
* Total CPU and Memory usage for the entire cluster
* Total CPU and Memory usage for kubernetes pods
* Service discovery via annotations on ingress
* No storage stats yet
* No network stats yet
2022-11-06 06:58:52 -06:00
stuffinator
e30d21aa7d
fixed datetime widget size issue
- the widget was missing a flex-col div around it and was therefore taking up more space than it needed as it was reported here https://github.com/benphelps/homepage/issues/235#issuecomment-1276209354
2022-10-30 14:44:09 +01:00
Michael Shamoon
e1a62a69f6 Openmeteo Widget 2022-10-20 20:03:41 -07:00
Michael Shamoon
203783953d Fix wan display for service widget 2022-10-19 20:47:27 -07:00
Michael Shamoon
3d89d7ad1b Better support non-OS Unifi Controllers 2022-10-17 08:01:12 -07:00
Michael Shamoon
dced918804 Update unifi_console to use private widget options 2022-10-12 01:53:57 -07:00
Michael Shamoon
080bc44a6f Lint glances info widget 2022-10-11 10:21:57 -07:00
Michael Shamoon
321efd08cc Glances info widget 2022-10-11 10:21:57 -07:00
Michael Shamoon
69c9a449b1 Revert "Rename unifi_console info widget to unifi" 2022-10-09 09:18:12 -07:00
Michael Shamoon
fe1064b173 Rename unifi_console info widget to unifi 2022-10-08 14:02:12 -07:00
shamoon
1249ecaa68
Merge branch 'main' into main 2022-10-08 13:20:09 -07:00
Ben Phelps
94a518f4a8 add styled headers option 2022-10-08 16:40:36 +03:00
Ben Phelps
e56dccc7f1 new logo and styling tweaks 2022-10-08 16:04:24 +03:00
Jason Fischer
ac4dcd3222
Remove node-unifi package dependency
- Add custom Unifi proxy built on existing cookie jar and httpProxy
- Change formatApiCall to emit empty string instead of undefined on missing key
2022-10-07 17:12:29 -07:00
Michael Shamoon
952f0295cc uptime label 2022-10-05 21:44:15 -07:00
Michael Shamoon
5ba75bc62d support wan down too 2022-10-05 21:41:39 -07:00
Michael Shamoon
b9b9449cd3 Add unifi_console widget, API endpoint 2022-10-05 21:36:43 -07:00
Ben Phelps
ea96999377 place error boundaries closer to the source 2022-10-05 13:43:22 +03:00
Juan Manuel Bennàssar Carretero
1249724f8a Fix resources CPU label... 2022-10-03 15:47:46 +02:00
Ben Phelps
bb5721c473 ui polish 2022-09-28 02:32:39 +03:00
Ben Phelps
314050b568 Merge branch 'main' into widget-refactor 2022-09-27 19:26:37 +03:00
Josway
fa2763d8cd support Baidu search engine 2022-09-26 23:06:42 +08:00
Josway
d18e472623 support Baidu search engine 2022-09-26 23:02:59 +08:00
Ben Phelps
5f0c1ec70a tweak styles 2022-09-26 16:56:20 +03:00
Ben Phelps
4386999c38 further restructuring 2022-09-26 15:25:10 +03:00
Ben Phelps
086bfa310f lighthouse requirements 2022-09-26 15:03:02 +03:00
Ben Phelps
e1a3a82f75 utils cleanup, initial static generation 2022-09-26 12:04:37 +03:00
Ben Phelps
8bc240b934 refactor i18n to be server side 2022-09-25 19:43:00 +03:00
Ben Phelps
0075429e08 add greeting and datetime info widgets 2022-09-16 10:53:12 +03:00
Ben Phelps
3c2880e4ba allow search to be auto-focused 2022-09-15 05:28:40 +03:00
Ben Phelps
79e5ff2fea fix linting 2022-09-14 09:23:21 +03:00
Ben Phelps
340b138962 Add expanded view for resource widgets 2022-09-12 21:13:57 +03:00
Ben Phelps
7ae0ba31cb remove backdrop-blur until it can be made opt-in 2022-09-12 21:13:37 +03:00
Ben Phelps
cd53440eff fix search and weather widget spacing 2022-09-12 11:00:15 +03:00
Ben Phelps
ffbb1f5f0b tweak widget layouts for mobile 2022-09-11 21:02:33 +03:00
Ben Phelps
fb9e03b31d attempt to fix layout shift on resource widgets 2022-09-11 14:28:12 +03:00
Ben Phelps
31ccb9c933 fix no disk case 2022-09-11 14:21:16 +03:00
Ben Phelps
6e01a743df support array of disks, for disk resource widget 2022-09-11 14:13:58 +03:00
Ben Phelps
ed65c89516 blur backdrops for better background image support 2022-09-11 13:46:01 +03:00
Ben Phelps
85bc078c46 always attempt location fetch
if it fails, then we just fallback to user interaction
2022-09-09 12:57:15 +03:00
Ben Phelps
e4ea30becc implement weather geolocation 2022-09-09 12:44:34 +03:00
Ben Phelps
7b523501ad fix linting 2022-09-09 07:10:33 +03:00
Ben Phelps
0c8bbdf02b background images, document title 2022-09-09 06:45:43 +03:00
Ben Phelps
0f2f552e87 normalize resource widget styling 2022-09-08 20:17:39 +03:00
Ben Phelps
c08d4b7b9c implement i18n 2022-09-08 11:48:16 +03:00
Ben Phelps
81e3b0bd1e cleanup resource widget design 2022-09-07 17:17:01 +03:00
Ben Phelps
f74e8b9d32 linting and cleanup 2022-09-07 16:53:24 +03:00
Ben Phelps
5a8defb478 allow weather apis to use hidden api keys 2022-09-05 20:14:14 +03:00
Ben Phelps
10c63939dc cleanup search widget 2022-09-03 13:12:09 +03:00
Ben Phelps
8f001ad88a tweak mobile layouts for widgets 2022-09-03 12:40:04 +03:00