Repository navigation
spec: places-api-new-migration - #710
jeffersontuc wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖 Please select which version do you want to release:
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
| # Places API (New) migration for GeolocationInput | ||
|
|
||
| > **Status**: Approved | ||
| > **Created**: 2026-11-04 |
There was a problem hiding this comment.
[Functional.Support] 🟡 RESTRICT
The spec is introduced already marked Status: Approved, which skips the SDD Lite flow in AGENTS.md: spec PRs should open with Status: Draft, be reviewed, and only then be manually flipped to Approved before merge. As submitted there is no evidence the Draft review step happened for this document.
Action: If this PR is the initial spec submission, set Status: Draft and let the reviewer flip it to Approved after sign-off, per the documented SDD Lite workflow.
To contest this finding, reply in this thread
DK Review — Audit SummaryVerdict:
Only BLOCK and RESTRICT findings anchored to a changed line are commented inline on the diff. The other 2 findings below open no review thread. Scenarios evaluated: general-review 📋 Findings (3)RESTRICT
SUGGEST
DK Review v1.0.0 | To contest a finding, reply in its thread |

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (75.00% Estimated after merge)
Summary
SDD Lite spec for migrating
GeolocationInputfrom the legacy Places API (places.Autocomplete/places.SearchBox, which callAutocompletionService.GetPredictions/GetQueryPredictions) to Places API (New) (AutocompleteSuggestion,AutocompleteSessionToken,Place.fetchFields).Google Cloud projects created after 2025-03-01 cannot enable the legacy Places API, so their keys get
LegacyApiNotActivatedMapErrorand address search returns no suggestions.What the spec defines
react/geolocation/.index.ts,components.ts,inputs.ts,types/rules.ts,react/country/*.tsand the exported component props are untouched. Ships as a minor release.Placeto the legacyPlaceResultshape, sogeolocationAutoCompleteAddressand all countrygeolocationrules and handlers keep working as they are.Input, instead ofPlaceAutocompleteElement. It keeps the.pac-container/.pac-itemclasses for omnishipping Cypress tests and merchant CSS, and follows the WAI-ARIA combobox pattern.logPlacesApiFallback).useSearchBoxkeeps its current behavior; place details request only Essentials fields; no new i18n keys; no new dependencies.Consumers
vtex.omnishipping,vtex.shipping-previewandvtex.checkoutneed no code changes. They will be QA'd on a linked workspace before release.Next step
Review the spec, set
Status: Approved, merge, then run/implementing specs/places-api-new-migration.md.🤖 Generated with Claude Code