#269 · Copy an answer-level link that preserves Q&A group context
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 #269 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
Answers already have answer-{id} anchors and question routes accept group context. Add a discoverable per-answer copy link so discussions can cite the exact answer without copying its protected content.
Who might enjoy this
- Community interests: Community / knowledge sharing, Research, Professional development
- Skills: frontend, qa
- 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/scripts/client.ts
- apps/qa-form/src/index.ts
Deliverables
- A labeled copy-link action using the current question route, group parameter and existing answer anchor.
- Clipboard-failure fallback and accurate text explaining that recipients still need existing access/sign-in.
Dependencies and decisions
No prerequisite issue is required. Re-read current main and linked MRs before starting.
Acceptance criteria
- [ ] A route-generated page with two answers copies distinct #answer-ID URLs and preserves a synthetic group parameter.
- [ ] The action does not serialize answer text or bypass anonymous answer gating; escaped/hostile group values cannot alter the destination origin.
- [ ] Run Q&A test/typecheck/lint and execute the emitted script with clipboard success/failure controls.
- [ ] 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:
Open a synthetic question with two answers and verify the second answer link lands on its existing anchor.
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 public answer sharing, anonymous answer access, new URL shortener or accepted-answer-to-wiki automation (#205).
- 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-answer-permalink -->
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/scripts/client.ts](https://git.juntogroups.org/irregulars/irregularchat-monorepo/-/blob/main/apps/qa-form/src/scripts/client.ts)from issue -
[apps/qa-form/src/index.ts](https://git.juntogroups.org/irregulars/irregularchat-monorepo/-/blob/main/apps/qa-form/src/index.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.