LuminaWebsite/assets/js
Maaxxs fcab700971 Premades: players can be reordered within the group (drag & drop, arrows on phones)
Asked for: move members to another position inside a premade, not only between group and reserve.
The order lives in the bot (premade_members.position, already deployed with PUT
/api/premades/{id}/order), so it also applies to the premade overview in Discord.

- Edit mode: a group member dragged onto another member swaps places with them, dropped on a free
  group slot it moves to the end; the lead always stays first, the reserve stays the reserve.
  Without a mouse the small up/down arrows in the slot move a player one place (disabled at the ends).
- premade_action.php: new action "reorder" (target_user_id = swap, direction up/down/end) builds the
  new group order from the bot's data and sends it via set_premade_member_order(); only the lead or
  premades.manage may do it, leadership changes in foreign premades go to the audit log. No success
  popup - the new order is visible right away and would get in the way of repeated arrow clicks.
- A bot without the endpoint (404/405 from FastAPI) gives "Der Discord-Bot kann die Reihenfolge noch
  nicht speichern"; its own "Premade nicht gefunden" still comes through as is.
- build_premade_slots() keeps the bot's order in one pass, so pending invites keep their place.
- Moving and reordering jump back to the premade (#premade-ID) instead of the top of the page.
- Phones: the edit buttons sit in one compact group and the roster columns may shrink
  (minmax(0, 1fr)), so cards no longer stick out of the panel in edit mode - long names get "...".
- chevron-up icon; hint text, README, patch notes and one word in the privacy policy (order in the
  group).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 01:00:40 +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 Calendar: long descriptions scroll in their box instead of stretching the entry 2026-09-25 23:08:56 +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 Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +02:00
file-input.js Group icons: groups get an icon in front of their name, like the role icons in Discord 2026-09-25 12:35:02 +02:00
gear-admin.js Gear planner: skill icons are checked against the game client and replaced where aion2hub is wrong 2026-09-26 00:22:34 +02:00
gear-macro.js Macro planner: every gear set gets a "Makro" tab built like the in-game macro window 2026-09-25 23:32:09 +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 Macro planner: every gear set gets a "Makro" tab built like the in-game macro window 2026-09-25 23:32:09 +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
item-tooltip.js Item tooltips show the game data from aion2hub instead of warehouse and shop details 2026-09-25 02:03:23 +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 Professions: members enter their characters' professions, a new page shows who can craft what 2026-09-26 00:01:11 +02:00
nav.js Nav: group sidebar links, add mobile slide-out drawer 2026-09-20 01:37:12 +02:00
premades.js Premades: players can be reordered within the group (drag & drop, arrows on phones) 2026-09-26 01:00:40 +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 Discord bot as overview: everything is managed on the website, raid signup in one click 2026-09-25 03:15:55 +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
tag-order.js Tag order: the leadership sets the order of the group tags 2026-09-25 22:59:25 +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