nvisionative / nvQuickTheme

nvQuickTheme is more than just a great minimalist DNN (DotNetNuke) theme. It is a powerful theme building framework and developer workflow.
https://nvisionative.github.io/nvQuickTheme/
Other
41 stars 40 forks source link

Resolve issue with `browsersync` breaking the PersonaBar when logged in #355

Closed david-poindexter closed 9 months ago

david-poindexter commented 10 months ago

Describe the bug

When using gulp serve, browsersync still works. However, when logged in, it breaks the PersonaBar. The PersonaBar still shows, but it is broken and prevents effective theme development for several reasons.

To Reproduce

Steps to reproduce the behavior:

  1. Log in to the DNN instance in which theme development occurs.
  2. Run gulp serve.
  3. See broken personaBar.

Expected behavior

PersonaBar should not be broken. The theme should have an 80px right push from left to accommodate the PersonaBar space.

Screenshots

image

Errors

Essentially, there are some permissions being written into a JSON object from the DNN backend and by default browsersync skews that JSON object.

Additional context

Recently @valadas came up with a solution for the new DNN 10 theme (see https://github.com/david-poindexter/Dnn.Platform/pull/7).