Stable selectors for Grafana Pathfinder tutorials (3 anchors, 4 tutorials)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start with the JSX around src/components/selectors.ts:12 and :15, then inspect src/views/ConfigEditor.tsx:37 and :127. Add stable data-testid attributes to the three listed UI elements, using any values, and verify the attributes are present where the Pathfinder tutorials currently rely on weak selectors.
Written by the indexing model from the issue text.
Description
Pathfinder tutorials anchor their steps to DOM selectors. We've identified that the guides mentioned below target UI this plugin renders (audit: grafana/grafana#129672). Weak anchors (text/placeholder/positional) break silently when copy or layout changes in your plugin however data-testids give us a more robust path forwards.
Add data-testids to the following JSX
Any value works — we'll retarget the tutorials to whatever you pick.
| element (current weak anchor) | tutorials | where (at 2026-08-04/05) |
|---|---|---|
[aria-label='Query editor owner'] |
github-visualize-lj/build-issues-panel, github-visualize-lj/build-pr-panel +1 | src/components/selectors.ts:12 |
[aria-label='Query editor repository'] |
github-visualize-lj/build-issues-panel, github-visualize-lj/build-pr-panel +1 | src/components/selectors.ts:15 |
input[placeholder='Personal Access Token'] |
github-data-source-lj/config-github-datasource | src/views/ConfigEditor.tsx:37src/views/ConfigEditor.tsx:127 |
If you've any questions please reach out in the #proj-pathfinder-selectors slack channel.
- Dominant language
- Go
- Stars
- 310
- Forks
- 70
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from grafana/github-datasource
-
Bug: Workflow_Runs query type consistently returns 0 rows when same URL+token directly returns data Open
Difficulty 4/5 3-5 days Newbie friendliness 52/100
grafana/github-datasource#774 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
grafana/github-datasource#760 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
grafana/github-datasource#528 · 4 comments ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 12/100
grafana/github-datasource#523 ·
-
prio/medium type/docs
Difficulty 3/5 1-2 days Newbie friendliness 30/100
grafana/github-datasource#509 ·
All issues in grafana/github-datasource
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100