Skip to content

feat: enhance session sharing and commenting with sharer information#1

Merged
toheart merged 2 commits intomainfrom
feature/team-0207
Feb 8, 2026
Merged

feat: enhance session sharing and commenting with sharer information#1
toheart merged 2 commits intomainfrom
feature/team-0207

Conversation

@toheart
Copy link
Owner

@toheart toheart commented Feb 8, 2026

  • Added sharer_id and sharer_name fields to the session sharing request and comment addition request for better tracking of the original sharer.
  • Updated the SessionSharingService to utilize these new fields when forwarding requests to the leader.
  • Improved identity handling in the HTTP handler to prioritize sharer information during session sharing and comment addition.
  • Enhanced integration tests to validate the correct handling of sharer information in session sharing and commenting scenarios.

- Added `sharer_id` and `sharer_name` fields to the session sharing request and comment addition request for better tracking of the original sharer.
- Updated the `SessionSharingService` to utilize these new fields when forwarding requests to the leader.
- Improved identity handling in the HTTP handler to prioritize sharer information during session sharing and comment addition.
- Enhanced integration tests to validate the correct handling of sharer information in session sharing and commenting scenarios.
- Updated `.mockery.yaml` to specify filename format for generated mocks.
- Replaced custom mock implementation in `sync_service_test.go` with mockery-generated mocks for `TeamServiceInterface`.
- Removed outdated mock service code to streamline test setup and improve maintainability.
- Enhanced test cases to utilize mockery's capabilities for better assertion and expectation handling.
@toheart toheart merged commit fe1d796 into main Feb 8, 2026
6 checks passed
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.

1 participant