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

Add shipments type to ResourceLineItem component #445

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

pfferrari
Copy link
Contributor

@pfferrari pfferrari commented Nov 27, 2023

What I did

  • I added new shipments type to ResourceLineItem component.
  • The new type is already compatible with shipments.stock_transfers relationship.
ResourceLineItem with shipments

Checklist

  • Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
  • Make sure to add/update documentation regarding your changes.
  • You are NOT deprecating/removing a feature.

@pfferrari pfferrari added the enhancement New feature or request label Nov 27, 2023
@pfferrari pfferrari self-assigned this Nov 27, 2023
Copy link

netlify bot commented Nov 27, 2023

Deploy Preview for commercelayer-app-elements ready!

Name Link
🔨 Latest commit 53a4f10
🔍 Latest deploy log https://app.netlify.com/sites/commercelayer-app-elements/deploys/6564c23cad7a1900082f9ae5
😎 Deploy Preview https://deploy-preview-445--commercelayer-app-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pfferrari pfferrari force-pushed the add-shipment-resourcelistitem branch from 09e67a2 to 53a4f10 Compare November 27, 2023 16:22
Comment on lines +5 to +10
export interface ShipmentDisplayStatus extends DisplayStatus {
label: string
icon: IconProps['name']
color: IconProps['background']
task?: string
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably there is no need to re-define the props since you are extending them from DisplayStatus

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right note.. I'd like to share the same question to you all because we made the same thing for all other dictionaries.. We should review them all..

@pfferrari pfferrari merged commit 78a50cf into main Nov 28, 2023
4 checks passed
@pfferrari pfferrari deleted the add-shipment-resourcelistitem branch November 28, 2023 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants