Remove feedback messages to simplify design canvas layout
- Remove submission status message display - Remove approval status messages (pending/approved/rejected) - Keep layout cleaner and more focused on design controls Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Haiku 4.5
parent
5c4774be84
commit
74f9db6501
@@ -1435,31 +1435,6 @@ export default function DesignCanvas({ product }: { product: ProductDTO }) {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
<div className="flex flex-col gap-3">
|
<div className="flex flex-col gap-3">
|
||||||
{submissionMessage && (
|
|
||||||
<p className={`text-sm px-4 py-3 rounded border ${
|
|
||||||
submissionMessage.startsWith('✓')
|
|
||||||
? 'text-green-700 bg-green-50 border-green-200'
|
|
||||||
: 'text-splash-pink bg-red-50 border-splash-pink/30'
|
|
||||||
}`}>
|
|
||||||
{submissionMessage}
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
{approvalStatus === 'PENDING' && !submissionMessage && (
|
|
||||||
<p className="text-sm text-orange-600 bg-orange-50 border border-orange-200 px-4 py-3 rounded">
|
|
||||||
⏳ Your design is pending admin approval. You'll receive an email when it's ready to add to your bag.
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
{approvalStatus === 'APPROVED' && (
|
|
||||||
<p className="text-sm text-pine bg-green-50 border border-green-200 px-4 py-3 rounded">
|
|
||||||
✓ Your design has been approved! You can now add it to your bag.
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
{approvalStatus === 'REJECTED' && (
|
|
||||||
<p className="text-sm text-splash-pink bg-red-50 border border-splash-pink/30 px-4 py-3 rounded">
|
|
||||||
Your design needs changes. Check your messages for feedback.
|
|
||||||
</p>
|
|
||||||
)}
|
|
||||||
|
|
||||||
<div className="flex items-center gap-4">
|
<div className="flex items-center gap-4">
|
||||||
<div className="flex items-center border border-ink">
|
<div className="flex items-center border border-ink">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user