Skip to content

Bug: A confirmed nickname change in the profile settings is not displayed in the profile header until the page is reloaded. #2243

@Sofushkins

Description

@Sofushkins

Summary

The name has been successfully changed, the API returns the correct code, but the old nickname is still displayed in the profile header. It is only updated after a reload.

Image

Reproduction steps

prerequisites:
  Authorization procedure completed
  The new entered nickname is not taken
steps:
  Open the website https://codebattle.hexlet.io/.
  Click on the avatar/nickname icon in the upper right corner.
  Click on “Settings”.
  Fill in the “Your name” field. Enter new Nickname.
  Click the “Save” button.

Expected result

The API returns code 200.
The message “Your settings have been changed” appears.
The user's new nickname is displayed in the upper right corner of the page.

Actual result

The new nickname appears in the website header only after the page is reloaded.

Browsers

Firefox

OS

Mac

Version: 4df7e60

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions