Skip to content

feat: Display city and postalCode - #2772

Merged
lucasfp13 merged 11 commits into
feat/delivery-promisefrom
feat/SFS-2370-display-city-and-postal-code
Apr 11, 2025
Merged

lucasfp13 merged 11 commits into
feat/delivery-promisefrom
feat/SFS-2370-display-city-and-postal-code

Conversation

@lucasfp13

@lucasfp13 lucasfp13 commented Apr 9, 2025 •

Copy link
Copy Markdown
Contributor

What's the purpose of this pull request?

This PR intends to display region data (on RegionButton and RegionBar) with city and postalCode information.

How it works?

For cases when users manually set their zip code, they should see both city name and zip code:

Screenshot 2025-04-09 at 09 25 16 Screenshot 2025-04-09 at 09 25 02

Otherwise, if a default zip code is set on discovery.config and users do not manually set any zip code, they should see only the city name:

Screenshot 2025-04-09 at 09 24 08 Screenshot 2025-04-09 at 09 24 24

How to test it?

Test both scenarios described in the section above to validate everything is working and displayed as expected.

Starters Deploy Preview

vtex-sites/faststoreqa.store#769

@lucasfp13 lucasfp13 self-assigned this Apr 9, 2025
@lucasfp13
lucasfp13 requested a review from a team as a code owner April 9, 2025 12:43
@codesandbox-ci

codesandbox-ci Bot commented Apr 9, 2025 •

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.

Comment thread packages/core/src/utils/utilities.ts Resolved
@lariciamota

Copy link
Copy Markdown
Contributor

With postal code default, displaying only the city ✅
Screenshot 2025-04-11 at 11 38 12
Setting a different postal code, display also the postal code ✅
Screenshot 2025-04-11 at 11 38 22

🚀

@lucasfp13
lucasfp13 merged commit 8805012 into feat/delivery-promise Apr 11, 2025
@lucasfp13
lucasfp13 deleted the feat/SFS-2370-display-city-and-postal-code branch April 11, 2025 14:49
lariciamota pushed a commit that referenced this pull request Apr 11, 2025
## What's the purpose of this pull request?

This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

## How it works?

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

## How to test it?

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

### Starters Deploy Preview

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Apr 22, 2025
## What's the purpose of this pull request?

This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

## How it works?

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

## How to test it?

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

### Starters Deploy Preview

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request May 8, 2025
## What's the purpose of this pull request?

This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

## How it works?

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

## How to test it?

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

### Starters Deploy Preview

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request May 12, 2025
## What's the purpose of this pull request?

This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

## How it works?

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

## How to test it?

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

### Starters Deploy Preview

vtex-sites/faststoreqa.store#769
lariciamota added a commit that referenced this pull request May 13, 2025
## What's the purpose of this pull request?

Feature branch for the Delivery Promise feature - phase 1 (navigation
based on shopper location).

- #2708 
- #2728
- #2739 
- #2745 
- #2749
- #2750
- #2768
- #2772 
- #2775
- #2809
- #2817 
- #2824 
- #2835

## How it works?


## How to test it?


### Starters Deploy Preview


## References
- [Jira epic](https://vtex-dev.atlassian.net/browse/SFS-1696)


## Checklist

- [ ] For documentation changes, ping `@Mariana-Caetano` to review and
update (Or submit a doc request)
- [ ] TODO: Request Doc for PopOver
- [ ] TODO: Remind to run cms sync in the default account when the
feature branch is merged since new section was added. (And add the new
section in the admin!)

---------

Co-authored-by: Lucas Feijó <[email protected]>
Co-authored-by: Fanny Chien <[email protected]>
lariciamota pushed a commit that referenced this pull request May 13, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request May 13, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request May 14, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Jun 20, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Jun 23, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Jul 2, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
hellofanny pushed a commit that referenced this pull request Jul 2, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Jul 24, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Jul 30, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Jul 30, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Aug 1, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
hellofanny pushed a commit that referenced this pull request Aug 11, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Sep 2, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Sep 16, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Sep 16, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Sep 18, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Sep 23, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
lariciamota pushed a commit that referenced this pull request Sep 30, 2025
This PR intends to display region data (on `RegionButton` and
`RegionBar`) with `city` and `postalCode` information.

For cases when users manually set their zip code, they should see both
city name and zip code:

<img width="342" alt="Screenshot 2025-04-09 at 09 25 16"
src="https://github.com/user-attachments/assets/17b48ff7-37e6-497b-b520-a9d509787afa"
/> <img width="256" alt="Screenshot 2025-04-09 at 09 25 02"
src="https://github.com/user-attachments/assets/ac34f6d6-1e7f-44ad-99db-6ced59044187"
/>

Otherwise, if a default zip code is set on `discovery.config` and users
do not manually set any zip code, they should see only the city name:

<img width="382" alt="Screenshot 2025-04-09 at 09 24 08"
src="https://github.com/user-attachments/assets/e9f0fb37-24cf-4e8b-80af-0b9129c5683c"
/> <img width="201" alt="Screenshot 2025-04-09 at 09 24 24"
src="https://github.com/user-attachments/assets/1f627fc7-9a1c-4bb9-bae4-959dccbfd141"
/>

Test both scenarios described in the section above to validate
everything is working and displayed as expected.

vtex-sites/faststoreqa.store#769
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.

3 participants