Fix entering thread view when there's no messages yet #315

Closed
opened 2025-10-14 15:45:49 -06:00 by navan · 0 comments
Owner

Originally created by @ulyssa on 3/24/2024

#152 defaulted to showing the non-thread messages when trying to enter a brand-new thread, which is confusing. The ScrollbackState::get_thread method should return an Option when there's nothing to view.

I've also refactored Message::show to make it easier to follow now that it's also got the thread count logic.

*Originally created by @ulyssa on 3/24/2024* #152 defaulted to showing the non-thread messages when trying to enter a brand-new thread, which is confusing. The `ScrollbackState::get_thread` method should return an `Option` when there's nothing to view. I've also refactored `Message::show` to make it easier to follow now that it's also got the thread count logic.
navan 2025-10-14 15:45:50 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/iamb#315
No description provided.