netlify-templates / netlify-templates/tanstack-template
App crashes when sending messages with code blocks
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 104
- Forks
- 84
- Avg merge
- 4h 54m
- Merged PRs (30d)
- 10
Description
Bug Report
Description
The application crashes when attempting to send a message containing code blocks.
Steps to Reproduce
Open the chat interface
Type a message that includes a code block (using ``` markdown syntax)
Send the message
Application crashes
Expected Behavior
The message with the code block should be sent successfully and rendered with syntax highlighting as shown in the features list.
Actual Behavior
The application crashes upon sending the message.
Environment
Node.js version: (e.g., v20.9.0)
Browser: (e.g., Chrome 120, Firefox 121, Safari 17)
Operating System: (e.g., macOS 14, Windows 11, Ubuntu 22.04)
Deployment: (local development / Netlify)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash in the chat interface with a message using ``` markdown syntax, checking the browser and deployment environment described in the report. Trace the send and rendering path to identify the failing entry point; done means the message sends successfully and displays with syntax highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100