-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.11.2 - Adding shimmer effect (#206)
* adding shimmer effect when loading search results * adding shimmer to the board game images * fixing plays history not refreshing automatically * small fixes for the details page if general info is null * Adding health check to the search API * adding timout search timeout and showing an appropriate error for it
- Loading branch information
Showing
18 changed files
with
649 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 3 additions & 13 deletions
16
board_games_companion/lib/pages/plays/plays_page_visual_states.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
import 'package:board_games_companion/pages/plays/historical_playthrough.dart'; | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
import '../../common/enums/plays_tab.dart'; | ||
import '../../models/hive/board_game_details.dart'; | ||
|
||
part 'plays_page_visual_states.freezed.dart'; | ||
|
||
@freezed | ||
class PlaysPageVisualState with _$PlaysPageVisualState { | ||
const factory PlaysPageVisualState.history( | ||
PlaysTab playsTab, | ||
List<HistoricalPlaythrough> historicalPlaythroughs, | ||
) = _History; | ||
const factory PlaysPageVisualState.statistics(PlaysTab playsTab) = _Statistics; | ||
const factory PlaysPageVisualState.selectGame( | ||
PlaysTab playsTab, | ||
List<BoardGameDetails> shuffledBoardGames, | ||
) = _SelectGame; | ||
const factory PlaysPageVisualState.history() = _History; | ||
const factory PlaysPageVisualState.statistics() = _Statistics; | ||
const factory PlaysPageVisualState.selectGame() = _SelectGame; | ||
} |
Oops, something went wrong.