#272 · Add a clear jump to the accepted answer on solved questions
Last checked with GitLab: . Status comes from GitLab using a 2-minute cache. Merge events clear affected cached statuses. An already-open page does not update itself. Refresh page.
An MR completes this bounty when it is merged into main with Closes #272 and GitLab closes the issue. A mention or an updated timestamp is not completion. Awarded points appear in Activity.
cp .dev.vars.example .dev.vars && pnpm dev, after rebasing on main) and fully test your change before opening the MR.
Description
Accepted answers are marked Solution inside the answer list, but the reviewed question header has no direct solution navigation. Help readers find the accepted answer while preserving chronological/backend order.
Who might enjoy this
- Community interests: Community / knowledge sharing, Professional development, Tech
- Skills: frontend, accessibility
- Experience: starter; work style: visual.
- Readiness: ready; bounty size: S (existing points tier; standard merge award stacks separately).
Current behavior and starting points
Source-reviewed against main cf05b29c6256dba70d0ebc09b22cc9867cdb786a on2026-10-18. Check current main and related issues/MRs before implementing so existing work is reused.
Relevant Files
- apps/qa-form/src/templates/question-detail.ts
- apps/qa-form/src/types.ts
- apps/qa-form/src/__tests__/question-detail.test.ts
Deliverables
- An authenticated question-header link to the first accepted/is_solution answer already in the returned data.
- A truthful fallback when a question is marked solved but no accepted answer is available; do not invent an accepted answer or reorder all answers.
Dependencies and decisions
No prerequisite issue is required. Re-read current main and linked MRs before starting.
Acceptance criteria
- [ ] Actual question-route tests cover accepted answer, solved-without-accepted-answer, unsolved and anonymous views.
- [ ] The solution link targets an emitted answer anchor and does not reveal protected answer content to anonymous users.
- [ ] Run Q&A checks; keyboard activation reaches the solution heading/answer with visible focus in a narrow viewport.
- [ ] Record named baseline failures and the exact commands used. A behavior fix includes a real route/database/protocol check observed failing before the change. Knowledge work includes source traceability and reproducible reviewer evidence.
- [ ] Run the affected app's existing checks. Explain any baseline failures rather than reporting a matching failure count as proof.
Try it locally
Start from the existing source files above. The following is the target demo your contribution should enable; a newly proposed script or fixture is part of the deliverable:
Create three synthetic answers with only the last marked accepted and use the header link to reach it.
Use public or synthetic examples. Starter work should run without production access; explicitly name any software/device prerequisite before claiming it is ready.
Out of scope
- No new solve permissions, bot ordering changes, public answer exposure, notifications or answer ranking.
- Unrelated refactors, new services/providers, bulk dependency changes, production access changes, unrequested notifications, and copying private member material. Keep credentials and unresolved security findings outside the issue and repository.
For a coding agent and reviewer
Read AGENTS.md, applicable .cursor/rules/, app instructions and docs/contributing/agentic-bounty-review.md. Reuse the existing shared helpers, identity/access paths and app styling. Implement one bounded story and provide evidence the accepting app maintainer can reproduce. State updated / pre-release verified / released / live verified accurately.
A parent index carries no duplicate award for these child deliverables. Open one scoped MR using this issue's actual number after the closing keyword. Link your GitLab identity on Scoreboard; the existing merge webhook handles eligible points.
Catalog index: #258.
<!-- community-interest-bounty:2026-10-18:qa-solution-jump -->
Relevant files
-
[apps/qa-form/src/templates/question-detail.ts](https://git.juntogroups.org/irregulars/irregularchat-monorepo/-/blob/main/apps/qa-form/src/templates/question-detail.ts)from issue -
[apps/qa-form/src/types.ts](https://git.juntogroups.org/irregulars/irregularchat-monorepo/-/blob/main/apps/qa-form/src/types.ts)from issue -
[apps/qa-form/src/__tests__/question-detail.test.ts](https://git.juntogroups.org/irregulars/irregularchat-monorepo/-/blob/main/apps/qa-form/src/__tests__/question-detail.test.ts)from issue
Hints
No hints yet.
Activity
No points have been awarded for this bounty yet.
Comments
Sign in to join the discussion.
No comments yet. Be the first to weigh in.