Skip to content

feat: version 2026 03 27 - #3251

Merged
eduardoformiga merged 131 commits into
mainfrom
release/version-2026-03-27
Mar 27, 2026
Merged

eduardoformiga merged 131 commits into
mainfrom
release/version-2026-03-27

Conversation

@eduardoformiga

Copy link
Copy Markdown
Member

What's the purpose of this pull request?

How it works?

How to test it?

Starters Deploy Preview

References

Checklist

You may erase this after checking them all 😉

PR Title and Commit Messages

  • PR title and commit messages follow the Conventional Commits specification
    • Available prefixes: feat, fix, chore, docs, style, refactor, ci and test

PR Description

  • Added a label according to the PR goal - breaking change, bug, contributing, performance, documentation..

Dependencies

  • Committed the pnpm-lock.yaml file when there were changes to the packages

Documentation

  • PR description
  • For documentation changes, ping @Mariana-Caetano to review and update (Or submit a doc request)

lariciamota and others added 30 commits October 30, 2025 09:26
## What's the purpose of this pull request?

Build our default image loader.

## How it works?

- When the FastStore image component is used, the `faststoreLoader` is
used.
- When the Next image component is used directly, the
`customImageLoader` is used.
- Both have the same behavior when handling images from VTEX (from the
file manager/cms and product images) -- they add to the URL the info
regarding size, quality and aspect, since those VTEX services already
handles optimizations.
- The difference between those loaders is regarding external images --
the one used for Next images uses the Next optimizations, and the
FastStore one doesn't.

It won't be necessary to use a feature flag like
`enableVtexAssetsLoader`.

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

PR: vtex-sites/faststoreqa.store#881

## References

