Polish conversation view: composer overlay, blur, and spacing#507
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
The composer is now an absolute overlay, so it no longer shrinks the timeline's clientHeight when it grows. Loosen the affected boundary assertions to match the new layout while preserving the original intent (no scroll shift, replies auto-scroll near the top). Co-authored-by: Cursor <cursoragent@cursor.com>
Lower the sticky day divider stacking level so timeline date labels scroll behind the overlaid composer instead of floating above it. Co-authored-by: Cursor <cursoragent@cursor.com>
wesbillman
approved these changes
May 8, 2026
tlongwell-block
pushed a commit
that referenced
this pull request
May 13, 2026
The iOS channel list provider was unconditionally dropping any channel with a 'ttl' tag, which made TTL channels invisible to members even though they appeared correctly on desktop. The filter was added when the file was introduced (PR #507) and no comment explained why. Meanwhile, channels_page.dart already has an _EphemeralBadge widget ready to render TTL channels with a remaining-time indicator — that path was dead code for the main list because the channels never made it there. Repro: a member of an open, kind:39000-with-ttl-tag channel could not see it on iOS at all, while desktop showed it with the existing badge. Fix: 1) Drop the !channel.isEphemeral guard in channels_provider.dart so ttl-tagged channels reach the list. 2) Parse the kind:39000 'archived' tag in ChannelData.fromEvent and propagate it to Channel.archivedAt. The second change is necessary because the relay's TTL reaper auto- archives expired ephemeral channels and republishes kind:39000 with ['archived', 'true']. Without parsing that tag, removing the !isEphemeral guard would let expired TTL channels stay visible after the reaper hid them. The same fix also makes user-initiated archive state propagate correctly via the Nostr path — previously the mobile parser ignored 'archived' entirely, so the existing !channel.isArchived filters in channels_page.dart:275 and channels_provider.dart:207 only worked for the JSON path. Tests: added two regression tests in channels_provider_test.dart that construct kind:39000 metadata events with the ttl / archived tags and assert the resulting Channel surfaces them correctly. Signed-off-by: Dawn <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>
tlongwell-block
pushed a commit
that referenced
this pull request
May 13, 2026
The iOS channel list provider was unconditionally dropping any channel with a 'ttl' tag, which made TTL channels invisible to members even though they appeared correctly on desktop. The filter was added when the file was introduced (PR #507) and no comment explained why. Meanwhile, channels_page.dart already has an _EphemeralBadge widget ready to render TTL channels with a remaining-time indicator — that path was dead code for the main list because the channels never made it there. Repro: a member of an open, kind:39000-with-ttl-tag channel could not see it on iOS at all, while desktop showed it with the existing badge. Fix: 1) Drop the !channel.isEphemeral guard in channels_provider.dart so ttl-tagged channels reach the list. 2) Parse the kind:39000 'archived' tag in ChannelData.fromEvent and propagate it to Channel.archivedAt. The second change is necessary because the relay's TTL reaper auto- archives expired ephemeral channels and republishes kind:39000 with ['archived', 'true']. Without parsing that tag, removing the !isEphemeral guard would let expired TTL channels stay visible after the reaper hid them. The same fix also makes user-initiated archive state propagate correctly via the Nostr path — previously the mobile parser ignored 'archived' entirely, so the existing !channel.isArchived filters in channels_page.dart:275 and channels_provider.dart:207 only worked for the JSON path. Tests: added two regression tests in channels_provider_test.dart that construct kind:39000 metadata events with the ttl / archived tags and assert the resulting Channel surfaces them correctly. Signed-off-by: Dawn <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>
tlongwell-block
pushed a commit
that referenced
this pull request
May 13, 2026
The iOS channel list provider was unconditionally dropping any channel with a 'ttl' tag, which made TTL channels invisible to members even though they appeared correctly on desktop. The filter was added when the file was introduced (PR #507) and no comment explained why. Meanwhile, channels_page.dart already has an _EphemeralBadge widget ready to render TTL channels with a remaining-time indicator — that path was dead code for the main list because the channels never made it there. Repro: a member of an open, kind:39000-with-ttl-tag channel could not see it on iOS at all, while desktop showed it with the existing badge. Fix: 1) Drop the !channel.isEphemeral guard in channels_provider.dart so ttl-tagged channels reach the list. 2) Parse the kind:39000 'archived' tag in ChannelData.fromEvent and propagate it to Channel.archivedAt. The second change is necessary because the relay's TTL reaper auto- archives expired ephemeral channels and republishes kind:39000 with ['archived', 'true']. Without parsing that tag, removing the !isEphemeral guard would let expired TTL channels stay visible after the reaper hid them. The same fix also makes user-initiated archive state propagate correctly via the Nostr path — previously the mobile parser ignored 'archived' entirely, so the existing !channel.isArchived filters in channels_page.dart:275 and channels_provider.dart:207 only worked for the JSON path. Tests: added two regression tests in channels_provider_test.dart that construct kind:39000 metadata events with the ttl / archived tags and assert the resulting Channel surfaces them correctly. Signed-off-by: Dawn <c6237ef84fa537c78dcee78efd2d4e59f728859c7f194da42ac51ededfa0be05@sprout-oss.stage.blox.sqprod.co>
This was referenced May 28, 2026
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
Test plan
cd desktop && pnpm exec playwright test --project=smoke -g "does not shift the timeline when the composer grows".git commitandgit push.