Skip to content

Improve user experience by eliminating full page reload after profile updates #70

@coderabbitai

Description

@coderabbitai

Issue Description

The profile page currently uses window.location.reload() to refresh profile data after successful updates, which provides a suboptimal user experience due to the full page reload. This approach is less efficient and disrupts the user's interaction flow.

Current Behavior

  • After updating profile information, the page performs a full reload to display updated data
  • This causes a brief loading state and interrupts the user's workflow

Expected Improvement

The profile data should update seamlessly without requiring a full page reload, either by:

  • Updating local state directly with server response data
  • Re-fetching only the profile data
  • Exposing a refresh function in the useAuth hook

Context

This issue was identified during code review of the profile page implementation.

Reported by: @daemon-node-byte
Related PR: #65
Comment: #65 (comment)

Metadata

Metadata

Labels

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions