matterhorn-50200.17.0: Terminal client for the Mattermost chat system
Safe HaskellNone
LanguageHaskell2010

Matterhorn.Types.MessageInterface

Synopsis

Documentation

data MessageInterface n i Source #

A UI region in which a specific message listing is viewed, where the user can send messages in that channel or thread.

Constructors

MessageInterface 

Fields

miEditor :: forall n i. Lens' (MessageInterface n i) (EditState n) Source #

miRootPostId :: forall n i i. Lens (MessageInterface n i) (MessageInterface n i) i i Source #

miUrlList :: forall n i. Lens' (MessageInterface n i) (URLList n) Source #

data MessageInterfaceMode Source #

Constructors

Compose

Composing messages and interacting with the editor

MessageSelect

Selecting from messages in the listing

ShowUrlList

Show the URL listing

SaveAttachment LinkChoice

Show the attachment save UI

ManageAttachments

Managing the attachment list

BrowseFiles

Browsing the filesystem for attachment files

data URLList n Source #

Constructors

URLList 

ulList :: forall n n. Lens (URLList n) (URLList n) (List n (Int, LinkChoice)) (List n (Int, LinkChoice)) Source #

data SaveAttachmentDialogState n Source #

The state of the attachment path window.

Constructors

SaveAttachmentDialogState 

Fields