Upon logging in, the user should see the user profile avatar menu located in the App bar with side nav component. The avatar should be in a loading state until the user's initials are retrieved. If there is an error fetching the user name, but the account is authenticated, a default avatar displaying the initials "IW" should be rendered in its place.
Current Behavior:
user logs in, loading state is initiated, then the default "IW" avatar briefly pops up showing "IW", followed by the fetched user initials.
Expected behavior:
log in --> loading --> user initials or default
Check the loading logic in the useOktaGetUserName hook, the appBarWithSIdeNav, and AvatarAccountMenu components.
Upon logging in, the user should see the user profile avatar menu located in the App bar with side nav component. The avatar should be in a loading state until the user's initials are retrieved. If there is an error fetching the user name, but the account is authenticated, a default avatar displaying the initials "IW" should be rendered in its place.
Current Behavior:
user logs in, loading state is initiated, then the default "IW" avatar briefly pops up showing "IW", followed by the fetched user initials.
Expected behavior: log in --> loading --> user initials or default
Check the loading logic in the useOktaGetUserName hook, the appBarWithSIdeNav, and AvatarAccountMenu components.