Skip to content

Conversation

@coderdiaz
Copy link
Owner

No description provided.

@coderdiaz coderdiaz self-assigned this Oct 30, 2025
Copilot AI review requested due to automatic review settings October 30, 2025 02:26
Copy link
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

This PR refactors the job data model to use optional end dates instead of the string literal "Now" for ongoing positions, and generalizes utility functions to be more reusable across different content types.

  • Replaced string literal "Now" with optional to field for representing ongoing jobs
  • Refactored sorting functions to be generic and applicable to multiple content types
  • Updated job content files and UI components to handle the new optional field pattern

Reviewed Changes

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

Show a summary per file
File Description
src/lib/utils.ts Replaced domain-specific sorting functions with generic type-safe alternatives that handle date ranges and year sorting
src/pages/index.astro Updated imports to use renamed generic sorting functions
src/content.config.ts Changed job schema to use optional to field instead of union type with "Now"
src/content/jobs/*.mdx Updated job entries to use optional to field or numeric year instead of "Now" string
src/components/ui/WorkExperience.astro Added fallback to display "Present" when to field is undefined
src/lib/constants.ts Fixed formatting issues (trailing commas, semicolons) and changed avatar image format
src/components/partials/Header.astro Reformatted component for better code style consistency
src/assets/images/avatar.png Added new PNG avatar image to replace JPEG

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

@coderdiaz
Copy link
Owner Author

:shipit:

@coderdiaz coderdiaz merged commit b4e6b14 into main Oct 31, 2025
@coderdiaz coderdiaz deleted the feat/improvements branch October 31, 2025 22:10
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