Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for policy tags. #2210

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,11 @@ exports[`PolicyList should render 1`] = `
>
Rules
</th>
<th
class="emotion-7 emotion-8"
>
Tags
</th>
<th
class="emotion-7 emotion-8"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ exports[`PolicyRow should render 1`] = `
vertical-align: text-bottom;
}

.emotion-22 {
.emotion-25 {
fill: #d5d5d5;
cursor: inherit;
vertical-align: text-bottom;
}

.emotion-23 {
.emotion-26 {
text-align: center;
padding: 5px 0 5px 15px;
vertical-align: middle;
Expand Down Expand Up @@ -261,7 +261,30 @@ exports[`PolicyRow should render 1`] = `
width="10%"
>
<svg
class="emotion-22"
class="emotion-19"
data-testid="icon"
height="1.25em"
id=""
viewBox="0 0 1024 1024"
width="1.25em"
>
<title>
tag
</title>
<path
d="M492.8 145.067l360.533 360.533v347.733h-347.733l-360.533-360.533 347.733-347.733zM492.8 42.667c-11.712 0.172-22.255 5.037-29.86 12.793l-0.007 0.007-407.467 407.467c-8.083 7.434-13.13 18.061-13.13 29.867s5.047 22.432 13.101 29.84l0.029 0.026 416 416h424.533c23.564 0 42.667-19.103 42.667-42.667v0-424.533l-416-416c-7.612-7.763-18.155-12.628-29.835-12.8l-0.032-0z"
/>
<path
d="M746.667 661.333c0 47.128-38.205 85.333-85.333 85.333s-85.333-38.205-85.333-85.333c0-47.128 38.205-85.333 85.333-85.333s85.333 38.205 85.333 85.333z"
/>
</svg>
</td>
<td
class="emotion-2 emotion-3"
width="10%"
>
<svg
class="emotion-25"
data-testid="icon"
height="1.25em"
id=""
Expand All @@ -277,11 +300,11 @@ exports[`PolicyRow should render 1`] = `
</svg>
</td>
<td
class="emotion-23 emotion-3"
class="emotion-26 emotion-3"
width="15%"
>
<svg
class="emotion-22"
class="emotion-25"
data-testid="icon"
height="1.25em"
id=""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ exports[`PolicyPage should render 1`] = `
word-break: break-all;
}

.emotion-116 {
.emotion-118 {
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
Expand All @@ -901,13 +901,13 @@ exports[`PolicyPage should render 1`] = `
width: 20px;
}

.emotion-118 {
.emotion-120 {
fill: #303030;
cursor: inherit;
vertical-align: text-bottom;
}

.emotion-119 {
.emotion-121 {
margin-right: 0;
border-left: 1px solid #d5d5d5;
-webkit-flex: 0 0 350px;
Expand All @@ -922,7 +922,7 @@ exports[`PolicyPage should render 1`] = `
width: 350px;
}

.emotion-121 {
.emotion-123 {
-webkit-align-items: baseline;
-webkit-box-align: baseline;
-ms-flex-align: baseline;
Expand All @@ -941,41 +941,41 @@ exports[`PolicyPage should render 1`] = `
padding: 20px 30px 20px 15px;
}

.emotion-123 {
.emotion-125 {
font-size: 16px;
font-weight: 600;
}

.emotion-125 {
.emotion-127 {
color: #3570f4;
-webkit-text-decoration: none;
text-decoration: none;
cursor: pointer;
}

.emotion-127 {
.emotion-129 {
padding: 0 5px;
color: #d5d5d5;
}

.emotion-131 {
.emotion-133 {
padding: 0 30px 0 15px;
}

.emotion-133 {
.emotion-135 {
padding: 10px 0;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}

.emotion-135 {
.emotion-137 {
font-size: 1.25em;
margin-right: 5px;
}

.emotion-137 {
.emotion-139 {
fill: #303030;
cursor: inherit;
vertical-align: baseline;
Expand Down Expand Up @@ -1385,6 +1385,11 @@ exports[`PolicyPage should render 1`] = `
>
Rules
</th>
<th
class="emotion-102 emotion-103"
>
Tags
</th>
<th
class="emotion-102 emotion-103"
>
Expand All @@ -1406,11 +1411,11 @@ exports[`PolicyPage should render 1`] = `
data-testid="user-domains"
>
<div
class="emotion-116 emotion-117"
class="emotion-118 emotion-119"
data-testid="toggle-domain"
>
<svg
class="emotion-118"
class="emotion-120"
data-testid="icon"
height="1em"
id=""
Expand All @@ -1426,45 +1431,45 @@ exports[`PolicyPage should render 1`] = `
</svg>
</div>
<div
class="emotion-119 emotion-120"
class="emotion-121 emotion-122"
>
<div
class="emotion-121 emotion-122"
class="emotion-123 emotion-124"
>
<div
class="emotion-123 emotion-124"
class="emotion-125 emotion-126"
>
My Domains
</div>
<div>
<a
class="emotion-125 emotion-126"
class="emotion-127 emotion-128"
>
Create
</a>
<span
class="emotion-127 emotion-128"
class="emotion-129 emotion-130"
>
|
</span>
<a
class="emotion-125 emotion-126"
class="emotion-127 emotion-128"
>
Manage
</a>
</div>
</div>
<div
class="emotion-131 emotion-132"
class="emotion-133 emotion-134"
>
<div
class="emotion-133 emotion-134"
class="emotion-135 emotion-136"
>
<div
class="emotion-135 emotion-136"
class="emotion-137 emotion-138"
>
<svg
class="emotion-137"
class="emotion-139"
data-testid="icon"
height="1em"
id=""
Expand All @@ -1486,19 +1491,19 @@ exports[`PolicyPage should render 1`] = `
</svg>
</div>
<a
class="emotion-125 emotion-126"
class="emotion-127 emotion-128"
>
athens
</a>
</div>
<div
class="emotion-133 emotion-134"
class="emotion-135 emotion-136"
>
<div
class="emotion-135 emotion-136"
class="emotion-137 emotion-138"
>
<svg
class="emotion-137"
class="emotion-139"
data-testid="icon"
height="1em"
id=""
Expand All @@ -1520,7 +1525,7 @@ exports[`PolicyPage should render 1`] = `
</svg>
</div>
<a
class="emotion-125 emotion-126"
class="emotion-127 emotion-128"
>
athens.ci
</a>
Expand Down
Loading