Open marfavi opened 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
65c1fb7
) 68.76% compared to head (7b5e70d
) 68.76%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
BaristaPerksSection
to aStatelessWidget
as it did not utilise any stateful features.BaristaPerksSection
andUserRoleIndicator
to accept aString
instead ofRole
. This prevents duplicate conversion/formatting fromRole
toString
in these widgets.tickets_page.dart
more state safe by removing UserState cast and taking into account cases where UserState is not UserWithData.TicketsPage
to a private widget to maintain readablity.context.read
inside of the build method ofTicketsPage
.The refactor improves overall code maintainability and aligns with best practices for widgets that do not require internal state management.