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(core-flows,dashboard,types,fulfillment,medusa): uses requires shipping throughout lifecycle #9170

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

riqwan
Copy link
Contributor

@riqwan riqwan commented Sep 18, 2024

what:

  • uses requires shipping throughout lifecycle
test.mp4

Copy link

changeset-bot bot commented Sep 18, 2024

⚠️ No Changeset found

Latest commit: b09646b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Sep 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 24, 2024 8:13am
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Sep 24, 2024 8:13am
api-reference-v2 ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 8:13am
docs-ui ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 8:13am
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 8:13am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 8:13am
resources-docs ⬜️ Ignored (Inspect) Visit Preview Sep 24, 2024 8:13am

Copy link
Contributor

@fPolic fPolic left a comment

Choose a reason for hiding this comment

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

Nice work - LGTM!

Comment on lines 32 to 33
const [searchParams] = useSearchParams()
const requiresShipping = searchParams.get("requires_shipping")
Copy link
Contributor

Choose a reason for hiding this comment

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

nit(non-blocking): usually we would read this in the page container and send it as a boolean prop to the form

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you elaborate on this one? Page container as in the route container?

Copy link
Contributor

Choose a reason for hiding this comment

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

yes, for this case in: /dashboard/src/routes/orders/order-create-fulfillment/order-create-fulfillments.tsx

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we attend to this before we merge?

Copy link
Contributor

Choose a reason for hiding this comment

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

@riqwan, just pinging here in case you missed it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, missed this one! Will patch it up

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done! 🍻

packages/admin/dashboard/src/lib/rma.ts Show resolved Hide resolved
@olivermrbl olivermrbl requested a review from fPolic September 24, 2024 08:24
@kodiakhq kodiakhq bot merged commit 69f6645 into develop Sep 24, 2024
23 checks passed
@kodiakhq kodiakhq bot deleted the feat/requires-shipping branch September 24, 2024 08:26
panalgin pushed a commit to vennyx-org/medusa that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants