From feb5328e1714be6c72ceefb8d6e0a8827680c3c2 Mon Sep 17 00:00:00 2001 From: roshni73 Date: Wed, 27 Mar 2024 15:59:21 +0545 Subject: [PATCH 1/6] Add Alert Table columns event, event category, region, country, admin and view details in the table --- codegen.yml | 4 + generated/schema.json | 0 generated/types.ts | 0 index.html | 2 +- package.json | 166 +-- src/hooks/useFilterState.ts | 205 +++ src/utils/domain/CountryLink/index.tsx | 19 + src/utils/domain/RegionLink/index.tsx | 19 + src/utils/domain/tableHelpers.ts | 139 ++ src/views/AlertTable/i18n.json | 13 + src/views/AlertTable/index.tsx | 176 +++ src/views/AlertTable/styles.module.css | 20 + src/views/Home/index.tsx | 27 +- types.stub.ts | 14 + ....timestamp-1712217042372-21fcd90e640fb.mjs | 65 + yarn.lock | 1253 +++++++++++++++-- 16 files changed, 1936 insertions(+), 186 deletions(-) create mode 100644 generated/schema.json create mode 100644 generated/types.ts create mode 100644 src/hooks/useFilterState.ts create mode 100644 src/utils/domain/CountryLink/index.tsx create mode 100644 src/utils/domain/RegionLink/index.tsx create mode 100644 src/utils/domain/tableHelpers.ts create mode 100644 src/views/AlertTable/i18n.json create mode 100644 src/views/AlertTable/index.tsx create mode 100644 src/views/AlertTable/styles.module.css create mode 100644 vite.config.ts.timestamp-1712217042372-21fcd90e640fb.mjs diff --git a/codegen.yml b/codegen.yml index c658bbf3..77fc1ec3 100644 --- a/codegen.yml +++ b/codegen.yml @@ -14,4 +14,8 @@ generates: - "typescript-operations" ./generated/schema.json: plugins: +<<<<<<< HEAD - "introspection" +======= + - "introspection" +>>>>>>> 7246516 (Add Alert Table columns event, event category, region, country, admin and view details in the table) diff --git a/generated/schema.json b/generated/schema.json new file mode 100644 index 00000000..e69de29b diff --git a/generated/types.ts b/generated/types.ts new file mode 100644 index 00000000..e69de29b diff --git a/index.html b/index.html index 2bb6f3f9..2749213d 100644 --- a/index.html +++ b/index.html @@ -66,7 +66,7 @@
- %APP_TITLE% loading... + ALERT HUB