Skip to Main Content
Status Shipped
Workspace DX Platform
Created by Paul Nerger
Created on Nov 13, 2020

Display PDFs in Modals

If an Asset has a PDF document, display it in a PDF Viewer as a modal rather than a new tab. Once in the Modal, give the user the option of opening a new tab and or downloading the PDF for offline viewing.

There are JavaScript libraries such as viewerjs https://viewerjs.org/ that do this. It also has code to display as a modal and to work in angular https://laptrinhx.com/an-angular-8-component-for-pdfjs-and-viewerjs-supports-angular-2-4-5-6-7-736403771/.

  • +18
9 MERGED

Eliminate automatic downloading of the MIT License files.

Merged
When I click on a specific asset, my browser will automatically download the MIT License PDF. This happens just on page load of the asset, not downloading anything related to the asset. If there isn't a legal requirement to do so, I would envision...
Charlie Kovacs about 4 years ago in DX Platform 0 Shipped