Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tweak: Include triptych player name in data request logs #1867

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

jzimbel-mbta
Copy link
Member

Asana task: ad hoc

This will help us match up logs with real screens, and make sure that the placement of each player matches up with what OFM's station maps said.

  • Tests added?

@jzimbel-mbta jzimbel-mbta requested review from a team and cmaddox5 and removed request for a team September 18, 2023 13:16
@@ -24,6 +24,7 @@ defmodule ScreensWeb.V2.ScreenApiController do
screen_side = params["screen_side"]
rotation_index = params["rotation_index"]
triptych_pane = params["pane"]
triptych_player_name = params["player_name"]
Copy link
Contributor

Choose a reason for hiding this comment

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

If we ever want to log DUP player names, we may want to consider renaming these params on the client. Just a thought, can't do that now.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh hmm, we could... I could re-key the param over in show_triptych/2 before passing off to show/2.

Copy link
Contributor

Choose a reason for hiding this comment

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

Totally up to you. I think it will only be unclear once we add player name to params for DUPs. But I don't see us needing to do that in the near future.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll leave it be for now.

@cmaddox5 cmaddox5 assigned jzimbel-mbta and unassigned cmaddox5 Sep 18, 2023
@jzimbel-mbta jzimbel-mbta merged commit 44c1a8c into master Sep 18, 2023
2 checks passed
@jzimbel-mbta jzimbel-mbta deleted the jz/log-triptych-player-name-in-data-request branch September 18, 2023 14:35
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