Skip to content

Autocomplete resource template ids and give every item an icon - #53

Merged
stphnwlsh merged 13 commits into
mainfrom
feature/completions-and-icons
Nov 6, 2026
Merged

stphnwlsh merged 13 commits into
mainfrom
feature/completions-and-icons

Conversation

@stphnwlsh

@stphnwlsh stphnwlsh commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Resource templates now autocomplete: typing in movies://{movieId}, authors://{authorId} or reviews://{reviewId} suggests ids, found by their first characters or by the title or name they belong to. Every tool, prompt and resource also gets an icon from the brand repository, pinned to a release in the same way as the server's icon.

Related issues

None.

Type of change

  • Bug fix
  • New feature
  • Breaking change (the generated solution or template parameters change in a way existing users will notice)
  • Refactoring or clean-up
  • Documentation
  • Build, pipeline or dependency update

Shared layers

  • This only touches the Presentation layer of this template.
  • This touches the Application or Infrastructure layers, tests, pipeline or repository setup, so it needs to be carried across all five templates.

Checklist

  • dotnet build and dotnet test pass locally with no warnings.
  • I added or updated tests, and line coverage stays at or above 95%.
  • I updated the README or docs where behaviour changed.
  • If this changes how we do something, I updated the matching skill in .agents/skills.
  • I checked the template still installs and creates a working solution (see CONTRIBUTING.md).

@stphnwlsh stphnwlsh self-assigned this Nov 6, 2026
@github-actions github-actions Bot added the enhancement New feature or request label Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Build Pipeline

✅ Ready to merge. Every stage passed.

Stage Result Details
Build 🟢 Passed Version 2026.11.06.201-pr-53 · Template package 240 KB
Test 🟢 Passed 274 passed · 0 failed · 0 skipped · Template installs, builds and passes its tests
Coverage 🟢 Passed 100% (915 of 915 lines) · Needs 95%
Static Analysis 🟢 Passed No open CodeQL alerts
Dependency Review 🟢 Passed 0 vulnerable packages · 0 licence problems
Container Scan 🟢 Passed Image starts and answers · No open Trivy alerts

Commit 937d11e · Full run

@stphnwlsh
stphnwlsh marked this pull request as ready for review November 6, 2026 18:12
@stphnwlsh
stphnwlsh merged commit 3cc7564 into main Nov 6, 2026
13 checks passed
@stphnwlsh
stphnwlsh deleted the feature/completions-and-icons branch November 6, 2026 19:01
stphnwlsh added a commit that referenced this pull request Nov 6, 2026
## Summary

Adds `movies://top-rated`, a static resource with the ten best rated
movies, so the Resources tab has something to open without knowing an
id. It uses the existing movies query and ranks in the resource, so no
Application code changes.

This is stacked on #53 for the icons, and will retarget to `main` when
#53 merges.

## Related issues

None.

## Type of change

- [ ] Bug fix
- [x] New feature
- [ ] Breaking change (the generated solution or template parameters
change in a way existing users will notice)
- [ ] Refactoring or clean-up
- [ ] Documentation
- [ ] Build, pipeline or dependency update

## Shared layers

- [x] This only touches the Presentation layer of this template.
- [ ] This touches the Application or Infrastructure layers, tests,
pipeline or repository setup, so it needs to be carried across all five
templates.

## Checklist

- [x] `dotnet build` and `dotnet test` pass locally with no warnings.
- [ ] I added or updated tests, and line coverage stays at or above 95%.
- [ ] I updated the README or docs where behaviour changed.
- [x] If this changes how we do something, I updated the matching skill
in `.agents/skills`.
- [ ] I checked the template still installs and creates a working
solution (see CONTRIBUTING.md).
stphnwlsh added a commit that referenced this pull request Nov 6, 2026
## Summary

Adds a fourth prompt, `summarise_author_reviews`, because the other
three are all about movies. It embeds the author when it finds one,
tells the model to search when it does not, and gets name suggestions
from the existing completion handler. The shared message helpers move
out of `MoviePrompts` into `PromptContent`.

This is stacked on #53 for the icons, and will retarget to `main` when
#53 merges.

## Related issues

None.

## Type of change

- [ ] Bug fix
- [x] New feature
- [ ] Breaking change (the generated solution or template parameters
change in a way existing users will notice)
- [ ] Refactoring or clean-up
- [ ] Documentation
- [ ] Build, pipeline or dependency update

## Shared layers

- [x] This only touches the Presentation layer of this template.
- [ ] This touches the Application or Infrastructure layers, tests,
pipeline or repository setup, so it needs to be carried across all five
templates.

## Checklist

- [x] `dotnet build` and `dotnet test` pass locally with no warnings.
- [ ] I added or updated tests, and line coverage stays at or above 95%.
- [ ] I updated the README or docs where behaviour changed.
- [x] If this changes how we do something, I updated the matching skill
in `.agents/skills`.
- [ ] I checked the template still installs and creates a working
solution (see CONTRIBUTING.md).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants