Skip to content

Feature/space settings structure - #95

Merged
mjkatgithub merged 14 commits into
developfrom
feature/space-settings-structure
May 25, 2026
Merged

Feature/space settings structure#95
mjkatgithub merged 14 commits into
developfrom
feature/space-settings-structure

Conversation

@mjkatgithub

Copy link
Copy Markdown
Owner

No description provided.

- 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.
@mjkatgithub mjkatgithub linked an issue May 25, 2026 that may be closed by this pull request
9 tasks
@github-project-automation github-project-automation Bot moved this to Backlog in Decentra May 25, 2026
- 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.
@mjkatgithub
mjkatgithub merged commit 4105c48 into develop May 25, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in Decentra May 25, 2026
@mjkatgithub
mjkatgithub deleted the feature/space-settings-structure branch May 25, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Feature: Space settings and structure management

1 participant