Skip to content

Change terminology from "Hats" to "Presets" throughout codebase#17

Closed
joninafta with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-15
Closed

Change terminology from "Hats" to "Presets" throughout codebase#17
joninafta with Copilot wants to merge 4 commits into
mainfrom
copilot/fix-15

Conversation

Copilot AI commented Sep 16, 2025

Copy link
Copy Markdown

This PR systematically replaces "Hat" terminology with "Preset" throughout the ContextShare extension to provide clearer, more intuitive naming for users managing collections of AI resources.

What Changed

Core Implementation:

  • Renamed HatServicePresetService with all associated methods (discoverHats()discoverPresets(), applyHat()applyPreset(), etc.)
  • Updated TypeScript interfaces: HatPreset, HatSourcePresetSource
  • Updated file storage paths: copilot-hats.jsoncopilot-presets.json, hats/presets/ directories

User Interface:

  • Menu labels: "Hats" → "Presets"
  • Command titles: "Apply Hat" → "Apply Preset", "Save Hat from Active" → "Save Preset from Active"
  • All user-facing messages and notifications updated to use "Preset" terminology

Documentation:

  • Comprehensive updates to SETUP_GUIDE.md including workflow instructions and troubleshooting
  • Technical documentation updates in SOFTWARE_ARCHITECTURE_SPECIFICATION.md
  • Updated example catalog structure

File Structure:

Before: example-catalog/hats/
After:  example-catalog/presets/

Before: .vscode/copilot-hats.json
After:  .vscode/copilot-presets.json

Backward Compatibility

Command IDs are preserved (copilotCatalog.hats.*) to maintain compatibility with existing VS Code installations. Only user-facing titles and internal implementation use the new "Preset" terminology.

Impact

This change affects ~479 references throughout the codebase, providing consistent "Preset" terminology while maintaining all existing functionality. Users will see clearer, more intuitive language when working with collections of AI resources.

Fixes #15.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 3 commits September 16, 2025 21:36
Co-authored-by: joninafta <12600882+joninafta@users.noreply.github.com>
…tests)

Co-authored-by: joninafta <12600882+joninafta@users.noreply.github.com>
… updated Hat→Preset

Co-authored-by: joninafta <12600882+joninafta@users.noreply.github.com>
Copilot AI changed the title [WIP] Change terminology of Hats to be called Presets Change terminology from "Hats" to "Presets" throughout codebase Sep 16, 2025
Copilot AI requested a review from joninafta September 16, 2025 21:51
@joninafta joninafta closed this Sep 23, 2025
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.

Change terminology of Hats to be called Presets

2 participants