Skip to content

1.3.0

Choose a tag to compare

@steviecoaster steviecoaster released this 10 Nov 19:36
· 7 commits to main since this release
d947c46

Fixed

  • Paper color no longer recolors the app header and nav menu (#1). In the theme builder, changing - Paper used to repaint PSU's top bar and side navigation as well as the cards. Paper now only affects cards and other surfaces.
    • The fix is built into the theme itself, so it holds for Live preview, Apply, Save and Export.
    • Saved themes and exported PowerShell keep the header and nav menu on your Background color.
  • The Light/Dark toggle in the builder no longer switches the whole app. It now only picks which palette you are editing. Apply and Live keep the app in its current mode.
  • The first Apply no longer wipes your work. PSU reloads the page the first time a custom theme is applied, which used to reset the builder: your edits and theme name were lost and Live turned off. The builder now restores all of that after the reload. If Apply fails, the saved copy is discarded.

Added

  • Warning before you lose unsaved changes. If you have unsaved edits, the builder asks before you leave:
    • Clicking a page in the nav menu or a link shows a confirmation.
    • Reloading or closing the tab shows the browser's leave-page prompt.
    • Saving, loading a theme, or starting from the starter theme counts as a clean starting point.

Known limitations

  • The browser Back button does not trigger the warning, because PSU handles page changes itself.
  • Picking an option in Start from… replaces your current edits without asking.

Upgrade notes

  • If you deploy into a PSU repository by copying files, remove the old version folder (for example Modules\PowerShellUniversal.Component.Chameleon\1.2.0) and any old index.*.bundle.js files. Then restart the app. Otherwise PSU may keep loading the previous version.