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

Add email to user information display #932

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add email to user information display #932

wants to merge 1 commit into from

Conversation

isaacrlevin
Copy link
Owner

@isaacrlevin isaacrlevin commented Sep 17, 2024

Add user's email to the UI of PresenceLight.

  • Add a new property Email to AppState in src/PresenceLight.Core/Configuration/AppState.cs to store the user's email.
  • Create GetProfileAndPresenceHandler in src/PresenceLight.Core/GraphServices/GetProfileAndPresenceHandler.cs to extract and return the user's email.
  • Modify MainWindow.xaml.cs in src/DesktopClient/PresenceLight/MainWindow.xaml.cs to retrieve and store the user's email in the AppState.
  • Update LoginDisplay.razor in src/PresenceLight.Razor/Components/Shared/LoginDisplay.razor to display the user's email along with their name.

For more details, open the Copilot Workspace session.

Add user's email to the UI of PresenceLight.

* Add a new property `Email` to `AppState` in `src/PresenceLight.Core/Configuration/AppState.cs` to store the user's email.
* Create `GetProfileAndPresenceHandler` in `src/PresenceLight.Core/GraphServices/GetProfileAndPresenceHandler.cs` to extract and return the user's email.
* Modify `MainWindow.xaml.cs` in `src/DesktopClient/PresenceLight/MainWindow.xaml.cs` to retrieve and store the user's email in the `AppState`.
* Update `LoginDisplay.razor` in `src/PresenceLight.Razor/Components/Shared/LoginDisplay.razor` to display the user's email along with their name.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/isaacrlevin/presencelight?shareId=XXXX-XXXX-XXXX-XXXX).
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.

1 participant