fix: T4 browser-check findings, interval on season state, T6 plan refresh
- Honey batch create omits an empty batch number (was 400); product form
labels the legacy total weight, detail shows jar weight and shelf life;
bottling hints next to their fields, values cleared on product change,
post-save water-content wording; withdraw reason placeholder not
selectable; honey batch actions offline-disabled with reason, 44 px.
- Offline signal: one slow request no longer flips the app offline; two
consecutive timeouts do, any HTTP answer clears it, aborts never count.
- Phenology sheet as a side card on desktop with focus return; confirm
dialogs as alertdialog; step-up texts in du-form ("Das Passwort stimmt
nicht."); backup import gives its disabled reason; missing event labels
plus a guard test; profile buttons 44 px.
- GET /phenology/state returns intervalDays via the shared
inspectionIntervalOf (autopilot, digest, season state use one source).
- T6 plan aligned with the code after T4, plus owner decisions of
2026-10-15 (Berlin day for restrictions, COMPLIANCE category, override
without step-up).
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
9760ce154f
commit
7a1480138d
63 files changed
+1076
-251
No files matched your search
@@ -12,6 +12,7 @@ import { loggableError } from '../common/loggable-error';
|
||||
import { utcDay } from '../domain-events/domain-event-types';
|
||||
import { NotificationsService } from '../notifications/notifications.service';
|
||||
import { PrismaService } from '../prisma/prisma.service';
|
||||
import { inspectionIntervalOf } from '../season/inspection-due';
|
||||
import { SEASON_SEGMENTS, SeasonSegmentKey } from '../season/season-types';
|
||||
import { JobPartialFailure } from '../system/job-run.service';
|
||||
|
||||
@@ -378,10 +379,11 @@ export class DigestService {
|
||||
.map((net) => ({
|
||||
apiaryName: names.get(net.apiaryId) ?? '',
|
||||
segment: net.segment,
|
||||
intervalDays:
|
||||
net.segment === 'WINTERRUHE' || !interval.active
|
||||
? null
|
||||
: interval.config.intervalDays[net.segment],
|
||||
intervalDays: inspectionIntervalOf(
|
||||
net.segment,
|
||||
interval.config.intervalDays,
|
||||
interval.active,
|
||||
),
|
||||
isReturn: net.isReturn,
|
||||
}))
|
||||
.sort((a, b) => a.apiaryName.localeCompare(b.apiaryName, 'de'));
|
||||
|
||||
Reference in new issue
Block a user