You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-03 00:33:22 +03:00 
			
		
		
		
	Add some treeview labels
This commit is contained in:
		@@ -639,7 +639,12 @@ export const SpaceHierarchy: React.FC<IHierarchyProps> = ({
 | 
				
			|||||||
                    { error && <div className="mx_SpaceRoomDirectory_error">
 | 
					                    { error && <div className="mx_SpaceRoomDirectory_error">
 | 
				
			||||||
                        { error }
 | 
					                        { error }
 | 
				
			||||||
                    </div> }
 | 
					                    </div> }
 | 
				
			||||||
                    <AutoHideScrollbar className="mx_SpaceRoomDirectory_list" onKeyDown={onKeyDownHandler} role="tree">
 | 
					                    <AutoHideScrollbar
 | 
				
			||||||
 | 
					                        className="mx_SpaceRoomDirectory_list"
 | 
				
			||||||
 | 
					                        onKeyDown={onKeyDownHandler}
 | 
				
			||||||
 | 
					                        role="tree"
 | 
				
			||||||
 | 
					                        aria-label={_t("Space")}
 | 
				
			||||||
 | 
					                    >
 | 
				
			||||||
                        { results }
 | 
					                        { results }
 | 
				
			||||||
                        { children }
 | 
					                        { children }
 | 
				
			||||||
                    </AutoHideScrollbar>
 | 
					                    </AutoHideScrollbar>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -279,6 +279,7 @@ const SpacePanel = () => {
 | 
				
			|||||||
                        className={classNames("mx_SpacePanel", { collapsed: isPanelCollapsed })}
 | 
					                        className={classNames("mx_SpacePanel", { collapsed: isPanelCollapsed })}
 | 
				
			||||||
                        onKeyDown={onKeyDownHandler}
 | 
					                        onKeyDown={onKeyDownHandler}
 | 
				
			||||||
                        role="tree"
 | 
					                        role="tree"
 | 
				
			||||||
 | 
					                        aria-label={_t("Spaces")}
 | 
				
			||||||
                    >
 | 
					                    >
 | 
				
			||||||
                        <Droppable droppableId="top-level-spaces">
 | 
					                        <Droppable droppableId="top-level-spaces">
 | 
				
			||||||
                            { (provided, snapshot) => (
 | 
					                            { (provided, snapshot) => (
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2829,6 +2829,7 @@
 | 
				
			|||||||
    "Mark as suggested": "Mark as suggested",
 | 
					    "Mark as suggested": "Mark as suggested",
 | 
				
			||||||
    "No results found": "No results found",
 | 
					    "No results found": "No results found",
 | 
				
			||||||
    "You may want to try a different search or check for typos.": "You may want to try a different search or check for typos.",
 | 
					    "You may want to try a different search or check for typos.": "You may want to try a different search or check for typos.",
 | 
				
			||||||
 | 
					    "Space": "Space",
 | 
				
			||||||
    "Search names and descriptions": "Search names and descriptions",
 | 
					    "Search names and descriptions": "Search names and descriptions",
 | 
				
			||||||
    "If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.": "If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.",
 | 
					    "If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.": "If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.",
 | 
				
			||||||
    "Create room": "Create room",
 | 
					    "Create room": "Create room",
 | 
				
			||||||
@@ -3110,7 +3111,6 @@
 | 
				
			|||||||
    "Page Down": "Page Down",
 | 
					    "Page Down": "Page Down",
 | 
				
			||||||
    "Esc": "Esc",
 | 
					    "Esc": "Esc",
 | 
				
			||||||
    "Enter": "Enter",
 | 
					    "Enter": "Enter",
 | 
				
			||||||
    "Space": "Space",
 | 
					 | 
				
			||||||
    "End": "End",
 | 
					    "End": "End",
 | 
				
			||||||
    "[number]": "[number]"
 | 
					    "[number]": "[number]"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user