Skip to content

Conversation

@LOTaher
Copy link
Collaborator

@LOTaher LOTaher commented Dec 16, 2025

[Core] - Repo QoL Updates

Changes

  • Renamed connectors to use the word "connector" instead of "service"
    • Judge0Connector is now a class for semantic purposes
  • Abstracted away the shadcn sidebar to a single component file, so we no longer have AppSidebar.tsx and Sidebar.tsx
  • Changed app copies to use "Sign In" everywhere instead of "Log In"
  • Made (crm) part of our routing and using that as the middleware route
  • Reorganized components into /ui /core and /modal folders where:
    • ui is for strictly shad components
    • core is for app specific components
    • modal is for modal components
  • Removed old "TODO" comments that no longer need to be addressed in the codebase
  • Added cursor hover to interactable components
  • Decreased modal background opacity
  • https://sandboxneu.slack.com/archives/C09E7L2RK16/p1767123406861399?thread_ts=1767118837.526379&cid=C09E7L2RK16

Checklist

Please go through all items before requesting reviewers:

  • All commits are tagged with the ticket number
  • No linting errors / newline warnings
  • All code follows repository-configured formatting
  • No merge conflicts
  • All checks passing
  • Remove non-applicable sections of this template
  • PR assigned to yourself
  • Reviewers requested & Slack ping sent

Closes #142, #141

@vercel
Copy link

vercel bot commented Dec 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sarge Ready Ready Preview, Comment Jan 2, 2026 1:46am

@LOTaher LOTaher marked this pull request as ready for review December 16, 2025 15:40
@LOTaher LOTaher requested review from bderbs30 and cherman23 and removed request for cherman23 December 16, 2025 16:06
Copy link
Contributor

@ahweigl ahweigl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff!

couple of optional suggestions you could include in this PR:

  • make ticket and link here for proj management purposes to track what was done here on the board?
  • update readme (idk if it needs anything but Im gonna take a guess no one's looked at it since sept)
  • slight pushback on brad's file layout suggestion, I would maybe argue that actions files should go in their respective directories rather than an /actions folder in /app, like src/app/(web)/crm/positions/actions.ts, unless you foresee having a lot of actions files that would warrant the folder
  • why is /api/position singular (position vs positionS)- naming should be consistent imo
  • might be worth renaming /api/position/[id]/candidates to reflect it being candidate pools so it's clearer to distinguish from /api/candidates
  • abstract <div> Loading... </div> into a reusable loading state component for across the app?
  • maybe check if globals.css needs any cleanup

otherwise LGTM 😁

className="h-7 w-7 overflow-hidden rounded group-data-[collapsible=icon]:mx-auto group-data-[collapsible=icon]:h-5 group-data-[collapsible=icon]:w-5"
style={
!auth.activeOrganization?.logo
? { background: '#858C9C' }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: inline color definitions scary, should use a constant defined in globals.css or smth

alt="Winston Logo"
width={28}
height={28}
className="h-full w-full object-cover object-center brightness-0 invert"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooo didnt know this was the way to invert svg colors, neat

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!!

throw new InternalServerException(`Judge0 API error: ${jsonResponse.error}`);
constructor() {
this.headers = {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oop is the non null assertion needed here?

@@ -1,9 +1,9 @@
'use client';

import Image from 'next/image';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we removing the navbar? It would free up some vertical screen space and I don't think we really utilize the space it takes up and don't foresee future use cases for the space - lmk what you think

@LOTaher LOTaher merged commit e4b2bc0 into main Jan 3, 2026
4 checks passed
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.

[Core] - QoL Improvements to Codebase

4 participants