From 3ff8729295f0139928ff3001dc355111b19d87ba Mon Sep 17 00:00:00 2001 From: Jordan Wong <42422209+JorWo@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:38:23 -1000 Subject: [PATCH] Implement email stack trace (#9) --- ui/.eslintrc.json | 2 +- ui/src/app/about/page.tsx | 3 +- ui/src/components/layout/navbar/Navbar.tsx | 2 +- ui/src/services/EmailService.ts | 22 ++- ui/src/services/FetchService.ts | 155 ++++++++++++---- ui/tests/app/about/About.test.tsx | 5 +- ui/tests/services/EmailService.test.ts | 27 ++- ui/tests/services/GroupingsApiService.test.ts | 165 +++++++++++++----- 8 files changed, 298 insertions(+), 83 deletions(-) diff --git a/ui/.eslintrc.json b/ui/.eslintrc.json index c0ce4add..a0f304c1 100644 --- a/ui/.eslintrc.json +++ b/ui/.eslintrc.json @@ -27,7 +27,7 @@ "eslint-plugin-tsdoc" ], "rules": { - "@stylistic/max-len": ["error", { "code": 120 }], + "@stylistic/max-len": ["warn", { "code": 120 }], "@stylistic/indent": ["error", 4], "@stylistic/eol-last": ["error", "always"], "@stylistic/quotes": ["error", "single", { "allowTemplateLiterals": true }], diff --git a/ui/src/app/about/page.tsx b/ui/src/app/about/page.tsx index 5d95aba3..48302376 100644 --- a/ui/src/app/about/page.tsx +++ b/ui/src/app/about/page.tsx @@ -60,8 +60,7 @@ const About = () => (

How do I request a new grouping?

A request form is available.

diff --git a/ui/src/components/layout/navbar/Navbar.tsx b/ui/src/components/layout/navbar/Navbar.tsx index 6c4b1504..a775626b 100644 --- a/ui/src/components/layout/navbar/Navbar.tsx +++ b/ui/src/components/layout/navbar/Navbar.tsx @@ -10,7 +10,7 @@ const Navbar = async () => { const currentUser = await getCurrentUser(); return ( -