Skip to content

Feature: Team Allocations Shell#1169

Open
ayushnirwal wants to merge 5 commits intofeat/redesignfrom
feat/allocation-team
Open

Feature: Team Allocations Shell#1169
ayushnirwal wants to merge 5 commits intofeat/redesignfrom
feat/allocation-team

Conversation

@ayushnirwal
Copy link
Copy Markdown
Collaborator

@ayushnirwal ayushnirwal commented Apr 5, 2026

Description

  • Add new routes for team allocations and project allocations.
  • Add new sidebar options for team allocations and project allocations.
  • Add new layout for both allocation pages.
  • Add sub-header for team allocations page.
  • Refactor of Timesheet filtering UI.

Screenshot/Screencast

Screenshot 2026-04-05 at 12 16 15 PM

Checklist

  • I have carefully reviewed the code before submitting it for review.
  • This code is adequately covered by unit tests to validate its functionality.
  • I have conducted thorough testing to ensure it functions as intended.
  • A member of the QA team has reviewed and tested this PR (To be checked by QA or code reviewer)

Fixes #930

Signed-off-by: ayushnirwal <53055971+ayushnirwal@users.noreply.github.com>
Signed-off-by: ayushnirwal <53055971+ayushnirwal@users.noreply.github.com>
Signed-off-by: ayushnirwal <53055971+ayushnirwal@users.noreply.github.com>
@ayushnirwal ayushnirwal requested review from b1ink0 and Copilot April 5, 2026 06:48
@ayushnirwal ayushnirwal requested review from PraveenKum11 and removed request for b1ink0 April 5, 2026 06:49
Signed-off-by: ayushnirwal <53055971+ayushnirwal@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

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

Introduces a new “Allocations” section in the frontend app by adding dedicated routes, sidebar navigation, and a shared allocations page layout (with an initial Team toolbar shell).

Changes:

  • Added /allocations/team and /allocations/project routes under a new Allocations layout.
  • Updated the sidebar to expose Allocations navigation entries.
  • Refactored parts of Timesheet filtering types/UI (notably the personal timesheet header filters).

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
frontend/packages/app/src/types/timesheet.ts Adjusts TimesheetFilters optionality/nullability for filter fields.
frontend/packages/app/src/route.tsx Adds Allocations layout + team/project routes.
frontend/packages/app/src/pages/timesheet/personal/index.tsx Replaces filter components with inline TextInput/Select controls.
frontend/packages/app/src/pages/allocations/team/index.tsx Adds initial Team allocations toolbar shell with search + filters.
frontend/packages/app/src/pages/allocations/project/index.tsx Adds placeholder Project allocations page shell.
frontend/packages/app/src/pages/allocations/layout.tsx Adds Allocations header with breadcrumb view-switch dropdown and “Add allocation” CTA.
frontend/packages/app/src/lib/constant.ts Replaces old allocation route constant with new allocations routes.
frontend/packages/app/src/layout/sidebar/index.tsx Adds Allocations section to sidebar and updates GlobalSearch items.
frontend/packages/app/src/components/filters/searchTasks.tsx Removes the reusable SearchTasks filter component.

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

Signed-off-by: ayushnirwal <53055971+ayushnirwal@users.noreply.github.com>
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.

2 participants