Skip to content
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

Feature/dp #683

Merged
merged 24 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0853b45
.
hiagolcm Sep 9, 2024
9f35164
add buttons to mobile
hiagolcm Sep 22, 2024
73a0dc0
fix zindex
hiagolcm Sep 22, 2024
91422da
feat: add shipping filter messages
luarakerlen Oct 1, 2024
7636e1f
feat: add shipping filter options and messages
luarakerlen Oct 1, 2024
304ee18
feat: refactor components to remove code repetition
luarakerlen Oct 1, 2024
4a8c382
feat: refactor components to remove code repetition
luarakerlen Oct 1, 2024
86c01d2
feat: refactor components to improve code reuse and maintainability
luarakerlen Oct 1, 2024
13fb4ec
feat: Adjust selected shipping filter options messages
luarakerlen Oct 1, 2024
a961f2b
refactor: adjust FaceItem component to improve User Interface
luarakerlen Oct 3, 2024
075f079
feat: add facets default to the shipping filter
ArthurFerrao Oct 3, 2024
3a03dc6
feat: update default facets to use formatMessage
ArthurFerrao Oct 4, 2024
ae966bf
fix: move default facets to compatiblityLayer
ArthurFerrao Oct 9, 2024
9a09adc
Add contidion to remove Shipping facet
ArthurFerrao Oct 10, 2024
4d02313
Updated English, Spanish and Portuguese translations.
kaio-donadelli Oct 11, 2024
0371ef0
Fixed Portuguese and Spanish translations. Added new strings for rema…
kaio-donadelli Oct 18, 2024
55f6540
Release v3.134.0
ArthurFerrao Oct 23, 2024
026e10c
feat: add action button labels to the messages folder
ArthurFerrao Oct 23, 2024
091973d
fix: filter sidebar closes when clicking drawer
ArthurFerrao Oct 29, 2024
9b4d471
feat: turn shipping options constants for camel case
ArthurFerrao Nov 6, 2024
5e979da
update CHANGELOG.md
ArthurFerrao Nov 6, 2024
e59f167
feat: add useSSR mock to fix some tests
ArthurFerrao Nov 7, 2024
d7d8854
feat: resolve lint errors
ArthurFerrao Nov 7, 2024
94e1c09
Fix translations
sheilagomes Nov 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Added

- Shipping filter on filters section

### Fixed

- Updated English, Spanish and Portuguese translations.
- Added new strings to remaining languages.

## [3.134.1] - 2024-11-07

### Fixed
Expand Down
4 changes: 1 addition & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
"title": "VTEX Search Result",
"description": "A search result wrapper component",
"mustUpdateAt": "2019-04-25",
"registries": [
"smartcheckout"
],
"registries": ["smartcheckout"],
"scripts": {
"postreleasy": "vtex publish --verbose"
},
Expand Down
8 changes: 7 additions & 1 deletion messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "العلامات التجارية",
"store/search.filter.title.price-ranges": "نطاقات السعر",
"store/search.text": "عرض {from}-{to} من {recordsFiltered} نتائج",
"store/search.filter.title.shipping": "الشحن",
"store/search.filter.shipping.name.delivery": "توصيل الى",
"store/search.filter.shipping.name.pickup-in-point": "الاستلام في",
"store/search.filter.shipping.name.pickup-nearby": "استلام بقرب",
"store/search.filter.shipping.name.pickup-all": "الإستلام",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "تصفية حسب:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {منتج} other {منتجات}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {منتج} other {منتجات}}</span>",
Expand Down Expand Up @@ -104,4 +111,3 @@
"admin/editor.search-result.fetch-button.button-behavior.button": "الزر",
"admin/editor.search-result.fetch-button.button-behavior.link-to-page": "الرابط إلى الصفحة - تحسين SEO، قد يغير تصميم الزر"
}

7 changes: 7 additions & 0 deletions messages/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Брандове",
"store/search.filter.title.price-ranges": "Ценови диапазони",
"store/search.text": "Показване на {from}–{to} от {recordsFiltered} резултата",
"store/search.filter.title.shipping": "Доставка",
"store/search.filter.shipping.name.delivery": "Доставка до",
"store/search.filter.shipping.name.pickup-in-point": "Вземане от",
"store/search.filter.shipping.name.pickup-nearby": "Вземане наблизо",
"store/search.filter.shipping.name.pickup-all": "Вземане",
"store/search.filter.shipping.action-button.delivery": "Въвеждане на местоположение",
"store/search.filter.shipping.action-button.pickup-in-point": "Въвеждане на магазин",
"store/search.selected-filters": "Филтрирани по:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {продукт} other {продукта}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {продукт} other {продукта}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Marques",
"store/search.filter.title.price-ranges": "Intervals de preus",
"store/search.text": "S'estan mostrant de {from} a {to} de {recordsFiltered} resultats",
"store/search.filter.title.shipping": "Enviament",
"store/search.filter.shipping.name.delivery": "Lliura a",
"store/search.filter.shipping.name.pickup-in-point": "Recollida a",
"store/search.filter.shipping.name.pickup-nearby": "Recollida a prop",
"store/search.filter.shipping.name.pickup-all": "Recollida",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "Filtrat per:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {product} other {products}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {products}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/context.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
"store/search.filter.placeholder": "Search by {filterName}",
"store/search.filter.title.brands": "Brands",
"store/search.filter.title.price-ranges": "Price Ranges",
"store/search.filter.title.shipping": "Shipping",
"store/search.filter.shipping.name.delivery": "Deliver to",
"store/search.filter.shipping.name.pickup-in-point": "Pickup at",
"store/search.filter.shipping.name.pickup-nearby": "Pickup nearby",
"store/search.filter.shipping.name.pickup-all": "Pickup",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.text": "Showing {from}-{to} from {recordsFiltered} records",
"store/search.selected-filters": "Filtered by:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {Product} other {Products}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@
"store/search.filter.placeholder": "Søg efter {filterName}",
"store/search.filter.title.brands": "Brands",
"store/search.filter.title.price-ranges": "Prisintervaller",
"store/search.filter.title.shipping": "Forsendelse",
"store/search.filter.shipping.name.delivery": "Lever til",
"store/search.filter.shipping.name.pickup-in-point": "Afhentning ved",
"store/search.filter.shipping.name.pickup-nearby": "Afhentning i nærheden",
"store/search.filter.shipping.name.pickup-all": "Afhentning",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.text": "Viser {from}-{to} fra {recordsFiltered} optegnelser",
"store/search.selected-filters": "Filtreret efter:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {produkt} other {produkter}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Marken",
"store/search.filter.title.price-ranges": "Preisspannen",
"store/search.text": "Anzeigen {from}-{to} aus {recordsFiltered}-Ergebnissen",
"store/search.filter.title.shipping": "Versand",
"store/search.filter.shipping.name.delivery": "Liefern an",
"store/search.filter.shipping.name.pickup-in-point": "Abholung bei",
"store/search.filter.shipping.name.pickup-nearby": "Abholung in der Nähe",
"store/search.filter.shipping.name.pickup-all": "Abholung",
"store/search.filter.shipping.action-button.delivery": "Ort eingeben",
"store/search.filter.shipping.action-button.pickup-in-point": "Geschäft eingeben",
"store/search.selected-filters": "Gefiltert nach:",
"store/search.total-products": "{recordsFiltered} <span>{recordsFiltered, plural, one {Produkt} other {Produkte}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {Produkt} other {Produkte}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/el.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Εμπορικές επωνυμίες",
"store/search.filter.title.price-ranges": "Εύρος τιμών",
"store/search.text": "Γίνεται εμφάνιση {from}–{to} από {recordsFiltered} αποτελέσματα",
"store/search.filter.title.shipping": "Μεταφορά",
"store/search.filter.shipping.name.delivery": "Παράδοση προς",
"store/search.filter.shipping.name.pickup-in-point": "Παραλαβή σε",
"store/search.filter.shipping.name.pickup-nearby": "Παραλαβή πλησίον",
"store/search.filter.shipping.name.pickup-all": "Παραλαβή",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "Φιλτράρισμα ανά:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {product} other {products}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {products}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Brands",
"store/search.filter.title.price-ranges": "Price ranges",
"store/search.text": "Showing {from}–{to} of {recordsFiltered} results",
"store/search.filter.title.shipping": "Shipping",
"store/search.filter.shipping.name.delivery": "Deliver to",
"store/search.filter.shipping.name.pickup-in-point": "Pickup at",
"store/search.filter.shipping.name.pickup-nearby": "Pickup nearby",
"store/search.filter.shipping.name.pickup-all": "Pickup",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "Filtered by:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {product} other {products}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {product} other {products}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Marcas",
"store/search.filter.title.price-ranges": "Rangos de precio",
"store/search.text": "Mostrando {from}-{to} de {recordsFiltered} resultados",
"store/search.filter.title.shipping": "Envío",
"store/search.filter.shipping.name.delivery": "Entregar a",
"store/search.filter.shipping.name.pickup-in-point": "Recogida en",
"store/search.filter.shipping.name.pickup-nearby": "Recogida en tiendas cercanas",
"store/search.filter.shipping.name.pickup-all": "Recogida",
"store/search.filter.shipping.action-button.delivery": "Ingresa tu ubicación",
"store/search.filter.shipping.action-button.pickup-in-point": "Ingresa la tienda",
"store/search.selected-filters": "Filtrado por:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {producto} other {productos}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {producto} other {productos}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Brändit",
"store/search.filter.title.price-ranges": "Hintaluokat",
"store/search.text": "Näytetään {from}–{to} {recordsFiltered} tuloksesta",
"store/search.filter.title.shipping": "Toimitus",
"store/search.filter.shipping.name.delivery": "Toimitus osoitteeseen",
"store/search.filter.shipping.name.pickup-in-point": "Nouto myymälästä",
"store/search.filter.shipping.name.pickup-nearby": "Nouto läheltä",
"store/search.filter.shipping.name.pickup-all": "Nouto",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "Suodatus:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {tuote} other {tuotetta}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {tuote} other {tuotetta}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Marques",
"store/search.filter.title.price-ranges": "Gammes de prix",
"store/search.text": "Afficher les {from}-{to} des {recordsFiltered} résultats",
"store/search.filter.title.shipping": "Expédition",
"store/search.filter.shipping.name.delivery": "Livrer à",
"store/search.filter.shipping.name.pickup-in-point": "Retrait à",
"store/search.filter.shipping.name.pickup-nearby": "Retrait à proximité",
"store/search.filter.shipping.name.pickup-all": "Point de retrait",
"store/search.filter.shipping.action-button.delivery": "Saisir la localisation",
"store/search.filter.shipping.action-button.pickup-in-point": "Saisir le magasin",
"store/search.selected-filters": "Filtré par :",
"store/search.total-products": "{recordsFiltered} <span>{recordsFiltered, plural, one {produit} other {produits}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {produit} other {produits}}</span>",
Expand Down
8 changes: 7 additions & 1 deletion messages/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Márkák",
"store/search.filter.title.price-ranges": "Ártartományok",
"store/search.text": "{from}-{to} eredmény megjelenítése a(z) {recordsFiltered} eredményből",
"store/search.filter.title.shipping": "Shipping",
"store/search.filter.shipping.name.delivery": "Deliver to",
"store/search.filter.shipping.name.pickup-in-point": "Pickup at",
"store/search.filter.shipping.name.pickup-nearby": "Pickup nearby",
"store/search.filter.shipping.name.pickup-all": "Pickup",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "Szűrés:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {termék} other {termék}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {termék} other {termék}}</span>",
Expand Down Expand Up @@ -104,4 +111,3 @@
"admin/editor.search-result.fetch-button.button-behavior.button": "Gomb",
"admin/editor.search-result.fetch-button.button-behavior.link-to-page": "Link az oldalra – Javítja a SEO-t, megváltoztathatja a gomb megjelenését"
}

