Skip to content

Conversation

@AnthonyMarin
Copy link
Member

This pull request introduces several enhancements to improve styling consistency, code readability, and maintainability across components in the allowed-users module. Key changes include the addition of styled wrappers for tables and inputs, updates to color and layout properties, and the refactoring of components to use reusable styled elements.

Styling Enhancements:

  • Table Styling: Added TableContainer styled component to encapsulate table-related styles, including background color, border radius, and placeholder behavior. Applied the container in NPubManagement and TiersConfig components. [1] [2] [3] [4] [5]
  • Input Styling: Introduced StyledInput for consistent input field styling across components. Updated TierEditor to use StyledInput for tier name, price, and value inputs. [1] [2] [3] [4] [5]

Component Refactoring:

  • Content Card: Replaced standard Card components with a new ContentCard styled component for improved visual consistency in AllowedUsersLayout. Applied this change to multiple sections such as Relay Mode, Global Permissions, and Allowed Users Management. [1] [2] [3] [4]

Reusability:

  • Reusable Styled Components: Centralized common styles into reusable components, such as StyledInput, to reduce duplication and ensure design consistency.

These changes collectively enhance the maintainability and user experience of the allowed-users module.

Copy link
Member

@Maphikza Maphikza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I have tested this and it works great. Nothing

@Maphikza Maphikza merged commit 18ffb92 into main Jul 3, 2025
2 checks passed
@ColbySerpa ColbySerpa deleted the ui/allowed-users-improvements branch September 17, 2025 23:19
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.

3 participants