Skip to content

Cmd Palette shows Log In and Log Out actions #1809

@tyler-dane

Description

@tyler-dane

Where did this happen?

No response

Expected Behavior

When logging out from the day or now view, Compass should make it obvious that the user is no longer logged in.

The cmd palette should only show either 'Log In' or 'Log out' — never both.

Current Behavior

After logging out from the day view, it's not clear that the user is no longer logged in

  • Their calendar events are still visible
  • There is no message notifying them that they successfully logged out.

Both are shown

Image

Steps to Reproduce

  1. Log in
  2. Open cmd palette and select 'Log out'
  3. Log out by clicking the button
  4. You'll be redirected to the app again
  5. Open cmd palette
  6. Expected: Only 'Log In' is shown
  7. Actual: 'Log In' and 'Log out' are shown

Possible Solution

Use the user's auth state when determine which actions to display in the palette

  • Ensure this is the same logic for each view. That is, the /day command palette should work the same as the /week

Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    webFrontend/web related issue

    Type

    No fields configured for Bug.

    Projects

    Status

    Ready

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions