Commit Graph

795 Commits

Author SHA1 Message Date
白水淳
2ee692a80d Merge branch 'main' into add-new-skill-clean 2026-02-03 08:28:24 +09:00
Aaron Powell
612f5e4208 Merge pull request #639 from jeremykohn/fix-spelling-errors-found-by-codespell
fix: Correct spelling errors found by Codespell
2026-02-03 10:06:08 +11:00
Jeremy Kohn
a98230c3a2 Merge branch 'main' into fix-spelling-errors-found-by-codespell 2026-02-02 02:59:58 -06:00
白水淳
52ea8bd655 Merge branch 'main' into add-new-skill-clean 2026-02-02 15:02:12 +09:00
Jeremy Kohn
bb146c059f fix: Correct spelling errors found by Codespell 2026-02-02 00:00:31 -06:00
Aaron Powell
8da31944f6 Merge pull request #637 from github/experiment/github-pages-website
website
2026-02-02 16:48:43 +11:00
Aaron Powell
a1da290d10 Refactor code for consistency and readability
- Standardized string quotes to double quotes across multiple files.
- Improved formatting and indentation for better readability.
- Added a function to format multiline text in tools rendering.
- Enhanced dropdown and action button handlers for better event management.
- Updated the theme application logic to initialize on page load.
- Refactored utility functions for consistency and clarity.
- Improved error handling and user feedback in download and share functionalities.
2026-02-02 16:42:22 +11:00
Aaron Powell
cdb056e44f Merge branch 'experiment/github-pages-website' of https://github.com/github/awesome-copilot into experiment/github-pages-website 2026-02-02 16:09:17 +11:00
Aaron Powell
a424744226 Merge pull request #638 from github/copilot/sub-pr-637
fix(website): escape backslashes in file paths to prevent string context breakout
2026-02-02 16:09:09 +11:00
copilot-swe-agent[bot]
9e44173f94 Improve comment clarity for string escaping fix
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 05:07:06 +00:00
copilot-swe-agent[bot]
fb5f22a6b2 fix(website): properly escape backslashes and quotes in file paths
The previous implementation only escaped single quotes, which could allow
backslashes in file paths to break out of the JavaScript string context.
Now we escape backslashes first (\ -> \\), then single quotes (' -> \'),
preventing potential security issues.

Fixes CodeQL alert #26 for incomplete string escaping.

Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 05:05:42 +00:00
copilot-swe-agent[bot]
8b9fa465f6 Initial plan 2026-02-02 05:03:25 +00:00
Aaron Powell
bd7209a439 Revert "feat(ci): add PR preview deployments"
This reverts commit 26df6a2907.
2026-02-02 15:59:37 +11:00
Aaron Powell
26df6a2907 feat(ci): add PR preview deployments
- Add pr-preview.yml workflow using rossjrw/pr-preview-action
- Update astro.config.mjs to support dynamic base path via ASTRO_BASE env
- Previews deploy to /pr-preview/pr-<number>/ on gh-pages branch
- Auto-cleanup when PR is closed
2026-02-02 15:55:07 +11:00
Aaron Powell
611474f980 fix(website): resolve TypeScript errors in samples.ts
- Remove SearchableRecipe interface that conflicted with SearchableItem
- Use proper type casting for search results
- Fix FuzzySearch generic type usage
2026-02-02 15:42:34 +11:00
Aaron Powell
f8d9322f01 these are generated, shouldn't be committed 2026-02-02 15:36:32 +11:00
Aaron Powell
f1f2a2f6d3 Updating unicode for c# 2026-02-02 15:35:08 +11:00
Aaron Powell
a64f4e78b9 Fixing some whitespace 2026-02-02 15:33:04 +11:00
jun-shiromizu
bf37ce2a0d chore: align README instructions ordering 2026-02-02 13:26:51 +09:00
Aaron Powell
3a7c8ccf1a feat(website): add Nerd Fonts for programming language icons
- Add Monaspace Argon NF font for dev icons
- Update cookbook.yml with unicode codepoints for language icons:
  - TypeScript: \uE628
  - Python: \uE73C
  - C#/.NET: \uF81A
  - Go: \uE626
- Style .lang-tab and .lang-indicator with Nerd Font family
2026-02-02 15:26:24 +11:00
Aaron Powell
9eab4ec6e7 fix(website): use Choices.js wrapper for samples tag filter
Use the same createChoices/getChoicesValues helpers as other pages
for consistent multi-select behavior.
2026-02-02 15:14:45 +11:00
Aaron Powell
b8d93a0344 feat(website): add samples/cookbook page with recipe browser
Integrates the cookbook/ folder into the website's Samples page:

Data Structure:
- Add cookbook/cookbook.yml manifest defining cookbooks and recipes
- Add .schemas/cookbook.schema.json for validation
- Add COOKBOOK_DIR constant to eng/constants.mjs

Build Integration:
- Add generateSamplesData() to generate samples.json from cookbook.yml
- Include recipe variants with file paths for each language
- Add samples count to manifest.json

Website UI:
- Create samples.ts with FuzzySearch, language/tag filtering
- Replace placeholder samples.astro with functional recipe browser
- Recipe cards with language indicators and action buttons
- Language tabs for switching between implementations
- View Recipe/View Example buttons open modal
- GitHub link for each recipe

Features:
- Search recipes by name/description
- Filter by programming language (Node.js, Python, .NET, Go)
- Filter by tags (multi-select with Choices.js)
- 5 recipes across 4 languages = 20 recipe variants
2026-02-02 15:11:12 +11:00
jun-shiromizu
b9157c701a chore: update generated READMEs 2026-02-02 13:06:41 +09:00
jun-shiromizu
37b37162f1 delete: Deleted unnecessary .gitkeep files
Deleted .gitkeep in skills/excalidraw-diagram-generator/libraries/.
2026-02-02 13:05:36 +09:00
jun-shiromizu
a3be150f8e fix: Revised error messages and filename sanitization processing
- Improved error messages within the `find_library_file` function to include directory names
- Organized comments within the `sanitize_filename` function
- Improved error messages within the `split_library` function to include directory names
2026-02-02 13:05:36 +09:00
jun-shiromizu
f57435a965 feat(skills): add excalidraw-diagram-generator skill and docs update 2026-02-02 13:05:36 +09:00
Aaron Powell
23f08bbb63 Merge branch 'main' into experiment/github-pages-website 2026-02-02 14:58:29 +11:00
Aaron Powell
7feee4284e Merge pull request #632 from github/copilot-sdk-cookbook
Migrating SDK cookbook over
2026-02-02 14:52:52 +11:00
Aaron Powell
18cde40ec6 Merge branch 'main' into copilot-sdk-cookbook 2026-02-02 14:45:32 +11:00
Aaron Powell
8605accb01 Merge pull request #633 from github/copilot/sub-pr-632
Fix misleading comment in Python recipe requirements.txt
2026-02-02 14:43:56 +11:00
Aaron Powell
e6c4e0586e Merge pull request #634 from github/copilot/sub-pr-632-again
Fix Prerequisites description in Python cookbook README
2026-02-02 14:43:05 +11:00
copilot-swe-agent[bot]
840523c81b Fix Prerequisites description to accurately reflect PyPI installation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 03:34:40 +00:00
copilot-swe-agent[bot]
e224a128f7 Fix requirements.txt comment to reflect PyPI installation
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
2026-02-02 03:34:35 +00:00
copilot-swe-agent[bot]
695c60c7ac Initial plan 2026-02-02 03:33:35 +00:00
copilot-swe-agent[bot]
715f433eae Initial plan 2026-02-02 03:33:09 +00:00
Aaron Powell
54ce5c5603 Addressing feedback 2026-02-02 14:01:22 +11:00
Aaron Powell
2f9c59444b fix(website): update button styles and fix dropdown z-index
- Change primary buttons from gradient to solid Copilot Purple (#8534F3)
- Add position:relative and z-index:10 to .filters-bar to fix
  Choices.js dropdown appearing behind resource list items
2026-02-02 13:46:39 +11:00
Aaron Powell
44a43b2336 Merge pull request #620 from torumakabe/add-terraform-azurerm-set-diff-analyzer
Add terraform-azurerm-set-diff-analyzer skill
2026-02-02 12:35:40 +11:00
Aaron Powell
1c42150a3c Merge pull request #630 from alvinashcraft/alvinashcraft/main-add-skill-winapp-cli
feat: Add Windows App Development (winapp) CLI skill
2026-02-02 12:34:28 +11:00
Aaron Powell
e27435ce22 Merge pull request #628 from benjisho/main
Add Linux expert agent, instructions, and triage prompt
2026-02-02 12:33:41 +11:00
Aaron Powell
f73d555749 Merge pull request #627 from DaniBunny/feat/repo-architect-agent
feat: add repo-architect agent for scaffolding agentic projects
2026-02-02 12:31:48 +11:00
Aaron Powell
94a395dbe0 feat(website): add comprehensive accessibility improvements
Phase 1 - Screen Reader Critical:
- Add aria-label to main navigation
- Add accessible names to icon-only buttons (GitHub, theme toggle, close)
- Add aria-hidden to decorative SVGs and emoji icons
- Add role=dialog, aria-modal, aria-labelledby to modal
- Add skip link with visible focus state

Phase 2 - Keyboard Navigation:
- Implement focus trap in modal (Tab/Shift+Tab cycles)
- Return focus to trigger element on modal close
- Replace outline:none with visible focus rings
- Add keyboard navigation to install dropdown (arrows, escape)
- Add aria-expanded to dropdown toggles

Phase 3 - Dynamic Content:
- Add aria-live=polite to results counts and loading states
- Add role=listbox to search results
- Add role=list to resource lists
- Add role=menu/menuitem to dropdown menus

Phase 4 - Forms & Labels:
- Add .sr-only utility class for screen reader text
- Add visually hidden labels to all search inputs
- Add aria-label to filter dropdowns

Files modified:
- BaseLayout.astro, Modal.astro (ARIA attributes)
- modal.ts (focus trap, keyboard navigation)
- global.css (sr-only, skip-link, focus styles)
- All page files (labels, live regions, roles)
2026-02-02 11:52:31 +11:00
Toru Makabe
0e9b933148 Merge branch 'main' into add-terraform-azurerm-set-diff-analyzer 2026-02-02 09:21:16 +09:00
Toru Makabe
a6f3cde999 docs: add prerequisites and troubleshooting to SKILL.md 2026-02-02 08:58:51 +09:00
Aaron Powell
f99c99a5d4 fixing overflow 2026-02-02 10:36:16 +11:00
Aaron Powell
4318aa547f Remove unused src/styles/global.css
The site uses public/styles/global.css via direct link in BaseLayout.
The src/styles version was outdated and never imported.
2026-02-02 10:34:36 +11:00
Aaron Powell
0cabb88035 Enable source maps for JavaScript and CSS
- Add vite.build.sourcemap for production builds
- Add vite.css.devSourcemap for CSS in development
2026-02-02 10:31:19 +11:00
Aaron Powell
f34dbe1581 Merge pull request #626 from verdantburrito/verdantburrito-20260130
Update ASP.NET Core and Problem Details API RFC references
2026-02-02 10:23:45 +11:00
Aaron Powell
b1b3ab377d Fix search results dropdown z-index on home page
Add z-index to .hero-search container so dropdown appears above cards
2026-02-02 10:14:35 +11:00
Aaron Powell
e3894a0b1b Merge resource counts into home page cards
- Remove separate hero-stats section
- Add card-count element to each resource card
- Update JS to populate counts from manifest
- Add card-with-count CSS for layout with count badge
- Reduces vertical space on home page
2026-02-02 10:09:36 +11:00