Skip to content

Create file viewer v2 #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: PER-10107-implement-unlisted-share-page-ui
Choose a base branch
from

Conversation

crisnicandrei
Copy link
Contributor

This Pull request is the second part of the new unlisted share functionality

This adds a new file-viewer which handles v2 api calls and a file list v2 component

Copy link

codecov bot commented Jun 19, 2025

Codecov Report

Attention: Patch coverage is 48.65424% with 248 lines in your changes missing coverage. Please review.

Project coverage is 44.96%. Comparing base (f0195c7) to head (f4f850e).

Files with missing lines Patch % Lines
.../components/file-list-v2/file-list-v2.component.ts 46.63% 118 Missing and 1 partial ⚠️
...ponents/file-viewer-v2/file-viewer-v2.component.ts 57.14% 73 Missing and 5 partials ⚠️
src/app/core/resolves/record-resolve-v2.service.ts 4.34% 22 Missing ⚠️
...ponents/file-list-item/file-list-item.component.ts 0.00% 12 Missing ⚠️
src/app/shared/services/data/data.service.ts 0.00% 12 Missing ⚠️
...omponents/share-preview/share-preview.component.ts 80.00% 1 Missing and 2 partials ⚠️
...ing-image-viewer/zooming-image-viewer.component.ts 80.00% 0 Missing and 1 partial ⚠️
src/app/shared/pipes/get-alt-text.pipe.ts 75.00% 1 Missing ⚠️
Additional details and impacted files
@@                              Coverage Diff                               @@
##           PER-10107-implement-unlisted-share-page-ui     #582      +/-   ##
==============================================================================
+ Coverage                                       44.82%   44.96%   +0.14%     
==============================================================================
  Files                                             370      373       +3     
  Lines                                           11361    11813     +452     
  Branches                                         1870     1971     +101     
==============================================================================
+ Hits                                             5092     5312     +220     
- Misses                                           6093     6314     +221     
- Partials                                          176      187      +11     

☔ 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.

Create new file list v2 component

-Create new file list v2 component for the viewer
-Add params in the url instead of query params
@crisnicandrei crisnicandrei force-pushed the create-file-viewer-v2 branch from e4c3a14 to 6069cdd Compare June 19, 2025 14:32
use record id instead of archive number when v2 navigating
@crisnicandrei crisnicandrei force-pushed the create-file-viewer-v2 branch 2 times, most recently from 7f4a163 to deb4209 Compare June 20, 2025 13:21
Fix arrow navigation
@crisnicandrei crisnicandrei force-pushed the create-file-viewer-v2 branch from deb4209 to bdf7c09 Compare June 20, 2025 16:10
@crisnicandrei crisnicandrei force-pushed the create-file-viewer-v2 branch from 6f16faa to 64b8687 Compare June 29, 2025 11:56
@crisnicandrei crisnicandrei force-pushed the create-file-viewer-v2 branch from 6883294 to 7857f9a Compare June 29, 2025 22:52
@crisnicandrei crisnicandrei force-pushed the create-file-viewer-v2 branch from e8e2fde to 74a4bea Compare June 30, 2025 07:55
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.

1 participant