rename natus → sky across the codebase — natal chart abstraction is now sky throughout, since chart inputs aren't birthday-gated
Some checks failed
ci/woodpecker/push/pyswiss Pipeline was successful
ci/woodpecker/push/main Pipeline failed

Mechanical rename: 5 files (sky-wheel.js, _sky.scss, _sky_overlay.html, SkyWheelSpec.js x2), 24 in-place edits across templates/views/urls/SCSS/JS/tests/CLAUDE.md. URL names epic:natus_save → epic:sky_save (epic namespaced, no clash w. dashboard:sky_save), JS module NatusWheel → SkyWheel, DOM ids id_natus_* → id_sky_*, BEM classes natus-* → sky-*, dashboard sky_natus_data/sky_natus_preview collapsed to sky_data/sky_preview_data. No DB migration needed (User.sky_chart_data + GameEvent.SKY_SAVED already used sky-prefix). 778 ITs + Jasmine green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Disco DeDisco
2026-05-04 20:36:15 -04:00
parent 19b7828ea9
commit cc2a3f3526
29 changed files with 338 additions and 338 deletions

View File

@@ -1933,16 +1933,16 @@ class SelectSigViewTest(TestCase):
self.assertEqual(response.status_code, 400)
# ── natus_preview (epic) ──────────────────────────────────────────────────────
# ── sky_preview (epic) ──────────────────────────────────────────────────────
class NatusPreviewViewTest(TestCase):
class SkyPreviewViewTest(TestCase):
def setUp(self):
self.user = User.objects.create(email="pc@natus.io")
self.user = User.objects.create(email="pc@sky.io")
self.client.force_login(self.user)
self.room, _ = _make_sig_room(self.user)
self.room.table_status = Room.SKY_SELECT
self.room.save()
self.url = reverse("epic:natus_preview", kwargs={"room_id": self.room.id})
self.url = reverse("epic:sky_preview", kwargs={"room_id": self.room.id})
def test_missing_params_returns_400(self):
response = self.client.get(self.url, {"date": "1990-06-15"})
@@ -2025,16 +2025,16 @@ class TarotDealViewTest(TestCase):
)
# ── natus_save (epic) ─────────────────────────────────────────────────────────
# ── sky_save (epic) ─────────────────────────────────────────────────────────
class NatusSaveViewTest(TestCase):
class SkySaveViewTest(TestCase):
def setUp(self):
self.user = User.objects.create(email="pc@natussave.io")
self.user = User.objects.create(email="pc@skysave.io")
self.client.force_login(self.user)
self.room, _ = _make_sig_room(self.user)
self.room.table_status = Room.SKY_SELECT
self.room.save()
self.url = reverse("epic:natus_save", kwargs={"room_id": self.room.id})
self.url = reverse("epic:sky_save", kwargs={"room_id": self.room.id})
def _post(self, payload):
import json as _json
@@ -2134,7 +2134,7 @@ class NatusSaveViewTest(TestCase):
def test_confirm_with_dict_shaped_elements_extracts_count(self):
"""Some chart payloads enrich each element to {count, contributors};
natus_save should read .count rather than treating the dict as a value."""
sky_save should read .count rather than treating the dict as a value."""
from apps.drama.models import GameEvent
chart = {
"elements": {
@@ -2156,7 +2156,7 @@ class NatusSaveViewTest(TestCase):
self.assertEqual(event.data.get("top_capacitors"), ["Ardor"])
def test_confirm_copies_seat_significator_to_character(self):
"""natus_save with action=confirm copies seat.significator onto Character."""
"""sky_save with action=confirm copies seat.significator onto Character."""
earthman, _ = DeckVariant.objects.get_or_create(
slug="earthman", defaults={"name": "Earthman Deck", "card_count": 108}
)