Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-14410: Adds the ability to add and manage groups for a team. #2707

Merged
merged 7 commits into from
May 10, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
MM-14410: Adds the ability to add and manage groups for a team.
  • Loading branch information
mkraft committed May 9, 2019
commit e4e7cac88b380588a3f789fb45716662c903de46
215 changes: 215 additions & 0 deletions components/__snapshots__/list_modal.test.jsx.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`components/ListModal should match snapshot 1`] = `
<div>
<Modal
animation={true}
autoFocus={true}
backdrop={true}
bsClass="modal"
dialogClassName="more-modal more-modal--action"
dialogComponentClass={[Function]}
enforceFocus={true}
keyboard={true}
manager={
ModalManager {
"add": [Function],
"containers": Array [],
"data": Array [],
"handleContainerOverflow": true,
"hideSiblingNodes": true,
"isTopModal": [Function],
"modals": Array [],
"remove": [Function],
}
}
onExited={[Function]}
onHide={[Function]}
renderBackdrop={[Function]}
restoreFocus={true}
show={true}
>
<ModalHeader
bsClass="modal-header"
closeButton={true}
closeLabel="Close"
>
<ModalTitle
bsClass="modal-title"
componentClass="h4"
>
<span
className="name"
>
foo list modal
</span>
</ModalTitle>
</ModalHeader>
<ModalBody
bsClass="modal-body"
componentClass="div"
>
<div
className="filtered-user-list"
>
<div
className="filter-row"
>
<div
className="col-xs-12"
>
<input
className="form-control filter-textbox"
id="searchUsersInput"
onChange={[Function]}
placeholder="search for foos"
/>
</div>
<div
className="col-sm-12"
>
<span
className="member-count pull-left"
>
<FormattedMessage
defaultMessage="{startCount, number} - {endCount, number} of {total, number} total"
id="list_modal.paginatorCount"
values={
Object {
"endCount": 0,
"startCount": 0,
"total": 0,
}
}
/>
</span>
</div>
</div>
<div
className="more-modal__list"
>
<div>
<div>
<LoadingScreen
key="loading"
position="absolute"
style={Object {}}
/>
</div>
</div>
</div>
<div
className="filter-controls"
/>
</div>
</ModalBody>
</Modal>
</div>
`;

exports[`components/ListModal should match snapshot with title bar button 1`] = `
<div>
<Modal
animation={true}
autoFocus={true}
backdrop={true}
bsClass="modal"
dialogClassName="more-modal more-modal--action"
dialogComponentClass={[Function]}
enforceFocus={true}
keyboard={true}
manager={
ModalManager {
"add": [Function],
"containers": Array [],
"data": Array [],
"handleContainerOverflow": true,
"hideSiblingNodes": true,
"isTopModal": [Function],
"modals": Array [],
"remove": [Function],
}
}
onExited={[Function]}
onHide={[Function]}
renderBackdrop={[Function]}
restoreFocus={true}
show={true}
>
<ModalHeader
bsClass="modal-header"
closeButton={true}
closeLabel="Close"
>
<ModalTitle
bsClass="modal-title"
componentClass="h4"
>
<span
className="name"
>
foo list modal
</span>
</ModalTitle>
</ModalHeader>
<ModalBody
bsClass="modal-body"
componentClass="div"
>
<div
className="filtered-user-list"
>
<div
className="filter-row"
>
<div
className="col-xs-12"
>
<input
className="form-control filter-textbox"
id="searchUsersInput"
onChange={[Function]}
placeholder="search for foos"
/>
</div>
<div
className="col-sm-12"
>
<span
className="member-count pull-left"
>
<FormattedMessage
defaultMessage="{startCount, number} - {endCount, number} of {total, number} total"
id="list_modal.paginatorCount"
values={
Object {
"endCount": 0,
"startCount": 0,
"total": 0,
}
}
/>
</span>
</div>
</div>
<div
className="more-modal__list"
>
<div>
<div>
<LoadingScreen
key="loading"
position="absolute"
style={Object {}}
/>
</div>
</div>
</div>
<div
className="filter-controls"
/>
</div>
</ModalBody>
</Modal>
</div>
`;
Loading