76 Commits

Author SHA1 Message Date
04d26600fd Refactor NotificationContext to simplify notification fetching logic by removing redundant useEffect. Update condition checks for authenticated and notificationCenterVisible to use strict equality.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-07 20:32:11 +00:00
52fd0ebd63 Enhance FilePreview and FileUpload components with error handling and minimal display option. Refactor AuthContext to improve user info retrieval and session management. 2026-03-07 20:32:02 +00:00
845b330242 Fixed border radius.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-07 20:00:39 +00:00
775393dfd1 Add user profile popover and logout icon; refactor dashboard navigation
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-07 19:22:21 +00:00
62f0e047e2 Enhance notification drawer responsiveness by adjusting width based on mobile screen size. 2026-03-06 23:43:03 +00:00
e4255443a0 New number calculator functionality.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-06 23:38:30 +00:00
1558e93b63 Improved UI for export options.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-03 01:20:22 +00:00
4a03b7bfd4 Added excel support.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-03 01:01:31 +00:00
1e2adb2b28 Implemented multiple app passwords.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-02 01:58:34 +00:00
9470adbb8a Improved notifications.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
2026-03-01 19:21:10 +00:00
2fc077504e Fixed build warnings.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-01 02:21:27 +00:00
f446bb22be Fixed infinite loop.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-01 02:19:40 +00:00
2622fae555 Implemented notifications.
Some checks failed
farmcontrol/farmcontrol-ui/pipeline/head There was a failure building this commit
2026-03-01 01:42:27 +00:00
664bd7751f Fixed depreciated setting. 2025-12-27 16:16:30 +00:00
7e1ec9f3ae Removed development logging. 2025-12-27 15:19:09 +00:00
f6986a45cd Fixed all warnings. 2025-12-27 15:06:02 +00:00
f83069a7fb Add updateMultipleObjects and sendObjectFunction methods to ApiServerContext
- Implemented updateMultipleObjects for batch updates of objects via PUT request.
- Added sendObjectFunction to invoke specific functions on objects with POST requests.
- Enhanced error handling for both methods to retry on failure.
2025-12-27 13:47:45 +00:00
b3c5357064 Enhance color theme in HistoryDisplay and ThemeContext
- Updated color mapping in HistoryDisplay to include new colors: cyan, pink, purple, magenta, and volcano.
- Added corresponding color definitions in ThemeContext for improved theme customization.
2025-12-27 13:46:58 +00:00
5e7e9510fb Refactored electron code and added spotlight feature. 2025-12-14 22:11:23 +00:00
5f33ed69fb Refined interval calculation in ApiServerProvider to adjust polling frequency based on time range, introducing new thresholds for intervals over 1, 2, and 3 days. 2025-12-09 02:10:23 +00:00
f2036a7a69 API stats implementation. 2025-12-08 23:03:20 +00:00
0a1540325b Updated colours to match theme. 2025-12-08 23:03:04 +00:00
4995d37aa2 Removed console.log statements from various components to clean up the code and improve performance. 2025-12-07 02:38:39 +00:00
13bbcbe50e Added tax rates, tax records and minor style improvements. 2025-12-03 23:35:30 +00:00
6f46587f5e Added ref spotlight lookup. 2025-12-03 13:11:39 +00:00
2e8f627c83 Updated object select to use better child handling with API mods. 2025-12-03 00:06:43 +00:00
05d7864da8 A lot of UI fixes updated packages etc. 2025-12-02 18:29:09 +00:00
8198f6a607 Increased border radius 2025-11-29 01:25:33 +00:00
2190da21ba Fixed auth retry 2025-11-29 01:25:24 +00:00
87a6198173 Now uses ApiContext 2025-11-29 01:25:13 +00:00
df85d99aaf Implemented DocumentPrinters and DocumentJobs 2025-11-29 01:24:57 +00:00
e4b8f52e6b Add downloadTemplatePDF function to ApiServerContext for PDF downloading and implement formatFileName utility for safe filename generation 2025-11-24 03:33:11 +00:00
657d6a5c6e Added PDF preview to ApiServerContext 2025-11-23 13:26:31 +00:00
caa67cd111 Fixed auth not remembering user is logged in. 2025-11-17 18:44:42 +00:00
48631c98c3 Refactor file handling and update API methods for improved file management. Renamed fetchObjectContent to fetchFileContent, updated related function calls, and enhanced file preview capabilities. Removed unused components and optimized imports. 2025-11-16 17:02:15 +00:00
f0cb4b3b83 Add ApiContextDebug component for API server debugging and testing functionality; removed PrintServerContextDebug component. 2025-09-05 23:17:08 +01:00
4d01a6a04f Overhaul printer control 1. 2025-08-31 21:29:00 +01:00
c38ed74f21 Fixed auth not removing session token. 2025-08-30 23:39:01 +01:00
71c83f6147 Fixed ws updating. 2025-08-30 23:38:51 +01:00
5f20f81a2c Using cross-env and fixed login error handling. 2025-08-23 22:04:39 +01:00
b1484bf127 Electron fixes and new menu icon. 2025-08-23 19:20:59 +01:00
7276633f3e Fixed electron dev so it uses a local web server for redirection alongside UI tweaks. 2025-08-23 13:55:02 +01:00
e563a03ad2 SVG minification is now automatic. 2025-08-23 11:42:50 +01:00
fbb0dd7b32 Bugfix: Fixed object update and creation ws. 2025-08-23 11:21:37 +01:00
5680b067a8 Fixed warnings and info pages. 2025-08-23 00:53:47 +01:00
5d6fe05227 Fixed warnings and removed logging. 2025-08-22 22:16:09 +01:00
bd0c443260 Bugfix: user doesn't persist between session reloads. 2025-08-22 20:42:00 +01:00
4c3d37a7d0 Migration to Vite. 2025-08-22 20:28:50 +01:00
177b439c48 Enhance AuthContext to manage user profile in session storage
- Added functionality to store and retrieve user profile data from session storage.
- Updated authentication logic to check for user data alongside token and expiration.
- Ensured user profile is cleared upon logout and set to null when authentication fails.
- Improved logging for better debugging of user authentication flow.
2025-08-18 00:59:37 +01:00
a9a2801e27 Refactor ObjectProperty component and introduce StateDisplay
- Removed unused components (PrinterState, SubJobState, JobState, FilamentStockState).
- Added new StateDisplay component for handling state representation.
- Enhanced ObjectProperty to support new properties and rendering logic for code blocks and object types.
- Updated import paths and prop types accordingly for improved clarity and functionality.
2025-08-18 00:58:10 +01:00