Commit graph

40 commits

Author SHA1 Message Date
Peter Goodhall
0413d8a6bf Refactor dashboard helpers and improve UX
Move repeated table rendering helpers into a new application/helpers/dashboard_helper.php and load it from the Dashboard controller to remove duplication in views. Improve mobile/responsive dashboard behavior: detect mobile user agent to reduce recent-QSO rows, add mobile-specific quick links, collapse cards for compact display, and adjust HTMX polling intervals and targets. Add htmx loading indicators and last-updated timestamps with a small JS handler, and include minor CSS tweaks. Also add a session validation early-return in radio_display_component and load the user_agent library in the controller.
2026-05-07 22:12:05 +01:00
Peter Goodhall
96eee63bc8 Update upcoming_dxccs.php 2026-04-29 16:52:14 +01:00
Peter Goodhall
36757e3e34 Add option to count satellite QSOs in DXPeditions
Introduce a user preference to treat satellite QSOs as "worked" for DXPedition status and wire it through the UI, controller, and model. Changes: add dashboard_dxpedition_sat_worked default and POST handling in User controller, add checkbox to user settings view to toggle the option, update Workabledxcc_model to optionally include satellite results when computing workedBefore via a new shouldIncludeSatelliteWorked() helper, and tweak upcoming_dxccs view styling and row classes to visually indicate worked vs needed DXPeditions. This makes DXPedition cards respect users' preference for counting satellite contacts.
2026-03-26 15:00:56 +00:00
Peter Goodhall
10ce6d1b7d Use 'Unknown' for placeholder callsigns
Replace dash placeholder with the string "Unknown" for DXpedition callsign display. The Workabledxcc_model::normalize method now returns "Unknown" for empty or placeholder patterns (e.g. F/H, M/S). The upcoming_dxccs view was updated to default to and check for "Unknown" when rendering callsigns and tooltips so the UI shows a clearer, consistent placeholder.
2026-03-26 14:44:23 +00:00
Peter Goodhall
ec5b90017f Normalize DXped callsigns, add paginated UI
Add normalizeDxpedCallsign() to Workabledxcc_model and use it in the controller and model to standardize/replace placeholder callsigns (e.g. F/H, M/S) with '-'. Improve week filtering and date handling: set explicit times for start/end of week and records, use overlap logic to include DXpeditions that intersect the week, and compute daysLeft with proper past/last-day labeling. Revamp upcoming_dxccs view: implement client-side pagination, page size, prev/next controls, escaped tooltips, and graceful display for placeholder callsigns; add a link to the full list. These changes improve display consistency and UI usability.
2026-03-26 14:36:29 +00:00
Peter Goodhall
d9e0504e7a Improve error handling for DXpedition data fetch
Added error checks when fetching DXpedition data in Workabledxcc_model and updated Dashboard controller to only sort valid records. The upcoming_dxccs view now displays a warning message if an error occurs, improving user feedback and robustness.
2025-11-18 13:14:41 +00:00
Peter Goodhall
a89b04966e Improve error handling for hams.at API fetch
Adds robust error handling and user feedback for failures when fetching satellite data from the hams.at API. The controller now sets error states and messages for connection issues and invalid responses, and the view displays appropriate alerts to users.
2025-08-22 17:27:35 +01:00
Peter Goodhall
20491702a3 Changed radio icon 2024-11-21 13:59:45 +00:00
Peter Goodhall
9e6348f49e [Hamsat] Fixed Typo on tooltip
Thanks N9EAT for reporting typo
2024-11-05 14:18:10 +00:00
Peter Goodhall
d9d1b428fa formatted code better 2024-05-28 17:16:57 +01:00
Peter Goodhall
7a4c2f5bf8 Merge branch 'dev' of https://github.com/magicbug/Cloudlog into dev 2024-05-28 17:16:00 +01:00
Peter Goodhall
1e21493c93 [Hamsat] when checking grid only use first 4 characters. 2024-05-28 17:15:54 +01:00
Emiliano
1161a9bea4
Merge branch 'dev' into master 2024-05-25 00:30:21 +02:00
Emiliano Macedonio
121e5f7981 Added flags to QSO tables and in detail 2024-05-24 16:43:32 +02:00
Peter Goodhall
3ad075d3d6 [Dashboard] QSO Today Notice now updates every 30 seconds
This addresses #3116
2024-05-23 22:03:59 +01:00
Peter Goodhall
9691a8bc3a [Dashboard] Reload the Logbook Table every 5 seconds
This reloads the logbook table on the dashboard every 5 seconds as mentioned in #3105
2024-05-16 13:58:58 +01:00
phl0
9a79cbcfcd
Add option to configure private feed key and show only workable passe 2024-03-09 08:49:12 +01:00
Peter Goodhall
fe8c7f716d [Dashboard] when clicking upcoming dxcc callsign it takes you to dxheat 2024-03-05 13:50:31 +00:00
Peter Goodhall
b78c307f80 [Dashboard] Upcoming DXPed - Improved CSS
Upcoming DXPed - Improved CSS to handle dark themes better
2024-02-23 15:29:37 +00:00
phl0
4c96fb6644
Fix sub-array forgotten in PR #2972 2024-02-19 09:40:58 +01:00
Peter Goodhall
2b58507283 [dashboard] Added tooltip to the upcoming dxped callsign tht shows any comments available 2024-02-18 13:59:55 +00:00
Peter Goodhall
945c1f9ef7 [Dashboard] DXCC Upcoming now a component loaded after the main page load 2024-02-18 13:47:01 +00:00
phl0
dee4ce2835
Fix typo and also categorize CW as linear mode 2024-02-14 13:48:38 +01:00
phl0
ef361e8aa0
Add mode badges 2024-02-14 13:44:11 +01:00
phl0
95e5007d8f
Migrate to hams.at native API 2024-02-14 13:19:37 +01:00
HB9HIL
741c464d45 format of the header 2023-11-17 23:47:46 +01:00
HB9HIL
65aa961aaa fixed badge classes 2023-11-17 18:22:02 +01:00
HB9HIL
14dbea9398 Merge remote-tracking branch 'upstream/dev' into bootstrap_5 2023-11-17 15:48:37 +01:00
phl0
b5ed396988
Add link to FG8OJ sked tool to hams.at listing 2023-11-17 13:21:31 +01:00
HB9HIL
8c4bae8453 run migration script 2023-11-14 13:35:53 +01:00
phl0
4114c247f4
Add some XSS clean here 2023-11-10 09:20:41 +01:00
phl0
172daaf799
Make rove comment a separate column 2023-11-10 07:35:00 +01:00
phl0
04c64331fd
Skip rove table if empty and display info message 2023-11-09 16:06:47 +01:00
phl0
b3b8d1f613
Make table a little more readable 2023-09-20 14:00:07 +02:00
phl0
ace99baecc
Handle multigrids in hams.at display 2023-09-20 13:54:14 +02:00
int2001
955010b40a
Fixed logbooks-array bug 2023-09-14 14:20:47 +00:00
phl0
a63b38eb0a
Show calls worked before in green (as in DX cluster) 2023-09-14 12:13:04 +02:00
Peter Goodhall
854ee96831 [Hamsat] Links to the tracking page 2023-09-13 14:07:26 +01:00
Peter Goodhall
ad76f58624 Add QRV Menu item, Add hamsat rover check table page 2023-09-12 14:30:28 +01:00
Peter Goodhall
e8c62a26cf [Dashboard] Update radio frequency display every 5 seconds 2023-05-28 15:02:15 +01:00