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

FEAT: ORV2-2064 shopping cart header icon #1248

Merged
merged 21 commits into from
Mar 13, 2024

Conversation

erikataot
Copy link
Contributor

@erikataot erikataot commented Mar 6, 2024

Description

  • Added a shopping cart component to the header area hidden behind SHOPPING_CART feature flag
  • Don't have a route destination (yet) for the shopping cart
  • Has ability to display a badge count when we're able to query shopping cart items
  • To see this change, update your local database and add the SHOPPING_CART feature flag
  • NB: make sure you restart your vehicles API server to pick up the feature flag

image

image

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Further comments


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are promoted to:


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are promoted to:

Copy link
Collaborator

@praju-aot praju-aot left a comment

Choose a reason for hiding this comment

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

Kindly add db scripts for feature flag

Copy link
Collaborator

@zgong-gov zgong-gov left a comment

Choose a reason for hiding this comment

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

FE looks good

Copy link

Quality Gate Failed Quality Gate failed for 'onroutebc frontend'

Failed conditions
33.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

Copy link
Collaborator

@praju-aot praju-aot left a comment

Choose a reason for hiding this comment

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

Approved. Hope it’s being added to sample data at some point

@erikataot erikataot merged commit 25742e4 into main Mar 13, 2024
16 of 17 checks passed
@erikataot erikataot deleted the ORV2-2064-shopping-cart-header-icon branch March 13, 2024 00:45
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.

4 participants