Skip to content
CAI
Software that uses CAICheck a score

AngelMunoz/Navs

66.8

Adequate · 15 November 2026

4k

lines of production code

F#

with C#

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add C\# Avalonia sample with router and state management

A new C\# sample application (CSharpToo) has been added to demonstrate an Avalonia UI integrated with the Navs router and Adaptive Data state management. The sample includes a solution file and a Program.cs that defines routes for home, about, and dynamic navigation pages, showcasing features like URL parameter handling, stateful components, and programmatic navigation via buttons. Also in this area: 1 commit (0 fixes) modifying (repo-wide).

samples, samples/CSharpToo · low confidence

Add FuncUI sample with routing and shared state management

The FuncUI sample application now demonstrates client-side routing and shared state handling. Users can navigate between views (Books, Guid, Counter, Readable counter) using a navbar, with route definitions supporting path parameters and caching. The sample also illustrates how to manage shared state across components using \cval\ and \aVal\ patterns, allowing multiple views to react to the same underlying data changes.

samples/FuncUI · high confidence

Add NxuiDeclarative sample application with navigation and reactive UI pages

A new sample application has been added to demonstrate NxuiDeclarative capabilities, featuring a main window with navigation buttons for three distinct pages: a Counter page that allows incrementing, decrementing, and resetting a value; a Books page that simulates an asynchronous search with a loading state; and a Guid page that displays a provided or generated GUID. The sample utilizes Avalonia for the UI framework, FSharp.Data.Adaptive for reactive state management, and Navs.Avalonia for routing, providing a concrete example of how to wire up declarative views, handle query parameters, and manage asynchronous data fetching within the NXUI ecosystem. Also in this area: 1 commit (1 fix) fixing Navs, samples; 1 commit (0 fixes) modifying (repo-wide).

samples/NxuiDeclarative · medium confidence · unverified

Add Routerish sample with state-managed counter route

The Routerish sample application now includes a counter route that demonstrates state management using AVal.useState. Users can navigate to the counter page via buttons, where they can increment, decrement, or reset a count value, with the current count displayed in a TextBlock. The sample also includes routes for displaying a GUID and a static books page, utilizing the AvaloniaRouter for navigation and NXUI for UI components.

samples/Routerish · high confidence

Add TGUI sample application with navigation and login

A new sample application in the samples/TGUI directory demonstrates a terminal-based GUI built with Terminal.Gui. It includes extension methods for View, TextField, and Button to simplify UI composition and reactive binding. The app features a router supporting named routes (home, about, login) and deep-linking via tgui:// URIs. The login page validates credentials (admin/password) and displays success or error messages, while home and about pages provide navigation buttons to switch between views.

samples/TGUI · high confidence

Introduce Avalonia navigation library with adaptive state and routing

Adds the Navs.Avalonia library, providing an Avalonia-specific router (AvaloniaRouter) that renders UI controls and supports optional splash screens and logging. It includes a Route component and Routes container for defining and managing navigation paths, along with AVal utilities to bridge F\# adaptive data (aval/cval) with Avalonia bindings and .NET interop.

src/Navs.Avalonia · high confidence

Introduce Avalonia.FuncUI router integration and components

Adds the \Navs.FuncUI\ library, providing a \FuncUIRouter\ that adapts the core \Navs.Router\ for Avalonia.FuncUI applications. This includes a \RouterOutlet\ component for rendering matched views, extension methods (\useRouter\, \useAVal\, \useCval\) to integrate router state and adaptive values into FuncUI components, and helper functions to define routes supporting synchronous, async, and task-based handlers.

src/Navs.FuncUI · high confidence

Introduce Navs router with route guards, caching, and cancellation support

The Navs module now includes a new router implementation (Router.fs and Types.fs) that handles URL matching, route resolution, and view rendering. Users can define routes with activation/deactivation guards, benefit from URL caching to skip redundant resolution, and support navigation cancellation via CancellationToken. The API exposes Navigate and NavigateByName methods, along with access to route parameters and context, enabling more robust and controlled navigation flows. Also in this area: 1 commit (1 fix) fixing Navs, samples; 1 commit (0 fixes) modifying (repo-wide).

Navs · medium confidence · unverified

Introduce Navs.Terminal.Gui library for Terminal.Gui routing

Added the new Navs.Terminal.Gui library, which provides a router implementation specialized for Terminal.Gui applications. This includes the TerminalGuiRouter type for managing navigation state and the RouterOutlet component for rendering views. The library exposes helper modules for managing adaptive state (AVal) and defines route handlers that support synchronous, asynchronous, and task-based return types, along with optional logging and splash screen support.

src/Navs.Terminal.Gui · high confidence

Introduce idiomatic F\# and interop DSLs for route definitions

The Navs module now provides dedicated DSLs for defining routes, offering an idiomatic F\# API (DSL.fs) with support for synchronous, async, and Task-based view handlers and guards, alongside a .NET-interoperable API (DSL.Interop.fs) using standard Func delegates for use from C\# and VB.NET. These DSLs allow developers to define routes with names, URL patterns, and view content, while attaching activation and deactivation guards and configuring cache strategies via extension methods or functional combinators. Also in this area: 1 commit (0 fixes) modifying (repo-wide); Introduce Navs router with route guards, caching, and cancellation support; Introduce declarative route definition DSL with guard and caching support.

src/Navs · medium confidence · unverified

Introduction of UrlTemplates library for URL templating and matching

