forked from glitch-soc/mastodon
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change animation on feed generation screen in web UI (mastodon#33311)
- Loading branch information
Showing
7 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
18 changes: 0 additions & 18 deletions
18
app/javascript/mastodon/components/regeneration_indicator.jsx
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
app/javascript/mastodon/components/regeneration_indicator.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,26 @@ | ||
import { FormattedMessage } from 'react-intl'; | ||
|
||
import { GIF } from './gif'; | ||
|
||
export const RegenerationIndicator: React.FC = () => ( | ||
<div className='regeneration-indicator'> | ||
<GIF | ||
src='/loading.gif' | ||
staticSrc='/loading.png' | ||
className='regeneration-indicator__figure' | ||
/> | ||
|
||
<div className='regeneration-indicator__label'> | ||
<strong> | ||
<FormattedMessage | ||
id='regeneration_indicator.preparing_your_home_feed' | ||
defaultMessage='Preparing your home feed…' | ||
/> | ||
</strong> | ||
<FormattedMessage | ||
id='regeneration_indicator.please_stand_by' | ||
defaultMessage='Please stand by.' | ||
/> | ||
</div> | ||
</div> | ||
); |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.