Redesign user profile view (#2396)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Sat, 9 Aug 2025 12:16:10 +0000 (17:46 +0530)
committerGitHub <noreply@github.com>
Sat, 9 Aug 2025 12:16:10 +0000 (22:16 +1000)
commit4d1ae4eafdc7bc9de2c3f6cbc42a97c165bac124
tree87f23e5225e0c9c8ecbe91fa7ecf4976f8fee991
parenta41dee4a55312872f13971a33665d84e3d84113c
Redesign user profile view (#2396)

* WIP - new profile view

* render common rooms in user profile

* add presence component

* WIP - room user profile

* temp hide profile button

* show mutual rooms in spaces, rooms and direct messages categories

* add message button

* add option to change user powers in profile

* improve ban info and option to unban

* add share user button in user profile

* add option to block user in user profile

* improve blocked user alert body

* add moderation tool in user profile

* open profile view on left side in member drawer

* open new user profile in all places
25 files changed:
src/app/components/UserRoomProfileRenderer.tsx [new file with mode: 0644]
src/app/components/event-readers/EventReaders.tsx
src/app/components/message/layout/layout.css.ts
src/app/components/presence/Presence.tsx [new file with mode: 0644]
src/app/components/presence/index.ts [new file with mode: 0644]
src/app/components/presence/styles.css.ts [new file with mode: 0644]
src/app/components/user-profile/PowerChip.tsx [new file with mode: 0644]
src/app/components/user-profile/UserChips.tsx [new file with mode: 0644]
src/app/components/user-profile/UserHero.tsx [new file with mode: 0644]
src/app/components/user-profile/UserModeration.tsx [new file with mode: 0644]
src/app/components/user-profile/UserRoomProfile.tsx [new file with mode: 0644]
src/app/components/user-profile/index.ts [new file with mode: 0644]
src/app/components/user-profile/styles.css.ts [new file with mode: 0644]
src/app/features/common-settings/members/Members.tsx
src/app/features/room/MembersDrawer.tsx
src/app/features/room/RoomTimeline.tsx
src/app/features/room/reaction-viewer/ReactionViewer.tsx
src/app/features/space-settings/SpaceSettingsRenderer.tsx
src/app/hooks/useMembership.ts [new file with mode: 0644]
src/app/hooks/useMentionClickHandler.ts
src/app/hooks/useMutualRooms.ts [new file with mode: 0644]
src/app/hooks/useUserPresence.ts [new file with mode: 0644]
src/app/pages/Router.tsx
src/app/state/hooks/userRoomProfile.ts [new file with mode: 0644]
src/app/state/userRoomProfile.ts [new file with mode: 0644]