The UrlTemplates library is now available, providing capabilities to define URL templates with typed path segments and query parameters, parse URLs into their components, and match incoming URLs against these templates to extract parameters. This includes support for path parameters, query parameters (required and optional), and URL hashes, with results returned as structured match objects containing extracted values.

src/UrlTemplates · high confidence

Removals

Removal of Routerish sample application and core routing implementation

The Routerish sample application and its underlying routing engine have been removed from the codebase. This change deletes the main entry point (Program.fs), which previously defined navigation routes (Home, About, Guid) and the Avalonia UI shell, as well as the core routing logic files (Router.fs, RouteMatcher.fs) that handled URL matching, parameter parsing, and navigation history. Users will no longer have access to this specific demo application or the library code contained within this directory.

src/Routerish · high confidence

Behavioural changes

1 commit (0 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 1 commit, 12 files: “feat(navs-goo): add Goo router adapter and sample”.

GooSample, samples/GooSample, src/Navs.Goo · low confidence · unverified

1 commit (0 fixes) modifying src/UrlTemplates, src/UrlTemplates.CSharp

A change to existing behaviour in src/UrlTemplates, src/UrlTemplates.CSharp — 1 commit, 9 files: “feat: parse UrlTemplates with XParsec and add C\# interop facades”.

src/UrlTemplates.CSharp · medium confidence · unverified

2 commits (0 fixes) modifying UrlTemplates, src/Navs.CSharp

A change to existing behaviour in UrlTemplates, src/Navs.CSharp — 2 commits, 5 files: “feat: parse UrlTemplates with XParsec and add C\# interop facades”; “feat!: rebuild Navs around a compiled route table”.

src/Navs.CSharp · medium confidence · unverified

The Navs router library has reached version 1.0.0 with several breaking changes and new capabilities. The \RouteGuard\ delegate signature has changed to accept two arguments (previous and target context) and now returns a \CancellableValueTask\, requiring updates to existing guard implementations. Nested routes and \RouteDefinition.children\ have been removed, requiring all routes to be defined at the top level. The \Navs.Avalonia\ adapter now uses \Control\ instead of \\#Control\ for view types. New features include a \Navs.Terminal.Gui\ adapter library, optional \ILogger\ support across the router and adapters, query-parameter helpers in \RouteContext\, and a \maxCyclicRedirects\ parameter to prevent infinite redirect loops. The solution has been modernized with central package management, .slnx format, and upgrades to .NET 10.0 and Avalonia 12.0.5.

(repo-wide) · high confidence

UrlTemplates library restructured with new RouteMatcher and namespace changes

The UrlTemplates library has been reorganized, moving core components from the Routerish namespace to UrlTemplates. A new RouteMatcher module has been added to handle URL matching, including parameter extraction and validation. The UrlParser module now uses Dictionary instead of Map for query parameters, and the UrlTemplate module has been updated to use choice parsers for typed parameters. These changes improve the library's structure and provide more robust URL matching capabilities.

UrlTemplates · high confidence

Test coverage

1 commit adding/updating tests in src/Navs.FuncUI.Tests, src/Navs.Tests; 1 commit adding/updating tests in src/Navs.Goo.Tests; 2 commits adding/updating tests in src/Navs.Adapters.Tests; Added unit tests for navigation routing and URL template parsing.

Dependencies

Migrate to .NET 10 and centralize dependency management

The project now targets .NET 10 (alongside .NET 8) and adopts central package management via Directory.Packages.props to standardize versions across all libraries and samples. Key dependencies have been updated, including Avalonia to 12.0.5, NXUI to 12.0.0, FSharp.Data.Adaptive to 1.2.26, and IcedTasks to 0.11.9. The legacy Routerish sample project has been removed, and new sample projects (CSharpToo, FuncUI, NxuiDeclarative, TGUI) have been added to demonstrate the navigation library with these updated frameworks.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 66 → 67 (+0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 89 → 81 (-7.9)
  • Architecture 98 → 98 (-0.3)
  • Maturity 56 → 60 (+4.1)
  • Readiness 63 → 62 (-0.2)
  • Security 81 → 75 (-6.2)
  • Performance 100 → 100 (+0.0)

Resolved (3)

  • Duplicated block (11 lines × 2) (src/Navs/Types.fs)
  • Duplicated block (25–26 lines × 2) (src/Navs/Types.fs)
  • IL efficiency: 1 authored method(s) exceed the IL budget (src/Navs/Router.fs)

New (6)

  • Edited copies of one member (3 members, 17+ corresponding lines) (src/UrlTemplates.CSharp/RouteMatcher.cs)
  • Edited copy of a member (16 corresponding lines) (src/UrlTemplates.CSharp/RouteMatcher.cs)
  • Edited copy of a member (23 corresponding lines) (samples/GooSample/About.fs)
  • Members sharing a duplicated core (4 members, 50+ identical tokens) (src/Navs.Avalonia/Library.fs)
  • Outdated: Goo
  • Outdated: Goo.Widgets

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • samples/GooSample — 1 commit

Notable commits

  • change: feat(navs-goo): add Goo router adapter and sample

Architecture

  • Containers 0 added · 0 removed · contexts 1 added · 0 removed · edges 1 added · 0 removed

Added bounded contexts (1)

  • GooSample

Added dependency edges (1)

  • GooSample → Navs

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

AngelMunoz/Navs was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 45a03bf117acfd031baf742328710883ed891a2f — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.