mirror of
https://github.com/wizarrrr/wizarr.git
synced 2026-08-02 00:06:25 -04:00
This commit implements two improvements to the combo wizard invitation flow: 1. Badge Display Fix: Added the "pre-invite" / "post-invite" category badge above wizard steps in combo invites. This badge was already present in single-invite pages but was missing from combo invites. 2. URL Refactoring: Cleaned up combo wizard URLs to match the pattern used by single-invite wizards: - Before: /wizard/combo/0?category=pre_invite → /j/<code> → /wizard/combo/0?category=post_invite - After: /wizard/combo/pre_invite → /j/<code> → /wizard/combo/post_invite This makes combo URLs consistent with single-invite URLs (/wizard/pre-wizard → /wizard/post-wizard) by removing the step index from the path and using path-based category routing. Changes include: - Pass step_phase to template for badge display - Update routes to use path-based categories instead of query parameters - Update templates and JavaScript to handle new URL structure - Fix form method attributes and template formatting