-
Notifications
You must be signed in to change notification settings - Fork 3
Implemented history page night selection for deletion #62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mobile/lib/src/application/sleep_history/sleep_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/domain/sleep_history/i_sleep_history_repository.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/domain/sleep_history/i_sleep_history_repository.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/application/sleep_history/sleep_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/infrastructure/sleep_history/sleep_history_repository.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/presentation/pages/sleep_history_page/sleep_history_page.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/application/sleep_history/sleep_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/application/sleep_history/sleep_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/infrastructure/sleep_history/sleep_history_repository.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/application/sleep_sequence_history/sleep_sequence_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/application/sleep_sequence_history/sleep_sequence_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/application/sleep_sequence_history/sleep_sequence_history_cubit.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/presentation/pages/sleep_history_page/sleep_history_list.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/presentation/pages/sleep_history_page/sleep_history_page.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/presentation/pages/sleep_history_page/sleep_history_page.dart
Outdated
Show resolved
Hide resolved
mobile/lib/src/presentation/pages/sleep_sequence_stats_page/sleep_sequence_stats_page.dart
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Peux-tu lancer un format pls?
mobile/lib/src/application/sleep_sequence_history/sleep_sequence_history_cubit.dart
Show resolved
Hide resolved
Running flutter format **/*.dart did no changes except add one newline on one file. What changes were you looking for ? Maybe there are some linting settings that I don't have set. |
Quand on visionne une nuit en particulier faudrait que le bouton du drawer devienne un bouton (flèche) pour retourner à la liste des nuits. C'est pas super important, mais niveau ergonomie de devoir rouvrir le drawer et retourner dans History c'est pas top. |
…rawer by back button in sleep sequence stat page
|
||
@override | ||
void initializeRepository() { | ||
SleepHistoryRepository() { | ||
_sleepHistoryPersistency.add(mock_data_1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Si le Repository est mock je propose qu'on le renomme MockSleepHistoryRepository. Lorsqu'on voudra implémenter la vrai version, on aura juste à créer une nouvelle classe SleepHistoryRepository et l'injecter dans l'app à la place de MockSleepRepository.
} | ||
|
||
emit(SleepSequenceHistoryEditInProgress( | ||
_sleepHistoryRepository.getSleepSequences(), _selectedSequences)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'imagine que ce sera async. Il faudrait probablement utiliser Future ISleepHistoryRepository::getSleepSequences(); J'imagine que les ajouts et suppression de la persistence retourneront aussi un Future.
It is now possible to select night for deletion.