Skip to content

feat: link to open issues from each skill dashboard page - #2875

Merged
tmeschter merged 5 commits into
microsoft:mainfrom
tmeschter:tmeschter-silver-fishstick
Jul 21, 2026
Merged

feat: link to open issues from each skill dashboard page#2875
tmeschter merged 5 commits into
microsoft:mainfrom
tmeschter:tmeschter-silver-fishstick

Conversation

@tmeschter

Copy link
Copy Markdown
Member

Resolves #2870.

What

Each skill page on the Skills dashboard now links to that skill's open GitHub issues, using the skill name as the issue label filter.

Changes

  • dashboard/src/skills/App.tsx — added an exported issuesUrl(skillName) helper and a "View open issues for <skill> ↗" link in the skill detail header. It targets github.com/microsoft/GitHub-Copilot-for-Azure/issues?q=is:issue state:open label:"<skill-name>" (URL-encoded), opening in a new tab with rel="noopener noreferrer".
  • dashboard/src/skills/skills.css — styling for .skills-issues-link.
  • dashboard/src/skills/__tests__/issuesUrl.test.ts — unit tests for the URL helper (base URL, open/label query, special-character encoding).

Notes

  • Repo slug is hardcoded to microsoft/GitHub-Copilot-for-Azure (no existing repo constant in the dashboard).
  • The skill name is used verbatim (URL-encoded) as the label value; no name mapping applied.
  • The link always renders even when a skill has zero open issues (the search page simply shows an empty result).

Validation

  • npm test -- src/skills → 17/17 pass.
  • tsc --noEmit → no new errors in src/skills (one pre-existing unrelated error in token-usage/App.tsx confirmed present on baseline).

Add a 'View open issues' link to each skill's detail page on the Skills
dashboard. The link opens a GitHub issue search filtered to open issues
labelled with the skill name (issue microsoft#2870).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 07e3ca5a-25a5-4116-bf5b-cf60473bad7a
@tmeschter
tmeschter requested a review from a team as a code owner July 17, 2026 19:24
Copilot AI review requested due to automatic review settings July 17, 2026 19:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds an “open issues” deep-link from each skill’s detail header in the dashboard, using the skill name as a GitHub label filter to help contributors quickly find related work items.

Changes:

  • Added an exported issuesUrl(skillName) helper to generate a GitHub issues search URL scoped to state:open and label:"<skill>".
  • Rendered a “View open issues for ↗” link in the skill detail header that opens in a new tab.
  • Added CSS for the new link and unit tests covering URL construction/encoding.
Show a summary per file
File Description
dashboard/src/skills/App.tsx Adds issuesUrl() and renders the new per-skill “open issues” link in the header.
dashboard/src/skills/skills.css Styles the new issues link in the skill detail view.
dashboard/src/skills/tests/issuesUrl.test.ts Adds unit tests validating URL base/query and encoding behavior.

Review details

  • Files reviewed: 3/3 changed files
  • Comments generated: 3
  • Review effort level: Low

Comment thread dashboard/src/skills/App.tsx
Comment thread dashboard/src/skills/skills.css
Comment thread dashboard/src/skills/__tests__/issuesUrl.test.ts
Comment thread dashboard/src/skills/App.tsx
tmeschter and others added 2 commits July 20, 2026 10:38
…shstick

# Conflicts:
#	dashboard/src/skills/App.tsx
#	dashboard/src/skills/skills.css
- Move issuesUrl/ISSUES_REPO into src/skills/issuesUrl.ts so tests import
  without pulling in the React/recharts UI module
- Add a title hint that the issues link opens in a new tab
- Add a :focus-visible style for keyboard accessibility

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 07e3ca5a-25a5-4116-bf5b-cf60473bad7a
Comment thread dashboard/src/skills/issuesUrl.ts Outdated
tmeschter and others added 2 commits July 20, 2026 14:02
It is only referenced within issuesUrl.ts, so it does not need to be
exported.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 07e3ca5a-25a5-4116-bf5b-cf60473bad7a
…shstick

# Conflicts:
#	dashboard/src/skills/App.tsx
@tmeschter
tmeschter merged commit 1fb76f8 into microsoft:main Jul 21, 2026
10 checks passed
@tmeschter
tmeschter deleted the tmeschter-silver-fishstick branch July 21, 2026 18:07
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.

Link to open issues

4 participants