Export room-list components from shared-components

Add exports for RoomListView, RoomListItem, RoomListPrimaryFilters, and RoomList.
Include i18n strings for room list components.
This commit is contained in:
David Langley 2026-01-30 09:44:40 +00:00
parent fc6318a613
commit fb8a93acbe
3 changed files with 66 additions and 1 deletions

View File

@ -25,6 +25,12 @@
"left_panel": {
"open_dial_pad": "Open dial pad"
},
"notifications": {
"all_messages": "All messages",
"default_settings": "Match default settings",
"mentions_keywords": "Mentions and keywords",
"mute_room": "Mute room"
},
"room": {
"context_menu": {
"title": "Room options"
@ -45,8 +51,63 @@
}
},
"room_list": {
"a11y": {
"default": "Open room %(roomName)s",
"invitation": "Open room %(roomName)s invitation.",
"mention": {
"one": "Open room %(roomName)s with 1 unread mention.",
"other": "Open room %(roomName)s with %(count)s unread mentions."
},
"unread": {
"one": "Open room %(roomName)s with 1 unread message.",
"other": "Open room %(roomName)s with %(count)s unread messages."
},
"unsent_message": "Open room %(roomName)s with an unsent message."
},
"appearance": "Appearance",
"collapse_filters": "Collapse filter list",
"empty": {
"no_chats": "No chats yet",
"no_chats_description": "Get started by messaging someone or by creating a room",
"no_chats_description_no_room_rights": "Get started by messaging someone",
"no_favourites": "You don't have favourite chats yet",
"no_favourites_description": "You can add a chat to your favourites in the chat settings",
"no_invites": "You don't have any unread invites",
"no_lowpriority": "You don't have any low priority rooms",
"no_mentions": "You don't have any unread mentions",
"no_people": "You dont have direct chats with anyone yet",
"no_people_description": "You can deselect filters in order to see your other chats",
"no_rooms": "Youre not in any room yet",
"no_rooms_description": "You can deselect filters in order to see your other chats",
"no_unread": "Congrats! You dont have any unread messages",
"show_activity": "See all activity",
"show_chats": "Show all chats"
},
"expand_filters": "Expand filter list",
"filters": {
"favourite": "Favourites",
"invites": "Invites",
"low_priority": "Low priority",
"mentions": "Mentions",
"people": "People",
"rooms": "Rooms",
"unread": "Unreads"
},
"list_title": "Room list",
"more_options": {
"copy_link": "Copy room link",
"favourited": "Favourited",
"leave_room": "Leave room",
"low_priority": "Low priority",
"mark_read": "Mark as read",
"mark_unread": "Mark as unread"
},
"notification_options": "Notification options",
"open_space_menu": "Open space menu",
"primary_filters": "Room list filters",
"room": {
"more_options": "More Options"
},
"room_options": "Room Options",
"show_message_previews": "Show message previews",
"sort": "Sort",

View File

@ -21,6 +21,10 @@ export * from "./rich-list/RichItem";
export * from "./rich-list/RichList";
export * from "./room-list/RoomListHeaderView";
export * from "./room-list/RoomListSearchView";
export * from "./room-list/RoomListView";
export * from "./room-list/RoomListItem";
export * from "./room-list/RoomListPrimaryFilters";
export * from "./room-list/RoomList";
export * from "./utils/Box";
export * from "./utils/Flex";
export * from "./right-panel/WidgetContextMenu";

View File

@ -12,5 +12,5 @@ export * from "./ViewModelSubscriptions";
export type * from "./ViewModel";
export * from "./MockViewModel";
export * from "./useCreateAutoDisposedViewModel";
export * from "./useViewModel";
export * from "./useMockedViewModel";
export * from "./useViewModel";