- Introduced RentPaymentCorrectionTest and RentPaymentTest to validate payment and refund logic. - Added PhoneNumberTest to ensure proper normalization of phone numbers. - Created TenantTest to verify attachment management and tenant referencing. - Implemented ReplacementRentalApiJourneyIT for end-to-end testing of rental and payment workflows. - Documented architectural decisions in ADR-0014, emphasizing strict DDD boundaries and transaction management.
39 lines
1.3 KiB
HTML
39 lines
1.3 KiB
HTML
@if (session.status() === 'checking' || session.status() === 'signing-out') {
|
|
<section class="session-state" role="status" aria-live="polite">
|
|
<app-brand-mark class="brand-mark" />
|
|
<mat-spinner diameter="34" />
|
|
<strong>{{
|
|
session.status() === 'signing-out' ? 'Déconnexion…' : 'Vérification de votre session…'
|
|
}}</strong>
|
|
</section>
|
|
} @else if (session.status() === 'error') {
|
|
<section class="session-state" role="alert">
|
|
<app-brand-mark class="brand-mark" />
|
|
<strong>Impossible de vérifier votre session</strong>
|
|
<p>Vérifiez votre connexion puis réessayez.</p>
|
|
<button mat-flat-button type="button" class="primary-action" (click)="session.refresh()">
|
|
Réessayer
|
|
</button>
|
|
</section>
|
|
} @else if (!session.isLoggedIn()) {
|
|
<app-sign-in-page (loginRequested)="login()" />
|
|
} @else {
|
|
<div class="workspace-shell">
|
|
<app-workspace-navigation [userInitial]="userInitial()" (logoutRequested)="logout()" />
|
|
|
|
<main class="workspace-main">
|
|
<header class="mobile-header">
|
|
<div class="mobile-brand">
|
|
<app-brand-mark class="brand-mark" />
|
|
<strong>LMNP Organizer</strong>
|
|
</div>
|
|
<div class="compact-avatar">{{ userInitial() }}</div>
|
|
</header>
|
|
|
|
<div class="page-container">
|
|
<router-outlet />
|
|
</div>
|
|
</main>
|
|
</div>
|
|
}
|