LuminaWebsite/assets/js
Maaxxs 6ea447c6a4 Premades: reserve slot with drag & drop, membership in several premades, class preselected from Discord
- Every premade has a 6th slot, the reserve (bench). New players get a free slot in the group,
  otherwise the reserve; the bot assigns it (premade_members.reserve). Pending invites count.
- In edit mode the lead / leadership drags players between group and reserve: onto the reserve a
  previous reservist swaps into the group, the reservist dropped onto a member swaps with them, the
  lead always stays in the group. Without a mouse the same works with the arrow button in the slot
  (premade_action.php "move" -> PATCH /api/premades/{id}/members/{user_id} {reserve}).
- Players can be members of several premades: inviting and accepting no longer check other groups.
  Leading stays limited to one premade unless the new permission premades.lead_multiple allows more
  (founding, lead picked by the leadership, lead transfer; the website sends allow_multiple_lead).
  discord_ids_with_permission() answers that for other players.
- The class in a premade is preselected with the main class from the Discord roles when founding,
  inviting/assigning and accepting; members who joined in Discord get it on the next visit of the
  premades page. The own slot has a swap icon that opens the class picker (replaces the separate
  "Deine Klasse" tile).
- Dashboard lists all own premades (led ones first) with the reserve slot.
- Privacy policy (slot, preselected class), data export (platz), patch notes and README updated;
  schema v50 syncs the new permission. The live reload waits while a drag is running.

Needs the matching bot update (reserve column, PATCH reserve, class on add, allow_multiple_lead),
deployed to the bot server on 2026-09-25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 00:42:14 +02:00
..
activity.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
admin-users.js User management and raids: search field; user management also has status filters and sorting 2026-09-21 21:03:17 +02:00
calendar.js Map: versioned scripts (map_frame.php) against stale browser cache, touch taps with tolerance 2026-09-21 22:37:37 +02:00
confirm-dialog.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
contributions.js Lumipunkte ranking shows the top 24, leadership can expand the rest 2026-09-22 10:18:44 +02:00
copy-button.js Data export and account deletion (anonymization) with a grace period 2026-09-24 17:02:42 +02:00
embed-consent.js Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00
events.js Events: new tab for the bot's scheduled event reminders 2026-09-20 12:40:56 +02:00
file-input.js Gear planner, dashboard polish, images on bug reports 2026-09-22 09:27:09 +02:00
gear-admin.js Skill descriptions from the German client, hover info, centered Daevanion board, aligned user admin buttons 2026-09-24 01:16:39 +02:00
gear-plans.js Skill descriptions from the German client, hover info, centered Daevanion board, aligned user admin buttons 2026-09-24 01:16:39 +02:00
gear.js Skill tooltips with values at the planned level, page background no longer zooms, 150+ members 2026-09-24 01:44:44 +02:00
home-photos.js Start page pictures are chosen by the leadership (site.homepage), not by the members 2026-09-24 23:30:12 +02:00
image-resize.js Member profiles with characters and gallery, member list search/filter/sort/view toggle, Discord join date 2026-09-21 20:45:37 +02:00
item-picker.js Activity check (website + bot), videos in the wiki, contributor search list 2026-09-22 01:11:49 +02:00
lightbox.js Audit log, abuse protection, gallery comments with moderation, safe image uploads, 404 page 2026-09-21 21:57:34 +02:00
live.js Premades: reserve slot with drag & drop, membership in several premades, class preselected from Discord 2026-09-25 00:42:14 +02:00
members.js Group tags: optional gradient background like Discord, rank view hides the tags of all groups that have a member list order 2026-09-23 17:55:33 +02:00
nav.js Nav: group sidebar links, add mobile slide-out drawer 2026-09-20 01:37:12 +02:00
premades.js Premades: reserve slot with drag & drop, membership in several premades, class preselected from Discord 2026-09-25 00:42:14 +02:00
raid-search.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
raids.js Classes come from Discord: all class roles are taken over automatically, members pick their main class, the main class is listed first everywhere 2026-09-23 17:34:37 +02:00
reactions.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
reports.js Reports: replace the table with a styled card list 2026-09-20 02:56:32 +02:00
scroll-progress.js Custom scroll bar: gold progress rail on the right instead of the browser scrollbar 2026-09-22 02:26:59 +02:00
shop.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
sidebar-editor.js Member feedback: raid input checks and fixed raid points, premades in the raid form, live raid page, Lumina-style dialogs, leadership calendar entries, class-based weapon picker, map and tactics fixes 2026-09-23 16:12:18 +02:00
success-popup.js Show success flashes as a centered popup with an animated checkmark 2026-09-20 02:32:23 +02:00
tour.js Dashboard onboarding tour for new members, restartable from the profile 2026-09-21 18:46:21 +02:00
warehouse.js Member selection as a search list with avatar instead of a dropdown (warehouse, attendance, premades) 2026-09-22 02:50:11 +02:00
wiki-editor.js Impressum and privacy policy, third-party videos and images load only after a click 2026-09-24 16:26:54 +02:00