fix(fields): render location/geolocation cells as coordinates, not [Object]#1435
Merged
Conversation
…bject]
A `location` (or `geolocation`) field rendered as "[Object]" in grids and
detail views because it fell through to the text cell renderer. Add a
LocationCellRenderer that formats `{ lat, lng }` / `{ latitude, longitude }`,
`"lat,lng"` strings, and `[lat, lng]` arrays as "lat, lng" with a pin icon,
falling back to compact JSON otherwise.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
xuyushun441-sys
added a commit
to objectstack-ai/framework
that referenced
this pull request
Jun 1, 2026
#1466) * fix: add cozy-books-clap changeset for @objectstack/console patch * fix(showcase): seed Accounts + task map coordinates; bump objectui pin - data: Account records omitted the required `status` (no default is applied at seed-insert time), so all 3 accounts were rejected and the Accounts list was empty. Set `status` explicitly and add `hq` coordinates. - data: tasks had no `location`, so the Map view excluded every record ("missing or invalid coordinates"). Give each task real lat/lng so the map renders 10 markers. - Bump .objectui-sha to pick up objectstack-ai/objectui#1435 (location/ geolocation cells render as coordinates instead of "[Object]"). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A
location/geolocationfield rendered as[Object]in grids and detail views (it fell through to the text cell renderer). Surfaced by theexample-showcaseAccount list once itshqlocation field was populated.Fix
Add
LocationCellRendererand routelocation/geolocationto it. It formats:{ lat, lng }/{ latitude, longitude }"lat,lng"strings[lat, lng]arrays…as
"47.6062, -122.3321"with a pin icon, falling back to compact JSON for anything unrecognized.🤖 Generated with Claude Code