Skip to content

Merge web client improvements (layout/styling, functionality) and train additions (new trains added) and legacy arm binaries - #137

Merged
BLuedtke merged 33 commits into
masterfrom
135-revise-game-client-layout
Oct 9, 2025
Merged

Merge web client improvements (layout/styling, functionality) and train additions (new trains added) and legacy arm binaries#137
BLuedtke merged 33 commits into
masterfrom
135-revise-game-client-layout

Conversation

@BLuedtke

Copy link
Copy Markdown
Collaborator

Closes #134 and closes #135

Changes:

  • The game client is adjusted to better work on iPads (and similar devices) in landscape mode. This is achieved by splitting the styling based on screen orientation.
  • The game client now has speed factors per train, as some trains on the "slow" setting would get stuck on double-slip points.
  • One route/destination has been disabled for use with the game client, as there are issues with the point and track connectivity.
  • The web clients (client-, controller-, driver.html) have been updated (visually) and enhanced slightly, with the ability to load accessory (points, signals) dropdown options from the server instead of only being able to use the defaults. Also, the verification toggle functionality on client.html was fixed (we forgot to adjust that when changing to the JSON API).
  • New train configurations have been added (the parser test has been adjusted accordingly), and new train images have been added.
  • Dynamic libraries for use on rPi4 and older were added, though one has to rename the files to use them.

Changes have been tested with all trains and different kinds of devices (phone, ipad, laptop).

BLuedtke and others added 30 commits October 30, 2024 08:58
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
@BLuedtke BLuedtke self-assigned this Sep 26, 2025
@BLuedtke BLuedtke linked an issue Sep 26, 2025 that may be closed by this pull request
@BLuedtke
BLuedtke requested a review from eyip002 September 26, 2025 14:11

@eyip002 eyip002 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The updated interfaces look much better than before (just by opening the html files directly in Safari) 👍

Comment thread server/src/assets/game/tableGenerator/requirements.txt
Comment thread server/src/assets/game/driver-game.html Outdated
Comment thread server/src/assets/game/style-game.css Outdated
Comment thread server/src/assets/driver.html
@BLuedtke

Copy link
Copy Markdown
Collaborator Author

Reworking the wiki pages, especially the API ones, is necessary, I agree.
However, now that we have the OpenAPI documentation of the API, a wiki page like this one would IMO mostly be duplicate information and additional work to keep it updated. There may be some decent ideas in the current text of that page, so I don't want to just delete it. But at the moment, I don't really have the time to rework it. Don't know yet what to do with it.

@BLuedtke

Copy link
Copy Markdown
Collaborator Author

I've at least added a note on the two directly API-related wiki pages, stating that they are outdated due to the API overhaul merged this September.

@eyip002 eyip002 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready for you to merge 👍

@BLuedtke
BLuedtke merged commit d02e155 into master Oct 9, 2025
1 check passed
@BLuedtke
BLuedtke deleted the 135-revise-game-client-layout branch October 9, 2025 12:54
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.

Revise Game-Client Layout for screens in landscape orientation Add new train configurations

3 participants