Skip to content

Add multi-select to claim the tier reward items on the dashboard and quantity selector for the donation shop#17

Open
achenxu wants to merge 1 commit into
marky291:masterfrom
achenxu:master
Open

Add multi-select to claim the tier reward items on the dashboard and quantity selector for the donation shop#17
achenxu wants to merge 1 commit into
marky291:masterfrom
achenxu:master

Conversation

@achenxu
Copy link
Copy Markdown
Collaborator

@achenxu achenxu commented Feb 6, 2026

Multi-Select Tier Rewards

Features:

  • Added checkbox selection for tier bonus rewards
  • Bulk claim multiple rewards at once with "Claim Selected" button
  • "Select All" / "Deselect All" toggle button
  • Smart selection tracking per game account
  • Styled with XileRO design patterns (purple/blue gradients, amber accents)

Technical:

  • Added selectedRewardIds array property to Dashboard component
  • New toggleSelectAll() method for bulk selection
  • New claimSelectedRewards() method for batch claiming
  • Enhanced UI with checkboxes and dynamic buttons

Quantity Selector for Donate Shop

Features:

  • Up/down arrow buttons to adjust purchase quantity
  • Number input with min/max validation
  • Real-time total cost calculation
  • Stock limit enforcement
  • Disabled state when stock is insufficient

Technical:

  • Added purchaseQuantity property to DonateShop component
  • New incrementQuantity() and decrementQuantity() methods
  • Updated purchase flow to handle multiple quantities
  • Creates separate purchase records for each quantity
  • Enhanced UI with quantity controls and cost preview

Files Changed:

  • app/Livewire/Auth/Dashboard.php
  • resources/views/livewire/auth/partials/game-account-card.blade.php
  • app/Livewire/DonateShop.php
  • resources/views/livewire/donate-shop.blade.php
image

Donation Tier Multi Select to Claim

## Multi-Select Tier Rewards

**Features:**
- Added checkbox selection for tier bonus rewards
- Bulk claim multiple rewards at once with "Claim Selected" button
- "Select All" / "Deselect All" toggle button
- Smart selection tracking per game account
- Styled with XileRO design patterns (purple/blue gradients, amber accents)

**Technical:**
- Added `selectedRewardIds` array property to Dashboard component
- New `toggleSelectAll()` method for bulk selection
- New `claimSelectedRewards()` method for batch claiming
- Enhanced UI with checkboxes and dynamic buttons

## Quantity Selector for Donate Shop

**Features:**
- Up/down arrow buttons to adjust purchase quantity
- Number input with min/max validation
- Real-time total cost calculation
- Stock limit enforcement
- Disabled state when stock is insufficient

**Technical:**
- Added `purchaseQuantity` property to DonateShop component
- New `incrementQuantity()` and `decrementQuantity()` methods
- Updated purchase flow to handle multiple quantities
- Creates separate purchase records for each quantity
- Enhanced UI with quantity controls and cost preview

**Files Changed:**
- app/Livewire/Auth/Dashboard.php
- resources/views/livewire/auth/partials/game-account-card.blade.php
- app/Livewire/DonateShop.php
- resources/views/livewire/donate-shop.blade.php
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.

1 participant