Skip to content

Consolidate admin/assigned and admin/completed UI#57

Merged
balebbae merged 5 commits intodevfrom
Consolidate-admin/assigned-and-admin/completed-UI
Mar 16, 2026
Merged

Consolidate admin/assigned and admin/completed UI#57
balebbae merged 5 commits intodevfrom
Consolidate-admin/assigned-and-admin/completed-UI

Conversation

@axv2655
Copy link
Collaborator

@axv2655 axv2655 commented Mar 13, 2026

Consolidated the page and removed the Complete area on the side nav menu as it was redundant.

Copilot AI review requested due to automatic review settings March 13, 2026 01:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the admin “Assigned” and “Completed” review pages to share a common layout component, consolidating duplicated page scaffolding and introducing in-page navigation between the two review views.

Changes:

  • Introduce a new shared ReviewsPageLayout used by both Assigned and Completed pages.
  • Update AssignedPage and CompletedPage to render via ReviewsPageLayout props (header/table/detail panel).
  • Remove the “Completed” item from the main admin sidebar navigation.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
client/web/src/pages/admin/completed/CompletedPage.tsx Switches to shared ReviewsPageLayout wrapper for consistent header/table/detail composition.
client/web/src/pages/admin/assigned/AssignedPage.tsx Switches to shared ReviewsPageLayout, moving header UI into layout props.
client/web/src/pages/admin/_shared/ReviewsPageLayout.tsx New shared layout providing header (incl. Assigned/Completed tabs), table container, and detail panel slot.
client/web/src/pages/admin/_shared/index.ts Re-exports ReviewsPageLayout for cleaner imports.
client/web/src/pages/admin/_shared/AppSidebar.tsx Removes the sidebar “Completed” nav entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

detailPanel,
}: ReviewsPageLayoutProps) {
const location = useLocation();
const isAssigned = location.pathname === "/admin/assigned";
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now that i think about this, this prob isnt the cleanest way to do this, ima change it up rq

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made better in most recent commit

@@ -38,11 +37,6 @@ const applicantsNav = [
url: "/admin/assigned",
icon: UserCheck,
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah lol

@NoelVarghese2006 NoelVarghese2006 linked an issue Mar 13, 2026 that may be closed by this pull request
@axv2655
Copy link
Collaborator Author

axv2655 commented Mar 13, 2026

Screenshot 2026-03-13 143720 Screenshot 2026-03-13 143729

@axv2655
Copy link
Collaborator Author

axv2655 commented Mar 13, 2026

Screenshot 2026-03-13 143720 Screenshot 2026-03-13 143729

now i think about it, on the assigned page there are 3 mentions that you are on the assigned page which is kinda funny but dumb, but i dont know what to change for that

@axv2655
Copy link
Collaborator Author

axv2655 commented Mar 13, 2026

Maybe rename the left from assigned to reviews?

@balebbae
Copy link
Collaborator

yeah true. I'll do some clean up with these naming conventions.

@balebbae balebbae merged commit 9870380 into dev Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate admin/assigned and admin/completed UI

3 participants