-
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.
* disabling rbac on the kv as an access policy * trying out creating a KV with access policies only * retrying creating the kv entries * fixing unit tests and editorconfig * adding code to retrieve key vault config in the search api * fixing integration tests * fixing a typo * fixing queue's name kv value * fixing insufficient premissions for KV * creating new cache queue function * Setting up bare bones for the cache queue worker function * adding console logs * progress on processing the board games to cache * parsing board game XML details * Moving re-usable models into the Core project and using XML serialization attributes for the search results * adding mongo service to the update cache function * adding mongo upsert * mapping bgg details to domain model * adding logging * progress on getting game prices * adding prices to the board game models * updating log level on errors logge and ensuring the prices doesn't throw exceptions * returning prices from the search API endpoint * refactoring test projects * adding board game oracle unit tests * renaming and moving consts * adding update board game cache function tests * updating function infra and cache function build and deploy pipeline * updating build pipeline * update build pipeline reference * fixing project name * updating directory name for functions project * fixing yaml * updating func app name * adding download step * fixing syntax * another try at fixing pipeline * another try * final fix * now? * path fix * app settings fix * adding unit tests for updating cache * adding test step * excluding models from the code coverage * adding more tests * fixing incorrect path * excluding all UnitTests * adding more exclusions to test coverage * fixing broken docker image * trying out different path * another pipeliune test * fixing condition * small changes * adding prices model to the app * progress on showing prices in the app * progress on showing prices in the search results * adding azure arch uml file * adding arch diagrams * updating sequence diagram * updating prices display styles on the search games screen * adding mocks for the home view model * adding first home view model test * begnning of reordering of scores * TODO * adding sorting of the player scores * attempt at moving scores around correcty * Adding shimmer load to the hot board games instead of a spinner * completing the logic to reorder player scores * adding tiebreaker models and test * introducing visual states and refactoring of the code * adding readme file about purging application insights * updating readme * fixing an issue with player's missing name when importing plays * fixing an issue with importing collection removing existing settings and prices from the saved board game * fixing imports * trying out docker hub as image registry * adding login step to be more explicit * updating repo * updating image registry to docker hub * fixing incorrect script execution * updating prod step to use docker hub * removing quotes * using the correct service connection for prod * removing acr from the shared infra * disabling app performance counters for application insights * detecting tied scores * tie breaker instruction and showing place * adding animations package and handling tie states * ensuring the places are reflected when reording * fixing ordering and refreshing on the screen * updating tiebrekears logic * fixing host.json * showing all of the historical playthroughs, even if a game is no longer in the collection * removing line of code that causes high storate transaction numbers and increases cost * adding a comment * downgrading storage to v1 * disabling AzureWebJobsDashboard * using runFromPackage deployment * updating function packages to latest * excluding date time service from coverage * adding test to bump up the coverage * adding missed attribution * limiting the amount of analytics captured by AI * tie breaker work continuation * adding a TODO * handling shared place logic * updating last winner logic * fixing issue with scores not updating after state change * showing multiple winners on the plays history page * fixing top 5 scores * removing unnecessary code * fixing logging a game in the past
- Loading branch information
Showing
82 changed files
with
3,271 additions
and
576 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
21 changes: 21 additions & 0 deletions
21
backend/tests/BGC.Core.UnitTests/Extensions/RegionDtoExtensionsTests.cs
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using BGC.Core.Extensions; | ||
using BGC.Core.Models.Dtos.BoardGameOracle; | ||
|
||
namespace BGC.Core.UnitTests.Extensions | ||
{ | ||
public class RegionDtoExtensionsTests | ||
{ | ||
[Theory] | ||
[InlineData(RegionDto.Australia, "au")] | ||
[InlineData(RegionDto.Canada, "ca")] | ||
[InlineData(RegionDto.UnitedStates, "us")] | ||
[InlineData(RegionDto.UnitedKingdom, "gb")] | ||
[InlineData(RegionDto.NewZealand, "nz")] | ||
public void ToAbbreviation_RegionDto_ConvertsToExpectedValue(RegionDto regionDto, string expectedAbbreviation) | ||
{ | ||
var abbreviation = regionDto.ToAbbreviation(); | ||
|
||
abbreviation.Should().Be(expectedAbbreviation); | ||
} | ||
} | ||
} |
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
24 changes: 21 additions & 3 deletions
24
board_games_companion/lib/extensions/player_score_extensions.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
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
Oops, something went wrong.