Report Explorer
Find reports by cluster or by week.
diff --git a/frontend/app/components/Schedule.jsx b/frontend/app/components/Schedule.jsx
index 5310215..6fbf274 100644
--- a/frontend/app/components/Schedule.jsx
+++ b/frontend/app/components/Schedule.jsx
@@ -5,6 +5,7 @@ import { IoSwapHorizontal } from 'react-icons/io5';
import { IoIosArrowForward, IoMdDoneAll } from 'react-icons/io';
import { BsThreeDots } from 'react-icons/bs';
import { IoCloseSharp } from 'react-icons/io5';
+import Loading from './Loading';
function formatDateParam(date) {
const year = date.getFullYear();
@@ -196,13 +197,7 @@ export default function Schedule() {
}, [swapTarget]);
if (loading || !schedule) {
- return (
-
-
- Loading schedule...
-
-
- );
+ return
;
}
return (
@@ -211,7 +206,7 @@ export default function Schedule() {
{/* Header */}
-
Weekly Schedule
+
Weekly Schedule
Week beginning {formattedWeekBeginning}
diff --git a/frontend/app/components/TeamsSettingsPage.jsx b/frontend/app/components/TeamsSettingsPage.jsx
index 21a16b2..1fe9ef6 100644
--- a/frontend/app/components/TeamsSettingsPage.jsx
+++ b/frontend/app/components/TeamsSettingsPage.jsx
@@ -6,6 +6,7 @@ import Link from 'next/link';
import { Listbox, ListboxButton, ListboxOptions, ListboxOption } from '@headlessui/react';
import { FaLayerGroup, FaUser, FaUsers } from 'react-icons/fa';
import { IoIosSettings } from 'react-icons/io';
+import Loading from '../components/Loading';
function timeInputToInt(value) {
if (!value) return null;
@@ -154,7 +155,7 @@ export default function TeamSettingsPage() {
if (!team) {
return (
-
+
Team not found
No team exists with ID: {teamId}
@@ -375,11 +376,7 @@ export default function TeamSettingsPage() {
};
if (loadingTeams) {
- return (
-
- Loading team...
-
- );
+ return
;
}
if (!team) {
@@ -394,8 +391,8 @@ export default function TeamSettingsPage() {
-
-
{team.name}
+
+
{team.name}
Manage users and pools assigned to this team.
diff --git a/frontend/app/globals.css b/frontend/app/globals.css
index c9c981a..c256eec 100644
--- a/frontend/app/globals.css
+++ b/frontend/app/globals.css
@@ -84,3 +84,44 @@ body {
.results-datepicker .react-datepicker__triangle {
display: none;
}
+@keyframes spinQuarterPause {
+ 0% {
+ transform: rotate(0deg);
+ }
+
+ 10% {
+ transform: rotate(90deg);
+ }
+
+ 25% {
+ transform: rotate(90deg);
+ }
+
+ 35% {
+ transform: rotate(180deg);
+ }
+
+ 50% {
+ transform: rotate(180deg);
+ }
+
+ 60% {
+ transform: rotate(270deg);
+ }
+
+ 75% {
+ transform: rotate(270deg);
+ }
+
+ 85% {
+ transform: rotate(360deg);
+ }
+
+ 100% {
+ transform: rotate(360deg);
+ }
+}
+
+.animate-spin-quarter-pause {
+ animation: spinQuarterPause 6s ease-out infinite;
+}