You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(share-prompt): add power‑user share prompt for >100 messages - #731
- Introduce POWER_USER_MESSAGE_THRESHOLD and logic in AccountPreferences
- Extend StarPromptDialog to show the new share prompt card
- Add i18n strings for the prompt in all locales
- Update Main to display the prompt and emit analytics events
- Add SHARE_PROMPT_SHOWN and SHARE_PROMPT_ACCEPTED events
- Add countByRole to ChatMessageRepository for role-based analytics
This new aggregate directly controls both prompt gates, but ChatMessageRepositoryIT currently has role-handling tests and no coverage for countByRole. Add an integration test covering an empty table, mixed roles, and messages in multiple sessions so a broken role predicate or aggregate cannot silently suppress or over-trigger the prompt.
The new count is the input that decides whether the milestone prompt appears, but the repository integration tests do not cover this method. Add a repository test with USER, ASSISTANT, and SYSTEM rows (and an empty table) to verify that the role filter and zero-count behavior match the prompt's definition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Related Issue(s)
Type of Change
What Changed & Why
How to Test
./gradlew testScreenshots / Recordings (if applicable)
Checklist
main./gradlew spotlessApplyand./gradlew detektlocally./gradlew testand all tests passgit commit -sAdditional Notes