mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
enhancement(web): stats and releases pretty loading (#731)
* enhancement(web): improved loading message * dark mode fix * added skeleton for loading * placeholder * handle activitytable loading * name StatsItems in isLoading * handling ReleaseTable loading * made releasetable 10 rows while loading * derp * style: simplify loading state --------- Co-authored-by: soup <soup@r4tio.cat> Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
65f51da68e
commit
d172e70046
3 changed files with 174 additions and 12 deletions
|
@ -185,7 +185,16 @@ export const ActivityTable = () => {
|
|||
);
|
||||
|
||||
if (isLoading)
|
||||
return null;
|
||||
return (
|
||||
<div className="flex flex-col mt-12">
|
||||
<h3 className="text-2xl font-medium leading-6 text-gray-900 dark:text-gray-200">
|
||||
|
||||
</h3>
|
||||
<div className="animate-pulse text-black dark:text-white">
|
||||
<EmptyListState text="Loading..." />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="flex flex-col mt-12">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue