Commit Graph

37 Commits

Author SHA1 Message Date
Loretta a0f7ac6a29 Refactor grid InfoPanel: sticky, responsive, new icons
- Redesigned MgGridInfoPanel to use a sticky, scroll-aware layout via JavaScript for better UX when scrolling.
- InfoPanel now uses a responsive CSS grid layout with container queries for 1/2/3 column display based on width.
- Added new toolbar icons using SVG masks for a modern, consistent look; updated toolbar item class names.
- Added "Prev Row" and "Next Row" navigation buttons to the grid toolbar, with corresponding methods in grid base classes.
- Unified edit state enum naming to MgGridEditState and updated all references.
- Improved InfoPanel cell rendering for better text overflow handling and tooltips.
- Updated CSS for InfoPanel and grid, including sticky pane support and icon styles.
- Registered mgGridInfoPanel.js in App.razor and index.html for JS interop.
- Minor UI/UX tweaks: InfoPanel header, background colors, and panel sizing.
2025-12-17 10:20:18 +01:00
Loretta 056a69ecc8 Update local HTTPS, layout auth, deps, and add SignalR tests
- Switch FruitBankConstClient.BaseUrl to HTTPS for localhost.
- Pin DevExpress.Blazor to 25.1.3 in client project.
- Add Microsoft.Extensions.ObjectPool v9 to test project for SignalR.
- Reformat App.razor markup; comment out ResourcePreloader.
- Render @Body only if logged in or on login page in MainLayout.
- Redirect to /Login if not authenticated after auto-login.
- Add SandboxEndpointSimpleTests.cs for HTTP/SignalR endpoint tests against local sandbox.
2025-12-11 23:46:20 +01:00
Loretta 0d9ced990a Add secure cross-platform auto-login with credential storage
Introduces ISecureCredentialService abstraction and platform-specific implementations for secure credential storage (WebAssembly, MAUI, server). Refactors LoggedInModel to support async auto-login, login, and logout using stored credentials. Updates DI and UI logic to enable seamless auto-login and logout across all platforms. Cleans up redundant navigation checks and improves maintainability.
2025-12-09 16:46:47 +01:00
Loretta 346d433196 Refactor, enhance, and improve test coverage
Refactored `OnDataSourceLoaded` to be asynchronous for better state handling. Downgraded `Newtonsoft.Json` to version `13.0.3` across multiple projects for compatibility. Enhanced `MeasuringItemPalletBase` with `SetParentPropToNull` and `SetForeignKey` methods. Refactored `OrderItemPallet`, `ShippingItemPallet`, and `StockTakingItemPallet` to simplify table attributes and improve parent-child relationship handling.

Added `IsReadyForClose` to `StockTaking` for better closure validation. Updated SignalR tag constants to reflect new functionality. Improved Razor components (`PalletItemComponent`, `StockTakingTemplate`, `MeasuringIn`, `MeasuringOut`) to streamline logic and maintain proper references.

Introduced `JsonExtensionTests` for comprehensive validation of JSON serialization/deserialization, including deep hierarchies, circular references, and hybrid references. Added `test_debug.ps1` for streamlined test debugging. Performed general code cleanup and improved test coverage.
2025-12-08 15:50:57 +01:00
Loretta e13e32dc57 .Net10, VS2026; StockTaking in progress... 2025-12-01 16:18:47 +01:00
Loretta 7e4d0a85e8 Upgrade to .net10 and Visual Studio 2026; StockTaking in progress... 2025-11-28 08:15:58 +01:00
Loretta cfe9c2c3fd improvements, fixes, etc... 2025-11-12 17:19:03 +01:00
Loretta c1f8dcbf5d Improvements, fixes, etc... 2025-11-05 14:56:07 +01:00
Loretta d53c44d2db SignalR improvements; etc... 2025-10-30 14:54:47 +01:00
Loretta 2eaf74b199 fixes 2025-10-23 06:34:40 +02:00
Loretta 00ec5d341c refactoring, cleanup v1.1... 2025-10-22 16:20:28 +02:00
Loretta bfc903f714 fixes 2025-10-21 16:29:30 +02:00
Adam 04b5556434 malacka fix 2025-10-21 14:16:22 +02:00
Loretta 0938422103 nuget packages update; improvements, fixes 2025-10-18 18:46:00 +02:00
Loretta df4715360e improvements, fixes, etc... 2025-09-29 13:33:34 +02:00
Loretta 4410d662d8 Measuring improvements 2025-09-19 14:44:04 +02:00
Loretta 72071e7a79 Convert to Devexpress solution; impovements, clean, etc... 2025-09-17 06:02:32 +02:00
Loretta 37ceac59b8 empty 2025-09-17 05:22:26 +02:00
Loretta 6acb0c0c8f fixes 2025-09-14 13:19:23 +02:00
Loretta cf234681af improvements, fixes, etc... 2025-09-11 12:51:46 +02:00
Loretta 07b4e5f558 Add MsTests; improvements, fixes, etc... 2025-09-09 04:38:08 +02:00
Loretta ec93fc7afd refactoring, improvements, etc... 2025-09-07 06:56:27 +02:00
Loretta a4faa0c2b7 merge 2025-09-05 13:13:20 +02:00
Adam 46508d7e57 hybrid mobile working 2025-09-05 10:11:48 +02:00
Loretta a5c3c12a53 commit 2025-09-03 15:01:57 +02:00
Loretta 0637d34253 CopyLocalLockFileAssemblies set true 2025-09-03 07:04:18 +02:00
Loretta f6a4e6c4f1 merge 2025-09-02 13:12:57 +02:00
Loretta 964179c9d3 Implement SignalR hubs, logger; etc... 2025-09-02 13:12:10 +02:00
Adam 2cace11076 remove obj 2025-09-02 12:01:58 +02:00
Loretta bde787caf0 SignalRAdmin in progress... 2025-08-31 14:55:31 +02:00
Loretta 8301a027f0 merge 2025-08-31 12:00:49 +02:00
Adam 0609d4fa21 git removes 2025-08-31 11:45:44 +02:00
Loretta 5bb2dc83e9 first 2025-08-31 08:43:12 +02:00
Adam b219f853db and more 2025-08-31 00:49:18 +02:00
Adam 247b4e5eeb gitinore fix 2025-08-31 00:49:09 +02:00
Adam 8d56eb2f30 whtf 2025-08-31 00:47:04 +02:00
Adam 9ed706b253 Initial commit 2025-08-31 00:11:06 +02:00