Skip to content

feat: add context-card diffing utility and validation layer#167

Open
Midoriya-w wants to merge 1 commit into
Dev-Card:mainfrom
Midoriya-w:fix/card-diffing-clean
Open

feat: add context-card diffing utility and validation layer#167
Midoriya-w wants to merge 1 commit into
Dev-Card:mainfrom
Midoriya-w:fix/card-diffing-clean

Conversation

@Midoriya-w
Copy link
Copy Markdown

Closes #31

Changes:

  • Added packages/shared/src/cards.ts with validateCardPlatforms() , diffCardPlatforms() , and CardValidationResult type
  • Added packages/shared/src/tests/cards.test.ts 10 test cases covering all edge cases
  • Exported from packages/shared/src/index.ts

@Harxhit Harxhit added the gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. label May 19, 2026
@Harxhit
Copy link
Copy Markdown
Collaborator

Harxhit commented May 19, 2026

@Midoriya-w Please wait for the issue to be assigned to you before opening a PR. Also, please join our Discord channel from the README section for better communication and project updates.

@Midoriya-w
Copy link
Copy Markdown
Author

Hey @Harxhit! Understood, apologies for jumping ahead I'll wait for assignment before opening PRs going forward. Also the Discord invite link in the README appears to be expired could you share an updated link? Thanks for the assignment and the label!

@Harxhit
Copy link
Copy Markdown
Collaborator

Harxhit commented May 19, 2026

Hey @Harxhit! Understood, apologies for jumping ahead I'll wait for assignment before opening PRs going forward. Also the Discord invite link in the README appears to be expired could you share an updated link? Thanks for the assignment and the label!

Thank you for understanding the process. Here is the discord link: https://discord.gg/E29mKkQt8

@Midoriya-w
Copy link
Copy Markdown
Author

Hey @Harxhit! The shared utility is fully implemented and tested. Regarding backend integration validateCardPlatforms validates platform name strings, but cards.ts uses UUID platformLink references, so direct integration would require schema changes. Happy to add that in a follow-up if needed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

shared: build a context-card diffing utility and validation layer

2 participants