Skip to content

Commit

Permalink
feat: Group TG and community rooms in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
ifaouibadi committed Jan 30, 2024
1 parent 4b2e1a4 commit 3a95dac
Show file tree
Hide file tree
Showing 5 changed files with 1,613 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@
"src/components/structures/HomePage.tsx": "src/components/structures/HomePage.tsx",
"src/components/views/dialogs/spotlight/SpotlightDialog.tsx": "src/components/views/dialogs/spotlight/SpotlightDialog.tsx",
"src/components/views/elements/Pill.tsx": "src/components/views/elements/Pill.tsx",
"src/components/structures/LeftPanel.tsx": "src/components/structures/LeftPanel.tsx"
"src/components/structures/LeftPanel.tsx": "src/components/structures/LeftPanel.tsx",
"src/components/views/rooms/RoomList.tsx": "src/components/views/rooms/RoomList.tsx",
"src/components/views/rooms/RoomSublist.tsx": "src/components/views/rooms/RoomSublist.tsx"
}
3 changes: 2 additions & 1 deletion src/components/structures/LeftPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { createRef } from "react";
import classNames from "classnames";
import dis from "matrix-react-sdk/src/dispatcher/dispatcher";
import { _t } from "matrix-react-sdk/src/languageHandler";
import RoomList from "matrix-react-sdk/src/components/views/rooms/RoomList";
import LegacyCallHandler from "matrix-react-sdk/src/LegacyCallHandler";
import { HEADER_HEIGHT } from "matrix-react-sdk/src/components/views/rooms/RoomSublist";
import { Action } from "matrix-react-sdk/src/dispatcher/actions";
Expand All @@ -45,6 +44,7 @@ import PosthogTrackers from "matrix-react-sdk/src/PosthogTrackers";
import PageType from "matrix-react-sdk/src/PageTypes";
import { UserOnboardingButton } from "matrix-react-sdk/src/components/views/user-onboarding/UserOnboardingButton";

import RoomList from "../views/rooms/RoomList";
import { Icon as Superhero } from "../../../res/themes/superhero/img/logos/superhero.svg";

interface IProps {
Expand Down Expand Up @@ -426,6 +426,7 @@ export default class LeftPanel extends React.Component<IProps, IState> {
tabIndex={-1}
>
{roomList}

</div>
</nav>
</div>
Expand Down
Loading

0 comments on commit 3a95dac

Please sign in to comment.