Enhance Makefile help output with improved formatting and additional commands; update NEXT_SPRINT_TASKS with new improvement points; fix location fallback logic in CoverageRepositoryImpl
This commit is contained in:
@@ -7,3 +7,8 @@
|
||||
* Add **doc comments** where necessary to improve readability and maintainability
|
||||
* **Remove overly complicated or unnecessary logic** introduced by AI and simplify where possible
|
||||
* **Adhere to the design system** and remove all **hard-coded colors and typography**, using shared tokens instead
|
||||
|
||||
* Improvement points
|
||||
- apps/mobile/packages/features/client/client_coverage/lib/src/data/repositories_impl/coverage_repository_impl.dart
|
||||
- Fix the location field in CoverageShiftRole to use the correct fallback logic.
|
||||
- line 125 remove redundant location values.
|
||||
@@ -122,7 +122,7 @@ class CoverageRepositoryImpl implements CoverageRepository {
|
||||
shiftId: shiftRole.shiftId,
|
||||
roleId: shiftRole.roleId,
|
||||
title: shiftRole.role.name,
|
||||
location: shiftRole.shift.location ?? '',
|
||||
location: shiftRole.shift.location ?? shiftRole.shift.locationAddress ?? '',
|
||||
startTime: _formatTime(shiftRole.startTime) ?? '00:00',
|
||||
workersNeeded: shiftRole.count,
|
||||
date: shiftRole.shift.date?.toDateTime() ?? date,
|
||||
|
||||
Reference in New Issue
Block a user