[PR #1047] [MERGED] fix(users): refresh initials avatar refresh after name change #1182

Closed
opened 2025-11-01 21:12:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1047
Author: @kolaente
Created: 6/30/2025
Status: Merged
Merged: 6/30/2025
Merged by: @kolaente

Base: mainHead: codex/reload-avatar-on-name-change


📝 Commits (3)

  • b643482 fix(user): reload initials avatar on name change
  • 4b070f6 fix: make this actually work
  • 0fb6974 fix lint

📊 Changes

3 files changed (+38 additions, -3 deletions)

View changed files

📝 frontend/src/models/user.ts (+20 -0)
📝 frontend/src/stores/auth.ts (+12 -3)
📝 pkg/routes/api/v1/user_settings.go (+6 -0)

📄 Description

Summary

  • expose an invalidateAvatarCache helper to force reloads
  • refresh avatar when saving settings if initials provider is active

Testing

  • pnpm lint:fix

https://chatgpt.com/codex/tasks/task_e_685e9301a2288322b9f59e8938615542


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/1047 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 6/30/2025 **Status:** ✅ Merged **Merged:** 6/30/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/reload-avatar-on-name-change` --- ### 📝 Commits (3) - [`b643482`](https://github.com/go-vikunja/vikunja/commit/b6434822e5e68c0591ababb430a07de6920cc08b) fix(user): reload initials avatar on name change - [`4b070f6`](https://github.com/go-vikunja/vikunja/commit/4b070f6ca223d0d80db61b38a371b29de8a30409) fix: make this actually work - [`0fb6974`](https://github.com/go-vikunja/vikunja/commit/0fb69742095a53fe9c532de8993a2d5ba1f46d09) fix lint ### 📊 Changes **3 files changed** (+38 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/models/user.ts` (+20 -0) 📝 `frontend/src/stores/auth.ts` (+12 -3) 📝 `pkg/routes/api/v1/user_settings.go` (+6 -0) </details> ### 📄 Description ## Summary - expose an `invalidateAvatarCache` helper to force reloads - refresh avatar when saving settings if initials provider is active ## Testing - `pnpm lint:fix` ------ https://chatgpt.com/codex/tasks/task_e_685e9301a2288322b9f59e8938615542 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-01 21:12:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#1182