Skip to content

SSF-135 - admin order management changes#121

Open
swarkewalia wants to merge 5 commits intomainfrom
sk/SSF-149-admin-order-management-updates
Open

SSF-135 - admin order management changes#121
swarkewalia wants to merge 5 commits intomainfrom
sk/SSF-149-admin-order-management-updates

Conversation

@swarkewalia
Copy link

ℹ️ Issue

Closes 135

📝 Description

  • grayed out 'action required' column to match figma
  • added 'assignee' column to store volunteer who created the order (shows 'no assignees' for now since there isn't a order creation workflow yet!)
  • updated GET /api/orders to return assignee data & updated frontend to use assignee instead of first pantry volunteer

✔️ Verification

UI testing

@Juwang110 Juwang110 self-requested a review March 9, 2026 00:15
Copy link

@Juwang110 Juwang110 left a comment

Choose a reason for hiding this comment

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

Overall logic looks good, just need to refactor for a non-nullable assignee

export class AddAssigneeToOrders1773009000618 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(`
ALTER TABLE orders

Choose a reason for hiding this comment

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

Also here we can edit the dummy data to add ids for the asignee for each order

@Yurika-Kan Yurika-Kan self-requested a review March 11, 2026 08:53
Copy link
Collaborator

@Yurika-Kan Yurika-Kan left a comment

Choose a reason for hiding this comment

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

would be great to implement a good structured backend as we develop our whole order matching workflow!

comments on enforcing not null & deleting stale code from old logic (pantry.volunteers)

thanks swar!

Copy link
Collaborator

Choose a reason for hiding this comment

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

now unused, could you delete this here since assignee cell already uses order.assignee below

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.

3 participants