Skip to content

Commit

Permalink
fix(web): Fix monitoring ids (novuhq#6150)
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-kralj-novu authored Jul 26, 2024
1 parent 95db147 commit 090bb87
Show file tree
Hide file tree
Showing 12 changed files with 114 additions and 592 deletions.
104 changes: 42 additions & 62 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,16 @@
"antd",
"anthonybaxter",
"anticon",
"apidevtools",
"apikey",
"appendonly",
"ARGB",
"arobj",
"arpa",
"asdas",
"atext",
"attatchment",
"Attatchment",
"authres",
"authserv",
"autobuild",
Expand Down Expand Up @@ -71,6 +75,7 @@
"canonicalized",
"chartjs",
"cheaders",
"Chmara",
"chsh",
"cidrlength",
"cidrmatch",
Expand Down Expand Up @@ -100,8 +105,7 @@
"Consolas",
"consts",
"containerd",
"Mobishastra",
"mobishastra",
"contenteditable",
"cpack",
"Craco",
"crossorigin",
Expand All @@ -119,12 +123,14 @@
"dedup",
"deduplicated",
"defexps",
"deliverytime",
"dependabot",
"devcontainer",
"devcontainers",
"devs",
"Dima",
"dinfo",
"directcss",
"Dispatchable",
"dkimpy",
"dnscount",
Expand Down Expand Up @@ -156,6 +162,7 @@
"Embeddable",
"Emek",
"EMSA",
"EMUI",
"endgroup",
"enroute",
"envalid",
Expand Down Expand Up @@ -183,11 +190,14 @@
"firsttris",
"fjogeleit",
"flowwer",
"focusable",
"fontawesome",
"FORMERR",
"fortawesome",
"frameworkterminal",
"fullname",
"functionaly",
"ganalytics",
"Gathman",
"Generatethemailsendrequest",
"gethostname",
Expand All @@ -198,6 +208,7 @@
"ghaction",
"globby",
"googlemail",
"grayscale",
"Greenkeeper",
"Grossman",
"GROUP_BY",
Expand All @@ -214,6 +225,7 @@
"hextets",
"hgcheck",
"hgignore",
"hljs",
"hmac",
"hokify",
"hookform",
Expand All @@ -222,9 +234,11 @@
"hotmail",
"hset",
"hstack",
"htmlonly",
"hubspot",
"Hygen",
"IAPNS",
"ical",
"Icann",
"Idand",
"idempotency",
Expand All @@ -248,6 +262,7 @@
"isequal",
"istanbuljs",
"iterhosts",
"jpath",
"Kamil",
"kannel",
"keybase",
Expand All @@ -268,6 +283,7 @@
"libauth",
"libspf",
"limitbar",
"liquidjs",
"livemode",
"localforage",
"localstack",
Expand Down Expand Up @@ -305,12 +321,16 @@
"middlewares",
"Millis",
"minkey",
"mintlify",
"MINTLIFY",
"mispelled",
"MITM",
"MJML",
"mkdir",
"mkdocs",
"mlen",
"mobishastra",
"Mobishastra",
"moby",
"Modiin",
"modlen",
Expand All @@ -328,6 +348,7 @@
"Munpacker",
"mxlookup",
"mxnames",
"myicon",
"Myśliwiec",
"nameserver",
"nbits",
Expand All @@ -342,6 +363,8 @@
"nexmo",
"nextjs",
"nikolaik",
"nimma",
"Nimma",
"nindent",
"njsproj",
"nocheck",
Expand All @@ -350,8 +373,10 @@
"nodrag",
"NOERROR",
"noninteractive",
"norender",
"nosniff",
"NOTAUTH",
"notif",
"NOTIFGROUPID",
"notifire",
"NOTIMP",
Expand Down Expand Up @@ -403,6 +428,7 @@
"PKCS",
"pkdata",
"Placeholdable",
"playerids",
"plivo",
"Plivo",
"plusplus",
Expand Down Expand Up @@ -477,7 +503,10 @@
"righthand",
"rimraf",
"ringcentral",
"rjsf",
"RJSF",
"Roboto",
"rrggbb",
"RSASSA",
"runtimes",
"ryver",
Expand Down Expand Up @@ -546,10 +575,13 @@
"subjectsthum",
"sublist",
"subnetmask",
"subresource",
"superagent",
"supernet",
"supertest",
"suported",
"tabnannied",
"tailwindcss",
"tanstack",
"TASKFORCESH",
"Tcpip",
Expand All @@ -561,8 +593,10 @@
"templating",
"Termii",
"testapp",
"testmode",
"testnovu",
"TESTTTT",
"textareas",
"tfstate",
"timelimit",
"timethen",
Expand All @@ -585,11 +619,15 @@
"tspan",
"tsup",
"TTFB",
"TVVV",
"Twilio",
"Twillio",
"typedoc",
"typemap",
"typeof",
"Udnw",
"unarchived",
"Unarchived",
"Unfetch",
"Unpromoted",
"unpublish",
Expand All @@ -608,76 +646,18 @@
"vercel",
"verifyspf",
"Vonage",
"vstack",
"WaitList",
"webfontloader",
"webpush",
"rjsf",
"RJSF",
"norender",
"Webpush",
"websockets",
"whatsapp",
"whatsappbusiness",
"xcodebuild",
"xkeysib",
"firestore",
"firsttris",
"esbenp",
"npmjs",
"maxage",
"unpublish",
"decompile",
"servername",
"neom",
"protonmail",
"automerge",
"novui",
"tsup",
"pandabox",
"hljs",
"MINTLIFY",
"mintlify",
"marocchino",
"amannn",
"pandabox",
"zulip",
"zwnj",
"prepush",
"xcodebuild",
"vstack",
"nimma",
"jpath",
"Nimma",
"jpath",
"vstack",
"liquidjs",
"tailwindcss",
"focusable",
"textareas",
"frameworkterminal",
"unarchived",
"Unarchived",
"grayscale",
"directcss",
"deliverytime",
"testmode",
"attatchment",
"Attatchment",
"ical",
"ganalytics",
"myicon",
"rrggbb",
"playerids",
"TVVV",
"Udnw",
"ARGB",
"EMUI",
"notif",
"suported",
"subresource",
"htmlonly",
"apidevtools",
"contenteditable"
"zwnj"
],
"flagWords": [],
"patterns": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const CommunityAuthProvider = ({ children }: { children: React.ReactNode
reloadOrganization,
} as AuthContextValue;
/*
* The previous assestion is necessary as Boolean and true or false discriminating unions
* The 'as AuthContextValue' is necessary as Boolean and true or false discriminating unions
* don't work with inference. See here https://github.com/microsoft/TypeScript/issues/19360
*
* Alternatively, we will have to conditionally generate the value object based on the isLoaded values.
Expand Down
1 change: 0 additions & 1 deletion apps/web/src/components/utils/ProductLead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ export const ProductLead = ({
variant?: ProductLeadVariants;
style?: CSSProperties;
}) => {
const { currentUser } = useAuth();
const [open, setOpen] = useLocalStorage<boolean>({
key: id,
defaultValue: true,
Expand Down
1 change: 0 additions & 1 deletion apps/web/src/ee/billing/utils/hooks/useSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useQuery } from '@tanstack/react-query';
import { useMemo } from 'react';
import { differenceInDays, isSameDay } from 'date-fns';
import { ApiServiceLevelEnum } from '@novu/shared';
import { useEnvironment } from '../../../../hooks/useEnvironment';

export const useSubscription = () => {
// TODO: Fix with a useMemo
Expand Down
Loading

0 comments on commit 090bb87

Please sign in to comment.