NuGetPackageExplorer / NuGetPackageExplorer

Create, update and deploy Nuget Packages with a GUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When WASM is disabled in browser, it displays a blank page

Nirmal4G opened this issue · comments

Type:

  • Bug
  • Feature request

NPE version: WASM https://nuget.info

OS version: Windows 11

Installed from: Not Applicable

In the case of a BUG:

  • What is the current result?
    Displays a blank page when WASM is disabled, or when enhanced security is enabled!

  • What is the expected result?
    It should display a landing page with info on why WASM is disabled, either offer steps to enable WASM (like disabling enhanced security) or to install NPE desktop app from MS Store.

  • Are there any workarounds? yes
    Enable WASM in the browser (sometimes by disabling the enhanced security)

In case of a FEATURE REQUEST:

  • Why do we need it?
    It is often confusing for regular people to know about WASM and to know why the page hasn't been working. It takes a look into console log in Dev Tools to know that the site is WASM enabled and it needs WASM to work.
  • Please provide a use case.
    Sometimes, orgs enable enhanced security by policy and it's not possible to bypass that and that disables some of the experimental features in the browser including WASM. Providing a simple landing page detecting those features and providing help may do some good and help relieve frustrations of those users.

NOTE: This could be simple and I'll help if the team has not enough time to look into this. Just point me to where the appropriate source files are and I'll do the rest. Thanks!

This is indeed something that has popped up recently because the enhancement of "enhanced security". The default template only checks for the presence of Javascript, but not webassembly. It's an easy change indeed.

This can be changed either upstream in Uno.Wasm.Bootstrap or here in this app to have better customization.