Skip to content

Add Scroll-To for Activity Query Parameter #11

@JamesonRGrieve

Description

@JamesonRGrieve

As a(n) User I want to navigate directly to specific activities via URL parameters so that I can quickly access and reference specific activities in conversations.

Executive Summary

We need to implement URL query parameter support for direct navigation to specific activities within a conversation, including automatic expansion of parent activities when needed. The system should also handle parameter precedence by redirecting when both message and activity parameters are present, specifically by stripping the activity parameter in such cases.

Acceptance Criteria

  • Implement support for ?activity=id query parameter in conversation URLs
  • Add scroll-to functionality that automatically focuses on the specified activity
  • Automatically expand parent activities when targeting nested activities
  • When both message and activity parameters exist:
    • Redirect to the same page with only the message parameter
    • Strip the activity parameter from the URL
  • Handle invalid activity IDs gracefully with appropriate error feedback
  • Ensure smooth scrolling animation to the target activity

In-Scope Files / Directories / Systems

Not Provided

Out-of-Scope Files / Directories / Systems

Not Provided

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions