Skip to content

feat(admin): visual and UX improvements across admin UI - #7

Merged
anggorodewanto merged 3 commits into
AccelByte:mainfrom
wahyuwidharto:feat/admin-ui-improvements
Jun 5, 2026
Merged

anggorodewanto merged 3 commits into
AccelByte:mainfrom
wahyuwidharto:feat/admin-ui-improvements

Conversation

@wahyuwidharto

Copy link
Copy Markdown
Contributor

Summary

  • Playtest Hub list page — full-width white header, tab split (Playtest List / Global Configurations), ADT Linkages as Card in config tab, column reorder, client-side search, Create button in card header
  • Create Playtest page — full-width white header, 3-step wizard (Playtest Setup → Build Distribution → Access & Privacy) with navigation stepper, fixed action bar, ADT option reordered and renamed, radio card grid layout fix for indicator stretching
  • Playtest Detail page — full-width white header with breadcrumb/tabs, Overview card (participant count, pending approvals, period tag + timeline), sign-up link in info table (hidden for Draft)
  • Survey tab — Card wrapper, save button in header, question containers with subtle grey background
  • Responses tab — question aggregate containers with subtle grey background, "Question N" labels
  • Participants tab — wrapped in Card with enrollment count in header
  • Audit Log tab — wrapped in Card with Refresh button in header

Test plan

  • Playtest Hub list: white header visible, tabs switch between Playtest List and Global Configurations, search filters rows, column order matches spec
  • Create Playtest: wizard steps navigate correctly, Back/Cancel/Next/Create buttons work, ADT option order is Steam Keys → ADT (Direct Download) → AGS Campaign, radio circles render as perfect circles at all viewport widths
  • Playtest Detail: white header with breadcrumb and tabs, Overview card shows participant count and period tag, sign-up link row hidden for Draft playtests
  • Survey tab: Card layout with save button in header, question containers have grey background
  • Responses tab: question containers have grey background, "Question 1 / 2 / 3…" labels visible
  • Participants and Audit tabs: wrapped in Card with correct header content

🤖 Generated with Claude Code

wahyuwidharto and others added 3 commits June 4, 2026 16:10
Playtest Hub list page
- Full-width white header (negative-margin technique against FederatedElement padding)
- Tab split: "Playtest List" and "Global Configurations"
- ADT Linkages moved to Global Configurations tab, restyled as Card
- Column reorder: Title → Status → Distribution → Slug → Approval → Actions; "Updated" column removed
- Client-side search by title or slug
- "+ Create Playtest" button moved to Card header

Create Playtest page
- Full-width white header (title only)
- 3-step wizard with Ant Design navigation stepper inside the form Card:
  Step 1 – Playtest Setup (basic info, schedule, platforms)
  Step 2 – Build Distribution (distribution model + ADT picker)
  Step 3 – Access & Privacy (approval mode, NDA)
- Fixed action bar: Cancel (left), Back + Next/Create (right)
- Distribution option order: Steam Keys → ADT (Direct Download) → AGS Campaign
- Radio card layout switched to CSS grid to fix indicator stretching on narrow viewports
- scrollToFirstError on Create and Edit forms

Playtest Detail page
- Full-width white header: breadcrumb, title, date range, Playtest Link button (hidden for
  Draft), status tag, Publish/Stop actions; tabs in header
- Tab content rendered in grey area below header
- Playtest Info tab: new Overview card with participant count (with optional cap), pending
  approvals (manual approval only), playtest period with dynamic tag
  (Upcoming / Running / Ended / Stopped) and timeline subtext
- Sign-up link moved into Playtest Information table row; shows "Available once published"
  for Draft status

Survey tab
- Wrapped in Card; save/create button moved to card header extra slot
- Question containers: #fafafa background, softened border

Responses tab
- Question aggregate containers: #fafafa background, softened border
- "Question N" label added above each question prompt

Participants tab
- Wrapped in Card with enrollment count in header

Audit Log tab
- Wrapped in Card with Refresh button in header

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…filter

Replace useEffect + setSurveyIdFilter with a derived effectiveSurveyIdFilter.
null = user explicitly cleared (all versions), undefined = not set (defaults
to current survey id). Fixes react-hooks/set-state-in-effect lint error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Align the admin test suite with the visual/UX redesign in PR AccelByte#7:
- drive the 3-step create wizard (Setup → Build Distribution → Access)
- open the Global Configurations tab for ADTLinkagesPanel
- match reworded copy (ADT label, survey version, responses summary,
  sign-up link placeholder) and the share-link input→text change

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@anggorodewanto
anggorodewanto merged commit d77ea62 into AccelByte:main Jun 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants