Skip to content

Show a random loader picture in each draw placeholder - #323

Merged
iamwavecut merged 1 commit into
mainfrom
feat/random-draw-loaders
Dec 5, 2026
Merged

iamwavecut merged 1 commit into
mainfrom
feat/random-draw-loaders

Conversation

@iamwavecut

Copy link
Copy Markdown
Owner

The draw placeholder used one fixed loader picture. Nine new loader
pictures (painting, darkroom, loom, mosaic and others) were uploaded by
the bot, and their photo file IDs now replace the single constant.

  • Each draw request picks a loader at random.
  • A VIP album gets a distinct loader in every placeholder frame; the set
    repeats only if an album needs more than nine frames.
  • Image edits use the same placeholder path, so they get random loaders too.

All nine file IDs pass getFile with the production bot token.

Checks: cargo clippy --workspace --all-targets -- -D warnings,
cargo test -p openplotva-app --lib placeholder (16 passed, two new tests
for the random pick and the per-frame album request).

Nine loader pictures uploaded by the bot replace the single placeholder
file ID. Every draw request picks one at random; a VIP album gives each
placeholder frame its own distinct picture.
@github-actions

github-actions Bot commented Dec 5, 2026

Copy link
Copy Markdown
Messages
📖 Danger checked 1 changed file(s).

Generated by 🚫 dangerJS against 44d87a4

@iamwavecut
iamwavecut merged commit 47d8959 into main Dec 5, 2026
10 of 12 checks passed
@iamwavecut
iamwavecut deleted the feat/random-draw-loaders branch December 5, 2026 13:39
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