feat(rust): your backpack on the Rust account screen (PLAN_REDESIGNS §11.3) #56

Merged
whitlocktech merged 1 commits from feat/rust-backpacks into edge 2026-10-12 19:41:10 +00:00
Member

Adds a Backpack section under Coins on the Rust account screen.

  • One card per server, from GET /player/rust/servers.
  • An Open button per linked account. It reads GET /player/rust/backpacks once per press and never polls.
  • The slots are drawn as pages of four-wide rows. Each slot shows the item's name from the game (D340), and a blueprint shows what it makes (D341). Overflow is marked, with the take-back sentence.
  • A 409 says Backpacks is not installed. When the Coins read returns 404 the section is hidden along with Coins, since both arrived in protocol 14.

backpackPages and stackLabel are pure functions (BackpackLayout.kt) and are tested, along with the DTO decode and the view model's open, read-again and close.

Tested: ./gradlew lint test assembleDebug passes locally.

Companions: Rust-Plugins#33, Rust-Link#26, Module-Rust#41, docs#341.

  • AI-assisted: written by Claude Code (Claude Opus 5.5)

🤖 Generated with Claude Code

https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY

Adds a **Backpack** section under Coins on the Rust account screen. - One card per server, from `GET /player/rust/servers`. - An Open button per linked account. It reads `GET /player/rust/backpacks` once per press and never polls. - The slots are drawn as pages of four-wide rows. Each slot shows the item's name from the game (D340), and a blueprint shows what it makes (D341). Overflow is marked, with the take-back sentence. - A 409 says Backpacks is not installed. When the Coins read returns 404 the section is hidden along with Coins, since both arrived in protocol 14. `backpackPages` and `stackLabel` are pure functions (`BackpackLayout.kt`) and are tested, along with the DTO decode and the view model's open, read-again and close. **Tested:** `./gradlew lint test assembleDebug` passes locally. Companions: Rust-Plugins#33, Rust-Link#26, Module-Rust#41, docs#341. - [x] AI-assisted: written by Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
wtclaude added 1 commit 2026-10-12 19:37:52 +00:00
feat(rust): your backpack on the Rust account screen (PLAN_REDESIGNS §11.3)
All checks were successful
PR Checks / android-build (pull_request) Successful in 9m32s
6a6fa5d76e
A Backpack section under Coins: one card per server (GET /player/rust/servers),
an Open button per linked account that reads GET /player/rust/backpacks once
per press and never polls, and the slots as pages of four-wide rows named by
the game (D340), blueprints by what they make (D341), overflow marked with the
take-back sentence. A 409 says Backpacks is not installed; the section is left
out with Coins on that read's 404, since both ship in protocol 14.

backpackPages/stackLabel are pure (BackpackLayout.kt) and tested, with the DTO
decode and the view model's open/read-again/close. Local gradle lint test
assembleDebug passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY
whitlocktech merged commit 8e7a41f053 into edge 2026-10-12 19:41:10 +00:00
whitlocktech deleted branch feat/rust-backpacks 2026-10-12 19:41:11 +00:00
Sign in to join this conversation.
No description provided.