Files
Nexus.Reader/src/.documentation/cache/summaries/NexusReader.UI.Shared__Pages__Settings.razor.json
T
2026-05-22 09:04:42 +02:00

1 line
2.6 KiB
JSON

{"path":"NexusReader.UI.Shared/Pages/Settings.razor","purpose":"Razor UI page that renders the Settings screen (account and reading preferences) at route '/settings' and requires an authenticated user.","classification":{"role":"ui-page","layer":"frontend","confidence":0.9,"evidence":["Config/settings pattern","Frontend path heuristic","Contains @page directive mapping route '/settings' (line 1)","Contains [Authorize] attribute (line 2)","Razor markup for settings UI (lines 4-7) and embedded styles (lines 9-17)"]},"className":"","methods":[{"name":"RouteDirective(@page \"/settings\")","line":1,"endLine":1,"signature":"() -> void","purpose":"Declares the route for this Razor component so the router maps '/settings' to this page.","calls":[],"actions":[{"id":"route_1","kind":"mapping","label":"Registers route '/settings'","line":1,"detail":"Blazor routing directive maps URL '/settings' to this component","visibility":"detail-only","confidence":0.7}]},{"name":"AuthorizeAttribute","line":2,"endLine":2,"signature":"() -> void","purpose":"Marks the page as requiring an authenticated user; runtime enforces access control.","calls":[],"actions":[{"id":"guard-clause_2","kind":"guard-clause","label":"Enforces authentication","line":2,"detail":"Attribute delegates authorization enforcement to Blazor/ASP.NET Core auth pipeline","conditionSummary":"user is not authenticated","outcomeLabels":["deny access (redirect/forbidden by framework)","allow (authenticated)"],"visibility":"detail-only","confidence":0.7}]},{"name":"RenderMarkup","line":4,"endLine":17,"signature":"() -> RenderFragment","purpose":"Renders the Settings page UI (heading, description) and component-scoped CSS styles.","calls":[],"actions":[{"id":"render_4","kind":"mapping","label":"Render static settings UI","line":4,"detail":"Outputs <h1> and <p> with Polish text describing account and reading preferences (lines 4-7)","visibility":"detail-only","confidence":0.7},{"id":"style_9","kind":"mapping","label":"Component styles","line":9,"detail":"Defines CSS for .settings-page and h1 within component (lines 9-17)","visibility":"detail-only","confidence":0.7}]}],"types":[],"serviceRegistrations":[],"startupActions":[],"dependencies":[],"patterns":["Razor Component","Blazor Page","Attribute-based Authorization"],"domainConcepts":["Settings","Account","User Preferences"],"keyDetails":"Simple authenticated Razor page with route '/settings'. No code-behind, no data access, no event handlers; UI text is in Polish. Authorization and routing are delegated to framework via directives at lines 1-2.","orchestrationMethods":[],"typedContracts":[],"persistenceInteractions":[],"externalInteractions":[],"evidenceAnchors":[]}