Section "Grundriss (interaktiv)": floor plan with rooms, admin editor, Seebad view
Deploy / test (push) Failing after 2s
Deploy / deploy (push) Skipped

- Table floor_plans (tenant_id, one per apartment, picture = website photo, rooms as JSON with
  corners in percent of the picture), model FloorPlan with BelongsToTenant, Property::floorPlan()
- Admin › Webseite › Grundriss: room list with name, description, photos, equipment (from the
  equipment list), accessibility hint, visibility, and an area editor (click the corners on the picture)
- Section floor_plan: base view without JavaScript (areas jump to the room list), Seebad view with
  room buttons, highlighted area and a cartouche per room (theme.js initFloorPlans)
- Tests: tenant inheritance, point parsing, website output, admin create incl. validation; the
  render test for all themes now includes the floor plan
- Docs: THEMES §5, ZUSAMMENARBEIT §6, STATUS §6 (incl. note for tenancy phase 5)
- styles/grundriss: revised rendering, WebP renditions, room areas of the Stommer flat in percent

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 5.5 committed 2026-10-23 15:26:02 +02:00
1 parent 04b5189bd8
commit f7cbc66451
26 files changed
+877 -1

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

After

Width:  |  Height:  |  Size: 1.7 MiB

+89
View File
@@ -0,0 +1,89 @@
[
{
"id": "terrasse",
"name": "Terrasse",
"description": "Eigene, überdachte Terrasse mit Gartenmöbeln. Im Frühsommer blühen die Rhododendren direkt davor.",
"hint": "Über den Garten stufenlos erreichbar.",
"points": "2.6,21.8 8.2,21.8 8.2,56.0 2.6,56.0",
"photo_ids": [
21
],
"amenity_ids": [],
"is_visible": true
},
{
"id": "wohnen",
"name": "Wohnbereich",
"description": "Helles Wohnzimmer mit Fensterfront zur Terrasse. Das Schrankbett bietet Platz für eine dritte Person.",
"hint": null,
"points": "10.4,21.8 49.5,21.8 49.5,40.3 30.4,40.3 30.4,64.4 15.3,64.4 9.3,52.0 10.4,47.9",
"photo_ids": [
2,
1,
6
],
"amenity_ids": [],
"is_visible": true
},
{
"id": "kueche",
"name": "Küche & Essplatz",
"description": "Einbauküche zum Selbstversorgen mit Essplatz für vier.",
"hint": null,
"points": "30.4,40.3 49.5,40.3 49.5,64.4 30.4,64.4",
"photo_ids": [
9,
8
],
"amenity_ids": [],
"is_visible": true
},
{
"id": "diele",
"name": "Diele",
"description": "Großer Einbauschrank. Von hier geht es zu Bad, Schlafzimmer und Eingang.",
"hint": null,
"points": "49.6,21.8 69.8,21.8 73.9,28.5 70.1,37.5 66.6,43.5 66.6,41.1 49.6,41.1",
"photo_ids": [
11
],
"amenity_ids": [],
"is_visible": true
},
{
"id": "eingang",
"name": "Eingangsbereich",
"description": "Eigene Wohnungstür mit Fußabtreter.",
"hint": "Eingang im Erdgeschoss mit einer Stufe.",
"points": "75.9,8.9 88.5,8.9 88.5,28.8 74.2,28.8 70.7,22.3 70.7,16.3",
"photo_ids": [],
"amenity_ids": [],
"is_visible": true
},
{
"id": "bad",
"name": "Bad",
"description": "Bad mit Glasdusche (90 × 90 cm) und beleuchtetem Spiegelschrank.",
"hint": "Flache Dusche mit kleiner Kante – die Wohnung ist nicht rollstuhlgerecht.",
"points": "49.8,41.3 66.3,41.3 66.3,64.7 49.8,64.7",
"photo_ids": [
16,
17
],
"amenity_ids": [],
"is_visible": true
},
{
"id": "schlafen",
"name": "Schlafzimmer",
"description": "Ruhiges Schlafzimmer zur Gartenseite mit Kingsize-Bett.",
"hint": null,
"points": "74.5,29.2 89.3,29.2 89.3,65.9 66.6,65.9 66.6,43.5 70.6,37.5",
"photo_ids": [
13,
14
],
"amenity_ids": [],
"is_visible": true
}
]