graylog2-web-interface/docs/ux-patterns.md
FormSubmit and ModalSubmit to implement the submit and cancel button.
The FormSubmit can be used for all forms on pages. The ModalSubmit can be used for modals and similar element like
popovers or the login dialog.Save or Ok use a meaningful name for the submit button like Create stream.Cancel for the cancel button name.EmptyEntity & NoEntitiesExist & NoSearchResults componentsEmptyEntity should be used to display a message for an entity that does not have any entries in the database yet. This components supports displaying a message explaining what the entity is and can also support including a button link to create one via the children propsNoEntitiesExist is similar to EmptyEntity except it is a more generic message without including the option to create a new oneNoSearchResults should be used in the case when a search is performed with a query and the result is no matching entries. This component should inform the user that entities still exist, just that none match the current filter.