Skip to content
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

fix(tickets): Fix multiple CoffeeCards sharing the same product id #471

Merged
merged 7 commits into from
May 27, 2023

Conversation

marfavi
Copy link
Member

@marfavi marfavi commented May 23, 2023

CoffeeCards are now grouped by id instead of name; if a group has tickets with different names, their names will be joined

Closes #466

@marfavi marfavi requested a review from fremartini May 23, 2023 17:21
@ghost
Copy link

ghost commented May 23, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@marfavi marfavi marked this pull request as draft May 23, 2023 17:24
@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #471 (c31ae7c) into develop (2205463) will increase coverage by 0.56%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop     #471      +/-   ##
===========================================
+ Coverage    67.20%   67.76%   +0.56%     
===========================================
  Files          101      101              
  Lines         1122     1123       +1     
===========================================
+ Hits           754      761       +7     
+ Misses         368      362       -6     
Flag Coverage Δ
unittests 67.76% <100.00%> (+0.56%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...et/data/datasources/ticket_remote_data_source.dart 85.71% <100.00%> (+20.71%) ⬆️

... and 2 files with indirect coverage changes

@marfavi marfavi marked this pull request as ready for review May 23, 2023 18:03
Copy link
Member

@fremartini fremartini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NO tests

@marfavi marfavi changed the title Make hero tags dependent both product id and name Group tickets by id instead of name; join names when multiple tickets share the same id May 23, 2023
@marfavi marfavi requested a review from fremartini May 23, 2023 20:33
@marfavi marfavi changed the title Group tickets by id instead of name; join names when multiple tickets share the same id fix(tickets): Fix multiple CoffeeCards sharing the same product id May 24, 2023
@marfavi marfavi enabled auto-merge (squash) May 24, 2023 15:52
@marfavi marfavi requested a review from fremartini May 26, 2023 22:44
@marfavi marfavi merged commit 2b4d978 into develop May 27, 2023
@marfavi marfavi deleted the fix/hero-tag branch May 27, 2023 06:42
@marfavi marfavi mentioned this pull request May 28, 2023
marfavi added a commit that referenced this pull request May 30, 2023
# New features
* show status on receipts (#468)
* show timestamp on receipt list entry (#478)

# Fixes
* Fix showing raw html in error messages (#463)
* fix(tickets): Fix multiple `CoffeeCard`s sharing the same product id (#471)
* fix: Avoid type casting 204 return types from API (#479)
* fix(receipts): Remove purchase receipt view & refactor payment status display (#478)
* Added awaits for useTicket and FetchReceipts (#464)

# Code refactoring and added tests
* test(utils): Improve String.capitalize() and add tests (#472)
* Refactor and test Leaderboard (#443)
* Refactor payment (#465)
* Refactor environment logic (#469)
* refactor(settings): tidy up `settings_page.dart` (#473)
* Restructure settings (#481)
* Refactor and test login (#483)
* refactor and test voucher (#480)
* Refactor and test register (#486)
* Refactor and test products (#482)

# Chores
* chore: update Bloc packages (#475)
* chore: bump flutter required version to 3.10.2 (#476)
* Migrate to Dart 3 and Flutter 3.10.0 (#452)

# Developer related
* migrate to fpdart (#457)
* Install the CodeSee workflow (#467)
* Update README.md to show coverage on develop branch (#484)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Hero Widget' Exception is thrown when using ticket
2 participants