- [Jira task](https://vtex-dev.atlassian.net/browse/SFS-2878)
- [Slack
thread](https://vtex.slack.com/archives/C03L3CRCDC4/p1761334946034969)
## What's the purpose of this pull request?

Atts.
## What's the purpose of this pull request?

This PR fixes a visual bug in the TextareaField component where long
text would appear underneath the floating label during scroll, making it
difficult to read. The issue was identified during the review of [PR
#2705](#2705 (review)).

Additionally, comprehensive Storybook documentation was added to
showcase all TextareaField variations and use cases.


https://github.com/user-attachments/assets/a86cd4df-e286-40f4-82b0-271a8bc66a26




## How it works?

**Bug Fix:**
- Added `--fs-textarea-field-label-background-color` CSS variable to
`packages/ui/src/components/molecules/TextareaField/styles.scss`
- Set default value to neutral-0 (white) to prevent text from showing
through the label
- When the textarea content is long and the user scrolls, the label now
has an opaque background, preventing text overlap

## How to test it?

**Test the scroll bug fix:**

From the project root:
```bash
pnpm --filter "@faststore/storybook" dev
```

Or navigate to the storybook package:
```bash
cd packages/storybook
pnpm dev
```

Then:
1. Open http://localhost:6006 in your browser
2. Navigate to **"TextareaField"** → **"LargeText"** story
3. Scroll inside the textarea content
4. Verify that the text no longer appears underneath the label

## References
- **Related Issue:** [PR #2705 - TextareaField label overlap issue
identified](#2705 (review))
- **Task:** [SFS-2385 ](https://vtex-dev.atlassian.net/browse/SFS-2385)
## What's the purpose of this pull request?

Revert changes from 
- #2988
since the approach to filter shopper changes to use text field instead
of selected filter in the drawer.

## details

remove purchaseAgentId filter and related components from
`MyAccountListOrders`.

This update removes the purchaseAgentId filter and its associated
components from the MyAccountListOrders section. The changes include:
- Deleting the MyAccountFilterFacetPlacedBy component and its styles.
- Adjusting the MyAccountListOrders and MyAccountSelectedTags components
to eliminate references to purchaseAgentId.
- Cleaning up related styles and imports to streamline the codebase.

These modifications aim to simplify the order filtering process and
improve overall maintainability.
## What's the purpose of this pull request?

From a current Next.js's known issue
([discussion#44013](vercel/next.js#44013)),
these changes aim to add an experimental custom hook to handle scroll
restoration when navigating back from PDPs to PLPs.


https://github.com/user-attachments/assets/9a452081-4c65-4a83-8c16-9775f97d226d

Along with this experimental hook, some adjustments needed to be made to
correct the behavior of related components, such as `Sentinel`.

While the Next.js experimental `scrollRestoration` flag is not working
as it should, we are proposing this FastStore's experimental scroll
restoration alternative.

## How it works?

While navigating through PLPs and loading more pages, when users
navigate to a PDP and navigate back the scroll should be restored to the
last position before the navigation.

### Starters Deploy Preview

vtex-sites/faststoreqa.store#878

## References

#2054
## What's the purpose of this pull request?

Merge the changes from main
## What's the purpose of this pull request?

By using the direction property users will be able to use RTL or LTR
layouts.
## What's the purpose of this pull request?

With these changes, if merchants remove the footer logo the entire
footer component will not be hid anymore, it will throw a console error
but the component should be displayed with no logo.
#3077)

## What's the purpose of this pull request?

This PR fixes the `border-radius` of the Slider thumb in Firefox. The
current CSS rule for Mozilla uses an inexistent variable, making the
browser render a square instead of a circle:

<img width="1028" height="181" alt="image"
src="https://github.com/user-attachments/assets/50c08d79-a6a9-4d31-b2e7-5ef9e287080f"
/>

## How it works?

The `--fs-slider-thumb-radius` variable is replaced by
`--fs-slider-thumb-border-radius`, the one that is defined in the
default thumb variables.

## How to test it?

- Use the `Local Install Instructions` from the [CodeSandbox
CI](https://ci.codesandbox.io/status/vtex/faststore/pr/3077) to add this
version in the `package.json` of a store.
- Import the `Slider` atom (and styles) in a component following the
docs: https://developers.vtex.com/docs/guides/faststore/atoms-slider
- Run the store in development mode and browse it in Mozilla Firefox.

### Starters Deploy Preview

I'm unable to generate a preview link but here's a screenshot from
localhost:

<img width="1287" height="617" alt="image"
src="https://github.com/user-attachments/assets/f0a5a5e9-d657-41db-9415-303b5d17fefd"
/>

## Checklist

**PR Title and Commit Messages**

- [x] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..
_(No permissions. It's a bug though.)_

**Dependencies**

- [N/A] Committed the `pnpm-lock.yaml` file when there were changes to
the packages

**Documentation**

- [x] PR description
- [N/A] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)
)

## What's the purpose of this pull request?

Adds a new "Pending Approval" filter to the MyAccount orders page,
allowing users to quickly filter orders that require their approval.

## How it works?

- New toggle filter: Added "Pending Approval" as the first filter option
in the orders filter slider
- Toggle switch: Users can turn on/off the filter to show only pending
approval orders
- URL integration: Filter state is reflected in the URL
(?pendingApproval=true)
- Selected tag: When active, shows "Pending my approval" tag below the
search bar

## How to test it?

- Go to /account/orders
- Open filter slider and verify "Pending Approval" is the first option
- Toggle the switch and click "Apply"
- Check URL - should include ?pendingApproval=true
- Verify tag appears - "Pending my approval" tag should show below
search bar
- Test removal - click "×" on tag or "Clear All" to remove filter
- Test direct URL - navigate to /account/orders?pendingApproval=true and
verify filter is active

## Starter deploy preview

vtex-sites/b2bfaststoredev.store#358

## References

[SFS-2618](https://vtex-dev.atlassian.net/browse/SFS-2618)

| List | Filter |
| - | - |
|
![image](https://github.com/user-attachments/assets/70a02298-4461-4b21-926d-8d6b754a78bc)
|
![image](https://github.com/user-attachments/assets/2d6afc76-7153-473a-b839-c141e4f0ca1f)
|

[SFS-2618]:

https://vtex-dev.atlassian.net/browse/SFS-2618?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

[SFS-2618]:
https://vtex-dev.atlassian.net/browse/SFS-2618?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: Artur Santiago <[email protected]>
)

## What's the purpose of this pull request?

Fix a bug that occurs when regionalized and `isSessionReady` is sent in
the' validateSession' and' validateCart' mutations.

## How does it work?

It removes the `isSessionReady` from the session sent to the `setRegion`
method.

<img width="1909" height="916" alt="Screenshot 2025-11-11 at 16 22 55"
src="https://github.com/user-attachments/assets/468cc987-a2ee-432f-b306-399bfd32e891"
/>
## What's the purpose of this pull request?

This PR aims to fix the build in the dev branch.
## What's the purpose of this pull request?

With these changes, a loading skeleton will be displayed when product
price is still being validated, preventing product price flickering on
PDP.

## How to test it?

### Starters Deploy Preview
## What's the purpose of this pull request?

Allow svg files in public folder, avoid it getting deleted/overwritten
when generating .faststore

## How it works?

Add it to the allow list.

## How to test it?

Create a svg file or modify an existing svg file, it should be copied
correctly to the `/.faststore/public` when running the build command.
You can use this PR to test:
vtex-sites/faststoreqa.store#887, I've added a
new svg file and changed an existing one, before it was being
deleted/overwritten.
<img width="287" height="420" alt="Screenshot 2025-11-20 at 09 57 19"
src="https://github.com/user-attachments/assets/7b01d806-bdf9-4c3b-a385-32ea11ab2518"
/>

Nothing else should change.

### Starters Deploy Preview

- https://storeframework-cm652ufll028lmgv665a6xv0g-h0max2o2h.b.vtex.app/

## References
- [Jira task](https://vtex-dev.atlassian.net/browse/SO-559)
## What's the purpose of this pull request?

This PR considers the session when deducing the changes to the orderForm
done externally.

## What it aims to solve

The current FastStore shows a competing nature when dealing with the
same cart on two different devices (E.g. 2 browsers, Chrome and
Firefox).

### How to reproduce the problem

- Open your store in Chrome and Firefox
- Make note of the checkout.vtex.com cookie value of Chrome and view the
content of the orderForm using a client like Postman
- Paste the value of the cookie to the checkout cookie of Firefox
- Now you should have the same orderForm in Chrome, Firefox and Postman
- Add an item to the cart from Chrome
- Without going to Firefox, verify that the item is present in the
orderForm using Postman
- Now go to Firefox, but you will not see the item (Expected: the item
should be present in the cart, Actual: the browser cart in Firefox will
override the items of the real orderForm object)
- Open Postman, and you will notice that the item is not present in the
orderForm
- Now go back to Chrome, and it will add back the item to the orderForm
- Open Postman, and you will notice that the item is present in the
orderForm

## How it works?

We include the session ID to the MD5 hash, so that when the store is
used in a different browser with the same orderForm, the two hashes are
different. The two browsers should respect the changes performed by each
other.

## How to test it?

- First verify that the existing behavior of the mutation `validateCart`
is as expected.
- Follow the steps under **How to reproduce the problem**, and verify
that the expected behavior is observed.

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Title and Commit Messages**

- [ ] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)
## What's the purpose of this pull request?

This PR aims to fix the source code to show `undefined` `searchTerm`.
<img width="916" height="811" alt="Screenshot 2025-11-20 at 19 01 42"
src="https://github.com/user-attachments/assets/b07e44a4-9e37-45e3-9712-6ab19b1af758"
/>


## How it works?

1. The source code can't access the searchTerm from the build time;
thus, this page uses the default
<img width="1899" height="656" alt="Screenshot 2025-11-20 at 18 42 43"
src="https://github.com/user-attachments/assets/697d1b4a-e5cb-4325-a5a1-3ba5d429b7b3"
/>

2. The final code (runtime code after hydration, you can see the element
tab in the devtools), can access the dynamic search term and uses it.
<img width="1570" height="1049" alt="Screenshot 2025-11-20 at 18 42 05"
src="https://github.com/user-attachments/assets/04e0a613-950f-4416-9200-dcc239326b41"
/>

## How to test it?

You can run `pnpm build && pnpm serve` and view the source code
(right-click> Source Code). Additionally, you can view the final code
using the Element tab in the DevTools.
eduardoformiga and others added 21 commits February 24, 2026 12:44
## What's the purpose of this pull request?

<!--- Considering the context, what is the problem we'll solve? Where in
VTEX's big picture our issue fits in? Write a tweet about the context
and the problem itself. --->

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
Provide details about what you have implemented and screenshots if
applicable. --->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Title and Commit Messages**

- [ ] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Released version 3.97.0 and 3.97.1 updates across multiple packages
with updated dependency specifications
  * Updated changelog entries and documentation to reflect new versions

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## What's the purpose of this pull request?
- Extends CodeRabbit path instructions to include .tsx
(packages/**/*.{ts,tsx}) so the flat-conditionals rule applies to
React/TSX files.
- Adds “code readability” to the tone instructions=
## What's the purpose of this pull request?

Adds the mpn (Manufacturer Part Number) field to the product's
structured data (`ProductJsonLd`). This improves SEO by providing richer
product information to search engines via Schema.org Product markup,
specifically the mpn property that identifies a product to its
manufacturer.

## How it works?

The `manufacturerCode` field from the Intelligent Search response is
exposed as `mpn` on the `StoreProduct` GraphQL type. It is then queried
on the product page and passed to the `ProductJsonLd` component from
next-seo.
It defaults to an empty string for the products that don't have the
`manufacturerCode` field on Catalog.

## How to test it?

- Navigate to any product detail page (PDP).
- Inspect the page source or use a tool like [Schema.org
validator](https://validator.schema.org/).
- Verify the JSON-LD structured data block includes an "mpn" field with
the product's manufacturer code value.
For products without a manufacturerCode in the IS response, confirm mpn
defaults to an empty string without errors.
<img width="700" alt="Screenshot 2026-03-02 at 17 49 26"
src="https://github.com/user-attachments/assets/93672130-6ecf-4c88-bb4d-db55f49b5090"
/>

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

- [Jira task](https://vtex-dev.atlassian.net/browse/SO-543)
- [Slack
thread](https://vtex.slack.com/archives/C05JYQJ94F8/p1755206247400689?thread_ts=1754663648.632859&cid=C05JYQJ94F8)
- [Slack thread
2](https://vtex.slack.com/archives/C03L3CRCDC4/p1772483451655209)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

## Release Notes

* **New Features**
* Products now expose the Manufacturer Part Number (MPN) field in
product information and structured data, extending available product
metadata.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#3105)

## What's the purpose of this pull request?

This PR adds Activity Flow data parameters containing search-related
information to be used in Search Analytics.

## How it works?

It retrieves the searchId from search requests and includes it as
data-af attributes in the rendered elements.
There’s no impact on the UI or existing functionality — the change only
introduces new tracking parameters.

## How to test it?

- No visual or behavioral changes are expected.
- Inspect the rendered elements to confirm that parameters prefixed with
data-af are present.
- Ensure that search requests still work as expected and no errors occur
in the console.

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Title and Commit Messages**

- [x] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added search identifier to search results and product grid displays,
enabling improved analytics tracking of search interactions
  * Enhanced semantic HTML structure in search product listings

* **Documentation**
  * Updated CLI documentation with latest version references

* **Chores**
  * Updated package versions across CLI and Storybook packages
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
…3244)

## What's the purpose of this pull request?

This update introduces a new configuration option, `transpilePackages`,
to the discovery configuration. It allows specifying which package names
to transpile, enhancing compatibility with Next.js's transpilePackages
feature. The change is reflected in both the discovery and Next.js
configuration files.


## References

https://nextjs.org/docs/app/api-reference/config/next-config-js/transpilePackages

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Added an experimental configuration option to list packages to be
transpiled, defaulting to an empty list.
* Runtime configuration now respects this experimental setting and will
include a transpile entry when the list is populated, allowing builds to
adapt when the option is used.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…3242)

## What's the purpose of this pull request?

This feature enhances user interaction by allowing a webchat option that
can be toggled via hCMS.

<img width="600" alt="Screenshot 2026-03-23 at 17 55 23"
src="https://github.com/user-attachments/assets/31f05a33-5eb9-428b-85bb-590b1037f55f"
/>


## How it works?

- Introduced a new Webchat section with a corresponding component and
styles.
- Implemented `useWebchatScript` to manage the webchat script injection.
- Updated `Components.ts` to include the new Webchat component
dynamically.
- Added necessary JSON schema for the Webchat section in sections.json.


## How to test it?

Run locally and see the webchat component added from hCMS to the code.

### Starters Deploy Preview

TBD

## References

-
https://docs.google.com/document/d/11nyKPMYjcb87xow1Igc_iy8uHyp9bK1H0CBN7u5FerM/edit?tab=t.0#heading=h.f90kuwq3iwh6


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Introduced a new Webchat widget section to the content management
system, enabling integration of webchat functionality into pages. The
widget is fully registered and ready to be configured and deployed
alongside other page sections.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## What's the purpose of this pull request?

This PR aims to improve cache data from queries between logged-in and
anonymous users.

## How it works?

- Introduced a session-based cache key suffix in useQuery to
differentiate between logged-in and anonymous users.
- This change prevents stale product data from being served when users
switch session states, improving data accuracy in the application.

**Problem**
The SWR cache key in useQuery was only `operationName` + `variables`.
Because `ProductShelf` variables (`term`, `sort`, `selectedFacets`,
etc.) are the same for logged-in and logged-out users, SWR reused the
same cache and showed data from the previous session (e.g. wrong prices
or availability after login/logout).

**Solution**
The cache key now includes the authentication state:
`getSessionCacheKeySuffix()`
Uses the same logic as the request: `getClientCacheBustingValue()` from
cookieCacheBusting.ts.

**Resulting keys:**
operationName::variables::anonymous for logged-out users
operationName::variables::<cacheBustingValue> for logged-in users

When the user logs in or out, the key changes so SWR treats it as a
different cache entry: it fetches again and does not reuse data from the
other session.

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all :wink:</em>

**PR Title and Commit Messages**

- [ ] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Improved logout flow with more comprehensive client-side storage and
database cleanup to ensure complete sign-out.
* Ensures response processing during logout so cookies are fully applied
before redirecting.
  * Automatic full-page refresh after logout to load fresh session data.
* Prevents stale data by separating cached data for anonymous vs.
authenticated sessions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
…nt (#3247)

- Updated sections.json to reflect the name change from "Webchat" to
"ShoppingAssistant" with updated descriptions.
- Replaced `useWebchatScript` with `useShoppingAssistant` in
ThirdPartyScripts.
- Introduced a new `useShoppingAssistant` hook to manage script
injection for the Shopping Assistant.
- Created a new Shopping Assistant component with corresponding styles
and structure.
- Removed the old Webchat component and its references.

This change enhances the user experience by providing a dedicated
Shopping Assistant feature.

## What's the purpose of this pull request?

<!--- Considering the context, what is the problem we'll solve? Where in
VTEX's big picture our issue fits in? Write a tweet about the context
and the problem itself. --->

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
Provide details about what you have implemented and screenshots if
applicable. --->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Title and Commit Messages**

- [ ] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
  * Renamed CMS section from "Webchat" to "Shopping Assistant."
* Updated section title and description with new setup instructions
pointing to the Agentic CX Dashboard.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Add Quick Order Full Feature



<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
* Quick Order Drawer (header, product list, footer) with add‑to‑cart
flow and provider.
* File Upload UI: File Upload Card and File Upload Status with template
download, progress, and error states.
  * Dropzone for drag‑and‑drop file selection with reject handling.
* CSV parsing and file‑upload hooks for client‑side validation and
template generation.
* Search attachment button to launch upload/quick‑order flow; Storybook
stories and new UI styles.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Giuliana Rigaud <[email protected]>
Co-authored-by: renato <[email protected]>
Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: BrunaCubos <[email protected]>
Co-authored-by: Ícaro Oliveira <[email protected]>
Co-authored-by: Bruna Santos <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Everton Ataide <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: eduardoformiga <[email protected]>
## What's the purpose of this pull request?

<!--- Considering the context, what is the problem we'll solve? Where in
VTEX's big picture our issue fits in? Write a tweet about the context
and the problem itself. --->

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
Provide details about what you have implemented and screenshots if
applicable. --->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Title and Commit Messages**

- [ ] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)
## What's the purpose of this pull request?

<!--- Considering the context, what is the problem we'll solve? Where in
VTEX's big picture our issue fits in? Write a tweet about the context
and the problem itself. --->

## How it works?

<!--- Tell us the role of the new feature, or component, in its context.
Provide details about what you have implemented and screenshots if
applicable. --->

## How to test it?

<!--- Describe the steps with bullet points. Is there any external link
that can be used to better test it or an example? --->

### Starters Deploy Preview

<!--- Add a link to a deploy preview from `starter.store` with this
branch being used. --->

<!--- Tip: You can get an installable version of this branch from the
CodeSandbox generated when this PR is created. --->

## References

<!--- Spread the knowledge: is there any content you used to create this
PR that is worth sharing? --->

<!--- Extra tip: adding references to related issues or mentioning
people important to this PR may be good for the documentation and
reviewing process --->

## Checklist

<em>You may erase this after checking them all 😉</em>

**PR Title and Commit Messages**

- [ ] PR title and commit messages follow the [Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification
- Available prefixes: `feat`, `fix`, `chore`, `docs`, `style`,
`refactor`, `ci` and `test`

**PR Description**

- [ ] Added a label according to the PR goal - `breaking change`, `bug`,
`contributing`, `performance`, `documentation`..

**Dependencies**

- [ ] Committed the `pnpm-lock.yaml` file when there were changes to the
packages

**Documentation**

- [ ] PR description
- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Refactor**
* Updated pagination cursor field format from numeric to string values
in product component schemas.
  * Simplified configuration schema structure and organization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Lucas Feijó <[email protected]>
Co-authored-by: Mateus Pontes <[email protected]>
@eduardoformiga
eduardoformiga requested a review from a team as a code owner March 27, 2026 21:44
@eduardoformiga
eduardoformiga requested review from lemagnetic and lucasfp13 and removed request for a team March 27, 2026 21:44
@coderabbitai

coderabbitai Bot commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@eduardoformiga has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 3 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 17 minutes and 3 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 874cd351-1a8b-4374-98d6-47399f5ae889

📥 Commits

Reviewing files that changed from the base of the PR and between c40d3fc and 0ff7690.

⛔ Files ignored due to path filters (8)
  • .coderabbit.yaml is excluded by none and included by none
  • CHANGELOG.md is excluded by none and included by none
  • lerna.json is excluded by none and included by none
  • packages/api/src/__generated__/schema.ts is excluded by !**/__generated__/** and included by packages/**
  • packages/core/@generated/gql.ts is excluded by !**/@generated/**, !**/@generated/** and included by packages/**
  • packages/core/@generated/graphql.ts is excluded by !**/@generated/**, !**/@generated/** and included by packages/**
  • packages/core/public/icons.svg is excluded by !**/*.svg and included by packages/**
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml and included by none
📒 Files selected for processing (97)
  • packages/api/CHANGELOG.md
  • packages/api/package.json
  • packages/api/src/platforms/vtex/clients/search/types/ProductSearchResult.ts
  • packages/api/src/platforms/vtex/resolvers/product.ts
  • packages/api/src/platforms/vtex/resolvers/searchResult.ts
  • packages/api/src/typeDefs/product.graphql
  • packages/api/src/typeDefs/query.graphql
  • packages/cli/CHANGELOG.md
  • packages/cli/README.md
  • packages/cli/package.json
  • packages/components/CHANGELOG.md
  • packages/components/package.json
  • packages/components/src/atoms/Link/Link.tsx
  • packages/components/src/atoms/List/List.tsx
  • packages/components/src/hooks/index.ts
  • packages/components/src/hooks/useCSVParser.ts
  • packages/components/src/hooks/useFileUpload.ts
  • packages/components/src/index.ts
  • packages/components/src/molecules/Accordion/AccordionItem.tsx
  • packages/components/src/molecules/Dropzone/Dropzone.tsx
  • packages/components/src/molecules/Dropzone/index.ts
  • packages/components/src/molecules/FileUploadCard/FileUploadCard.tsx
  • packages/components/src/molecules/FileUploadCard/index.tsx
  • packages/components/src/molecules/FileUploadStatus/FileUploadStatus.tsx
  • packages/components/src/molecules/FileUploadStatus/index.tsx
  • packages/components/src/molecules/SearchInputField/SearchInputField.tsx
  • packages/components/src/molecules/SearchProducts/SearchProductItem.tsx
  • packages/components/src/molecules/SearchProvider/SearchProvider.tsx
  • packages/components/src/organisms/QuickOrderDrawer/QuickOrderDrawer.tsx
  • packages/components/src/organisms/QuickOrderDrawer/QuickOrderDrawerFooter.tsx
  • packages/components/src/organisms/QuickOrderDrawer/QuickOrderDrawerHeader.tsx
  • packages/components/src/organisms/QuickOrderDrawer/QuickOrderDrawerProducts.tsx
  • packages/components/src/organisms/QuickOrderDrawer/index.ts
  • packages/components/src/organisms/QuickOrderDrawer/provider/QuickOrderDrawerProvider.tsx
  • packages/components/src/organisms/SearchInput/SearchInput.tsx
  • packages/core/CHANGELOG.md
  • packages/core/cms/faststore/base.jsonc
  • packages/core/cms/faststore/components/cms_component__productshelf.jsonc
  • packages/core/cms/faststore/components/cms_component__producttiles.jsonc
  • packages/core/cms/faststore/schema.json
  • packages/core/cms/faststore/sections.json
  • packages/core/cypress/tsconfig.json
  • packages/core/discovery.config.default.js
  • packages/core/jest.config.js
  • packages/core/next.config.js
  • packages/core/package.json
  • packages/core/src/components/ThirdPartyScripts/index.ts
  • packages/core/src/components/ThirdPartyScripts/useShoppingAssistant.tsx
  • packages/core/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx
  • packages/core/src/components/account/MyAccountDrawer/OrganizationDrawer/useReloadAfterLogoutReturn.ts
  • packages/core/src/components/cms/global/Components.ts
  • packages/core/src/components/product/ProductGrid/ProductGrid.tsx
  • packages/core/src/components/search/SearchDropdown/SearchDropdown.tsx
  • packages/core/src/components/search/SearchInput/SearchInput.tsx
  • packages/core/src/components/sections/Navbar/Navbar.tsx
  • packages/core/src/components/sections/Navbar/section.module.scss
  • packages/core/src/components/sections/ProductDetails/ProductDetails.tsx
  • packages/core/src/components/sections/ShoppingAssistant/ShoppingAssistant.tsx
  • packages/core/src/components/sections/ShoppingAssistant/index.ts
  • packages/core/src/components/sections/ShoppingAssistant/section.module.scss
  • packages/core/src/components/templates/ProductListingPage/ProductListing.tsx
  • packages/core/src/components/ui/ProductGallery/ProductGalleryPage.tsx
  • packages/core/src/pages/[slug]/p.tsx
  • packages/core/src/pages/_app.tsx
  • packages/core/src/sdk/graphql/request.ts
  • packages/core/src/sdk/graphql/useQuery.ts
  • packages/core/src/sdk/product/convertProductToQuickOrder.ts
  • packages/core/src/sdk/product/useBulkProductsQuery.ts
  • packages/core/src/sdk/product/usePageProductsQuery.ts
  • packages/core/src/sdk/search/useSuggestions.ts
  • packages/core/src/styles/global/index.scss
  • packages/core/src/utils/cookieCacheBusting.ts
  • packages/core/src/utils/utilities.ts
  • packages/core/test/tsconfig.json
  • packages/core/test/utils/cookieCacheBusting.test.ts
  • packages/graphql-utils/CHANGELOG.md
  • packages/graphql-utils/package.json
  • packages/lighthouse/CHANGELOG.md
  • packages/lighthouse/package.json
  • packages/sdk/CHANGELOG.md
  • packages/sdk/package.json
  • packages/storybook/.storybook/main.js
  • packages/storybook/CHANGELOG.md
  • packages/storybook/package.json
  • packages/storybook/stories/dropzone.stories.tsx
  • packages/storybook/stories/fileupload.stories.tsx
  • packages/storybook/stories/quick-order-drawer.stories.tsx
  • packages/storybook/stories/upload-file-dropdown.stories.tsx
  • packages/ui/CHANGELOG.md
  • packages/ui/package.json
  • packages/ui/src/components/molecules/Dropzone/styles.scss
  • packages/ui/src/components/molecules/FileUploadCard/styles.scss
  • packages/ui/src/components/molecules/FileUploadStatus/styles.scss
  • packages/ui/src/components/molecules/SearchInputField/styles.scss
  • packages/ui/src/components/organisms/QuickOrderDrawer/styles.scss
  • packages/ui/src/index.ts
  • packages/ui/src/styles/components.scss
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/version-2026-03-27

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@eduardoformiga
eduardoformiga merged commit f330a43 into main Mar 27, 2026
5 checks passed
@eduardoformiga
eduardoformiga deleted the release/version-2026-03-27 branch March 27, 2026 21:49
@renatomaurovtex renatomaurovtex mentioned this pull request Jun 18, 2026
2 tasks
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.