Conversation
Resolve conflicts: keep stepper UI and ANSI terminal from branch, adopt lucide v1 icon names from develop. Fix lint errors in SerialTerminal (unused import, bare expression, missing each keys). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Resolve conflicts in flashtool: keep stepper UI and ANSI terminal from feature branch, adopt scoped serial/flash lifecycle contexts from develop. Update FlashContext to use ConnectApplication. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Deploying openshockapp with
|
| Latest commit: |
c629952
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://9942005f.openshockapp.pages.dev |
| Branch Preview URL: | https://feature-improved-serial-flas.openshockapp.pages.dev |
There was a problem hiding this comment.
Pull request overview
Adds an improved serial console experience to the flashtool page, including ANSI-colored output rendering and a persistent terminal panel, while adjusting FlashManager to support connecting in “application mode” first and entering bootloader mode lazily.
Changes:
- Introduces a new
SerialTerminalcomponent with command history, auto-scroll, and line capping for display. - Adds a lightweight ANSI SGR parser to render colored/styled serial output.
- Refactors
FlashManagerconnection flow to supportConnectApplication()and starts an application serial read loop on connect.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
src/routes/flashtool/SerialTerminal.svelte |
New terminal UI component rendering segmented ANSI output and command input. |
src/routes/flashtool/FlashManager.ts |
Adds application-mode connect/read-loop path and bootloader connect rename. |
src/routes/flashtool/flash-context.svelte.ts |
Switches connect flow to ConnectApplication(). |
src/routes/flashtool/ansi.ts |
New ANSI parser/stripper for styled terminal output. |
src/routes/flashtool/+page.svelte |
Reworks UI into a stepper flow and integrates persistent terminal + ANSI parsing. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
[uptimeMs][LEVEL][tag]) and ESP-IDF (LEVEL (uptimeMs) TAG:) log formats to color output by log level and display device uptimeDetails
ensureApplication()