anet
anet copied to clipboard
Add a new custom field type geo_location
A new type of custom field is introduced: geo_location. When such a field is defined in the dictionary, users can fill in the coordinates of a geographic location, or set these by dragging a marker on a map.
Closes AB#1095
User changes
- Users can now fill in custom fields of type
geo_locationif these are defined in the dictionary.
Superuser changes
- None.
Admin changes
- None.
System admin changes
- [x] anet.yml or anet-dictionary.yml needs change
You can add something like this to the dictionary:
fields: report: customFields: gridLocation: type: geo_location label: Grid location - [ ] db needs migration
- [ ] documentation has changed
- [ ] graphql schema has changed
Checklist
- [x] Described the user behavior in PR body
- [x] Referenced/updated all related issues
- [x] commits follow a
repo#issue: Titletitle format and these 7 rules - [x] commits have a clean history, otherwise PR may be squash-merged
- [ ] Added and/or updated unit tests
- [x] Added and/or updated e2e tests
- [ ] Added and/or updated data migrations
- [ ] Updated documentation
- [x] Resolved all build errors and warnings
- [ ] Opened debt issues for anything not resolved here