Skip to content

Develop - #596

Merged
anaj00 merged 53 commits into
mainfrom
develop
Oct 9, 2026
Merged

anaj00 merged 53 commits into
mainfrom
develop

Conversation

@anaj00

@anaj00 anaj00 commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

neue-dev and others added 30 commits September 21, 2026 15:17
chore/orval-codegen-migration

Conflicts:
- package.json: keep both the spec and postinstall scripts, and both
  orval and patch-package

Also restore the APIClient import in lib/api/god.api.ts. develop's new
useRefreshEmployerLoginMetrics hook still uses it, and the gods
migration had removed it.
…enerated client: services.ts and use-student-api.tsx.
…ient and delete the hand-written fetch client (everything else)
## Summary

Generated companion to the server OpenAPI metadata fixes, targeting
`chore/orval-codegen-migration` rather than the default branch.

- Copy the corrected server spec and regenerate with Orval 7.13.2.
- Replace ambiguous object types with string enums, nullable timestamp
strings, typed dictionaries, student preferences, and public-job models.
- Reflect optional query parameters and the actual employer-update
fields.
- Changes are confined to `lib/api/generated`; no handwritten services,
state management, or Orval configuration changes.

Companion server PR:
BetterInternship/API-Server-V2#154. Existing
generated fetch functions remain in use; this does not introduce
generated React Query hooks.

## Verification

- Client application-source TypeScript check passes with zero
diagnostics.
- Repeated client generation is byte-for-byte stable.
- Copied client spec matches the server spec.
- Diff whitespace checks pass.

## Scope / limitations

The focused TypeScript check excludes existing stale `.next` route types
and `orval.config.ts`, whose local Orval dependency is unavailable.
Generation used cached Orval 7.13.2 with the existing configuration. No
full client production build or browser/E2E tests were run. Remaining
server business-failure response mismatches are outside this PR.
…n-migration

Conflict resolutions:
- services.ts: kept the generated-client calls; carried develop's session-hint
  set/clear into signOut and getMyProfile.
- ctx-auth.tsx: kept both import sets.
- top-page.server.ts: took develop's ISR rewrite as-is (it uses the new
  /top-pages/categories endpoint, which the generated client lacks).
- god.api.ts: develop's rebuild-top-pages mutation moved off the deleted
  APIClient onto careerFetch (route not in the generated spec yet).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Push recruiters to upload their logos upon registration so we can
accumulate company logos to eventually display on listings. Will be
helpful together with the landing redesign to make the site more
trustworthy.
jayylmao and others added 23 commits October 8, 2026 21:36
Redesigned listing creation to be less intimidating to go through.
Bundles several component visual changes to improve consistency since
inconsistencies are more noticeable otherwise.
@anaj00
anaj00 merged commit 9d9a05c into main Oct 9, 2026
1 check 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.

3 participants