-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feat/apps-deno-run…
…time
- Loading branch information
Showing
107 changed files
with
655 additions
and
768 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@rocket.chat/meteor": minor | ||
"@rocket.chat/core-typings": minor | ||
"@rocket.chat/i18n": patch | ||
--- | ||
|
||
Introduced a tab layout to the users page and implemented a tab called "All" that lists all users. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rocket.chat/meteor': patch | ||
--- | ||
|
||
Replaces the burger menu with an appropriate button fixing the semantics and mismatching color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rocket.chat/meteor': minor | ||
--- | ||
|
||
Changes the scrollbar color in order to improve the contrast and accessibility compliance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@rocket.chat/meteor": minor | ||
"@rocket.chat/core-typings": minor | ||
"@rocket.chat/i18n": minor | ||
--- | ||
|
||
Added "Rocket.Chat Cloud Workspace ID" to workspace statistics page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@rocket.chat/meteor': patch | ||
--- | ||
|
||
bump fuselage adding `AttachmentAuthorName` missing color token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
apps/meteor/client/components/BurgerMenu/BurgerBadge.stories.tsx
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
apps/meteor/client/components/BurgerMenu/BurgerIcon.stories.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
apps/meteor/client/components/BurgerMenu/BurgerMenuButton.stories.tsx
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
apps/meteor/client/components/BurgerMenu/BurgerMenuButton.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
apps/meteor/client/components/SidebarToggler/SidebarToggler.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { useEffectEvent } from '@rocket.chat/fuselage-hooks'; | ||
import { useLayout, useSession } from '@rocket.chat/ui-contexts'; | ||
import type { ReactElement } from 'react'; | ||
import React, { memo } from 'react'; | ||
|
||
import { useEmbeddedLayout } from '../../hooks/useEmbeddedLayout'; | ||
import SidebarTogglerButton from './SidebarTogglerButton'; | ||
|
||
const SideBarToggler = (): ReactElement => { | ||
const { sidebar } = useLayout(); | ||
const isLayoutEmbedded = useEmbeddedLayout(); | ||
const unreadMessagesBadge = useSession('unread'); | ||
|
||
const toggleSidebar = useEffectEvent(() => sidebar.toggle()); | ||
|
||
return <SidebarTogglerButton onClick={toggleSidebar} badge={!isLayoutEmbedded && unreadMessagesBadge && unreadMessagesBadge} />; | ||
}; | ||
|
||
export default memo(SideBarToggler); |
9 changes: 4 additions & 5 deletions
9
...ent/components/BurgerMenu/BurgerBadge.tsx → ...ts/SidebarToggler/SidebarTogglerBadge.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
import { css } from '@rocket.chat/css-in-js'; | ||
import { Box, Badge } from '@rocket.chat/fuselage'; | ||
import type { ReactElement } from 'react'; | ||
import React from 'react'; | ||
|
||
const BurgerBadge = ({ children }: { children?: unknown }): ReactElement => ( | ||
const SidebarTogglerBadge = ({ children }: { children?: unknown }) => ( | ||
<Box | ||
className={css` | ||
position: absolute; | ||
zindex: 3; | ||
z-index: 3; | ||
top: -5px; | ||
right: -5px; | ||
right: 3px; | ||
`} | ||
> | ||
<Badge variant='danger' children={children} /> | ||
</Box> | ||
); | ||
|
||
export default BurgerBadge; | ||
export default SidebarTogglerBadge; |
Oops, something went wrong.