Repository navigation
Feat/user discovery - #6
Merged
Merged
Conversation
Return participants on first creation and reuse the winning conversation during concurrent inserts. Add PostgreSQL integration coverage for creation, reuse, and uniqueness.
Expose bounded, case-insensitive username-prefix search with public profile fields, literal wildcard matching, self-exclusion, and rate limiting. Cover validation, authorization, and SQL behavior.
Add context-aware search and conversation requests with session validation and recipient mapping. Keep cache updates in the app and cover HTTP errors, cancellation, and stale sessions.
Replace placeholder DMs with debounced search and real conversation creation. Guard stale results and duplicate submissions, preserve chat metadata, and cover selection, cancellation, and responsive layout.
Explain the New DM search flow, API scope, and disposable PostgreSQL requirements for integration coverage.
Owner
|
Added migration This enables PostgreSQL to perform fast (\log N)$ B-Tree index range scans for |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Adds username discovery and server-backed direct messaging, replacing the TUI’s local-only “New DM” placeholder.
Users can now press n, search by username prefix, select a person, and open their existing conversation or create a new one.
Changes
User Flow
Testing