Skip to content

Support pinned events - #692

Merged
ulyssa merged 8 commits into
ulyssa:mainfrom
Nightchicken:pinned-events
Sep 20, 2026
Merged

ulyssa merged 8 commits into
ulyssa:mainfrom
Nightchicken:pinned-events

Conversation

@Nightchicken

Copy link
Copy Markdown
Contributor

Added commands for pinning and unpinning events
:pin and :unpin
Window screen for pinned messages under :pinned which contains events within room

pressing enter on an even within the window jumps cursor to that event.
There are currently limits for how far back in history it can grab, events that are more than ~1500 messages will fail to load from scrollback, or if a time limit of 2 minutes occurs.

#626

@ulyssa ulyssa added this to the v0.0.13 milestone Sep 18, 2026
@Nightchicken

Copy link
Copy Markdown
Contributor Author

Moving stuff to fit with suggestion of having pinned messages be stored in scrollback with hidden tags.

@ulyssa ulyssa changed the title Feature: Pinned events Support pinned events Sep 20, 2026
@ulyssa ulyssa linked an issue Sep 20, 2026 that may be closed by this pull request
@ulyssa
ulyssa enabled auto-merge (squash) September 20, 2026 07:51
@ulyssa

ulyssa commented Sep 20, 2026

Copy link
Copy Markdown
Owner

I think this is in a good state for merging as a starting point, but ideally we will want to figure out a way to get the messages to render using the show/show_with_preview methods. That's going to take some work in modalkit-ratatui first though, so that the ListItem can render images, and so that the lifetimes it uses on ListItem::show allow the return value to borrow from the store.

@ulyssa
ulyssa merged commit fdddc5c into ulyssa:main Sep 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feat] Pinned events

2 participants