fix: toast system, streaming SSE, export logs, call-graph regression tests#880
Merged
Gbangbolaoluwagbemiga merged 1 commit intoMay 27, 2026
Conversation
…tests Issue HyperSafeD#857 - Global toast/notification system: - New ToastProvider in frontend/app/providers/ToastProvider.tsx - useToast() hook exposes toast.success(), toast.error(), toast.info() - Top-right stack, max 3 toasts, auto-dismiss 4s, dismissible by click - ARIA role=alert + aria-live=assertive for accessibility Issue HyperSafeD#852 - /terminal EventSource against POST-only /api/analyze: - New GET /api/analyze/stream?path=... route (frontend/app/api/analyze/stream/route.ts) - Spawns sanctifier analyze --format json, forwards each line as SSE data event - Event shapes: {type:log}, {type:result}, {type:done}, {type:error} - Abort on client disconnect (request.signal) - /terminal updated to use /api/analyze/stream, parse new event shapes Issue HyperSafeD#860 - Export Logs card is decorative: - Replaced static card with actionable Download .log + Copy buttons - Download serializes logs[] to a .log file via Blob URL - Copy writes logs to clipboard, shows toast confirmation - Buttons disabled when logs[] is empty - Uses useToast() from ToastProvider Issue HyperSafeD#858 - CallGraph silently renders empty on shape mismatch: - frontend/app/dashboard/call-graph.test.ts: unit tests asserting extractCallGraph returns { nodes, edges } (not callGraphNodes/callGraphEdges), non-empty for auth_gap reports, correct dashboard memo destructuring - e2e/tests/call-graph.spec.ts: Playwright spec uploads fixture JSON and asserts SVG node renders in call-graph viewer Closes HyperSafeD#857, HyperSafeD#852, HyperSafeD#860, HyperSafeD#858
|
@Temi-suwa18 is attempting to deploy a commit to the gbangbolaoluwagbemiga's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@chonilius Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Closes #857
Closes #852
Closes #860
Closes #858
#857 - Global toast/notification system
#852 - /terminal EventSource against POST-only /api/analyze
#860 - Export Logs card is decorative
#858 - CallGraph silently renders empty on shape mismatch