Skip to content

docs(skill): add NavigationView usage recipe#290

Merged
codemonkeychris merged 2 commits into
mainfrom
fix/skill-nav-recipe
May 15, 2026
Merged

docs(skill): add NavigationView usage recipe#290
codemonkeychris merged 2 commits into
mainfrom
fix/skill-nav-recipe

Conversation

@sundaramramaswamy
Copy link
Copy Markdown
Collaborator

@sundaramramaswamy sundaramramaswamy commented May 14, 2026

Agents struggle with NavigationView setup, trying incorrect property init patterns. Added complete paste-ready recipe.

Recipe covers:

  • NavItem creation with icon + tag
  • SelectedTag / OnSelectionChanged via record with-expression
  • Content switching based on selectedTag
  • IsPaneOpen for programmatic pane control
  • .Set() escape hatch for non-record properties (PaneDisplayMode)
  • Settings item handling notes

Fixes #280

Agents struggle with NavigationView setup — trying incorrect
property init patterns. Add complete paste-ready recipe showing
SelectedTag, OnSelectionChanged, NavItem, and .Set() escape.

Fixes #280

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@codemonkeychris codemonkeychris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets do this as a separate recipe to avoid bloating the getting started skill.

Move inline NavigationView recipe to the reactor-navigation
skill where it belongs. The reactor-recipes skill already has
a full sidebar-nav.cs recipe.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sundaramramaswamy
Copy link
Copy Markdown
Collaborator Author

Addressed — removed the inline NavigationView recipe from getting-started. The key points (manual SelectedTag/OnSelectionChanged wiring, settings item handling) were added to the reactor-navigation skill instead. The full recipe already exists at reactor-recipes/references/sidebar-nav.cs.

@codemonkeychris codemonkeychris merged commit 63216ae into main May 15, 2026
8 checks passed
@codemonkeychris codemonkeychris deleted the fix/skill-nav-recipe branch May 15, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill: Add NavigationView usage recipe

2 participants