Skip to content

feat: improve output toolbar and source map links - #483

Merged
Dunqing merged 2 commits into
mainfrom
feat/output-toolbar-fragments
Nov 15, 2026
Merged

Dunqing merged 2 commits into
mainfrom
feat/output-toolbar-fragments

Conversation

@Dunqing

@Dunqing Dunqing commented Nov 15, 2026

Copy link
Copy Markdown
Member

Move Run, Compare, Source map, and Copy into a fixed toolbar above the printed code so they remain visible while code scrolls. Keep Clear and Collapse beside the console, preserving execution feedback and previous-result replacement. Keep Source map in place but disabled while its link is unavailable or updating.

Put the compressed source-map payload in a URL fragment to avoid HTTP request-URI failures for large inputs. Opening the viewer creates no stored share. Viewer fragment support is merged, deployed, and verified live.

Validation:

  • Reused passing formatting, lint, Vue type checking, and production build checks with existing warnings; application code is unchanged from the validated version.
  • Chrome checks cover Copy, scrolling, disabled links, execution controls, result preservation, and 768/1024/1440px layouts.
  • Local integration covers Unicode, a 79,571-character fragment, reload, Back/Forward, invalid input, and existing path links.
  • Live viewer checks cover a 79,255-character Unicode fragment, both panes, state changes, and reload, with no share API requests or runtime errors.

AI assistance was used for implementation and verification.

@github-actions

Copy link
Copy Markdown
Contributor

@Dunqing
Dunqing marked this pull request as ready for review November 15, 2026 14:59
@Dunqing
Dunqing merged commit dee2874 into main Nov 15, 2026
4 checks passed
@Dunqing
Dunqing deleted the feat/output-toolbar-fragments branch November 15, 2026 14:59
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.

1 participant