Add Next.js frontend (auth, workspaces, monitors, dashboard, incidents) - #2
Closed
sarangs1621 wants to merge 2 commits into
Closed
Add Next.js frontend (auth, workspaces, monitors, dashboard, incidents)#2sarangs1621 wants to merge 2 commits into
sarangs1621 wants to merge 2 commits into
Conversation
…ncidents Adds a TypeScript + Tailwind CSS v4 SPA under frontend/ (deployed separately on Vercel) covering the v1 core loop: login/register, workspace list/create/ join, monitor CRUD with check/latency/uptime detail views and charts, a workspace dashboard, and incident list/detail with acknowledge/resolve. Uses React Query for data fetching and a typed API client with JWT refresh-on-401. Documents local dev, env vars, CORS, and Vercel deployment in docs/FRONTEND.md, linked from the root README.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Supersedes the early scaffold (auth context, React Query, Tailwind CSS v4, recharts) with the full app: login/register, workspace management (members, invite codes, API keys), monitor CRUD with check/metric history, incident management, alert rules, the notification delivery log, and audit logs, all built on a custom dark glassmorphism design system with a typed fetch client (no React Query/Tailwind/Recharts). Adds frontend/.gitignore and .env.example, a legacy ESLint config so `next lint` works, a postcss override to clear a moderate npm audit finding, and rewrites docs/FRONTEND.md plus the root README's frontend section to match the new stack and structure.
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.
Summary
frontend/, deployed separately (e.g. Vercel) and consuming the FastAPI backend's public REST APIdocs/FRONTEND.md(stack, structure, auth model, local dev, env vars, Vercel deployment + CORS) and links it from the root READMEBase branch note
This branch is stacked on
docs/phase-13-portfolio-readiness(#1), which is still open. Once #1 merges intomain, GitHub will retarget this PR's base tomainautomatically.Test plan
npx tsc --noEmitpasses with no errorsnpx eslint .passes (0 errors, 1 knownreact-hook-form/React Compiler warning)npm run buildsucceeds