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:
2026-06-25 10:45:34 +03:00
co-authored by Cursor
parent cafc7335ad
commit e80d0d0e88
29 changed files with 1370 additions and 117 deletions
+9
View File
@@ -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
]