-
Notifications
You must be signed in to change notification settings - Fork 25
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
Debian
committed
Oct 30, 2024
1 parent
18d2163
commit e7afbe9
Showing
1 changed file
with
138 additions
and
141 deletions.
There are no files selected for viewing
279 changes: 138 additions & 141 deletions
279
frontend/tests/components/__snapshots__/WelcomePanel.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 |
---|---|---|
@@ -1,146 +1,143 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`WelcomePanel renders basic layout 1`] = ` | ||
<div | ||
className="welcome-panel" | ||
> | ||
<div | ||
className="welcome-panel-content" | ||
> | ||
<p | ||
className="about-description" | ||
> | ||
Manage Your Community | ||
</p> | ||
<div | ||
className="welcome-panel-column-container" | ||
> | ||
<div | ||
className="welcome-panel-column" | ||
> | ||
<h3> | ||
Comments | ||
</h3> | ||
<ul> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-admin-comments" | ||
href="https://foo.disqus.com/admin/moderate/" | ||
> | ||
Moderate | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-warning" | ||
href="https://foo.disqus.com/admin/access/banned/" | ||
target="_blank" | ||
> | ||
Banned Users | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-filter" | ||
href="https://foo.disqus.com/admin/settings/access/" | ||
target="_blank" | ||
> | ||
Restricted Words | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-admin-users" | ||
href="https://foo.disqus.com/admin/settings/moderators/" | ||
target="_blank" | ||
> | ||
Site Moderators | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div | ||
className="welcome-panel-column" | ||
> | ||
<h3> | ||
Analytics | ||
</h3> | ||
<ul> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-megaphone" | ||
href="https://foo.disqus.com/admin/analytics/comments/" | ||
target="_blank" | ||
> | ||
Engagement | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-chart-line" | ||
href="https://foo.disqus.com/admin/analytics/revenue/" | ||
target="_blank" | ||
> | ||
Revenue | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-heart" | ||
href="https://foo.disqus.com/admin/analytics/content/" | ||
target="_blank" | ||
> | ||
Popular Content | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div | ||
className="welcome-panel-column" | ||
> | ||
<h3> | ||
Settings | ||
</h3> | ||
<ul> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-admin-appearance" | ||
href="https://foo.disqus.com/admin/settings/general/" | ||
target="_blank" | ||
> | ||
Identity | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-format-chat" | ||
href="https://foo.disqus.com/admin/settings/community/" | ||
target="_blank" | ||
> | ||
Community Rules | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-admin-settings" | ||
href="https://foo.disqus.com/admin/settings/advanced/" | ||
target="_blank" | ||
> | ||
Advanced | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className="welcome-icon dashicons-align-left" | ||
href="https://foo.disqus.com/admin/settings/ads/" | ||
target="_blank" | ||
> | ||
Remove Ads | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className='welcome-panel'> | ||
<div className='welcome-panel-content'> | ||
<p className='about-description'> | ||
{__('Manage Your Community')} | ||
</p> | ||
<div className='welcome-panel-column-container'> | ||
<div className='welcome-panel-column'> | ||
<h3> | ||
{__('Comments')} | ||
</h3> | ||
<ul> | ||
<li> | ||
<a className='welcome-icon dashicons-admin-comments' href={getForumAdminUrl(props.shortname, 'moderate')} | ||
> | ||
{__('Moderate')} | ||
</a> | ||
</li> | ||
<li> | ||
<a className='welcome-icon dashicons-warning' href={getForumAdminUrl(props.shortname, 'access/banned')} target='_blank'> | ||
{__('Banned Users')} | ||
</a> | ||
</li> | ||
<li> | ||
<a className='welcome-icon dashicons-filter' href={getForumAdminUrl(props.shortname, 'settings/access')} target='_blank'> | ||
{__('Restricted Words')} | ||
</a> | ||
</li> | ||
<li> | ||
<a className='welcome-icon dashicons-admin-users' href={getForumAdminUrl(props.shortname, 'settings/moderators')} target='_blank'> | ||
{__('Site Moderators')} | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className='welcome-panel-column'> | ||
<h3> | ||
{__('Polls')} | ||
</h3> | ||
<ul> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-welcome-write-blog' | ||
href={pollsBlogPost} | ||
target='_blank' | ||
> | ||
{__('Learn More')} | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-welcome-widgets-menus' | ||
href={pricingPolls} | ||
target='_blank' | ||
> | ||
{__('Get Started')} | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className='welcome-panel-column'> | ||
<h3> | ||
{__('Analytics')} | ||
</h3> | ||
<ul> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-megaphone' | ||
href={getForumAdminUrl(props.shortname, 'analytics/comments')} | ||
target='_blank' | ||
> | ||
{__('Engagement')} | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-chart-line' | ||
href={getForumAdminUrl(props.shortname, 'analytics/revenue')} | ||
target='_blank' | ||
> | ||
{__('Revenue')} | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-heart' | ||
href={getForumAdminUrl(props.shortname, 'analytics/content')} | ||
target='_blank' | ||
> | ||
{__('Popular Content')} | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div className='welcome-panel-column'> | ||
<h3> | ||
{__('Settings')} | ||
</h3> | ||
<ul> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-admin-appearance' | ||
href={getForumAdminUrl(props.shortname, 'settings/general')} | ||
target='_blank' | ||
> | ||
{__('Identity')} | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-format-chat' | ||
href={getForumAdminUrl(props.shortname, 'settings/community')} | ||
target='_blank' | ||
> | ||
{__('Community Rules')} | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-admin-settings' | ||
href={getForumAdminUrl(props.shortname, 'settings/advanced')} | ||
target='_blank' | ||
> | ||
{__('Advanced')} | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
className='welcome-icon dashicons-align-left' | ||
href={getForumAdminUrl(props.shortname, 'settings/ads')} | ||
target='_blank' | ||
> | ||
{__('Remove Ads')} | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |