Fix: Design-System-Regression v1102 — .hidden(!important) vs style.display app-weit
Rene: 'Tagebuch Kalenderansicht/Karte nicht mehr da' — Root-Cause: 459cd42
ersetzte style="display:none" durch class="hidden", aber die Show-Pfade
setzten weiter style.display. .hidden hat !important und gewinnt immer
(gleiche Klasse wie Filter-Panel-Hotfix v1242). Prod-Logs bewiesen: kein
einziger /diary/calendar- oder /locations-Request kam je an.
Unsichtbar seit v1102, jetzt per classList gefixt:
- diary: Stats-Bar mit View-Switcher (Liste/Medien/Kalender/Karte) + Medien-Grid neuer Eintrag
- health: KI-Tierarzt-Ergebnis erschien nie
- walks: Challenge-/Stamm-Gassi-Tabs leer
- welcome: iOS-Panel der Desktop-Install-Anleitung
- wiki: Fotos-Mod-Badge + Foto-Fallback (via app.js data-fb show-el/sibling-Handler)
- routes: Filter-Badge; breeder: Fotos-Section
Zweite Fehlerklasse aus demselben Sprint: doppelte class-Attribute
(class="x" id=… class="hidden") — Browser verwirft das zweite Attribut.
87 Vorkommen in 23 Dateien zusammengeführt; betroffene Show/Hide-Pfade
(ev-map, rk-mine/nearby-group, chat-partner-dot, eh-panel, zh-section)
auf classList umgestellt.
This commit is contained in:
parent
5acbaaa97b
commit
178aef7fb0
32 changed files with 197 additions and 188 deletions
|
|
@ -163,11 +163,11 @@ window.Page_onboarding = (() => {
|
|||
|
||||
<!-- Buttons -->
|
||||
<div class="flex-col-gap-3">
|
||||
<button class="btn btn-primary" id="ob-next-btn" class="w-full">
|
||||
<button class="btn btn-primary w-full" id="ob-next-btn">
|
||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#arrow-right"></use></svg>
|
||||
Los geht's
|
||||
</button>
|
||||
<button class="btn btn-ghost" id="ob-skip-btn" class="w-full">
|
||||
<button class="btn btn-ghost w-full" id="ob-skip-btn">
|
||||
Überspringen
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -255,14 +255,14 @@ window.Page_onboarding = (() => {
|
|||
<button class="btn btn-secondary" id="ob-back-btn">
|
||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#arrow-left"></use></svg>
|
||||
</button>
|
||||
<button type="submit" form="ob-dog-form" class="btn btn-primary" id="ob-save-btn"
|
||||
class="flex-1">
|
||||
<button type="submit" form="ob-dog-form" class="btn btn-primary flex-1" id="ob-save-btn"
|
||||
>
|
||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#dog"></use></svg>
|
||||
Hund anlegen
|
||||
</button>
|
||||
</div>
|
||||
<div style="text-align:center;margin-top:var(--space-3)">
|
||||
<button class="btn btn-ghost" id="ob-skip-btn" class="text-sm">
|
||||
<button class="btn btn-ghost text-sm" id="ob-skip-btn">
|
||||
Ohne Hund fortfahren
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -317,12 +317,12 @@ window.Page_onboarding = (() => {
|
|||
|
||||
<!-- CTA -->
|
||||
<div class="flex-col-gap-3">
|
||||
<button class="btn btn-primary" id="ob-diary-btn" class="w-full">
|
||||
<button class="btn btn-primary w-full" id="ob-diary-btn">
|
||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#book-open"></use></svg>
|
||||
Zum Tagebuch
|
||||
</button>
|
||||
${dogName ? `
|
||||
<button class="btn btn-secondary" id="ob-profile-btn" class="w-full">
|
||||
<button class="btn btn-secondary w-full" id="ob-profile-btn">
|
||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#dog"></use></svg>
|
||||
Profil vervollständigen
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue