Fix project thumbnail upload update and persistence on reload#2028
Draft
Copilot wants to merge 2 commits into
Draft
Fix project thumbnail upload update and persistence on reload#2028Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix thumbnail not updating and persisting on page reload
Fix project thumbnail upload update and persistence on reload
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of changes
Fixes issues where uploading a new project thumbnail did not update the table immediately and failed to persist on page reload.
useProjectColumns.tsfromnametoupdatedAt. This triggers a React Table re-render of the cell when the thumbnail is updated.ProjectThumbnailCell.tsxwas adjusted to readprojectNamefrom the row's original object instead of the cell value.ProjectDetailsPanel.tsx. The initialupdatedAtvalue is now only captured onceprojectdata is loaded, ensuring the proper date is appended to the thumbnail URL query string to bust the browser cache.Technical details
updatedAtchanges because thenameaccessor value didn't change on upload.thumbnailUpdatedAtRef.currentwas inadvertently being set toundefinedduring the initial loading state before data was fetched, causing subsequent image requests to omit the cache-bustingupdatedAtparameter.Additional context