Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/toad/block_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from typing import TYPE_CHECKING, Callable, ClassVar, cast

from agent_comms.nominal.declared_family import DeclaredFamily
from agent_comms.read_basis import DisplayCut, NoDisplaySelection
from agent_comms.ui_model.message_category import MessageCategory, OtherCategory
from textual.geometry import Region
from textual.widget import Widget
Expand All @@ -17,6 +18,7 @@
from toad.widgets.presentation_window import NewerEnd, OlderEnd, PageEnd

if TYPE_CHECKING:
from agent_comms.message_reference import MessageReference
from agent_comms.ui_model.message_category import AgentActivityBoundary
from textual.screen import Screen

Expand Down Expand Up @@ -396,6 +398,10 @@ def repaint(self) -> None:
def notification_targets(self):
return ()

def notification_identity_for(self, references: frozenset[MessageReference]) -> DisplayCut:
"""Live entries have no captured BUS display cut; source rows override with theirs."""
return NoDisplaySelection()

@cached_property
def block_cursor(self) -> BlockCursor:
return AtomicBlockCursor(self)
Expand Down
Loading