feat: reply attribution, user status (haiku detection sadly removed)#422
Merged
barrydeen merged 4 commits intobarrydeen:mainfrom Apr 5, 2026
Merged
feat: reply attribution, user status (haiku detection sadly removed)#422barrydeen merged 4 commits intobarrydeen:mainfrom
barrydeen merged 4 commits intobarrydeen:mainfrom
Conversation
b9b7281 to
adcacda
Compare
Owner
|
lol you actually did it, thought you were meming, can you please remove the haiku code, i don't want us to start getting into a situation where we are maintaining code for different types of bots. People can just block it. The other two look good though i'll give them a spin |
Show "replying to [name]" below the display name when a post is a reply. The reply-to author is resolved from the first p-tag via eventRepo. Tapping the name navigates to their profile.
Subscribe to kind 30315 events alongside profile metadata in OutboxRouter, MetadataFetcher, and self-data startup subscription. Process status events in both addEvent and cacheEvent paths in EventRepository to avoid seenEventIds dedup race. Route kind 30315 from EventRouter to addEvent for events from unknown subscriptions. Display status in italic faded text under the display name in PostCard, matching the style used by Amethyst and Damus. Add status editor in the navigation drawer — tap "Set status..." below the nip05 to open a dialog. Publishes kind 30315 with d-tag "general" to write relays. Empty content clears the status.
adcacda to
7a8bafa
Compare
Contributor
Author
|
Haiku detection has been yeeted. RIP 🪦🍃 |
- Extract duplicate NIP-38 status processing into shared helper method - Add timestamp tracking so out-of-order status events don't regress - Fix reply attribution to use reply target event's pubkey instead of first p-tag (which may be an unrelated mention) - Make replyToName reactive via profileVersion so it updates when profiles load instead of showing hex permanently
Owner
|
Pushed a fixup commit addressing code review concerns: Bug fixes:
Cleanup:
|
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
Reply-to Attribution
eventRepo.getProfileData()User Status Display & Editing (NIP-38, kind 30315)
Misc
app/temp/to.gitignoreTest plan
🤖 Generated with Claude Code