Skip to content

fix: add vip123 options to admin user management - #18

Merged
sunnylqm merged 2 commits into
mainfrom
fix/admin-user-vip-tiers
Mar 19, 2026
Merged

fix: add vip123 options to admin user management#18
sunnylqm merged 2 commits into
mainfrom
fix/admin-user-vip-tiers

Conversation

@sunnylqm

@sunnylqm sunnylqm commented Mar 19, 2026

Copy link
Copy Markdown
Collaborator

Summary\n- add VIP1/VIP2/VIP3 tier options to admin user management\n- keep user tier labels aligned with available admin-select options\n\n## Testing\n- bun run build

Summary by CodeRabbit

  • New Features

    • Added searchable tier selection when managing users.
  • Improvements

    • Tier information now displays with clear, readable labels instead of raw values.
    • Increased tier column width for better layout visibility.

@netlify

netlify Bot commented Mar 19, 2026

Copy link
Copy Markdown

Deploy Preview for pushy ready!

Name Link
🔨 Latest commit c87364f
🔍 Latest deploy log https://app.netlify.com/projects/pushy/deploys/69bbd0df8077bf00087ce0c4
😎 Deploy Preview https://deploy-preview-18--pushy.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5b9752d0-25ce-419c-a3b4-c80fb63ec060

📥 Commits

Reviewing files that changed from the base of the PR and between 0e256d1 and c87364f.

📒 Files selected for processing (1)
  • src/pages/admin-users.tsx

📝 Walkthrough

Walkthrough

Updated the admin users page to centralize tier metadata by importing quotas configuration and creating tier options and label mappings. Enhanced the tier column with proper display labels, increased width, and added searchable filtering capability to the tier selection dropdown.

Changes

Cohort / File(s) Summary
Tier Metadata Centralization
src/pages/admin-users.tsx
Imported quotas to access shared tier configuration; created tierOptions array and tierLabelMap for consistent tier display. Updated tier column rendering to use labeled values with fallback handling, widened from 100 to 120. Replaced hardcoded Select options with centralized config and enabled showSearch with label-based filtering.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A rabbit hops with glee, tier labels now align,
Mapped from quotas, searchable and fine,
Column width expanded, metadata centralized,
The admin page now organized and optimized! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/admin-user-vip-tiers
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can validate your CodeRabbit configuration file in your editor.

If your editor has YAML language server, you can enable auto-completion and validation by adding # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json at the top of your CodeRabbit configuration file.

@sunnylqm
sunnylqm merged commit 4ad20ea into main Mar 19, 2026
4 of 5 checks passed
@sunnylqm
sunnylqm deleted the fix/admin-user-vip-tiers branch March 19, 2026 10:34
@coderabbitai coderabbitai Bot mentioned this pull request Apr 27, 2026
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