11 lines
317 B
Python
11 lines
317 B
Python
|
|
"""Messaging channels tab: read-only inventory (channel rows)."""
|
||
|
|
from hatch_menu import dialog
|
||
|
|
|
||
|
|
TAB = "Messaging channels"
|
||
|
|
|
||
|
|
|
||
|
|
def describe(ws):
|
||
|
|
"""Row inventory + text excerpt (describe-only for now)."""
|
||
|
|
return {"rows": dialog.describe_rows(ws, TAB),
|
||
|
|
"text": (dialog.dialog_text(ws) or "")[:400]}
|