Skip to content

feat(page): copy the boss statistics and a per-try image for Discord - #45

Merged
danifischer merged 5 commits into
masterfrom
claude/funny-newton-i1s1qo
Nov 24, 2026
Merged

danifischer merged 5 commits into
masterfrom
claude/funny-newton-i1s1qo

Conversation

@danifischer

Copy link
Copy Markdown
Owner

Summary

  • Adds a Copy for Discord button on the boss page: summary, an aligned table of the tries (two-digit numbers) and a Logs: line with a link to every try's log. No emojis; shortened to stay under Discord's 2000 characters (oldest tries drop first).
  • Adds a Copy image button: a PNG with the boss health left per try (kills as a small green bar), copied to the clipboard or saved as a file when the browser blocks clipboard images.
  • Player stats are not part of the Discord text.

Notes

  • Discord has no tables and links don't work in code blocks, so the table and the links are separate parts of the message.
  • Text and image can't be pasted in one go; paste one, then the other.

Test plan

  • npm test in tests-js (46 pass)
  • dotnet test (all pass)
  • Paste both into Discord and check the look

🤖 Generated with Claude Code

claude and others added 5 commits November 24, 2026 06:10
Adds a Copy for Discord button to the boss page. The message has a summary,
a colored strip of all tries, a table of the tries and a player table, and is
shortened to stay under Discord's 2000 character limit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vJ6uwK73cEt7U4keA5pxG
…y image

The Discord message lists each try with a link to its log and no longer
includes the player table. A new Copy image button draws the boss health
left per try as a PNG and copies it (or saves it when the clipboard refuses).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replaces the code block table with one line per try so the link can sit in
the line, aligning the numbers with figure spaces.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…y numbers

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@danifischer
danifischer merged commit 723a74f into master Nov 24, 2026
1 check passed
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