Feature/allowed users#47
Merged
f7f376a1fcd0d0e11a10ed1b6577c9 merged 5 commits intomainfrom Jun 24, 2025
Merged
Conversation
- Implement free, paid, and exclusive modes with distinct tier configurations - Add mode-specific default tiers (free: 100MB-1GB, paid: 1-10GB with pricing, exclusive: 2-25GB) - Create comprehensive allowed users page with permissions and tier management - Add API integration for allowed users settings and NPUB management - Implement tier validation and automatic price handling per mode - Add navigation and routing for allowed users functionality
- Apply dark background (#25284B) with light text (#d9d9d9) for better readability - Maintain visual consistency across all alert components - Improve contrast and accessibility for notification messages
- Replace separate read/write tabs with single unified table - Add read/write access toggle switches for instant permission management - Enhance add user modal with permission selection toggles - Improve bulk import to support permission flags (r/w/rw) - Update export format to include permission information - Streamline user experience - manage all permissions from one view
- Add 'All Users' option to exclusive mode write access for more flexibility - Create custom styled switches with better visibility in off state - Use dark gray background (#434343) for unchecked switches instead of faded appearance - Add proper styling for loading and disabled switch states - Improve user experience in both table view and modal forms - Maintain excellent appearance of checked/on state while making off state clearly visible
…system - Remove SubscriptionTiersManager and SubscriptionSection components - Clean up relay settings layouts to remove subscription props - Update allowed users API to handle free mode tier selection - Improve NPubManagement component with better error handling - Enhance TiersConfig with radio button selection for free mode - Clean up relay settings types and hooks
f7f376a1fcd0d0e11a10ed1b6577c9
approved these changes
Jun 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a comprehensive migration from the legacy subscription system to a new allowed users
management system with mode-specific tier configurations. The changes align the frontend with recent backend
changes that moved subscription tiers from
relay_settingstoallowed_usersconfiguration.Key Changes
🗑️ Removed Legacy Components
🔧 Enhanced Allowed Users System
🎨 UI/UX Improvements
controls
🧹 Code Cleanup
Testing
Breaking Changes
This PR removes the legacy subscription management system. Ensure the backend changes for the allowed users
system are deployed before merging this PR.
Migration Notes