Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d297538
Heading in the assignment page is changed
deekshithanantha Oct 26, 2025
ec3b4db
nav bar added in the Assignment page it has to be edited later
deekshithanantha Oct 26, 2025
887e704
Nav bar created inroder to reduce load on the Assignment.tsx file and…
deekshithanantha Oct 26, 2025
c18165b
App view from Assignment.tsx file moved to generalTab.tsx
deekshithanantha Oct 26, 2025
3d8fd72
Tabs added and left for edit in the future
deekshithanantha Oct 26, 2025
8210dea
check boxes in the Assignemnt-topic tab fixed
deekshithanantha Oct 26, 2025
f401fc0
footer buttons added
deekshithanantha Oct 26, 2025
9061205
Code modified by LLM after doing a verification of the requiremts che…
deekshithanantha Oct 26, 2025
89d8baa
StudentTask page implemented, values are hardcoded need to be impleme…
deekshithanantha Oct 26, 2025
bfcb365
Assignment tab added
deekshithanantha Oct 27, 2025
867db84
Add dynamic topic fetching and management in StudentTasks page
srinidhis-code Oct 27, 2025
850edf0
Enhance topic management with database ID integration and error handling
srinidhis-code Oct 27, 2025
4a0bbc4
Implement bookmarking and selection features in StudentTasks page
srinidhis-code Oct 27, 2025
7d21b81
Enhance team management and UI feedback in Assignments and StudentTasks
srinidhis-code Oct 27, 2025
5aa998c
Refactor TopicsTab component for improved team display and UI consist…
srinidhis-code Oct 27, 2025
9921adb
border line fixed on student task page
deekshithanantha Oct 28, 2025
0f83e04
Refactor StudentTasks layout for improved UI consistency
deekshithanantha Oct 28, 2025
1823ca8
Refactor StudentTasks table for improved readability and alignment
deekshithanantha Oct 28, 2025
8859b31
CSS changed as required document
deekshithanantha Oct 28, 2025
40bd23e
check and delete icons added
deekshithanantha Oct 28, 2025
c98586f
Update icon styles in StudentTasks for improved visual consistency
deekshithanantha Oct 28, 2025
49ec14e
Refactor Assignments and StudentTasks components for improved functio…
abhira0 Oct 28, 2025
7a0fdb2
Enhance topic management and UI feedback in AssignmentEditPage and St…
abhira0 Oct 28, 2025
5d156fb
Update topic handling in AssignmentEditPage and TopicsTab for improve…
abhira0 Oct 30, 2025
f215e5a
Enhance TopicsTab and AssignmentEditPage for improved topic managemen…
abhira0 Oct 30, 2025
701badc
enabled pagination
abhira0 Oct 30, 2025
62f8bd0
Enhance topic selection and management in StudentTasks and related co…
abhira0 Oct 30, 2025
89f7345
Add drop team functionality and improve TopicsTab structure
abhira0 Oct 30, 2025
c75d846
Enhance TopicsTable and StudentTasks for waitlist management
abhira0 Oct 30, 2025
3640ce1
Refactor team display and interaction in TopicsTab
abhira0 Oct 30, 2025
b822ea6
Remove Student View link from Header navigation
deekshithanantha Oct 30, 2025
0aa8c1d
Add GeneralTab and EtcTab components to AssignmentEditPage; remove un…
deekshithanantha Oct 31, 2025
8955882
General tab fixed
deekshithanantha Oct 31, 2025
53908e3
cyan color removed
deekshithanantha Oct 31, 2025
cad1e60
review button added to navigate to a new page
deekshithanantha Nov 16, 2025
e8484b1
review page added but I see a fault in the loading topics need to fig…
deekshithanantha Nov 16, 2025
330e038
Review page front end setup as static
deekshithanantha Nov 16, 2025
43505c8
static features of review page fixed, need topass data through backend
deekshithanantha Nov 16, 2025
4612b09
gaphs added
deekshithanantha Nov 20, 2025
0130c09
feat: Enhance review report page with multi-round review data
abhira0 Dec 3, 2025
a1eac25
Remove row spanning logic and `rowSpan` prop from the review report t…
abhira0 Dec 3, 2025
b73ede5
fix: Update user profile link path and adjust column widths in review…
abhira0 Dec 3, 2025
48b6b0c
LLm convo added
deekshithanantha Dec 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,398 changes: 4,398 additions & 0 deletions LLM_convo.txt

Large diffs are not rendered by default.

