Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a9f226f
add react instruction to each comment
Droid-An Apr 18, 2026
abea2eb
format instructions to look as a text
Droid-An Apr 18, 2026
83a4266
add validation to prevent line numbers with ' appearing
Droid-An Apr 18, 2026
a45ebe4
add links that send like/dislike to each review comment
Droid-An Apr 18, 2026
b9b07e9
wip: tests
Droid-An Apr 18, 2026
9c2313c
finish feedback system with links
Droid-An Apr 25, 2026
03326ec
install auth0, cors and vite
Droid-An May 3, 2026
0cf4153
add cors
Droid-An May 3, 2026
74acafc
write simple web interface tha sends like and dislikes
Droid-An May 3, 2026
7882715
change get endpoints to post and remove throw error to make applicati…
Droid-An May 3, 2026
ed80490
add error handling and error message
Droid-An May 4, 2026
322b821
unify like and dislike workflows and submission success
Droid-An May 9, 2026
a3227ec
add userId to a db and check the user hasn't left reaction on comment…
Droid-An May 9, 2026
eb10df6
Implement jwt validation for private endpoints
Droid-An May 11, 2026
cdfafc2
add token to the requests and check if user has rated comment already
Droid-An May 11, 2026
bc9e4e0
add token to the send reaction reaction request
Droid-An May 16, 2026
8436c5c
move frontend to it's folder
Droid-An May 16, 2026
a862d20
fix type issues
Droid-An May 16, 2026
177495e
removed store review tests because they are unfinished
Droid-An May 16, 2026
6fa35a6
remove cors arguments I added during debugging
Droid-An May 16, 2026
25d3d2a
refactor: replace hardcoded API URL with environment variable and imp…
Droid-An May 17, 2026
729fb00
refactor:remove race condition on prompt id handling
Droid-An May 17, 2026
266e9da
fix potential diversions of prompt and review in db
Droid-An May 19, 2026
989355a
refactor: improve migration scripts and clean up unused code
Droid-An May 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
48 changes: 48 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Send Feedback</title>
<link rel="stylesheet" href="src/style.css" />
</head>

<body>
<div class="app-container">
<!-- Loading State -->
<div id="loading" class="loading-state">
<div class="loading-text">Loading...</div>
</div>

<!-- Error State -->
<div id="error" class="error-state" style="display: none;">
<div class="error-title">Oops!</div>
<div class="error-message">Something went wrong</div>
<div id="error-details" class="error-sub-message"></div>
<button id="close-btn" class="button close" aria-label="Close">Close</button>
</div>

<!-- Main Content -->
<div id="app" class="main-card-wrapper" style="display: none;">

<!-- Logged Out State -->
<div id="logged-out" class="action-card">
<h1 class="main-title">Please authorize using your github to leave feedback</h1>
<button id="login-btn" class="button login">Log In</button>
</div>

<!-- Logged In State -->
<div id="logged-in" class="logged-in-section" style="display: none;">
<div class="logged-in-message" style="display: none;">✅ Feedback submitted!</div>
<button id="like-btn" class="button like">Like AI comment</button>
<button id="dislike-btn" class="button dislike">Dislike AI comment</button>
<button id="logout-btn" class="button logout">Log Out</button>
</div>
</div>
</div>

<script type="module" src="src/app.js"></script>
</body>

</html>
Loading