Add settings page and configurable network map types.
Let users define sector/circle labels and geometry per map type, choose a type when creating maps, and sync types through local backup and API migrations. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -38,3 +38,12 @@ def choices_payload():
|
||||
'network_circles': [{'value': v, 'label': l} for v, l in NETWORK_CIRCLES],
|
||||
'interaction_intensities': [{'value': v, 'label': l} for v, l in INTERACTION_INTENSITY],
|
||||
}
|
||||
|
||||
|
||||
DEFAULT_MAP_TYPE_SECTORS = [
|
||||
{'key': v, 'label': l} for v, l in LIFE_SPHERES
|
||||
]
|
||||
|
||||
DEFAULT_MAP_TYPE_CIRCLES = [
|
||||
{'key': v, 'label': l} for v, l in NETWORK_CIRCLES
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user