Skip to content

Fix website routing and auth flows; document AWS cost reductions - #4

Merged
Aamodx6 merged 1 commit into
Aamodx6:mainfrom
drexvane:fix/routing-auth-navigation-cost-review
Nov 15, 2026
Merged

Aamodx6 merged 1 commit into
Aamodx6:mainfrom
drexvane:fix/routing-auth-navigation-cost-review

Conversation

@drexvane

Copy link
Copy Markdown
Collaborator

Marketing navigation could show the home-page marquee on Pricing, authentication pages lost navigation links, and the browser console could turn failed inference calls into sample results. This change restores local routes and authentication forms, makes request failures explicit, and closes a quota fallback that could return another user's API key and profile.

Changes:

  • Restore Sign in and all five navigation tabs; add local Sources, Customers, and Changelog routes, correct hydrated branding, and use an empty marketing shell for Pricing to avoid the home-page flash.
  • Share native login/signup forms, retain the form-and-side-card layout and entrance animation, and configure browser API origins through public build settings.
  • Require exact Bearer-key quota lookup, check server authentication before private data access, and route guarded uploads through signed forms and asynchronous job polling without fabricated success results.
  • Remove unused template modules and byte-identical duplicate images while retaining required Framer assets and active Prisma integration.
  • Add routing/upload/authorization regression tests and enforce locked installs, checks, tests, and both builds in CI.
  • Update setup/hosting documentation and include the dated AWS expenditure audit, cost-reduction report, supporting data, and offline arithmetic validator.

Validation:

  • Backend lint and TypeScript checks pass.
  • All 20 tests pass: 12 backend and 8 website tests.
  • Next.js and Astro production builds pass; Astro generates 12 routes.
  • Chrome checks at 390, 768, and 1600 pixels verify all five authentication navigation tabs and the Sources/Customers links.
  • Read-only Neon connectivity/schema check passes; the restarted login API rejects a nonexistent test identity without creating records.
  • Offline cost validator reconciles 446 billing rows and verifies rate, storage, and savings calculations.
  • Credential scan found no supplied secret values in Git-eligible or staged files; local environment files remain ignored and excluded.

Known limitations:

  • Sign-in still uses separate header markup/styles from the imported marketing navbar, so a visual change on navigation remains open.
  • Live inference is unavailable while the GPU endpoint remains deleted; the optional async infrastructure is not deployed. This PR does not deploy cloud resources or migrate the database.
  • INFERENCE_MODE=mock is not implemented by the application. Keep moderation enabled for public uploads; local credentials and private environment choices are not included in this PR.

The branch is submitted from the existing drexvane/VideoSaaS fork because the available authenticated identities have read-only access to this upstream repository.

@vercel

vercel Bot commented Nov 15, 2026

Copy link
Copy Markdown

@drexvane is attempting to deploy a commit to the Aamod Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Nov 15, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ca8a9316-8724-44fd-af81-ff1990eb4a06
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Aamodx6
Aamodx6 merged commit 3f10c17 into Aamodx6:main Nov 15, 2026
2 of 3 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.

2 participants