Skip to content

Steam Friends in the in-game menu through Madeira Dock - #621

Draft
intraducine wants to merge 8 commits into
mainfrom
steam-friends-pr-572-replacement
Draft

intraducine wants to merge 8 commits into
mainfrom
steam-friends-pr-572-replacement

Conversation

@intraducine

Copy link
Copy Markdown
Collaborator

Replacement for #572. This carries the same commits from Vuqar05’s original PR and preserves their authorship. All credit for the original work belongs to Vuqar05.

Adds a Friends page to the in-game session menu for joining friends, accepting and sending invites, and choosing Steam status through Madeira Dock.

This depends on willfaust/madeira-dock#10, which remains open. After it merges, update the Dock submodule pin to its merged main commit before merging this PR.

See #572 for the original description, discussion, review findings, and device-test details. The original author reported device testing of invites, joining, and Offline status; later changes and the connect-string invite still need device testing. The existing review feedback and dependency still need to be addressed on this PR.

Vuqar05 and others added 8 commits November 4, 2026 15:56
Show a running Dock session’s friends, accept incoming invites, send join and invite commands, and let players choose their Steam presence. Pin the focused Dock Friends branch while it awaits upstream integration.
With friends off, Dock no longer opens the command file every 500 ms or
answers friends-cmd-result=6, which is what its README now says.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe how the launch entry is picked, the chosen status and what has been
tested, and stop naming a fixed Dock commit. Pin Dock's matching doc fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Steam Friends commit left the menu's dimming layer in twice, which
darkened the game behind the menu more than intended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review fixes for #572:

- A missing, invalid, oversized or stale (> 15 s) feed empties the list
  and makes Friends unavailable; refresh() publishes only on change.
- MadeiraDock.cleanup() (session end, app start, sign-out, failed
  start) removes the feed and command files and resets the model.
- Command sequences stay in 1...2^31-1, the result is matched only in
  report lines Dock wrote after the command (at most 64 KiB, complete
  lines only), not the whole report every 0.5 s.
- Friends are opt-in, following madeira-dock#10: Settings > Steam >
  Status is Offline by default, which leaves Friends off as before.
- SteamOnlineStatus moves into MadeiraDock.swift so check-dock-contract
  and check-steam-library compile again.
- New UI strings translated into all six languages.
- New tests/host/check-dock-friends.py compiles the production model;
  check-dock-report.py tests the 1 MiB cap at its edge.
- .gitmodules is back to willfaust/madeira-dock; madeira-dock pinned
  to #10's head (127fc65), to be repinned once it merges.
- docs/MADEIRA_DOCK.md: canonical repository, opt-in, the new check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setStatus stored SteamOnlineStatus.current even when send() returned
early (a command pending, friends unavailable, or the command file not
written), so the saved status could differ from Steam's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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