[WIP] Implement periodic check for copied vibe code - #231
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
|
btw I made this |
- Install jscpd for duplicate code detection - Add npm script 'check-duplicates' to run jscpd - Create GitHub workflow to check for duplicates every 3 hours - Create custom hooks useAuth and useAuthUser to eliminate duplicate auth patterns - Create FormInput component to eliminate form field duplication - Refactor App.jsx, MainContent.jsx, ArticlePage.jsx, Account.jsx, UserList.jsx to use custom hooks - Refactor Login.jsx and SignUp.jsx to use FormInput component - Reduced code duplication from 1.39% to 0.92% (3 clones to 2 clones) Co-authored-by: Graison-P <119984713+Graison-P@users.noreply.github.com>
Contributor
|
HOW THE- |
Contributor
🔍 Code Quality Check Results
Please review the duplicate code report in the workflow artifacts and consider refactoring before merging. |
snoopythe3-from-scratch
requested review from
kRxZykRxZy,
nouxinf and
snoopythe3-from-scratch
January 13, 2026 18:45
Contributor
|
The irony of this being vibe coded |
Contributor
|
Guys just so you know i cant access the github website anymore because my
mom blocked it.
…On Fri, 10 Apr 2026, 10:20 nouxinf, ***@***.***> wrote:
*nouxinf* left a comment (The-Scratch-Channel/tsc-web-client#231)
<#231 (comment)>
The irony of this being vibe coded
—
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BPVIK26DXUD4D7LHTJJV7QL4VC4GPAVCNFSM6AAAAACROENREKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DEMRSGQ4TGNRVGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Contributor
|
why did she block it |
Contributor
|
idk but she actually blocked every website except playstation and roblox
…On Wed, 15 Apr 2026, 17:34 nouxinf, ***@***.***> wrote:
*nouxinf* left a comment (The-Scratch-Channel/tsc-web-client#231)
<#231 (comment)>
why did she block it
—
Reply to this email directly, view it on GitHub
<#231 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BPVIK2YLJC3ER32RQEO4TSL4V622LAVCNFSM6AAAAACROENREKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DENJTG44DGMJTG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan: Check for Duplicate Code and Improve Efficiency
Phase 1: Setup Automated Code Quality Checks ✅
Phase 2: Refactor Duplicate Code Patterns ✅
useAuthfor authentication state (replaces 6 duplicate patterns)useAuthUserfor simplified auth (where profile not needed)Phase 3: Testing and Validation
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.