Merge pull request #49 from joelmathewthomas/ui/update

change processing page progress, and ui change in results
This commit is contained in:
Joel Mathew Thomas
2025-03-21 02:00:30 +05:30
committed by GitHub
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -1,6 +1,6 @@
import { useState, useEffect } from "react";
import { useNavigate} from "react-router-dom";
import { Typography, Container, Paper, Box, LinearProgress } from "@mui/material";
import { Typography, Container, Paper, Box, LinearProgress, CircularProgress } from "@mui/material";
import StepperComponent from "../components/StepperComponent";
import { useMediaContext } from "../contexts/MediaContext";
import axios from "axios";
@@ -255,11 +255,11 @@ function ProcessingPage() {
</Typography>
<Box sx={{ mt: 4, mb: 2 }}>
<LinearProgress
variant="determinate"
value={progress}
sx={{ height: 10, borderRadius: 5 }}
/>
<CircularProgress
variant="determinate"
value={progress}
sx={{ width: 80, height: 80 }}
/>
<Typography variant="body2" color="textSecondary" sx={{ mt: 1 }}>
{Math.round(progress)}% Complete
</Typography>
+1 -1
View File
@@ -152,7 +152,7 @@ function ResultsPage() {
<Grid item xs={12} sm={6}>
<Card sx={{ height: '100%' }}>
<CardContent>
<Typography variant="h6" gutterBottom>
<Typography gutterBottom>
File Details
</Typography>
<Typography variant="body2" color="textSecondary">