-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEN-644 - refact: remove references for offer.price field over offer.…
…cost (#2684) ## Describe your changes * Update codebase to rely on `ProductOffer.cost` over `ProductOffer.price` * General UI updates that makes usage of gross/net prices; * Update tracking so it makes usage of gross/net prices; ### _Add to cart notification_ - Showing net price ![Screenshot 2023-07-05 at 11 17 42](https://github.com/HedvigInsurance/racoon/assets/19200662/d2c675a3-f97d-4afc-947f-e1eaadbb2d5e) ![notify-product-was-added](https://github.com/HedvigInsurance/racoon/assets/19200662/16fe7a37-6ff1-47ce-9ebf-90faa53b1579) ___ ### _Product Tier Selector_ - Showing net price ![Screenshot 2023-07-05 at 11 26 21](https://github.com/HedvigInsurance/racoon/assets/19200662/edad85ef-7097-4f7f-bb76-e0f58af897d3) ___ ### [WIP] Lacking a better image - _Deductible Selector_ - Showing net price ![deductable-tier-selector](https://github.com/HedvigInsurance/racoon/assets/19200662/17ff63c1-9a21-4600-a17b-0678b874b638) ___ ### _Cart Inventory_ - Showing gross/net prices when applicable - only gross otherwise (For entries and recommendations) ![cart-inventory](https://github.com/HedvigInsurance/racoon/assets/19200662/56ca14fa-496f-449e-aa9b-77e848c9152a) ## Justify why they are needed `ProductOffer.price` is deprecated. We should use `ProductOffer.cost` instead.
- Loading branch information
1 parent
2cadb2a
commit 689b355
Showing
13 changed files
with
55 additions
and
30 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
4 changes: 2 additions & 2 deletions
4
apps/store/src/components/CartInventory/CartInventory.types.ts
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
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
689b355
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.
Successfully deployed to the following URLs:
onboarding – ./apps/onboarding
racoon-onboarding.vercel.app
onboarding-hedvig.vercel.app
onboarding-git-main-hedvig.vercel.app
689b355
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.
Successfully deployed to the following URLs:
hedvig-dot-com – ./apps/store
new.hedvig.com
hedvig-dot-com-hedvig.vercel.app
hedvig.com
www.hedvig.com
www.dev.hedvigit.com
racoon-store.vercel.app
racoon-store-staging.vercel.app
www.new.hedvig.com
www.store.dev.hedvigit.com
store.dev.hedvigit.com
hedvig-dot-com-git-main-hedvig.vercel.app