Feature/space settings structure - #95
Merged
Merged
Conversation
- Introduced a space settings hub allowing users to manage space profile (name, topic, icon) and custom roles. - Added functionality for member assignment, channel visibility per role, and drag-and-drop channel organization similar to Discord. - Enhanced member list display with Cinny-style member groups and role-based color coding. - Updated internationalization support in `useAppI18n` for new space settings and roles-related messages. - Added unit tests to verify the new features and updated CHANGELOG to reflect these changes.
- Renamed functions and constants related to power level tags for clarity, replacing "Cinny" references with a more generic "Power Level" terminology. - Updated the logic in `useSpaceRoles`, `spaceRolesStateHelpers`, and `spaceRolesMatrixSync` to reflect the new naming conventions. - Adjusted unit tests to ensure consistency with the updated function names and behavior. - Removed deprecated functions related to Cinny power level tags to streamline the codebase.
- Introduced `getRoomCreatorUserId` utility to exclude room creators from power level assignments in `syncChildRoomPowerLevelsFromSpaceRoles` and `syncSpacePowerLevelsFromRoles`. - Updated `buildUserPowerAssignments` to accept an `excludeUserIds` parameter, ensuring excluded users are not assigned power levels. - Adjusted related unit tests to verify the exclusion of specified user IDs from power level calculations. - Enhanced power levels compilation to include new state types for better interoperability.
- Updated space roles and permissions to utilize Matrix `m.room.power_levels` and Cinny/Sable `in.cinny.room.power_level_tags`, removing the custom `decentra.space.roles` state event. - Enhanced role management with power-level dropdowns for actions like invite, kick, and ban, ensuring better interoperability. - Introduced a new `useSpacePowerLevelSettings` composable for managing power level permissions. - Updated internationalization support in `useAppI18n` for new role and permission messages. - Adjusted related components and utilities to align with the new power level structure and permissions handling. - Updated CHANGELOG to reflect these changes.
- Updated space settings to include new options for managing space access rules and publishing to the directory. - Introduced functionality for upgrading space rooms and handling join rules, with corresponding UI updates in the space settings page. - Enhanced internationalization support in `useAppI18n` for new space management messages. - Refactored related components and composables to accommodate the new features, ensuring a cohesive user experience. - Updated CHANGELOG to reflect these enhancements.
- Introduced a new `SpacePermissionRoleSelect` component for improved role selection in space settings. - Updated internationalization support in `useAppI18n` to include new messages for role management. - Refactored space settings to utilize permission groups, enhancing the UI for managing roles and permissions. - Added utility functions for role display and selection logic, ensuring a cohesive user experience. - Implemented unit tests for the new role management functionalities and updated CHANGELOG accordingly.
- Added functionality to create rooms and subspaces linked to parent spaces, improving the organizational structure within the chat application. - Updated internationalization support in `useAppI18n` to include new messages for adding rooms and subspaces. - Refactored the room creation process to accommodate the new parent space linking feature, ensuring a seamless user experience. - Enhanced UI components to support the addition of rooms and subspaces, including new buttons and menu items in the chat interface. - Updated relevant pages and components to reflect these changes, ensuring consistency across the application. - Added unit tests to verify the new functionalities and updated CHANGELOG accordingly.
- Introduced new properties and methods for adding rooms and subspaces under specific parent spaces, improving the organizational structure within the chat application. - Updated internationalization support in `useAppI18n` to include new messages for managing room categories and actions. - Refactored components and utilities to accommodate the new linking and insertion index features for rooms and spaces. - Enhanced the UI to support these new functionalities, ensuring a seamless user experience. - Added unit tests to verify the new features and updated the CHANGELOG accordingly.
- Introduced a new `MatrixInvitePanel` component for inviting users to rooms and spaces, enhancing user collaboration features. - Updated `useMatrixClient` to include an `inviteUsersToRoom` method for handling user invitations. - Enhanced internationalization support in `useAppI18n` with new messages related to user invitations. - Implemented UI updates in the room creation and chat components to support inviting users during room creation and from the chat interface. - Added utility functions for parsing Matrix user IDs and checking invite permissions. - Included unit tests to verify the new invitation functionalities and updated the CHANGELOG accordingly.
- Added a new `showHeader` prop to the `ChatOnboardingPanel` component to conditionally render the header based on whether the user has joined non-space rooms. - Updated the chat page to utilize the new `showHeader` prop, improving the onboarding experience for first-time users. - Refactored the onboarding logic to streamline the display of onboarding components based on user state.
- Introduced a new `roomListDragDelay` function to dynamically set the drag delay based on the room category's reorder capability. - Updated the drag-and-drop component to utilize the new delay function, enhancing user experience during room management. - Refactored class bindings for room rows to include cursor styles based on drag capabilities, improving visual feedback for users.
- Introduced the `useRoomSettings` composable for managing room name and topic editing, enhancing user control over channel settings. - Updated the `Chat/RoomCategoryList` component to include a button for opening room settings, improving accessibility to room management features. - Enhanced internationalization support in `useAppI18n` with new messages related to room settings. - Created a new settings page for rooms, allowing users to view and edit room details. - Implemented utility functions for channel permissions, ensuring proper access control for room management actions. - Added unit tests for the new functionalities and updated the CHANGELOG accordingly.
9 tasks
- Added a comprehensive space settings hub with options for Matrix profile management, join rules, directory publishing, and custom roles. - Introduced a new Matrix invite flow, allowing per-channel and space-wide invites, enhancing user collaboration. - Implemented channel settings accessible via a dedicated settings page, improving user control over room details. - Enhanced the home interface with new actions for getting started and improved sidebar organization for room labels. - Introduced a Cinny-style space channel tree for better navigation and organization of rooms and subspaces. - Updated the CHANGELOG to reflect these significant enhancements in space and channel management.
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.
No description provided.