-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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(dashboard,types): split damaged activity from received #8859
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
|
c4b106d
to
5fbd329
Compare
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.
LGTM - nice!
> | ||
<div className="flex flex-col"> | ||
<Badge size="2xsmall" className="mb-2" rounded="full"> | ||
#{orderReturn.id.replace("return_", "")} |
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.
suggestion: can we keep the same number of characters consistent across the page so users can easily identifies the same return
{t(`orders.returns.itemReceived`)} | ||
</span> | ||
{" · "} | ||
{formatDate(orderReturn.received_at)} |
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.
suggestion: add fallback to "-" if for some reason this is null
"damagedItemReceived": "Damaged items received", | ||
"damagedItemsReturned": "{{quantity}}x Damaged items returned", |
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.
suggestion/nit: can "Damaged" be lower first letter on L:932, it looks a bit off next to the return received line
what:
RESOLVES CC-363