Skip to content

Fix animation plugin, stale timestamp, and misleading debug data in error page#43

Merged
naheel0 merged 3 commits intonot-found-pagefrom
copilot/sub-pr-42
Feb 21, 2026
Merged

Fix animation plugin, stale timestamp, and misleading debug data in error page#43
naheel0 merged 3 commits intonot-found-pagefrom
copilot/sub-pr-42

Conversation

Copy link
Contributor

Copilot AI commented Feb 21, 2026

Three issues in src/app/error.tsx and src/components/Generator/LoadingOverlay.tsx flagged in code review: animation classes producing no CSS, a timestamp that drifts on re-renders, and hardcoded fake diagnostics that mislead real debugging.

Changes

  • tailwindcss-animate plugin — installed as dev dependency and registered via @plugin "tailwindcss-animate" in globals.css (Tailwind v4 plugin syntax). Without this, animate-in, fade-in, slide-in-from-bottom-* silently produced no styles.

  • Stale timestamp (error.tsx) — replaced inline new Date() in JSX with a useState initializer so the time is frozen at mount:

    const [errorTime] = useState(() =>
      new Date().toISOString().split("T")[1].split(".")[0]
    );
  • Misleading debug panel (error.tsx):

    • core/generator-v2.binerror?.name ?? "Error" (actual error type from the thrown object)
    • "Self-healing protocol..." / "Workspace state preserved..." → guarded by process.env.NODE_ENV === "development", hidden in production
    • "Cache has been purged to prevent recursive errors" → replaced with accurate copy ("Click 'Try Again' to retry the failed operation")

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI mentioned this pull request Feb 21, 2026
10 tasks
@vercel
Copy link
Contributor

vercel bot commented Feb 21, 2026

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

Project Deployment Actions Updated (UTC)
readme-gen-ai Ready Ready Preview, Comment Feb 21, 2026 4:21pm

Co-authored-by: naheel0 <191262736+naheel0@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 21, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/ReadmeGenAI/ReadmeGenAI/node_modules/.bin/next build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Add error page Fix animation plugin, stale timestamp, and misleading debug data in error page Feb 21, 2026
Copilot AI requested a review from naheel0 February 21, 2026 16:06
@naheel0 naheel0 marked this pull request as ready for review February 21, 2026 16:24
@naheel0 naheel0 requested a review from adithyanmkd as a code owner February 21, 2026 16:24
@naheel0 naheel0 merged commit 55b69d9 into not-found-page Feb 21, 2026
3 checks passed
@naheel0 naheel0 deleted the copilot/sub-pr-42 branch February 21, 2026 16:37
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