Skip to content

Commit 98293c9

Browse files
committed
removed isLoading prop drilling and RR linking in materials page
1 parent 97f966a commit 98293c9

33 files changed

Lines changed: 1087 additions & 390 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
This folder stores temp files that Docusaurus' client bundler accesses.
2+
3+
DO NOT hand-modify files in this folder because they will be overwritten in the
4+
next build. You can clear all build artifacts (including this folder) with the
5+
`docusaurus clear` command.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default [
2+
require("/Users/chrispyle/NER/FinishLine/node_modules/infima/dist/css/default/default.css"),
3+
require("/Users/chrispyle/NER/FinishLine/docs-site/node_modules/@docusaurus/theme-classic/lib/prism-include-languages"),
4+
require("/Users/chrispyle/NER/FinishLine/docs-site/node_modules/@docusaurus/theme-classic/lib/nprogress"),
5+
require("/Users/chrispyle/NER/FinishLine/docs-site/src/css/custom.css"),
6+
];
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"options":{"sidebarPath":"/Users/chrispyle/NER/FinishLine/docs-site/sidebars.js","editUrl":"https://github.com/Northeastern-Electric-Racing/FinishLine/edit/main/docs-site/","path":"docs","editCurrentVersion":false,"editLocalizedFiles":false,"routeBasePath":"docs","tagsBasePath":"tags","include":["**/*.{md,mdx}"],"exclude":["**/_*.{js,jsx,ts,tsx,md,mdx}","**/_*/**","**/*.test.{js,jsx,ts,tsx}","**/__tests__/**"],"sidebarCollapsible":true,"sidebarCollapsed":true,"docsRootComponent":"@theme/DocsRoot","docVersionRootComponent":"@theme/DocVersionRoot","docRootComponent":"@theme/DocRoot","docItemComponent":"@theme/DocItem","docTagsListComponent":"@theme/DocTagsListPage","docTagDocListComponent":"@theme/DocTagDocListPage","docCategoryGeneratedIndexComponent":"@theme/DocCategoryGeneratedIndexPage","remarkPlugins":[],"rehypePlugins":[],"recmaPlugins":[],"beforeDefaultRemarkPlugins":[],"beforeDefaultRehypePlugins":[],"admonitions":true,"showLastUpdateTime":false,"showLastUpdateAuthor":false,"includeCurrentVersion":true,"disableVersioning":false,"versions":{},"breadcrumbs":true,"onInlineTags":"warn","id":"default"},"versionsMetadata":[{"versionName":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","path":"/docs","tagsPath":"/docs/tags","editUrl":"https://github.com/Northeastern-Electric-Racing/FinishLine/edit/main/docs-site/docs","isLast":true,"routePriority":-1,"sidebarFilePath":"/Users/chrispyle/NER/FinishLine/docs-site/sidebars.js","contentPath":"/Users/chrispyle/NER/FinishLine/docs-site/docs"}]}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "docusaurus-plugin-content-docs",
3+
"id": "default"
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"link","href":"/docs/intro","label":"Introduction","docId":"intro","unlisted":false},{"type":"category","label":"General Practices","items":[{"type":"link","href":"/docs/general-practices/backend-endpoints","label":"Backend Endpoints","docId":"general-practices/backend-endpoints","unlisted":false},{"type":"link","href":"/docs/general-practices/frontend-forms","label":"Frontend Forms","docId":"general-practices/frontend-forms","unlisted":false},{"type":"link","href":"/docs/general-practices/frontend-hooks-and-apis","label":"Frontend Hooks and APIs","docId":"general-practices/frontend-hooks-and-apis","unlisted":false},{"type":"link","href":"/docs/general-practices/postman-api-testing","label":"Postman API Testing","docId":"general-practices/postman-api-testing","unlisted":false},{"type":"link","href":"/docs/general-practices/prisma-schema-shared-types","label":"Prisma Schema and Shared Types","docId":"general-practices/prisma-schema-shared-types","unlisted":false},{"type":"link","href":"/docs/general-practices/query-args-and-transformers","label":"Query Args and Transformers","docId":"general-practices/query-args-and-transformers","unlisted":false},{"type":"link","href":"/docs/general-practices/react-components","label":"React Components","docId":"general-practices/react-components","unlisted":false},{"type":"link","href":"/docs/general-practices/repository-overview","label":"Repository Overview","docId":"general-practices/repository-overview","unlisted":false}],"collapsed":true,"collapsible":true}]},"docs":{"general-practices/backend-endpoints":{"id":"general-practices/backend-endpoints","title":"Backend Endpoints","description":"Guide for creating backend API endpoints in FinishLine following the Route → Controller → Service pattern with multi-tenant security. Use when creating new endpoints, adding API routes, implementing controllers or services, building backend request handlers, or when asked how the backend works.","sidebar":"tutorialSidebar"},"general-practices/frontend-forms":{"id":"general-practices/frontend-forms","title":"Frontend Forms","description":"Guide for building forms in FinishLine using React Hook Form with MUI components and the NERFormModal abstraction. Covers useForm setup, Controller wrapping, create vs edit mode, form-modal reset lifecycle, and shared form field components. Use when creating new forms, adding form fields, building create/edit modals, working with React Hook Form, or debugging form state issues. NEVER use useEffect to sync form state.","sidebar":"tutorialSidebar"},"general-practices/frontend-hooks-and-apis":{"id":"general-practices/frontend-hooks-and-apis","title":"Frontend Hooks and APIs","description":"Guide for creating React Query hooks and Axios API client functions in FinishLine. Covers query hooks, mutation hooks, API functions, query keys, cache invalidation, toast notifications, and frontend transformers. Use when creating new hooks, adding API calls, writing query or mutation hooks, working with React Query, implementing cache invalidation, or when asked how frontend data fetching works.","sidebar":"tutorialSidebar"},"general-practices/postman-api-testing":{"id":"general-practices/postman-api-testing","title":"Postman API Testing","description":"Guide for using Postman to test and interact with the FinishLine API during development. Use when testing API endpoints, debugging backend issues, verifying request/response formats, or when asked how to use Postman with the local development environment.","sidebar":"tutorialSidebar"},"general-practices/prisma-schema-shared-types":{"id":"general-practices/prisma-schema-shared-types","title":"Prisma Schema and Shared Types","description":"Guide for defining Prisma data models and keeping shared TypeScript types in sync in FinishLine. Covers schema conventions, enum patterns, multi-tenant organizationId scoping, the migration workflow, and the shared type barrel export. Use when adding new database models, creating or editing Prisma schema, defining shared types or interfaces, adding enums, running migrations, or when asked how the data layer works.","sidebar":"tutorialSidebar"},"general-practices/query-args-and-transformers":{"id":"general-practices/query-args-and-transformers","title":"Query Args and Transformers","description":"Guide for Prisma query args and transformer functions in FinishLine. Query args define reusable select/include objects for Prisma queries. Transformers convert Prisma results into shared types for the API. Use when creating query args, writing transformers, fetching data from Prisma for API responses, or when asked how data flows from the database to the frontend.","sidebar":"tutorialSidebar"},"general-practices/react-components":{"id":"general-practices/react-components","title":"React Components","description":"Guide for building and organizing React components in FinishLine. Covers shared vs page-specific component decisions, prop interface design, MUI sx styling, styled() MUI extensions, stateless component patterns, and the container/view split. Use when creating new React components, refactoring UI code, deciding where a component belongs, or when asked about component architecture or styling conventions.","sidebar":"tutorialSidebar"},"general-practices/repository-overview":{"id":"general-practices/repository-overview","title":"Repository Overview","description":"High-level overview of the FinishLine monorepo structure, tech stack, tools, and how they work together. Use when onboarding to the codebase, asking about the project structure, wondering what technology FinishLine uses, asking where files live, or needing to understand how the frontend, backend, and shared packages relate to each other.","sidebar":"tutorialSidebar"},"intro":{"id":"intro","title":"Introduction","description":"Welcome to the FinishLine developer documentation","sidebar":"tutorialSidebar"}}}}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "general-practices/backend-endpoints",
3+
"title": "Backend Endpoints",
4+
"description": "Guide for creating backend API endpoints in FinishLine following the Route → Controller → Service pattern with multi-tenant security. Use when creating new endpoints, adding API routes, implementing controllers or services, building backend request handlers, or when asked how the backend works.",
5+
"source": "@site/docs/general-practices/backend-endpoints.md",
6+
"sourceDirName": "general-practices",
7+
"slug": "/general-practices/backend-endpoints",
8+
"permalink": "/docs/general-practices/backend-endpoints",
9+
"draft": false,
10+
"unlisted": false,
11+
"editUrl": "https://github.com/Northeastern-Electric-Racing/FinishLine/edit/main/docs-site/docs/general-practices/backend-endpoints.md",
12+
"tags": [],
13+
"version": "current",
14+
"frontMatter": {
15+
"title": "Backend Endpoints",
16+
"description": "Guide for creating backend API endpoints in FinishLine following the Route → Controller → Service pattern with multi-tenant security. Use when creating new endpoints, adding API routes, implementing controllers or services, building backend request handlers, or when asked how the backend works.",
17+
"skill": true,
18+
"skill_name": "backend-endpoints"
19+
},
20+
"sidebar": "tutorialSidebar",
21+
"previous": {
22+
"title": "Introduction",
23+
"permalink": "/docs/intro"
24+
},
25+
"next": {
26+
"title": "Frontend Forms",
27+
"permalink": "/docs/general-practices/frontend-forms"
28+
}
29+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "general-practices/frontend-forms",
3+
"title": "Frontend Forms",
4+
"description": "Guide for building forms in FinishLine using React Hook Form with MUI components and the NERFormModal abstraction. Covers useForm setup, Controller wrapping, create vs edit mode, form-modal reset lifecycle, and shared form field components. Use when creating new forms, adding form fields, building create/edit modals, working with React Hook Form, or debugging form state issues. NEVER use useEffect to sync form state.",
5+
"source": "@site/docs/general-practices/frontend-forms.md",
6+
"sourceDirName": "general-practices",
7+
"slug": "/general-practices/frontend-forms",
8+
"permalink": "/docs/general-practices/frontend-forms",
9+
"draft": false,
10+
"unlisted": false,
11+
"editUrl": "https://github.com/Northeastern-Electric-Racing/FinishLine/edit/main/docs-site/docs/general-practices/frontend-forms.md",
12+
"tags": [],
13+
"version": "current",
14+
"frontMatter": {
15+
"title": "Frontend Forms",
16+
"description": "Guide for building forms in FinishLine using React Hook Form with MUI components and the NERFormModal abstraction. Covers useForm setup, Controller wrapping, create vs edit mode, form-modal reset lifecycle, and shared form field components. Use when creating new forms, adding form fields, building create/edit modals, working with React Hook Form, or debugging form state issues. NEVER use useEffect to sync form state.",
17+
"skill": true,
18+
"skill_name": "frontend-forms"
19+
},
20+
"sidebar": "tutorialSidebar",
21+
"previous": {
22+
"title": "Backend Endpoints",
23+
"permalink": "/docs/general-practices/backend-endpoints"
24+
},
25+
"next": {
26+
"title": "Frontend Hooks and APIs",
27+
"permalink": "/docs/general-practices/frontend-hooks-and-apis"
28+
}
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "general-practices/frontend-hooks-and-apis",
3+
"title": "Frontend Hooks and APIs",
4+
"description": "Guide for creating React Query hooks and Axios API client functions in FinishLine. Covers query hooks, mutation hooks, API functions, query keys, cache invalidation, toast notifications, and frontend transformers. Use when creating new hooks, adding API calls, writing query or mutation hooks, working with React Query, implementing cache invalidation, or when asked how frontend data fetching works.",
5+
"source": "@site/docs/general-practices/frontend-hooks-and-apis.md",
6+
"sourceDirName": "general-practices",
7+
"slug": "/general-practices/frontend-hooks-and-apis",
8+
"permalink": "/docs/general-practices/frontend-hooks-and-apis",
9+
"draft": false,
10+
"unlisted": false,
11+
"editUrl": "https://github.com/Northeastern-Electric-Racing/FinishLine/edit/main/docs-site/docs/general-practices/frontend-hooks-and-apis.md",
12+
"tags": [],
13+
"version": "current",
14+
"frontMatter": {
15+
"title": "Frontend Hooks and APIs",
16+
"description": "Guide for creating React Query hooks and Axios API client functions in FinishLine. Covers query hooks, mutation hooks, API functions, query keys, cache invalidation, toast notifications, and frontend transformers. Use when creating new hooks, adding API calls, writing query or mutation hooks, working with React Query, implementing cache invalidation, or when asked how frontend data fetching works.",
17+
"skill": true,
18+
"skill_name": "frontend-hooks-and-apis"
19+
},
20+
"sidebar": "tutorialSidebar",
21+
"previous": {
22+
"title": "Frontend Forms",
23+
"permalink": "/docs/general-practices/frontend-forms"
24+
},
25+
"next": {
26+
"title": "Postman API Testing",
27+
"permalink": "/docs/general-practices/postman-api-testing"
28+
}
29+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"id": "general-practices/postman-api-testing",
3+
"title": "Postman API Testing",
4+
"description": "Guide for using Postman to test and interact with the FinishLine API during development. Use when testing API endpoints, debugging backend issues, verifying request/response formats, or when asked how to use Postman with the local development environment.",
5+
"source": "@site/docs/general-practices/postman-api-testing.md",
6+
"sourceDirName": "general-practices",
7+
"slug": "/general-practices/postman-api-testing",
8+
"permalink": "/docs/general-practices/postman-api-testing",
9+
"draft": false,
10+
"unlisted": false,
11+
"editUrl": "https://github.com/Northeastern-Electric-Racing/FinishLine/edit/main/docs-site/docs/general-practices/postman-api-testing.md",
12+
"tags": [],
13+
"version": "current",
14+
"frontMatter": {
15+
"title": "Postman API Testing",
16+
"description": "Guide for using Postman to test and interact with the FinishLine API during development. Use when testing API endpoints, debugging backend issues, verifying request/response formats, or when asked how to use Postman with the local development environment.",
17+
"skill": false
18+
},
19+
"sidebar": "tutorialSidebar",
20+
"previous": {
21+
"title": "Frontend Hooks and APIs",
22+
"permalink": "/docs/general-practices/frontend-hooks-and-apis"
23+
},
24+
"next": {
25+
"title": "Prisma Schema and Shared Types",
26+
"permalink": "/docs/general-practices/prisma-schema-shared-types"
27+
}
28+
}

0 commit comments

Comments
 (0)