Add native geopoint property support#744
Open
LaiArturs wants to merge 4 commits intofirecmsco:mainfrom
Open
Conversation
- Add type annotations to Placeholder extension callback parameters - Cast editor chain commands to any for list toggle methods missing from type definitions - Add @tiptap/extension-list dependency required by list extensions - Add @tiptap/extensions dependency required by placeholder extension
Implement full support for geopoint properties in FireCMS, allowing users to store and edit geographic coordinates (latitude/longitude pairs). Changes: - Add GeopointFieldBinding component with dual number inputs for latitude and longitude - Add GeopointPropertyPreview component for displaying coordinates - Add geopoint utility functions (parse, format, normalize, getGeoPointCoordinates) - Add geopoint to default field configurations with LocationOnIcon - Add geopoint rendering in PropertyPreview component - Add geopoint default value handling in entities utilities - Update geopoint documentation with usage examples and validation details The geopoint field includes built-in validation: - Latitude: -90 to 90 - Longitude: -180 to 180 - Formatted display: "37.7749, -122.4194"
Member
|
Hi @LaiArturs Thank you for this! |
…r package" This reverts commit 90cacd6.
Author
|
Unrelated changes reverted. |
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.
This PR adds native support for geopoint properties in FireCMS, addressing the need to store and edit geographic coordinates without custom implementations.
Changes
Geopoint Property Support
GeopointFieldBindingcomponent with dual number inputs for latitude and longitudeGeopointPropertyPreviewcomponent for displaying coordinates in tables and cardsLocationOnIconFeatures:
GeoPointclass from FirestoreExample usage:
Editor Package Fixes
Closes #112