166 changes: 166 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"react": "^18.2.0",
"react-bootstrap": "^2.7.4",
"react-chartjs-2": "^5.2.0",
"react-charts": "^3.0.0-beta.57",
"react-datepicker": "^4.11.0",
"react-dom": "^18.2.0",
"react-i18next": "^14.1.0",
Expand Down
Binary file added public/assets/icons/Check-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 26 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import RoleEditor, { loadAvailableRole } from "./pages/Roles/RoleEditor";
import Roles, { loadRoles } from "./pages/Roles/Roles";
import Assignment from "./pages/Assignments/Assignment";
import AssignmentEditor from "./pages/Assignments/AssignmentEditor";
import AssignmentEditPage from "./pages/Assignments/AssignmentEditPage";
import { loadAssignment } from "pages/Assignments/AssignmentUtil";
import ErrorPage from "./router/ErrorPage";
import ProtectedRoute from "./router/ProtectedRoute";
Expand All @@ -35,11 +36,13 @@ import EditProfile from "pages/Profile/Edit";
import Reviews from "pages/Reviews/reviews";
import Email_the_author from "./pages/Email_the_author/email_the_author";
import CreateTeams from "pages/Assignments/CreateTeams";
import StudentTasks from "pages/StudentTasks/StudentTasks";
import AssignReviewer from "pages/Assignments/AssignReviewer";
import ViewSubmissions from "pages/Assignments/ViewSubmissions";
import ViewScores from "pages/Assignments/ViewScores";
import ViewReports from "pages/Assignments/ViewReports";
import ViewDelayedJobs from "pages/Assignments/ViewDelayedJobs";
import ReviewReportPage from "pages/Reviews/ReviewReportPage";
function App() {
const router = createBrowserRouter([
{
Expand Down Expand Up @@ -99,13 +102,12 @@ function App() {
element: <AssignmentEditor mode="create" />,
loader: loadAssignment,
},
{
path: "edit/:id",
element: <AssignmentEditor mode="update" />,
loader: loadAssignment,
},
],
},
{
path: "assignments/edit/:id",
element: <ProtectedRoute element={<AssignmentEditPage />} leastPrivilegeRole={ROLE.TA} />,
},
{
path: "users",
element: <ProtectedRoute element={<Users />} leastPrivilegeRole={ROLE.TA} />,
Expand All @@ -120,6 +122,11 @@ function App() {
element: <UserEditor mode="update" />,
loader: loadUserDataRolesAndInstitutions,
},
{
path: ":id",
element: <UserEditor mode="update" />,
loader: loadUserDataRolesAndInstitutions,
},
],
},
{
Expand Down Expand Up @@ -192,11 +199,23 @@ function App() {
},
{
path: "reviews",
element: <Reviews/>,
element: <Reviews />,
},
{
path: "email_the_author",
element: <Email_the_author/>,
element: <Email_the_author />,
},
{
path: "student_tasks",
element: <ProtectedRoute element={<StudentTasks />} />,
},
{
path: "student_tasks/:assignmentId",
element: <ProtectedRoute element={<StudentTasks />} />,
},
{
path: "assignments/:id/review",
element: <ReviewReportPage />,
},
// Fixed the missing comma and added an opening curly brace
{
Expand Down
36 changes: 22 additions & 14 deletions src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
import GlobalFilter from "./GlobalFilter";
import Pagination from "./Pagination";
import RowSelectCheckBox from "./RowSelectCheckBox";
import { FaSearch } from "react-icons/fa";

interface TableProps {
data: Record<string, any>[];
Expand Down Expand Up @@ -151,25 +150,28 @@ import {
handleSelectionChange?.(selectedData);
}, [flatRows]);

const toggleGlobalFilter = () => {
setIsGlobalFilterVisible(!isGlobalFilterVisible);
};

const firstRenderRef = useRef(true);

return (
<>
<style>
{`
.selected-topic-row {
background-color: #ffeb3b !important;
}
.selected-topic-row:hover {
background-color: #fdd835 !important;
}
`}
</style>
<Container>
<Row className="mb-md-2">
<Col md={{ span: 12 }}>
{isGlobalFilterVisible && (
<GlobalFilter filterValue={globalFilter} setFilterValue={setGlobalFilter} />
)}
</Col>
<span style={{ marginLeft: "5px" }} onClick={toggleGlobalFilter}>
<FaSearch style={{ cursor: "pointer" }} />
{isGlobalFilterVisible ? " Hide" : " Show"}
</span>
</Row>
</Container>
<Container>
Expand Down Expand Up @@ -210,12 +212,18 @@ import {
<tbody>
{table.getRowModel().rows.map((row) => (
<React.Fragment key={row.id}>
<tr>
{row.getVisibleCells().map((cell) => (
<td key={cell.id}>
{flexRender(cell.column.columnDef.cell, cell.getContext())}
</td>
))}
<tr
className={row.original.isSelected ? 'selected-topic-row' : ''}
style={row.original.isSelected ? { backgroundColor: '#fff3cd' } : undefined}
>
{row.getVisibleCells().map((cell) => {
const selected = !!row.original.isSelected;
return (
<td key={cell.id} style={selected ? { backgroundColor: '#fff3cd' } : undefined}>
{flexRender(cell.column.columnDef.cell, cell.getContext())}
</td>
);
})}
</tr>
{row.getIsExpanded() && renderSubComponent && (
<tr>
Expand Down
Loading