Skip to content
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

Enable "Show Content" Option for Viewing PDFs in BlazorExplorer #268

Open
sekharkumar opened this issue Feb 7, 2025 · 2 comments
Open

Comments

@sekharkumar
Copy link

Description:

I am using BlazorExplorer from the AASX Package Explorer project and noticed that the "Show Content" feature is missing. This option is available in the Classic AASX Package Explorer but not in BlazorExplorer.

Currently, there is no way to view embedded PDF files stored within an AASX package directly in BlazorExplorer. Instead, users must manually extract the files and open them separately. This disrupts the workflow and makes it difficult to manage document-related assets within an AAS model.


Expected Behavior:

  • BlazorExplorer should provide a way to open and view PDFs directly from the UI, similar to the Classic AASX Package Explorer.
  • Ideally, an embedded PDF viewer should be available to preview the content without requiring external tools.

Current Behavior:

  • There is no "Show Content" button when selecting a file property in BlazorExplorer.
  • Clicking on a file property does not open or display the content.
  • The only workaround is to manually extract the file and open it externally.

Steps to Reproduce:

  1. Open BlazorExplorer.
  2. Load an AASX package containing a PDF file under a file property.
  3. Try to find the "Show Content" option—it's missing.
  4. Attempting to open the file does not display the PDF inside BlazorExplorer.

Proposed Solution:

  • Add a "Show Content" option similar to the Classic AASX Explorer.
  • Integrate a PDF Viewer (e.g., [PDF.js](https://mozilla.github.io/pdf.js/) or an embedded <iframe> with a blob: URL).
  • Alternatively, provide an "Open Externally" button to launch the file in the system’s default PDF viewer.

Additional Information:

  • BlazorExplorer Version: [Mention the version you are using]
  • Operating System: [Windows/Linux/Mac]
  • Any logs/errors if available: No error, just missing feature.
  • Screenshots: (If possible, attach a screenshot showing the missing "Show Content" button compared to the Classic Explorer UI.)

Impact:

This feature is crucial for users working with AAS models containing technical documentation, manuals, and specifications stored in PDF format. Adding this functionality would improve usability and make BlazorExplorer a more complete alternative to the Classic Explorer.

Thank you for your time and effort in improving AASX Package Explorer! 🚀🎉

@sekharkumar
Copy link
Author

Hi Team any help

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

No branches or pull requests

1 participant