AccountingNext/Schaad.Accounting.UI/Components
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
..
Layout Strom/Wasser: year filter for the charts, move pages under "Charts" (#12) 2026-10-30 20:24:55 +00:00
Pages JSON editor: fix switching files and returning to the page 2026-10-30 22:09:23 +01:00
_Imports.razor Reload page after save 2025-06-07 18:00:47 +02:00
App.razor Add new blazor app 2025-05-04 20:00:42 +02:00
Loading.razor PR U-5: shared Loading component 2026-07-04 09:44:23 +02:00
MyHeader.razor Analyse page: income, net and assets views; narrow-screen layout (#6) 2026-10-22 16:42:43 +00:00
MyHeader.razor.cs Add bank transaction import 2025-05-07 21:50:01 +02:00
MyHeader.razor.css Analyse page: income, net and assets views; narrow-screen layout (#6) 2026-10-22 16:42:43 +00:00
Routes.razor Add new blazor app 2025-05-04 20:00:42 +02:00