7 changes: 7 additions & 0 deletions messages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Merek",
"store/search.filter.title.price-ranges": "Rentang harga",
"store/search.text": "Menampilka {from}–{to} dari {recordsFiltered} hasil",
"store/search.filter.title.shipping": "Pengiriman",
"store/search.filter.shipping.name.delivery": "Kirim ke",
"store/search.filter.shipping.name.pickup-in-point": "Ambil di",
"store/search.filter.shipping.name.pickup-nearby": "Pengambilan terdekat",
"store/search.filter.shipping.name.pickup-all": "Pengambilan",
"store/search.filter.shipping.action-button.delivery": "Enter location",
"store/search.filter.shipping.action-button.pickup-in-point": "Enter store",
"store/search.selected-filters": "Difilter menurut:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, other {produk}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, other {produk}}</span>",
Expand Down
7 changes: 7 additions & 0 deletions messages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
"store/search.filter.title.brands": "Brand",
"store/search.filter.title.price-ranges": "Fasce di prezzo",
"store/search.text": "Mostra {from}–{to} di {recordsFiltered} risultati",
"store/search.filter.title.shipping": "Spedizione",
"store/search.filter.shipping.name.delivery": "Consegna a",
"store/search.filter.shipping.name.pickup-in-point": "Ritiro presso",
"store/search.filter.shipping.name.pickup-nearby": "Ritiro nelle vicinanze",
"store/search.filter.shipping.name.pickup-all": "Ritiro",
"store/search.filter.shipping.action-button.delivery": "Inserisci località",
"store/search.filter.shipping.action-button.pickup-in-point": "Inserisci negozio",
"store/search.selected-filters": "Filtrato per:",
"store/search.total-products": "{recordsFiltered} <span class=\"c-muted-2\">{recordsFiltered, plural, one {prodotto} other {prodotti}}</span>",
"store/search.total-products-2": "{recordsFiltered} <span>{recordsFiltered, plural, one {prodotto} other {prodotti}}</span>",
Expand Down
Loading
Loading