-
Notifications
You must be signed in to change notification settings - Fork 8
TC-137 Update platform SDK scenario wording #20
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
Conversation
The default C# formatter orders those fields differently, depending on their modifiers. For example, in The scenario doc and code don't always align. The code has to be fully working so it tends to have a few more set up like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change LGTM.
examples/BYOAuthFlow/Program.cs
Outdated
/// PLEASE REPLACE. | ||
/// Your SpatialOS project name. | ||
/// It should be the same as the name specified in the local spatialos.json file used to start the local API services. | ||
/// It should be the same as the name specified in the local project definition file (spatialos.json) used to start the local API service ("spatiald"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you currently have it documented somewhere the name of the process? If not, mentioning spatiald
probably just adds confusion without providing much value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't define it anywhere; I added it here so that users would at least be familiar with the term when they see it in the code.
However, having just searched in the code, it only appears a few times (as SpatialdEndpoint
and SpatialDPort
) so maybe it's not worth drawing attention to?
Or, I could define both "spatiald" and "local API service" in the main SpatialOS glossary and explain that they're the same thing, but that "SpatialD" and "Spatiald" are used in the code?
@lx223 thanks for the explanations. Regarding the ordering, is there any (potentially hacky) way we could make it so that all the summaries are at the top? No worries if not. Where the scenario and doc align, I'll update one of them for consistency. |
Couple of questions/suggestions:
Is there any reason why sometimes the summary list is at the top, and sometimes it's lower down, below all the "PLEASE REPLACE"s? Being at the top makes sense to me, but I wanted to check.
What do you think about potentially changing the wording in the GitHub steps so that it matches the wording in the docs? In some cases, the GitHub steps and the docs steps don't actually match each other, whereas in other cases they match up but use inconsistent wording.
E.g. at the moment the "Player authentication" scenario is like this in the docs:
but like this in the code: