Skip to content

Request to retrieve API token can take a long time #3965

@bjester

Description

@bjester

Observed behavior

When loading the account settings page, the API token is retrieved as a separate async request. The request seems to also calculate the user's storage usage, meaning the request can take a while and during that time, the API token field appears empty to the user.

Expected behavior

Separate the request for the API token from any storage usage calculation and add appropriate loading indicators for user feedback on the page's loading state.

User-facing consequences

Confusion on why the API token isn't appearing
https://learningequality.slack.com/archives/C0LK8QS9J/p1677751140708559

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions