Skip to content

feat: add snippet comparison view - #142

Open
bamiebot-maker wants to merge 2 commits into
SudiptaPaul-31:mainfrom
bamiebot-maker:feature/snippet-comparison
Open

feat: add snippet comparison view#142
bamiebot-maker wants to merge 2 commits into
SudiptaPaul-31:mainfrom
bamiebot-maker:feature/snippet-comparison

Conversation

@bamiebot-maker

Copy link
Copy Markdown
Contributor

Summary

  • add a responsive side-by-side snippet comparison experience
  • align and highlight added, removed, and changed lines with language-aware syntax coloring
  • surface differences in language, creation date, and contributor metadata
  • add focused tests for diff alignment, metadata comparison, and tokenization

Closes #125

Validation

  • git diff --check ✅
  • strict TypeScript check for lib/snippet-comparison.ts ✅
  • isolated behavioral smoke tests for diff/tokenization ✅

pm test,
pm run lint, and
pm run build could not run from a clean install because both committed lockfiles are out of sync with package.json; direct repository TypeScript validation additionally reports pre-existing syntax errors in �pp/api/snippets/snippet.service.ts and components/WalletConnect.tsx. No unrelated files were changed.

@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

@bamiebot-maker is attempting to deploy a commit to the Sudipta 's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 27, 2026

Copy link
Copy Markdown

@bamiebot-maker Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Snippet Comparison View

1 participant