Repository navigation
[PER-10768] Add thumbnail and record status in the private workspace for rows - #1200
Open
aasandei-vsp wants to merge 5 commits into
Open
aasandei-vsp wants to merge 5 commits into
aasandei-vsp wants to merge 5 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## PER-10768-no-access-copy-yet-v2 #1200 +/- ##
===================================================================
+ Coverage 54.72% 55.02% +0.29%
===================================================================
Files 372 374 +2
Lines 12990 13029 +39
Branches 2383 2395 +12
===================================================================
+ Hits 7109 7169 +60
+ Misses 5643 5623 -20
+ Partials 238 237 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aasandei-vsp
force-pushed
the
PER-10768-no-access-copy-yet-v2
branch
from
October 8, 2026 12:27
312e60f to
ae01846
Compare
In order to have a nice placeholder for the thumbnails that have yet a thumbnail generated or a failed one, we get a specific status from the BE for it: thumbnail256Status. So this new property got mapped for the RecordVO objects. Issue: PER-10768
… status A file list row without a thumbnail always looked the same, whether the file was still being processed, had failed or never gets a thumbnail. Now the user get information about the state of the thumbnail and the record copy. Issue: PER-10768
The rows in a workspace will just show the record, do not need to be aware of the record or thumbnail status. So it will just integrate the row icon component for this purpose. Issue: PER-10768
…ew status is available If the thumbnail or the record copy are available, they should be populated and not expect the user to refresh the page for it. Issue: PER-10768
The tablet and the phone version of the web app have a slightly different implementation, so for those we removed a few conditions, in order to have the same look and feel for the preview status. Issue: PER-10768
aasandei-vsp
force-pushed
the
PER-10768-no-access-copy-yet-v3
branch
from
October 8, 2026 12:35
2e5290a to
517cace
Compare
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.
This PR modifies the row from the file list, but it has two different sides.
The first one would be that instead of just showing a gray thumbnail for records that do not have a generated thumbnail yet, we show a more representative one for the state of the thumbnail.
The second part is the state of the record, so under the name we will show some information about the state of the copy, if the file can be previewed yet.
Issue: PER-10768
Click here to view curated manual test cases
# Manual test cases — file list rows while a file is being prepared (PER-10768, part 2)The visible change: a file row without a thumbnail now shows a small tile instead of a plain grey square, and a line under the name says when the file is still being prepared to view, or can't be previewed.
A file whose copy is being made ⭐
Scenario — a document straight after upload
.docxinto an empty folder and stay in the folder.Preparing to view...andStored.Scenario — a TIFF that has its thumbnail before its copy ⭐
.tiffand stay in the folder. --> NEEDS TESTING ON DEVPreparing to view... • Stored.Scenario — a video that never gets a thumbnail
.avi.Preparing to view... • Storedunder the name.AVIbadge, and the line under the name disappears, without reloading the page. Videos never get a thumbnail, so this tile is where the row ends up.A file that only waits for its thumbnail
Scenario — a photo straight after upload
.jpg.Files that never get a thumbnail
Scenario — formats with no thumbnail
.mp4and the.svg.MP4,SVG. No line under the name. Before this change both were grey squares..zip.A file whose copy failed --> CAN BE TESTED ON LOCAL, BECAUSE MOST FAIL, WE PROBABLY DO NOT HAVE ARCHIVEMATICA AT FULL CAPABILITY
(only if your archive has a
.docxolder than a day that never got a copy)Scenario — an old document without a copy
Preview unavailablein red, then• Stored.Where nothing should change
(cheap regression checks: these must look exactly as before)
Scenario — grid view, narrow window, shared links
.docx, switch to the grid view.Moving around while files are being prepared
Scenario — leaving and coming back
.docxis still preparing, open another folder, then come back..docxfrom the row while it's preparing.We're still preparing this file to view(part 1).