-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6004813
commit 829b65c
Showing
8 changed files
with
260 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
200 changes: 200 additions & 0 deletions
200
src/views/GovernanceReviewTeam/GRBReview/__snapshots__/Discussions.test.tsx.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,200 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Discussions > matches the snapshot > [Function] 1`] = ` | ||
<DocumentFragment> | ||
<div | ||
class="grb-discussions bg-base-lightest padding-x-3 padding-y-3 radius-md" | ||
> | ||
<h2 | ||
class="margin-top-0 margin-bottom-1" | ||
> | ||
Discussions | ||
</h2> | ||
<p | ||
class="margin-top-0 line-height-body-5" | ||
> | ||
Use the discussion boards below to discuss this project. The internal GRB discussion board is a space for the Governance Admin Team and GRB members to discuss privately; the project team will not be able to view discussions there. | ||
</p> | ||
<div | ||
class="easi-collapsable-link" | ||
> | ||
<button | ||
aria-controls="discussionBoardTips" | ||
aria-expanded="false" | ||
class="usa-button usa-button--unstyled display-flex flex-align-center text-bold" | ||
data-testid="collapsable-link" | ||
type="button" | ||
> | ||
<svg | ||
class="usa-icon margin-right-05" | ||
focusable="false" | ||
height="1em" | ||
role="img" | ||
viewBox="0 0 24 24" | ||
width="1em" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M0 0h24v24H0z" | ||
fill="none" | ||
/> | ||
<path | ||
d="M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" | ||
/> | ||
</svg> | ||
Tips for using the discussion boards | ||
</button> | ||
</div> | ||
<div | ||
class="internal-discussion-board bg-white padding-3 padding-bottom-4 margin-top-4 border-base-lighter shadow-2" | ||
> | ||
<div | ||
class="internal-discussions-board__header desktop:display-flex flex-align-start" | ||
> | ||
<h3 | ||
class="margin-top-0 margin-bottom-1" | ||
> | ||
Internal GRB discussion board | ||
</h3> | ||
<p | ||
class="margin-0 margin-top-05 text-base display-flex text-no-wrap" | ||
> | ||
<svg | ||
class="usa-icon margin-right-05" | ||
focusable="false" | ||
height="1em" | ||
role="img" | ||
viewBox="0 0 24 24" | ||
width="1em" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M0 0h24v24H0z" | ||
fill="none" | ||
/> | ||
<path | ||
d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H8.9V6zM18 20H6V10h12v10z" | ||
/> | ||
</svg> | ||
<span> | ||
Visibility restricted | ||
</span> | ||
</p> | ||
<button | ||
class="usa-button usa-button--outline margin-right-0 margin-y-2 desktop:margin-y-0 text-no-wrap" | ||
data-testid="button" | ||
type="button" | ||
> | ||
View discussion board | ||
</button> | ||
</div> | ||
<div | ||
class="display-flex" | ||
> | ||
<p | ||
class="margin-0 margin-right-105 display-flex" | ||
> | ||
0 discussions without replies | ||
</p> | ||
</div> | ||
<h4 | ||
class="margin-bottom-2" | ||
> | ||
Most recent activity | ||
</h4> | ||
<div | ||
class="easi-discussion-reply display-flex" | ||
> | ||
<div | ||
class="margin-right-105" | ||
> | ||
<div | ||
class="display-flex flex-align-center flex-justify-center minw-4 circle-4 bg-red-cool-10 " | ||
data-testid="avatar--basic" | ||
> | ||
OA | ||
</div> | ||
</div> | ||
<div | ||
class="width-full" | ||
> | ||
<div | ||
class="easi-discussion-reply__header tablet:display-flex margin-top-1 margin-bottom-105" | ||
> | ||
<div> | ||
<p | ||
class="margin-y-0" | ||
> | ||
Otilia Abbott | ||
</p> | ||
<h5 | ||
class="margin-top-05 margin-bottom-0 font-body-xs text-base text-normal" | ||
> | ||
Voting, Subject Matter Expert (SME) | ||
</h5> | ||
</div> | ||
<p | ||
class="margin-top-105 tablet:margin-top-0 margin-bottom-0 text-base" | ||
> | ||
3 days ago | ||
</p> | ||
</div> | ||
<div | ||
class="easi-toast easi-toast-viewer easi-discussion-reply__content" | ||
> | ||
<div> | ||
<div | ||
class="toastui-editor-contents" | ||
style="overflow-wrap: break-word;" | ||
> | ||
<div | ||
data-nodeid="1" | ||
> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="easi-discussion-reply__footer display-flex margin-top-2" | ||
> | ||
<button | ||
class="usa-button usa-button--unstyled display-flex flex-align-center margin-right-205" | ||
data-testid="button" | ||
type="button" | ||
> | ||
<svg | ||
class="usa-icon text-primary margin-right-1" | ||
focusable="false" | ||
height="1em" | ||
role="img" | ||
viewBox="0 0 24 24" | ||
width="1em" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
d="M0 0h24v24H0z" | ||
fill="none" | ||
/> | ||
<path | ||
d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z" | ||
/> | ||
</svg> | ||
2 replies | ||
</button> | ||
<p | ||
class="text-base margin-0" | ||
> | ||
Last reply 11/13/2024 at 10:00 AM | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</DocumentFragment> | ||
`; |