Skip to content

Purchase History and Purchase Details pages#49

Open
aaronkim218 wants to merge 17 commits into
mainfrom
job-history
Open

Purchase History and Purchase Details pages#49
aaronkim218 wants to merge 17 commits into
mainfrom
job-history

Conversation

@aaronkim218
Copy link
Copy Markdown
Contributor

@aaronkim218 aaronkim218 commented Dec 8, 2023

Description

Includes Purchase History and Purchase Details pages (only for designers). Nav dropdown contains Purchase History link that leads to Purchase History page (link only displays if current user is a designer). Purchase History page lists all of a designer's jobs, with most recent jobs displaying first. Clicking a job leads to Purchase Details page which shows details like shipping address, tracking number, price... Purchase Details page styled exactly like figma

Added StyledAvatar component, and changed any existing Avatars to StyledAvatar.

Added tracking number and estimated delivery date to job schema in frontend and backend

Changed location field of an address to match how it is stored in backend

How Has This Been Tested?

Tested locally

Checklist

  • I have performed a self-review of my code
  • I have reached out to another developer to review my code
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
Screenshot 2023-12-07 at 9 12 22 PM Screenshot 2023-12-07 at 9 12 30 PM Screenshot 2023-12-07 at 9 27 48 PM Screenshot 2023-12-07 at 9 33 43 PM

@aaronkim218 aaronkim218 changed the title PurchaseHistory and PurchaseDetails pages Purchase History and Purchase Details pages Dec 8, 2023
@alderwhiteford
Copy link
Copy Markdown
Contributor

Lets discuss before merging

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