Components - Satellite-im/Core-PWA GitHub Wiki

Component Structure

Component Documentation

Error Modal Component

Component that takes an error message to display including source and extra details.

  • setTimeout prop is a bool that is not required but if true will auto close the modal after 5 seconds

Attn: Will require future revisions to accommodate the global app error data structure.

Example-

<UiPopupsError
        v-if="ui.modals.error"
        v-click-outside="toggleError"
        :close-modal="toggleError"
        :setTimeout=true
        :errorText= ''
      />

Error Messages

Chatbar Error Message

Here is the markup to include it

Here is info on how to use it, what is required, and what settings are optional