FEAT [GUI] Display signed-in user info in top bar and populate operator label with username#1636
Merged
behnam-o merged 25 commits intomicrosoft:mainfrom Apr 22, 2026
Merged
Conversation
Contributor
|
Needs tests for when it can't resolve the user. For example, if you're running it locally and aren't logged in. Also, this should auto-populate the operator (with alias presumably?) so that people don't have to keep re-setting that. |
jbolor21
reviewed
Apr 22, 2026
jbolor21
reviewed
Apr 22, 2026
jbolor21
reviewed
Apr 22, 2026
jbolor21
reviewed
Apr 22, 2026
jbolor21
reviewed
Apr 22, 2026
jbolor21
reviewed
Apr 22, 2026
jbolor21
reviewed
Apr 22, 2026
romanlutz
approved these changes
Apr 22, 2026
Contributor
romanlutz
left a comment
There was a problem hiding this comment.
Nice work! A few minor comments.
added 2 commits
April 22, 2026 11:23
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a component to display the currently-signed-in user on the top right of the GUI, and sets the operator label value as the username on load/login
This is what it looks like:

If running locally, the top bar component is not added, and the label value is not updated. i.e.

Note:
Testing in local is a little tricky in our current setup, because we have some logic in place to bypass auth altogether if a local env is detected. We need to fix that, but this is the workaround I used to force auth on local env, to test this change:
ENTRA_TENANT_IDandENTRA_CLIENT_IDevn variables (from above) before runningpython dev.py start(which starts the backend and front end)["openid"]instead of["api://***"](this basically means 'https://graph.microsoft.com/openid')