Skip to content

Commit 9f26d09

Browse files
feedback changes
1 parent 74e75e7 commit 9f26d09

File tree

5 files changed

+17
-24
lines changed

5 files changed

+17
-24
lines changed

src/web/components/ApiKeyManagement/KeyCreationDialog.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,10 @@ function ShowApiKeySecrets({ keySecrets, closeDialog }: ApiKeySecretsProps) {
9999
<div>
100100
<h1>API Key {keySecrets.name} Credentials</h1>
101101
<p>
102-
Copy the key and secret, store them in a secure location, and do not share them. When you
103-
close the window, these values are not saved and are no longer available to you. If they are
104-
lost, you&apos;ll need to create a new key.
102+
Copy the key and secret.{' '}
103+
<b> You must store them in a secure location, and do not share them.</b> When you close the
104+
window, these values are not saved and are no longer available to you. If they are lost,
105+
you&apos;ll need to create a new key.
105106
</p>
106107
{secrets.map((secret) => (
107108
<div key={secret.valueName}>

src/web/components/KeyPairs/KeyPairsTable.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
.key-pair-header {
4343
display: flex;
44-
gap: 5px;
44+
gap: 10px;
4545

4646
.key-pair-tool-tip {
4747
margin-top: 0.4rem;

src/web/components/KeyPairs/KeyPairsTable.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,16 @@ function KeyPairsTableContent({
7070
<thead>
7171
<tr>
7272
<SortableTableHeader<KeyPairModel> className='name' sortKey='name' header='Name' />
73-
<SortableTableHeader<KeyPairModel>
74-
className='subscription-id'
75-
sortKey='subscriptionId'
76-
header={
77-
<div className='key-pair-header'>
78-
<Tooltip>
79-
Identifies your site to the UID2 service. Can be shared publicly.
80-
</Tooltip>
81-
Subscription ID
82-
</div>
83-
}
84-
/>
8573
<th>
8674
<div className='key-pair-header'>
87-
<Tooltip>Used for encryption. Can be shared publicly.</Tooltip>
75+
Subscription ID
76+
<Tooltip>Identifies your site to the UID2 service. Can be shared publicly.</Tooltip>
77+
</div>
78+
</th>
79+
<th>
80+
<div className='key-pair-header'>
8881
Public Key
82+
<Tooltip>Used for encryption. Can be shared publicly.</Tooltip>
8983
</div>
9084
</th>
9185
<SortableTableHeader<KeyPairModel>

src/web/screens/apiKeyManagement.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ function ApiKeyManagement() {
7979
<>
8080
<h1>API Keys</h1>
8181
<p className='heading-details'>
82-
View and manage your API keys. For more information, see{' '}
82+
View and manage your API keys for client-server or server-side integrations. For more
83+
information, see{' '}
8384
<a
8485
target='_blank'
8586
className='outside-link'
@@ -91,9 +92,7 @@ function ApiKeyManagement() {
9192
.
9293
</p>
9394
<div>
94-
The values you generate on this page are for client-server or server-side integrations.{' '}
95-
<b>They must be stored securely and kept secret.</b> For an implementation option that
96-
generates UID2 tokens on the client side, go to{' '}
95+
For an implementation option that generates UID2 tokens on the client side, go to{' '}
9796
<NavLink
9897
to={`/participant/${participant?.id}/clientSideIntegration`}
9998
className='outside-link'

src/web/screens/clientSideIntegration.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ function ClientSideIntegration() {
166166
.
167167
</p>
168168
<div>
169-
The values you generate on this page are public and do not need to be kept secret. For
170-
client-server or server-side integrations, go to{' '}
169+
For client-server or server-side integrations, go to{' '}
171170
<NavLink to={`/participant/${participant?.id}/apiKeys`} className='outside-link'>
172171
API Keys
173172
</NavLink>
@@ -186,8 +185,8 @@ function ClientSideIntegration() {
186185
{(loadedData) => (
187186
<>
188187
<ClientSideCompletion
189-
domainNames={loadedData.domainNames}
190188
appIds={loadedData.appIds}
189+
domainNames={loadedData.domainNames}
191190
keyPairData={loadedData.keyPairs}
192191
/>
193192
<KeyPairsTable

0 commit comments

Comments
 (0)