Skip to content

fix(timeline): resolve focus by event id and render non-live events - #1690

Open
eleboucher wants to merge 71 commits into
devfrom
fix/timeline-focus-by-event-id
Open

fix(timeline): resolve focus by event id and render non-live events#1690
eleboucher wants to merge 71 commits into
devfrom
fix/timeline-focus-by-event-id

Conversation

@eleboucher

@eleboucher eleboucher commented Aug 8, 2026

Copy link
Copy Markdown
Member

Description

focus was stored as a raw index into the flattened timelines, so backward pagination shifted it onto an older message. it is now keyed by event id. also fixes late events never rendering (60s timestamp window replaced by timeline set identity) and a failed jump leaving the room blank.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

@BurgundyDev BurgundyDev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing proves good from a short smoke test

@BurgundyDev

Copy link
Copy Markdown
Contributor

Actually nvm, bug happened again....

@BurgundyDev BurgundyDev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverting approval cuz no fix after all, will go through code tomorrow as well

@eleboucher
eleboucher force-pushed the fix/timeline-focus-by-event-id branch 5 times, most recently from 6f43776 to 3de88ca Compare August 9, 2026 15:26
@eleboucher
eleboucher force-pushed the fix/timeline-focus-by-event-id branch 2 times, most recently from af8080f to c8703db Compare August 9, 2026 17:04
@eleboucher
eleboucher force-pushed the fix/timeline-focus-by-event-id branch from c8703db to 05caaf4 Compare August 9, 2026 17:13
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-1690-sable.raspy-dream-bb1d.workers.dev 70d297b pr-1690 Sun, 09 Aug 2026 22:14:22 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants