mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 21:53:41 +01:00
7badad7797
* Fix regeneration marker not being removed after completion * Return HTTP 206 from /api/v1/timelines/home if regeneration in progress Prioritize RegenerationWorker by putting it into default queue * Display loading indicator and poll home timeline while it regenerates * Add graphic to regeneration message * Make "not found" indicator consistent with home regeneration
17 lines
574 B
JavaScript
17 lines
574 B
JavaScript
import React from 'react';
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
|
const MissingIndicator = () => (
|
|
<div className='regeneration-indicator missing-indicator'>
|
|
<div>
|
|
<div className='regeneration-indicator__figure' />
|
|
|
|
<div className='regeneration-indicator__label'>
|
|
<FormattedMessage id='missing_indicator.label' tagName='strong' defaultMessage='Not found' />
|
|
<FormattedMessage id='missing_indicator.sublabel' defaultMessage='This resource could not be found' />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
|
|
export default MissingIndicator;
|