svennickel fa63e1e2d6 Spielpunkte-Auswahl gruppieren, und die Hinweise brechen wieder um
Sven 2026-09-09 mit zwei Bildschirmfotos: „Benenne die Optionen geeignet,
geeignet angeordnet und gut unterscheidbar." Und: „Und brich die Beschreibungen
geeignet um."

1. DIE BESCHREIBUNGEN — ein Schaden, den 7f1bedc (Kommentare entfernen)
   angerichtet hat. Der Kommentar ueber der CSS-Regel .sm_hinweis war
   mehrzeilig; entfernt wurde nur seine ERSTE Zeile, weil nur die mit „/*"
   begann. Zurueck blieben vier Prosazeilen und ein verwaistes „*/" direkt hinter
   <style>. Der Browser liest das als Selektor und verwirft die ganze Regel — also
   fehlten `white-space: normal` und `max-width: 42em`, und jede Beschreibung lief
   in einer Zeile aus dem Bild. Genau das zeigt Svens Bildschirmfoto.

   Der Rest ist entfernt, die Regel gilt wieder. Gegengeprueft: im ganzen Zweig
   gibt es kein zweites unbalanciertes Kommentarzeichen (Klammerbilanz ueber alle
   sechs geaenderten Dateien; die uebrigen Treffer sind einzeilige Kommentare).

2. DIE AUSWAHL. Die neue Wertung stand am Ende und las sich fast wortgleich wie
   die zweite („Sieg: 2 Punkte, Unentschieden: 1 Punkt – je Satz" gegen „Sieg: 2
   Punkte, Unentschieden: 1 Punkt"). Jetzt zwei Gruppen:

     Fuer das ganze Spiel
        Sieg: 1 Punkt
        Sieg: 2 Punkte, Unentschieden: 1 Punkt
        Sieg: 3 Punkte, Unentschieden: 1 Punkt
        Ohne Umrechnung – Saetze sind die Spielpunkte
     Fuer jeden Satz einzeln
        Je Satz: Sieg 2 Punkte, Unentschieden 1 Punkt

   Das Unterscheidende steht ZUSAETZLICH im Eintrag selbst („Je Satz:" vorn), weil
   eine Gruppenueberschrift nur im aufgeklappten Zustand sichtbar ist — zugeklappt
   zeigt das Feld allein den Eintrag, und der muss fuer sich sprechen.

   Das Feld heisst nicht mehr „Spielpunkte pro Spiel", sondern „Spielpunkte": mit
   einer Wertung je Satz war die alte Beschriftung ihrem eigenen Inhalt
   widersprochen.

3. Beide Auswahlfelder (Einzel und Doppel) entstehen jetzt aus EINER Funktion.
   Vorher stand die Schleife zweimal da — dieselbe Bauart, die beim Remis-Vorfall
   auseinandergelaufen ist.

Gemessen am Testserver: Modus 21 (je Satz) zeigt beide Gruppen mit dem richtigen
gewaehlten Eintrag; Modus 15 („Mehrere" ohne Satzerfassung) und 16 („Einer")
zeigen die Je-Satz-Gruppe VERBORGEN. Die .sm_hinweis-Regel kommt wieder
unversehrt im Quelltext der Seite an.
2026-09-09 21:59:07 +02:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2026-09-02 11:33:38 +02:00

SportsManager

DEV/STAGE environments

LV HOSTER DOMAIN BRANCH
DTFB Kicktemp stage.dtfb.de dev
TFVHH Kicktemp stage.kickern-hamburg.de dev
STFVH DTFB stage.stfv.de sportsmanager2-stage
MTFV DTFB stage.mtfv.de ?
TFVSH DTFB relaunch.tfvsh.de ?

PROD environments

LV HOSTER DOMAIN BRANCH
DTFB Kicktemp dtfb.de production
TFVHH Kicktemp kickern-hamburg.de production
MTFV DTFB mtfv.de sportsmanager2-prod
TFVSH DTFB tfvsh.de sportsmanager2-prod
STFVH DTFB stfv.de sportsmanager2-prod

Test setup

Installation

To start joomla and the database, run

   docker-compose up -d

Release creation

To create a release execute

    npm run release

Deployment

Deployment can only be done manually right now (sad)
To do this go to Testserver Extension Installer Site and upload the zip file found in ./package/packages

Development Tools

If you are using Intellij, there is a plugin named Joomla! which helps with resolving joomla specific database prefixes like #__
To set it up, insert into the configuration popup which follows after you enable the framework support:
Joomla install path: ./data/joomla_data
JConfig: ./data/joomla_data/configuration.php

This works only with mounted volumes. However, mounted volumes will slow down the joomla instance significantly.
The current setup does not use mounted volumes. An alternative would be to download joomla and use that installation

Debugging (with Docker/Intellij)

  1. Start Docker Container (see above)

  2. Create a terminal for that container

      docker exec -it <container_name> bash
    
  3. install xdebug within the container since joomla does not come with xdebug preinstalled

      pecl install xdebug
    
  4. restart the container

  5. In Intellij Go to File | Settings | Languages & Frameworks | PHP | Servers and setup your server

    name anything
    host localhost
    port 8080
    debugger xdebug

    use the path mapping and map the repo structure to the container content

    File/Directory path on server
    <path>/com_sportsmanager/src/structure/administrator/components /var/www/html/administrator/components
    <path>/com_sportsmanager/src/structure/components /var/www/html/components
  6. Click on "Start Listening for PHP Debug Connections" in the top row of intellij

  7. (Not sure if optional) Install a browser extension by Jetbrains
    https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm

How to release

Hint: for technical details regarding the release process have a look into .github/...
To create a release these steps need to be followed

  1. make sure all needed code changes are merged from dev -> stage -> prod, since releases may only be build on prod branch
  2. give pull requests meaningful names and label them enhancement/bug/chore since labels and names are used for release note generation Hint: if a specific pull request should be ignored, add the label changelog-ignore
  3. tag a commit (recommended is the latest merge on prod). The pipeline is listening for any tag fitting v[0-9]+.[0-9]+.[0-9]+
      git tag -a v1.2.3 1a2b3c4 -m "Release version 1.2.3"
    
  4. push the tag
      git push origin --tags
    
  5. the tag push will trigger the pipeline, and it will create the release and store in GitHub

A release can be created again anytime by deleting the release from GitHub, deleting the tag (from GitHub and additionally from git) and repeating step 3 and 4

Further: merges from dev to stage and from stage to prod can only be done by creating pull requests. These pull requests will be automatically labeled as changelog-ignore

S
Description
No description provided
Readme
14 MiB
Languages
PHP 99.2%
JavaScript 0.7%