-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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 release-7.0.0
- Loading branch information
Showing
43 changed files
with
341 additions
and
804 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,5 @@ | ||
--- | ||
'@rocket.chat/meteor': patch | ||
--- | ||
|
||
Fixes an issue where the retention policy warning keep displaying even if the retention is disabled inside the room |
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,13 @@ | ||
--- | ||
'@rocket.chat/uikit-playground': minor | ||
'@rocket.chat/fuselage-ui-kit': minor | ||
'@rocket.chat/ui-theming': minor | ||
'@rocket.chat/ui-video-conf': minor | ||
'@rocket.chat/ui-composer': minor | ||
'@rocket.chat/gazzodown': minor | ||
'@rocket.chat/ui-avatar': minor | ||
'@rocket.chat/ui-client': minor | ||
'@rocket.chat/meteor': minor | ||
--- | ||
|
||
Replaced new `SidebarV2` components under feature preview |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
import { AnchorPortal } from '@rocket.chat/ui-client'; | ||
import type { ReactNode } from 'react'; | ||
import React, { memo, useEffect, useState } from 'react'; | ||
import { createPortal } from 'react-dom'; | ||
import React, { memo } from 'react'; | ||
|
||
import { createAnchor } from '../lib/utils/createAnchor'; | ||
import { deleteAnchor } from '../lib/utils/deleteAnchor'; | ||
const tooltipAnchorId = 'tooltip-root'; | ||
|
||
type TooltipPortalProps = { | ||
children?: ReactNode; | ||
}; | ||
|
||
const TooltipPortal = ({ children }: TooltipPortalProps) => { | ||
const [tooltipRoot] = useState(() => createAnchor('tooltip-root')); | ||
useEffect(() => (): void => deleteAnchor(tooltipRoot), [tooltipRoot]); | ||
return <>{createPortal(children, tooltipRoot)}</>; | ||
return <AnchorPortal id={tooltipAnchorId}>{children}</AnchorPortal>; | ||
}; | ||
|
||
export default memo(TooltipPortal); |
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,18 +1,15 @@ | ||
import { AnchorPortal } from '@rocket.chat/ui-client'; | ||
import type { ReactElement, ReactNode } from 'react'; | ||
import React, { memo, useEffect, useState } from 'react'; | ||
import { createPortal } from 'react-dom'; | ||
import React, { memo } from 'react'; | ||
|
||
import { createAnchor } from '../lib/utils/createAnchor'; | ||
import { deleteAnchor } from '../lib/utils/deleteAnchor'; | ||
const videoConfAnchorId = 'video-conf-root'; | ||
|
||
type VideoConfPortalProps = { | ||
children?: ReactNode; | ||
}; | ||
|
||
const VideoConfPortal = ({ children }: VideoConfPortalProps): ReactElement => { | ||
const [videoConfRoot] = useState(() => createAnchor('video-conf-root')); | ||
useEffect(() => (): void => deleteAnchor(videoConfRoot), [videoConfRoot]); | ||
return <>{createPortal(children, videoConfRoot)}</>; | ||
return <AnchorPortal id={videoConfAnchorId}>{children}</AnchorPortal>; | ||
}; | ||
|
||
export default memo(VideoConfPortal); |
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
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
Oops, something went wrong.