Asked for: "baue ein, dass die Premade-Übersicht in Web bei der Standardsortierung gestaffelt aufgereiht wird nach
nutzer. standartmäßig ist alles eingeklappt ... reihenfolge der benutzer und den premaids innerhalb des benutzers
können wir frei konfigurieren".
- premades.php: without a chosen sort, one collapsible row per lead (<details class="premade-group">: avatar, name,
number of premades and how many have a free slot, "Du bist dabei" for own premades, open applications for those who
decide on them), premades without a lead in their own group "Ohne Lead". With a sort chip the cards stand flat in
#premade-list as before.
- includes/premade_order.php: premade_order_groups() groups by lead; new table premade_lead_order (Discord ID of the
lead, 0 = without lead; schema version 65) next to premade_options.sort_order. Leads and premades without a place
stand at the end. premade_action.php "order" saves lead_order[] and order[] (log entry lead by lead).
- Editor "Standard-Reihenfolge festlegen": nested list, leads with their premades below; assets/js/tag-order.js now
orders every list of a form on its own (arrows, drag & drop), the roles page works as before.
- assets/js/premades.js: open groups are remembered in sessionStorage (premades-open) only for reloads (live update,
after an action on the page, back/forward) - a new visit shows everything collapsed. The search opens the groups with
hits and hides the others, afterwards the own state returns. Links to a premade (#premade-5, also the bot's
"Bewerbung ansehen") open its group. assets/js/live.js ignores details with data-live-restore, so an open group
does not block the automatic reload.
- Live fingerprint, data reset and account deletion include premade_lead_order; privacy page lists premades-open;
patch note and README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>