Skip to content

chore(EMI-3293): unify order offer summary components#17423

Merged
dariakoko merged 5 commits into
review-app-counterofferfrom
daria/EMI-3293/unify-order-offer-summary-components
Jul 6, 2026
Merged

chore(EMI-3293): unify order offer summary components#17423
dariakoko merged 5 commits into
review-app-counterofferfrom
daria/EMI-3293/unify-order-offer-summary-components

Conversation

@dariakoko

@dariakoko dariakoko commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The type of this PR is: Chore

This PR solves EMI-3293

Description

Extracts the shared order-summary card (artwork row + pricing breakdown + buyer-guarantee message) into a single reusable Order2OrderSummary component, consumed by both Order2ReviewStep (checkout) and Order2RespondSummary (respond).

The components on Respond and Checkout routes have identical structure (TODO: in another PR add missing parts to the component on Respond (offer exp data, Submit cta)

Respond Checkout
image image

@dariakoko dariakoko requested a review from a team July 2, 2026 12:50
@dariakoko dariakoko self-assigned this Jul 2, 2026
@dariakoko dariakoko changed the base branch from main to review-app-counteroffer July 2, 2026 13:28
@relativeci

relativeci Bot commented Jul 2, 2026

Copy link
Copy Markdown

#9092 Bundle Size — 8.96MiB (+0.2%).

f4ba87e(current) vs aa73561 main#9083(baseline)

Warning

Bundle contains 29 duplicate packages – View duplicate packages

Bundle metrics  Change 7 changes Regression 2 regressions
                 Current
#9092
     Baseline
#9083
Regression  Initial JS 2.92MiB(+0.12%) 2.91MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 97.44%
Change  Chunks 112(+0.9%) 111
Change  Assets 115(+0.88%) 114
Change  Modules 5645(+0.27%) 5630
Regression  Duplicate Modules 663(+1.07%) 656
Change  Duplicate Code 4.95%(+0.2%) 4.94%
No change  Packages 248 248
No change  Duplicate Packages 28 28
Bundle size by type  Change 2 changes Regression 2 regressions
                 Current
#9092
     Baseline
#9083
Regression  JS 8.73MiB (+0.17%) 8.71MiB
Regression  Other 236.63KiB (+1.06%) 234.14KiB

Bundle analysis reportBranch daria/EMI-3293/unify-order-offer...Project dashboard


Generated by RelativeCIDocumentationReport issue

artwork: Order2OrderSummaryArtwork
isPricingLoading?: boolean
/** Extra line rendered within the artwork block, below the list price. */
artworkExtraContent?: React.ReactNode

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

#suggestion: might be fine to be explicit and call this limitedTimeOffer? or something.

</Text>
<Text overflowEllipsis variant="sm" color="mono60" textAlign="left">
{[artworkTitle, date].join(", ")}
</Text>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This reminds me that we are missing the gallery's name in the summary (which is displayed in the details page summary). Let's use this opportunity to add it back? I'll see if we created a ticket for it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hmmm I actually dont see it in the design for either the order or the counteroffer
I'll catchup with Viv and address in a separate PR if needed

@dariakoko dariakoko merged commit 003a0b4 into review-app-counteroffer Jul 6, 2026
12 checks passed
@dariakoko dariakoko deleted the daria/EMI-3293/unify-order-offer-summary-components branch July 6, 2026 14:48
dariakoko added a commit that referenced this pull request Jul 13, 2026
* feat(EMI-3172): create counteroffer step - offer details (#17386)

* feat: add respond to offer component, draft

* feat: add price breakdown, adjust text sizes

* chore: cleanup

* feat: add counter offer amount text input

* chore: cleanup

* feat: animate the OfferDetails component

* feat: collapce the offer component on submit

* feat: handle submit

* chore: adjust styling

* chore: remove mutation as its our of scope, will be done in a different ticket

* chore: add tests

* fix: fix smoke test (not related to the pr)

* chore: address review comments

* chore: ui changes

* chore: tests

* chore

* feat(EMI-3292): implement address shipping and payment components (#17400)

* feat: refactor address, shipping, payment collapsed states and add them to the order screen

* chore: add tests

* chore: adjust tests

* chore

* feat(EMI-3174): create offer history component (#17405)

* feat: add order history table

* feat: adjust styling

* chore: add tests

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* chore: address review comments

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* chore(EMI-3293): unify order offer summary components (#17423)

* chore: refactor Order2RespondSummary and Order2ReviewStep components, create Order2OrderSummary

* chore: refactor

* chore: remane title to header

* chore: address review comments

* feat: add offer exp component (#17437)

* feat(EMI-3288): submit counteroffer step (#17442)

* feat: add continue to review offer

* feat: add RespondCompletedView state

* chore: add a todo comment for edit cta

* chore: adjust the copy

* chore: cleanup the types

* feat: add create counter offer

* feat: display gallery offer after discarding buyer counter offer

* chore: refactor

* chore: pre-fill the counter offer amount on page refresh"

* feat: submit counter offer, accept, decline

* fix: add hasCurrentCounterofferDraft to ensure correct data is displayed on repeated counter offer

* chore: adjust comments

* chore: refactor, cleanup

* chore(EMI-3282): counteroffer tracking (#17444)

* chore: add toggledOfferHistory and clickedCounterOfferOption tracking

* chore: add clickedOrderProgression call

* refactor: extract select action

* fix: merge conflict

* chore: add clickedOrderProgression and submittedCounterOffer on submit

* feat: add terms and conditions link (#17453)

* fix: update total for incomplete offer for history to say N/A (#17466)

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Rachel Quartararo <50849237+rquartararo@users.noreply.github.com>
Co-authored-by: Oksana <oksana@artsymail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants