Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix(platform): fix semantic tokens and component upgrade issue in platform surfaces (#11142)

SagarRajput-7adbd89aae9f0
diff --git a/frontend/package.json b/frontend/package.json
index 1ad522a8c8..a605828854 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -51,7 +51,7 @@
"@signozhq/design-tokens": "2.1.4",
"@signozhq/icons": "0.1.0",
"@signozhq/resizable": "0.0.2",
- "@signozhq/ui": "0.0.10",
+ "@signozhq/ui": "0.0.12",
"@tanstack/react-table": "8.21.3",
"@tanstack/react-virtual": "3.13.22",
"@uiw/codemirror-theme-copilot": "4.23.11",
diff --git a/frontend/src/components/EditMemberDrawer/DeleteMemberDialog.tsx b/frontend/src/components/EditMemberDrawer/DeleteMemberDialog.tsx
index a7c79a2745..640a2045e0 100644
--- a/frontend/src/components/EditMemberDrawer/DeleteMemberDialog.tsx
+++ b/frontend/src/components/EditMemberDrawer/DeleteMemberDialog.tsx
@@ -46,6 +46,7 @@ function DeleteMemberDialog({
color="destructive"
disabled={isDeleting}
onClick={onConfirm}
+ loading={isDeleting}
>
<Trash2 size={12} />
{isDeleting ? 'Processing...' : title}
@@ -63,7 +64,6 @@ function DeleteMemberDialog({
}}
title={title}
width="narrow"
- className="alert-dialog delete-dialog"
showCloseButton={false}
disableOutsideClick={false}
footer={footer}
diff --git a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss
index 9997a7d5a3..dc720d5953 100644
--- a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss
+++ b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.styles.scss
@@ -28,18 +28,6 @@
cursor: default;
}
- &__input {
- height: 32px;
- background: var(--l2-background);
- border-color: var(--l1-border);
- color: var(--l1-foreground);
- box-shadow: none;
-
- &::placeholder {
- color: var(--l3-foreground);
- }
- }
-
&__input-wrapper {
display: flex;
align-items: center;
@@ -48,7 +36,7 @@
padding: var(--padding-1) var(--padding-2);
border-radius: 2px;
background: var(--l2-background);
- border: 1px solid var(--l1-border);
+ border: 1px solid var(--border);
box-sizing: border-box;
&--disabled {
@@ -65,8 +53,8 @@
}
&__email-text {
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-normal);
+ font-size: var(--paragraph-base-400-font-size);
+ font-weight: var(--paragraph-base-400-font-weight);
color: var(--foreground);
line-height: var(--line-height-18);
letter-spacing: -0.07px;
@@ -178,36 +166,6 @@
}
}
-.delete-dialog {
- background: var(--l2-background);
- border: 1px solid var(--l1-border);
-
- [data-slot='dialog-title'] {
- color: var(--l1-foreground);
- }
-
- &__body {
- font-size: var(--paragraph-base-400-font-size);
- font-weight: var(--paragraph-base-400-font-weight);
- color: var(--l2-foreground);
- line-height: var(--paragraph-base-400-line-height);
- letter-spacing: -0.065px;
- margin: 0;
-
- strong {
- font-weight: var(--font-weight-medium);
- color: var(--l1-foreground);
- }
- }
-
- &__footer {
- display: flex;
- justify-content: flex-end;
- gap: var(--spacing-4);
- margin-top: var(--margin-6);
- }
-}
-
.reset-link-dialog {
background: var(--l2-background);
border: 1px solid var(--l1-border);
@@ -264,13 +222,6 @@
}
&__copy-btn {
- flex-shrink: 0;
- height: 32px;
- border-radius: 0 2px 2px 0;
- border-top: none;
- border-right: none;
- border-bottom: none;
border-left: 1px solid var(--l1-border);
- min-width: 64px;
}
}
diff --git a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx
index 931dc4070c..bcb32ca4fa 100644
--- a/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx
+++ b/frontend/src/components/EditMemberDrawer/EditMemberDrawer.tsx
@@ -224,7 +224,7 @@ function EditMemberDrawer({
try {
await rawRetry();
setSaveErrors((prev) => prev.filter((e) => e.context !== context));
- refetchUser();
+ void refetchUser();
} catch (err) {
setSaveErrors((prev) =>
prev.map((e) =>
@@ -250,7 +250,7 @@ function EditMemberDrawer({
});
}
setSaveErrors((prev) => prev.filter((e) => e.context !== 'Name update'));
- refetchUser();
+ void refetchUser();
} catch (err) {
setSaveErrors((prev) =>
prev.map((e) =>
@@ -319,7 +319,7 @@ function EditMemberDrawer({
}),
];
});
- refetchUser();
+ void refetchUser();
},
});
} else {
@@ -340,7 +340,7 @@ function EditMemberDrawer({
onComplete();
}
- refetchUser();
+ void refetchUser();
} finally {
setIsSaving(false);
}
@@ -465,7 +465,6 @@ function EditMemberDrawer({
prev.filter((err) => err.context !== 'Name update'),
);
}}
- className="edit-member-drawer__input"
placeholder="Enter name"
disabled={isRootUser || isDeleted}
/>
@@ -631,7 +630,7 @@ function EditMemberDrawer({
</div>
<div className="edit-member-drawer__footer-right">
- <Button variant="solid" color="secondary" onClick={handleClose}>
+ <Button variant="outlined" color="secondary" onClick={handleClose}>
<X size={14} />
Cancel
</Button>
@@ -641,6 +640,7 @@ function EditMemberDrawer({
color="primary"
disabled={!isDirty || isSaving || isRootUser}
onClick={handleSave}
+ loading={isSaving}
>
{isSaving ? 'Saving...' : 'Save Member Details'}
</Button>
diff --git a/frontend/src/components/EditMemberDrawer/ResetLinkDialog.tsx b/frontend/src/components/EditMemberDrawer/ResetLinkDialog.tsx
index 29d83c2fe1..523b9177db 100644
--- a/frontend/src/components/EditMemberDrawer/ResetLinkDialog.tsx
+++ b/frontend/src/components/EditMemberDrawer/ResetLinkDialog.tsx
@@ -44,9 +44,8 @@ function ResetLinkDialog({
<span className="reset-link-dialog__link-text">{resetLink}</span>
</div>
<Button
- variant="outlined"
+ variant="link"
color="secondary"
- size="sm"
onClick={onCopy}
prefix={hasCopied ? <Check size={12} /> : <Copy size={12} />}
className="reset-link-dialog__copy-btn"
diff --git a/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx b/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx
index 1e525c5488..96a3f4bab7 100644
--- a/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx
+++ b/frontend/src/components/InviteMembersModal/InviteMembersModal.tsx
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import { Style } from '@signozhq/design-tokens';
-import { ChevronDown, CircleAlert, Plus, Trash2, X } from '@signozhq/icons';
+import { ChevronDown, Plus, Trash2, X } from '@signozhq/icons';
import {
Button,
Callout,
@@ -294,10 +294,8 @@ function InviteMembersModal({
type="error"
size="small"
showIcon
- icon={<CircleAlert size={12} />}
- >
- {getValidationErrorMessage()}
- </Callout>
+ title={getValidationErrorMessage()}
+ />
</div>
)}
</div>
diff --git a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss
index 4d4a6800fa..88cb4b64c5 100644
--- a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss
+++ b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/AddKeyModal.styles.scss
@@ -87,7 +87,7 @@
input {
color: var(--l1-foreground);
- font-size: var(--font-size-sm);
+ font-size: var(--font-size-xs);
}
.ant-picker-suffix {
@@ -126,12 +126,6 @@
}
&__copy-btn {
- flex-shrink: 0;
- height: 32px;
- border-radius: 0 2px 2px 0;
- border-top: none;
- border-right: none;
- border-bottom: none;
border-left: 1px solid var(--l1-border);
min-width: 40px;
}
@@ -152,6 +146,7 @@
color: var(--foreground);
letter-spacing: 0.48px;
text-transform: uppercase;
+ margin-bottom: var(--spacing-4);
}
&__footer {
diff --git a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx
index 80109ea45f..fba7dbd228 100644
--- a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyCreatedPhase.tsx
@@ -22,9 +22,8 @@ function KeyCreatedPhase({
<div className="add-key-modal__key-display">
<span className="add-key-modal__key-text">{createdKey.key}</span>
<Button
- variant="outlined"
+ variant="link"
color="secondary"
- size="sm"
onClick={onCopy}
className="add-key-modal__copy-btn"
>
diff --git a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyFormPhase.tsx b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyFormPhase.tsx
index c02434d275..f1e25273e4 100644
--- a/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyFormPhase.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/AddKeyModal/KeyFormPhase.tsx
@@ -106,7 +106,7 @@ function KeyFormPhase({
<div className="add-key-modal__footer">
<div className="add-key-modal__footer-right">
- <Button variant="solid" color="secondary" size="sm" onClick={onClose}>
+ <Button variant="solid" color="secondary" onClick={onClose}>
Cancel
</Button>
<Button
@@ -115,7 +115,6 @@ function KeyFormPhase({
form={FORM_ID}
variant="solid"
color="primary"
- size="sm"
loading={isSubmitting}
disabled={!isValid}
>
diff --git a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx
index 080f358a00..175e21875f 100644
--- a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyForm.tsx
@@ -136,7 +136,7 @@ function EditKeyForm({
</form>
<div className="edit-key-modal__footer">
- <Button variant="ghost" color="destructive" onClick={onRevokeClick}>
+ <Button variant="link" color="destructive" onClick={onRevokeClick}>
<Trash2 size={12} />
Revoke Key
</Button>
diff --git a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss
index fb313b8626..dbbf284154 100644
--- a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss
+++ b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/EditKeyModal.styles.scss
@@ -119,7 +119,7 @@
input {
color: var(--l1-foreground);
- font-size: 13px;
+ font-size: var(--font-size-xs);
}
.ant-picker-suffix {
diff --git a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx
index d705e96623..f531c0a834 100644
--- a/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/EditKeyModal/index.tsx
@@ -20,7 +20,7 @@ import { useErrorModal } from 'providers/ErrorModalProvider';
import { useTimezone } from 'providers/Timezone';
import APIError from 'types/api/error';
-import { RevokeKeyContent } from '../RevokeKeyModal';
+import { RevokeKeyFooter } from '../RevokeKeyModal';
import EditKeyForm from './EditKeyForm';
import type { FormValues } from './types';
import { DEFAULT_FORM_VALUES, ExpiryMode } from './types';
@@ -158,17 +158,25 @@ function EditKeyModal({ keyItem }: EditKeyModalProps): JSX.Element {
}
width={isRevokeConfirmOpen ? 'narrow' : 'base'}
className={
- isRevokeConfirmOpen ? 'alert-dialog delete-dialog' : 'edit-key-modal'
+ isRevokeConfirmOpen ? 'alert-dialog sa-delete-dialog' : 'edit-key-modal'
}
showCloseButton={!isRevokeConfirmOpen}
disableOutsideClick={isErrorModalVisible}
+ footer={
+ isRevokeConfirmOpen ? (
+ <RevokeKeyFooter
+ isRevoking={isRevoking}
+ onCancel={(): void => setIsRevokeConfirmOpen(false)}
+ onConfirm={handleRevoke}
+ />
+ ) : undefined
+ }
>
{isRevokeConfirmOpen ? (
- <RevokeKeyContent
- isRevoking={isRevoking}
- onCancel={(): void => setIsRevokeConfirmOpen(false)}
- onConfirm={handleRevoke}
- />
+ <>
+ Revoking this key will permanently invalidate it. Any systems using this
+ key will lose access immediately.
+ </>
) : (
<EditKeyForm
register={register}
diff --git a/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx b/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx
index 4a9f199c04..c201e176c4 100644
--- a/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/OverviewTab.tsx
@@ -72,7 +72,6 @@ function OverviewTab({
id="sa-name"
value={localName}
onChange={(e): void => onNameChange(e.target.value)}
- className="sa-drawer__input"
placeholder="Enter name"
/>
)}
diff --git a/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx b/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx
index acee75dba1..f5f9f4bdc6 100644
--- a/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/RevokeKeyModal.tsx
@@ -17,39 +17,32 @@ import { parseAsString, useQueryState } from 'nuqs';
import { useErrorModal } from 'providers/ErrorModalProvider';
import APIError from 'types/api/error';
-export interface RevokeKeyContentProps {
+export interface RevokeKeyFooterProps {
isRevoking: boolean;
onCancel: () => void;
onConfirm: () => void;
}
-export function RevokeKeyContent({
+export function RevokeKeyFooter({
isRevoking,
onCancel,
onConfirm,
-}: RevokeKeyContentProps): JSX.Element {
+}: RevokeKeyFooterProps): JSX.Element {
return (
<>
- <p className="delete-dialog__body">
- Revoking this key will permanently invalidate it. Any systems using this key
- will lose access immediately.
- </p>
- <div className="delete-dialog__footer">
- <Button variant="solid" color="secondary" size="sm" onClick={onCancel}>
- <X size={12} />
- Cancel
- </Button>
- <Button
- variant="solid"
- color="destructive"
- size="sm"
- loading={isRevoking}
- onClick={onConfirm}
- >
- <Trash2 size={12} />
- Revoke Key
- </Button>
- </div>
+ <Button variant="solid" color="secondary" onClick={onCancel}>
+ <X size={12} />
+ Cancel
+ </Button>
+ <Button
+ variant="solid"
+ color="destructive"
+ loading={isRevoking}
+ onClick={onConfirm}
+ >
+ <Trash2 size={12} />
+ Revoke Key
+ </Button>
</>
);
}
@@ -112,15 +105,19 @@ function RevokeKeyModal(): JSX.Element {
}}
title={`Revoke ${keyName ?? 'key'}?`}
width="narrow"
- className="alert-dialog delete-dialog"
+ className="alert-dialog sa-delete-dialog"
showCloseButton={false}
disableOutsideClick={isErrorModalVisible}
+ footer={
+ <RevokeKeyFooter
+ isRevoking={isRevoking}
+ onCancel={handleCancel}
+ onConfirm={handleConfirm}
+ />
+ }
>
- <RevokeKeyContent
- isRevoking={isRevoking}
- onCancel={handleCancel}
- onConfirm={handleConfirm}
- />
+ Revoking this key will permanently invalidate it. Any systems using this key
+ will lose access immediately.
</DialogWrapper>
);
}
diff --git a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss
index 14d41e476c..a7b755d186 100644
--- a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss
+++ b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.styles.scss
@@ -57,6 +57,8 @@
color: var(--l1-foreground);
}
}
+
+ min-width: 220px;
}
&__tab {
@@ -166,18 +168,6 @@
cursor: default;
}
- &__input {
- height: 32px;
- background: var(--l2-background);
- border-color: var(--l1-border);
- color: var(--l1-foreground);
- box-shadow: none;
-
- &::placeholder {
- color: var(--l3-foreground);
- }
- }
-
&__input-wrapper {
display: flex;
align-items: center;
@@ -186,7 +176,7 @@
padding: 0 var(--padding-2);
border-radius: 2px;
background: var(--l2-background);
- border: 1px solid var(--l1-border);
+ border: 1px solid var(--border);
&--disabled {
cursor: not-allowed;
@@ -195,8 +185,8 @@
}
&__input-text {
- font-size: var(--font-size-sm);
- font-weight: var(--font-weight-normal);
+ font-size: var(--paragraph-base-400-font-size);
+ font-weight: var(--paragraph-base-400-font-weight);
color: var(--foreground);
line-height: var(--line-height-18);
letter-spacing: -0.07px;
diff --git a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx
index 15ff5c3803..e1e8ca124e 100644
--- a/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx
+++ b/frontend/src/components/ServiceAccountDrawer/ServiceAccountDrawer.tsx
@@ -129,7 +129,7 @@ function ServiceAccountDrawer({
useEffect(() => {
if (account?.id) {
setLocalName(account?.name ?? '');
- setKeysPage(1);
+ void setKeysPage(1);
}
}, [account?.id, account?.name, setKeysPage]);
@@ -176,7 +176,7 @@ function ServiceAccountDrawer({
}
const maxPage = Math.max(1, Math.ceil(keys.length / PAGE_SIZE));
if (keysPage > maxPage) {
- setKeysPage(maxPage);
+ void setKeysPage(maxPage);
}
}, [keysLoading, keys.length, keysPage, setKeysPage]);
@@ -214,8 +214,8 @@ function ServiceAccountDrawer({
data: { name: localName },
});
setSaveErrors((prev) => prev.filter((e) => e.context !== 'Name update'));
- refetchAccount();
- queryClient.invalidateQueries(getListServiceAccountsQueryKey());
+ void refetchAccount();
+ void queryClient.invalidateQueries(getListServiceAccountsQueryKey());
} catch (err) {
setSaveErrors((prev) =>
prev.map((e) =>
@@ -337,8 +337,8 @@ function ServiceAccountDrawer({
onSuccess({ closeDrawer: false });
}
- refetchAccount();
- queryClient.invalidateQueries(getListServiceAccountsQueryKey());
+ void refetchAccount();
+ void queryClient.invalidateQueries(getListServiceAccountsQueryKey());
} finally {
setIsSaving(false);
}
@@ -357,12 +357,12 @@ function ServiceAccountDrawer({
]);
const handleClose = useCallback((): void => {
- setIsDeleteOpen(null);
- setIsAddKeyOpen(null);
- setSelectedAccountId(null);
- setActiveTab(null);
- setKeysPage(null);
- setEditKeyId(null);
+ void setIsDeleteOpen(null);
+ void setIsAddKeyOpen(null);
+ void setSelectedAccountId(null);
+ void setActiveTab(null);
+ void setKeysPage(null);
+ void setEditKeyId(null);
setSaveErrors([]);
}, [
setSelectedAccountId,
@@ -379,12 +379,13 @@ function ServiceAccountDrawer({
<ToggleGroup
type="single"
value={activeTab}
+ size="sm"
onChange={(val): void => {
if (val) {
- setActiveTab(val as ServiceAccountDrawerTab);
+ void setActiveTab(val as ServiceAccountDrawerTab);
if (val !== ServiceAccountDrawerTab.Keys) {
- setKeysPage(null);
- setEditKeyId(null);
+ void setKeysPage(null);
+ void setEditKeyId(null);
}
}
}}
@@ -415,7 +416,7 @@ function ServiceAccountDrawer({
color="secondary"
disabled={isDeleted}
onClick={(): void => {
- setIsAddKeyOpen(true);
+ void setIsAddKeyOpen(true);
}}
>
<Plus size={12} />
@@ -503,7 +504,7 @@ function ServiceAccountDrawer({
variant="link"
color="destructive"
onClick={(): void => {
- setIsDeleteOpen(true);
+ void setIsDeleteOpen(true);
}}
>
<Trash2 size={12} />
@@ -512,7 +513,7 @@ function ServiceAccountDrawer({
)}
{!isDeleted && (
<div className="sa-drawer__footer-right">
- <Button variant="solid" color="secondary" onClick={handleClose}>
+ <Button variant="outlined" color="secondary" onClick={handleClose}>
<X size={14} />
Cancel
</Button>
diff --git a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss
index 02b5b83122..8de19ab0de 100644
--- a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss
+++ b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.styles.scss
@@ -78,6 +78,7 @@
display: flex;
align-items: center;
gap: var(--spacing-10);
+ padding-left: 18px;
}
.custom-domain-card-meta-row.workspace-name-hidden {
@@ -124,30 +125,6 @@
}
}
-.workspace-url-trigger {
- display: inline-flex;
- align-items: center;
- gap: var(--spacing-3);
- background: none;
- border: none;
- padding: 0;
- cursor: pointer;
- color: var(--l1-foreground);
- font-size: var(--font-size-xs);
- line-height: var(--line-height-18);
- letter-spacing: -0.06px;
-
- &:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- }
-
- svg {
- flex-shrink: 0;
- color: var(--l2-foreground);
- }
-}
-
.workspace-url-dropdown {
border-radius: 4px;
border: 1px solid var(--l1-border);
diff --git a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
index d4774a681d..31a786297f 100644
--- a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
+++ b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
@@ -204,6 +204,7 @@ export default function CustomDomainSettings(): JSX.Element {
>
<Dropdown
trigger={['click']}
+ disabled={isFetchingHosts}
dropdownRender={(): JSX.Element => (
<div className="workspace-url-dropdown">
<span className="workspace-url-dropdown-header">
@@ -239,12 +240,7 @@ export default function CustomDomainSettings(): JSX.Element {
</div>
)}
>
- <Button
- className="workspace-url-trigger"
- disabled={isFetchingHosts}
- variant="link"
- color="none"
- >
+ <Button variant="link" color="none">
<Link2 size={12} />
<span>{stripProtocol(activeHost?.url ?? '')}</span>
<ChevronDown size={12} />
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss
index ad2675eeff..2ccdfafca5 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.styles.scss
@@ -89,25 +89,4 @@
) !important;
}
}
-
- &__add-btn {
- width: 100%;
-
- // Ensure icon is visible
- svg,
- [class*='icon'] {
- color: var(--l2-foreground) !important;
- display: inline-block !important;
- opacity: 1 !important;
- }
-
- &:hover {
- color: var(--l1-foreground);
-
- svg,
- [class*='icon'] {
- color: var(--l1-foreground) !important;
- }
- }
- }
}
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.tsx
index da567658e1..588e0ad9bf 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/CreateEdit/Providers/components/DomainMappingList.tsx
@@ -69,10 +69,10 @@ function DomainMappingList({
))}
<Button
- variant="dashed"
+ variant="outlined"
+ color="secondary"
onClick={(): void => add({ domain: '', adminEmail: '' })}
prefix={<Plus size={14} />}
- className="domain-mapping-list__add-btn"
>
Add Domain Mapping
</Button>
diff --git a/frontend/src/container/RolesSettings/RolesSettings.styles.scss b/frontend/src/container/RolesSettings/RolesSettings.styles.scss
index 29abe5cdce..2dce86543d 100644
--- a/frontend/src/container/RolesSettings/RolesSettings.styles.scss
+++ b/frontend/src/container/RolesSettings/RolesSettings.styles.scss
@@ -51,35 +51,6 @@
border-radius: 2px;
}
}
-
- // todo: https://github.com/SigNoz/components/issues/116
- .roles-search-wrapper {
- flex: 1;
-
- input {
- width: 100%;
- background: var(--l3-background);
- border: 1px solid var(--l1-border);
- border-radius: 2px;
- padding: 6px 6px 6px 8px;
- font-family: Inter;
- font-size: 14px;
- font-weight: 400;
- line-height: 18px;
- letter-spacing: -0.07px;
- color: var(--l1-foreground);
- outline: none;
- height: 32px;
-
- &::placeholder {
- color: var(--l3-foreground);
- }
-
- &:focus {
- border-color: var(--input);
- }
- }
- }
}
.roles-description-tooltip {
diff --git a/frontend/src/container/RolesSettings/RolesSettings.tsx b/frontend/src/container/RolesSettings/RolesSettings.tsx
index 7288729be7..59b5e0af5e 100644
--- a/frontend/src/container/RolesSettings/RolesSettings.tsx
+++ b/frontend/src/container/RolesSettings/RolesSettings.tsx
@@ -22,14 +22,12 @@ function RolesSettings(): JSX.Element {
</div>
<div className="roles-settings-content">
<div className="roles-settings-toolbar">
- <div className="roles-search-wrapper">
- <Input
- type="search"
- placeholder="Search for roles..."
- value={searchQuery}
- onChange={(e): void => setSearchQuery(e.target.value)}
- />
- </div>
+ <Input
+ type="search"
+ placeholder="Search for roles..."
+ value={searchQuery}
+ onChange={(e): void => setSearchQuery(e.target.value)}
+ />
{IS_ROLE_DETAILS_AND_CRUD_ENABLED && (
<Button
variant="solid"
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss
index f18bb20df7..a1d5d73e8c 100644
--- a/frontend/src/styles.scss
+++ b/frontend/src/styles.scss
@@ -720,6 +720,10 @@ notifications - 2050
animation: spin 1s linear infinite;
}
+.animate-fast-spin {
+ animation: spin 0.5s linear infinite;
+}
+
// Custom legend tooltip for immediate display
.legend-tooltip {
position: fixed;
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index d4efb75805..46231be86e 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -5586,10 +5586,10 @@
tailwind-merge "^2.5.2"
tailwindcss-animate "^1.0.7"
-"@signozhq/[email protected]":
- version "0.0.10"
- resolved "https://registry.yarnpkg.com/@signozhq/ui/-/ui-0.0.10.tgz#cdbab838f8cb543cf5b483a86e9d9b65265b81ff"
- integrity sha512-XLeET+PgSP7heqKMsb9YZOSRT3TpfMPHNQRnY1I4SK8mXSct7BYWwK0Q3Je0uf4Z3aWOcpRYoRUPHWZQBpweFQ==
+"@signozhq/[email protected]":
+ version "0.0.12"
+ resolved "https://registry.yarnpkg.com/@signozhq/ui/-/ui-0.0.12.tgz#b623c1729a0d85532d555fe7e756f3a4207e8e5d"
+ integrity sha512-69XS/j9R+uTNMdupyjki/WK1j0d5K5j0/pJrINGiteQRRrPg/AOMue7v/W6dkLICRhXcz/mgI6tLeT2FAuzKFw==
dependencies:
"@chenglou/pretext" "^0.0.5"
"@radix-ui/react-checkbox" "^1.2.3"
@@ -5611,7 +5611,7 @@
clsx "^2.1.1"
cmdk "^1.1.1"
dayjs "^1.11.10"
- lodash-es "^4.17.21"
+ lodash-es "^4.18.1"
motion "^11.11.17"
next-themes "^0.4.6"
nuqs "^2.8.9"
@@ -13291,6 +13291,11 @@ lodash-es@4, lodash-es@^4.17.21:
resolved "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz"
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==
+lodash-es@^4.18.1:
+ version "4.18.1"
+ resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.18.1.tgz#b962eeb80d9d983a900bf342961fb7418ca10b1d"
+ integrity sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==
+
lodash.camelcase@^4.3.0:
version "4.3.0"
resolved "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz"