FruitBankHybridApp/FruitBankHybrid.Shared
Loretta 25265c02f8 Add platform env-badge to app title via IAppTitleService
Introduced IAppTitleService for platform-agnostic environment badge in the app title ("[PROD]" or "[DEV] FruitBank"), with implementations for Web (document.title), MAUI (window title), and server (no-op). Registered the service per platform in DI. MainLayout now updates the title reactively on environment changes via FruitBankConstClient.IsProdChanged. Improved event handling and prevented redundant environment hydration calls. No business logic affected; changes are UI/infrastructure only.
2026-07-14 07:04:10 +02:00
..
Components Add environment guard & EKÁER NAV submit; test safety 2026-07-13 19:00:13 +02:00
Databases PartnerDepot API, SignalRTags fixes, and test for duplicates 2026-06-07 07:20:07 +02:00
Extensions Show multiline DevExpress message boxes with CSS fix 2026-07-11 06:55:10 +02:00
Layout Add platform env-badge to app title via IAppTitleService 2026-07-14 07:04:10 +02:00
Models Update docs: enforce .md sync, clarify structure & TFMs 2026-03-29 09:26:16 +02:00
Pages Add PartnerDepot to ShippingDocument, EKÁER grid updates 2026-06-16 12:02:24 +02:00
Services Add platform env-badge to app title via IAppTitleService 2026-07-14 07:04:10 +02:00
wwwroot Show multiline DevExpress message boxes with CSS fix 2026-07-11 06:55:10 +02:00
FruitBankHybrid.Shared.csproj Refactor: remove Server DLLs, unify SignalR references 2026-06-08 16:53:27 +02:00
README.md [LOADED_DOCS: 3 files, no new loads] 2026-04-26 13:44:12 +02:00
Routes.razor Convert to Devexpress solution; impovements, clean, etc... 2025-09-17 06:02:32 +02:00
_Imports.razor .Net10, VS2026; StockTaking in progress... 2025-12-01 16:18:47 +01:00
appsettings.json Clarify agent protocol: sequential doc reads required 2026-07-13 14:04:34 +02:00

README.md

FruitBankHybrid.Shared

@project { type = "product" own-dep-projects = [ "AyCode.Core, AyCode.Entities, AyCode.Interfaces, AyCode.Models, AyCode.Services, AyCode.Services.Server, AyCode.Utils (in AyCode.Core repo)", "AyCode.Blazor.Components (in AyCode.Blazor repo)", "Mango.Nop.Core (in Mango.Nop Libraries repo)" ] }

Main Blazor UI library shared across all three deployment targets (Server, WASM, MAUI). Contains pages, DevExpress grid components, SignalR client, measurement service, and layout.

Folder Structure

Folder Purpose
Components/ DevExpress grid wrappers, pallet components, notifications
Pages/ Routed pages: Login, ShippingsAdmin, OrdersAdmin, MeasuringIn/Out, StockTaking
Services/ SignalR client, measurement service, form factor, loggers
Layout/ MainLayout with navigation, auto-login, toast notifications
Models/ Date selector model for measuring pages
Extensions/ DevExpress MessageBox/ConfirmBox helpers
Databases/ Client-side ConcurrentDictionary table cache

Key Files (Root)

  • _Imports.razor — Global Blazor imports.
  • Routes.razor — Route definitions.
  • appsettings.json — Canonical configuration source for all three hosts (Web, Web.Client, MAUI). Edit ONLY here. Pull mechanism per host: see docs/ARCHITECTURE.md (in repo root) → "Shared Configuration".

Target Framework

.NET 10.0 with AOT compilation and WASM IL stripping enabled.