Skip to content

feat: session renewal #10

@zefr0x

Description

@zefr0x

When is_active_session cookie expires it will return None inferring that the session expired. We can easily show an overlay widget to ask for a session renewal.

We might have the following options:

  1. Renew session now (by entering the login credentials)
  2. Renew later (show a warning and an icon in the navbar to open this widget again) (most functionalities will not work in this state)
  3. Close everything and return to the home page

Note

We should keep consideration of option-2 while developing any feature to work or give a fallback when is_active_session returns None. Knowing about this overhead, we might just skip implementing it or keep it to the minimum interaction, otherwise that the other options are forced.

Note

Currently is_active_session's false value is not used, we are just relying on it being true or None. We might possibly change this behaviour when implementing option-2. However, I don't know how yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions