feat: system admin blocklist table (#25039)

* feat: system admin blocklist table

* chore: text

* fix: type error

* fix: type error

* fix: type error

* fix: frontend bug

* chore: improvments

* refactor: use shared components

* refactor: improvements

* fix: delete

* refactor: support multiple watchlist

* chore: update translation

* fix: type err

* fix: bulk bug

* tests: add unit test

* refactor: file

* refactor: file

* fix: type error

* fix: type error

* chore: translation

* refactor: use shared comments

* fix: imports

* fix: type error
This commit is contained in:
Udit Takkar authored and GitHub committed 2026-01-09 08:19:54 -03:00
1 parent d865f6cb5f
commit 0330d14210
34 files changed
+1970 -633

No files matched your search

@@ -0,0 +1,24 @@
import { _generateMetadata, getTranslate } from "app/_utils";
import SystemBlocklistView from "@calcom/features/ee/admin/pages/settings/blocklist";
import SettingsHeader from "@calcom/features/settings/appDir/SettingsHeader";
export const generateMetadata = async () =>
await _generateMetadata(
(t) => t("system_blocklist"),
(t) => t("system_blocklist_description"),
undefined,
undefined,
"/settings/admin/blocklist"
);
const Page = async () => {
const t = await getTranslate();
return (
<SettingsHeader title={t("system_blocklist")} description={t("system_blocklist_description")}>
<SystemBlocklistView />
</SettingsHeader>
);
};
export default Page;
@@ -240,6 +240,11 @@ const getTabs = (orgBranding: OrganizationBranding | null) => {
href: "/settings/admin/lockedSMS",
trackingMetadata: { section: "admin", page: "locked_sms" },
},
{
name: "pbac_resource_blocklist",
href: "/settings/admin/blocklist",
trackingMetadata: { section: "admin", page: "blocklist" },
},
{
name: "oAuth",
href: "/settings/admin/oAuth",