Add network map UX and theme support.

Introduce network map view/components with filtering and positioning, expand contacts/map backend fields and migrations, and add a persistent light/dark theme toggle with graph label color updates for readability.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-28 13:24:48 +03:00
co-authored by Cursor
parent 81ba6cd076
commit b668ee8507
49 changed files with 4679 additions and 129 deletions
@@ -0,0 +1,21 @@
from django.db import migrations
def set_map_false_for_all(apps, schema_editor):
Contact = apps.get_model('contacts', 'Contact')
Contact.objects.all().update(include_on_network_map=False)
def noop_reverse(apps, schema_editor):
pass
class Migration(migrations.Migration):
dependencies = [
('contacts', '0003_contact_include_on_network_map'),
]
operations = [
migrations.RunPython(set_map_false_for_all, noop_reverse),
]