vikunja/frontend/src/models
Weijie Zhao 7297682cad
fix: remove invalidateAvatarCache call that broke request deduplication (#2317)
When multiple avatar components mount with alternating sizes (e.g. 48
and 20), invalidateAvatarCache clears pending requests for ALL sizes of
the same user, causing each call to create a new HTTP request instead of
reusing the pending one.

I noticed this issue when I open a task with 20 comments, the avatar
requests make the service OOM.

<img width="733" height="551" alt="image"
src="https://github.com/user-attachments/assets/db45db31-294c-4363-ad27-38d454b5a6a2"
/>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-02 09:18:20 +01:00
..
abstractModel.ts feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
apiTokenModel.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
attachment.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
avatar.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
backgroundImage.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
bucket.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
caldavToken.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
emailUpdate.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
file.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
label.ts feat(gantt): rebuild the gantt chart (#1001) 2025-08-12 16:33:50 +02:00
labelTask.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
linkShare.ts feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
notification.ts fix(notifications): handle user mentioned notification 2024-12-11 19:15:09 +01:00
passwordReset.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
passwordUpdate.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
project.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
projectDuplicateModel.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
projectView.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
reaction.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
savedFilter.ts feat(filters): add UI for marking saved filters as favorites (#2055) 2026-01-07 16:21:41 +00:00
session.ts feat: add frontend session management with refresh tokens 2026-02-25 10:30:25 +01:00
subscription.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
task.ts fix(task): do not parse task comment reactions so that they actually 2025-08-31 21:25:48 +02:00
taskAssignee.ts chore: move frontend files 2024-02-07 14:56:56 +01:00
taskBucket.ts fix(kanban): use full updated kanban bucket when moving task 2025-03-19 16:06:20 +01:00
taskComment.ts feat: emoji reactions for tasks and comments (#2196) 2024-03-12 19:25:58 +00:00
taskPosition.ts feat(views): save task position 2024-03-19 00:47:48 +01:00
taskRelation.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
taskReminder.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
team.ts feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
teamMember.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
teamProject.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
teamShareBase.ts feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
totp.ts fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
user.test.ts test: add unit tests for getDisplayName 2026-02-21 23:08:24 +01:00
user.ts fix: remove invalidateAvatarCache call that broke request deduplication (#2317) 2026-03-02 09:18:20 +01:00
userProject.ts feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
userSettings.ts feat(comments): add sort order toggle for task comments 2026-02-19 14:20:52 +01:00
userShareBase.ts feat!: rename right to permission (#1277) 2025-08-13 11:05:05 +02:00
webhook.ts feat: add option to send Basic Auth header with webhook requests (#2137) 2026-01-30 15:07:31 +01:00