-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat(rover): output service title for whoami #299
Conversation
In our discussions we found that Name was not a useful piece of information to show to Rover's users. Instead, this commit introduces a Service title which is aligned with the information that Studio displays for a user.
fcfbc30
to
447cc03
Compare
|
||
let title = match me.on { | ||
who_am_i_query::WhoAmIQueryMeOn::Service(s) => s.title, | ||
_ => "No Title".to_string(), |
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.
Happy to have No Title
as something else, if that doesn't sound suitable.
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.
I doubt we'll see this case often (if ever?), but regardless, I think this is fine :)
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.
Ah, I see what's going on here. It's printing service title
regardless of whether it's a service key or not. I think I'm going to push a commit changing that, feel free to reject it or push back tomorrow :)
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.
Ah, yea this new commit you pushed works well. Merging the PR in.
I changed the printout to handle user and graph keys differently. |
Description
In our discussions we found that Name was not a useful piece of
information to show to Rover's users. Instead, this commit introduces
a Service title which is aligned with the information that Studio
displays for a given user.
closes #280