Skip to content

Conversation

@cielbellerose
Copy link
Contributor

@cielbellerose cielbellerose commented Apr 1, 2025

Changes

Component to display the full history of a given part. Created utils functions that return date and data for part creation, submission history, review request history, and review history. All entries sorted by date and returned as strings.

Notes

Submission links will eventually go to corresponding submissions part page

Test Cases

  • Requested vs re-requested
  • Combining two review reqs on the same day

Screenshots

Screenshot 2025-04-09 at 7 14 30 PM
Screenshot 2025-04-09 at 7 16 24 PM

Checklist

It can be helpful to check the Checks and Files changed tabs.
Please review the contributor guide and reach out to your Tech Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.

  • All commits are tagged with the ticket number
  • No linting errors / newline at end of file warnings
  • All code follows repository-configured prettier formatting
  • No merge conflicts
  • All checks passing
  • Screenshots of UI changes (see Screenshots section)
  • Remove any non-applicable sections of this template
  • Assign the PR to yourself
  • No yarn.lock changes (unless dependencies have changed)
  • Request reviewers & ping on Slack
  • PR is linked to the ticket (fill in the closes line below)

Closes #3339

@cielbellerose cielbellerose self-assigned this Apr 1, 2025
@cielbellerose cielbellerose changed the base branch from cad/project-file-reviews to feature/cad-project-file-review April 1, 2025 19:22
part: Part;
}

const PartHistoryView: React.FC<PartHistoryViewProps> = ({ part }: PartHistoryViewProps) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hey I know this isn't listed as part of your ticket but any chance you could make this a scrollable component? In case histories get too long

Copy link
Contributor

@gcooper407 gcooper407 left a comment

Choose a reason for hiding this comment

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

This is absolutely killer work, just asked for one small addition that should be simple

@walker-sean walker-sean merged commit 47b246d into feature/cad-project-file-review Apr 27, 2025
4 checks passed
@walker-sean walker-sean deleted the 3339-CAD-Part-History branch April 27, 2025 01:04
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.

4 participants