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(admin-ui): Inventory and order UI fixes and tweaks #3461

Merged
merged 9 commits into from
Mar 14, 2023

Conversation

StephixOne
Copy link
Contributor

This PR aims to tackle a few different small fixes and tweaks related to inventory and order details UI, in connection to multiwarehousing features.

  • Successfully deleting an allocation should now only present one toast
  • Updated copy in allocation editing toasts
  • Inventory table search should now be the same height as the location selection trigger
  • Inventory table rows should now correctly visually indicate that they are clickable
  • Removed Filters from Inventory table for the time being
  • Added actions to Inventory table rows for adjusting availability (same action as clicking the row, which remains) and going to the product detail page for the inventory item

Resolves CORE-1229, CORE-1228, CORE-1227, CORE-1233, CORE-1230

@StephixOne StephixOne requested a review from a team as a code owner March 13, 2023 13:03
@changeset-bot
Copy link

changeset-bot bot commented Mar 13, 2023

🦋 Changeset detected

Latest commit: 52912c5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@medusajs/admin-ui Patch

Not sure what this means? Click here to learn what changesets are.

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

@vercel
Copy link

vercel bot commented Mar 13, 2023

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

Name Status Preview Comments Updated
medusa-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 14, 2023 at 9:51AM (UTC)

Copy link
Collaborator

@srindom srindom left a comment

Choose a reason for hiding this comment

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

LGTM! Great work.

@kasperkristensen - can you take a look at UI before merging :)

Copy link
Contributor

@kasperkristensen kasperkristensen left a comment

Choose a reason for hiding this comment

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

LGTM!

close()
},
onError: () => {
notification("Errors", "Failed to deleted ", "success")
notification("Errors", "Failed to delete the allocation ", "error")
Copy link
Contributor

Choose a reason for hiding this comment

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

very-nit(non-blocking): Should the title not be "Error" instead of "Errors", or even better a more descriptive title, like what you have done for the onSuccess.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed "Errors" to "Error", but as far as I can tell, the "Error" title is very much standard in our codebase so far, I don't know if I'd want to have just the one be more verbose.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's revisit our error messages some other time and merge this now thanks! 👍

@kodiakhq kodiakhq bot merged commit 478903b into develop Mar 14, 2023
@kodiakhq kodiakhq bot deleted the fix/inventory-ui-fixes branch March 14, 2023 09:53
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