-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
219 additions
and
85 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 | ||
--- | ||
|
||
chore: update room on `cleanRoomHistory` only if any message has been deleted |
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,12 @@ | ||
import { Box, Throbber } from '@rocket.chat/fuselage'; | ||
import React from 'react'; | ||
|
||
const LoadingIndicator = () => { | ||
return ( | ||
<Box display='flex' height='100%' width='100%' alignItems='center' justifyContent='center' position='absolute'> | ||
<Throbber /> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default LoadingIndicator; |
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
10 changes: 3 additions & 7 deletions
10
apps/meteor/client/views/room/components/body/LoadingMessagesIndicator.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,12 +1,8 @@ | ||
import type { ReactElement } from 'react'; | ||
import React from 'react'; | ||
|
||
const LoadingMessagesIndicator = (): ReactElement => ( | ||
<div className='loading-animation'> | ||
<div className='bounce bounce1' /> | ||
<div className='bounce bounce2' /> | ||
<div className='bounce bounce3' /> | ||
</div> | ||
); | ||
import LoadingIndicator from '../../../../components/LoadingIndicator'; | ||
|
||
const LoadingMessagesIndicator = (): ReactElement => <LoadingIndicator />; | ||
|
||
export default LoadingMessagesIndicator; |
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.