From 3af6f9b99d97e64461da330eb146c6e1856013c5 Mon Sep 17 00:00:00 2001 From: felipe torres Date: Mon, 1 Jul 2024 15:50:12 -0700 Subject: [PATCH 1/6] Adding pagination helpers --- .vscode/settings.json | 3 + app/components/Navbar/MainNav.tsx | 8 +- app/components/Navbar/NavbarItem.tsx | 52 ++-- app/components/Navbar/index.tsx | 104 ++++--- app/components/Navbar/types.d.ts | 1 + app/components/sharedLayouts/index.tsx | 5 + app/routes/_authenticated/graphiql/index.tsx | 274 +++++++++++++++++++ app/routes/_authenticated/tickets/index.tsx | 9 + app/utils/urls.ts | 3 + package-lock.json | 2 +- package.json | 2 +- 11 files changed, 391 insertions(+), 72 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 app/components/sharedLayouts/index.tsx create mode 100644 app/routes/_authenticated/graphiql/index.tsx create mode 100644 app/routes/_authenticated/tickets/index.tsx diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..25fa621 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "typescript.tsdk": "node_modules/typescript/lib" +} diff --git a/app/components/Navbar/MainNav.tsx b/app/components/Navbar/MainNav.tsx index a18e839..87cdb02 100644 --- a/app/components/Navbar/MainNav.tsx +++ b/app/components/Navbar/MainNav.tsx @@ -11,9 +11,11 @@ export function MainNav({ items }: NavBarProps) { return (