AccountingNext/Schaad.Accounting.UI/wwwroot/js
Claudio Schaad 04bf48feb6 JSON editor: fix switching files and returning to the page
Pages are interactive one by one, so NavigateTo and menu links run an
enhanced navigation that re-renders the page on the server and syncs
<head>. That broke the editor in three ways:

- Switching files navigated to ?file=...: the editor kept the old file,
  and with the large Transactions.json its DOM got mangled. The file is
  now loaded in place and only the URL is replaced (js/url.js).
- Leaving the page re-ran OnParametersSetAsync on the disposing editor,
  which threw and terminated the circuit. The file parameter is now only
  read in OnInitializedAsync.
- Coming back without a full reload showed Monaco unstyled, because its
  stylesheets had been removed from <head>. monaco.js now remembers them
  and puts them back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 22:09:23 +01:00
..
charts.js Add "Strom" page for the yearly NeoVac electricity bills (#9) 2026-10-27 18:40:53 +00:00
monaco.js JSON editor: fix switching files and returning to the page 2026-10-30 22:09:23 +01:00
unsaved-guard.js Add JSON editor for the data files (#7) 2026-10-22 17:55:20 +00:00
url.js JSON editor: fix switching files and returning to the page 2026-10-30 22:09:23 +01:00
viewport.js Analyse page: income, net and assets views; narrow-screen layout (#6) 2026-10-22 16:42:43 +00:00