Skip to content

Conversation

@aasandei-vsp
Copy link
Contributor

@aasandei-vsp aasandei-vsp commented Jan 19, 2026

Solves isssue: https://permanent.atlassian.net/browse/PER-10392

STEPS TO TEST:

Private workspace

  1. Log in or create an account
  2. Upload multiple files at once
  3. Upload files until there is a scroll present on the screen, because not all items fit anymore
    EXPECTED: All files are loading correctly and can be previewed

Record preview

  1. Log in or create an account
  2. Upload multiple files
  3. Double click one of them
    EXPECTED: The file preview appears
  4. Click the right/left arrows to go through multiple files
    EXPECTED: All files should preview correctly.

Change profile information for archive

  1. Log in or create an account
  2. Go to Archive Profile
  3. Upload a new image for the profile
  4. Upload a new image for the banner
  5. Change various data in the form
    EXPECTED: All filled data will remain in the form(especially the image and the banner)
  6. Click the back arrow, the list of records will appear
  7. Go back to the Archive Profile
    EXPECTED: All the data filled at steps 3,4 and 5 is still there(especially the image and the banner)
  8. Refresh the page
    EXPECTED: All the data filled at steps 3,4 and 5 is still there(especially the image and the banner)

@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 55.55556% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.08%. Comparing base (95fdf2a) to head (0829f95).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
.../components/profile-edit/profile-edit.component.ts 42.85% 0 Missing and 4 partials ⚠️
src/app/shared/services/profile/profile.service.ts 33.33% 0 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #903      +/-   ##
==========================================
+ Coverage   47.83%   48.08%   +0.24%     
==========================================
  Files         351      351              
  Lines       11292    11293       +1     
  Branches     1889     1898       +9     
==========================================
+ Hits         5402     5430      +28     
+ Misses       5698     5667      -31     
- Partials      192      196       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…dpoint

The endpoint getLeanItems is from the old api and is quite slow, so we
will be using the endpoint from the new api /folder/<folderId>/children instead.
The only place it is used is the data service, so the observable will be
transforming into a promise, which was what the fetchLeanItems method
needed anyways.
@aasandei-vsp aasandei-vsp force-pushed the PER-10392-update-folder-with-children-endpoint branch 4 times, most recently from d321190 to d3b69c3 Compare January 21, 2026 09:27
… edit

The profile edit component is used for fillind the profile information and
the folder children endpoint provides the data for that. Because the old one
had some different property names, thumbnailURL needs mapping and the archiveNbr
is actually archiveNumber in the new endpoint. Because of the archive number
mismatch, the banner does not update at the moment.

Issue: PER-10392 Stop using folder/getLeanItems
@aasandei-vsp aasandei-vsp force-pushed the PER-10392-update-folder-with-children-endpoint branch from d3b69c3 to 0829f95 Compare January 21, 2026 09:59
@aasandei-vsp aasandei-vsp changed the title WIP -- [PER-10392] Update folder with children endpoint [PER-10392] Update folder with children endpoint Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants