# iasjkk/qa_testing architecture

> Architecture diagram of the GitHub repository iasjkk/qa_testing, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/iasjkk/qa_testing
- Repository: https://github.com/iasjkk/qa_testing

## Overview

This is a browser-based QA management dashboard. Users sign in, choose a product and testing profile, complete either a scored evaluator session or an evidence-only tester session, and save submissions for review and reporting. The same SPA also supports product/account/profile administration, planner tasks, tickets, notifications, and activity history. App.jsx contains the principal UI and domain workflows; db.js selects localStorage or Supabase persistence, while Google Drive is an optional photo and activity-log backend. Several feature details come from the README because the corresponding App.jsx sections were not sampled.

Main entry points: [`src/db.js`](https://github.com/iasjkk/qa_testing/blob/main/src/db.js) (Data access layer), [`src/App.jsx`](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx) (Testing sessions), [`src/LoginPage.jsx`](https://github.com/iasjkk/qa_testing/blob/main/src/LoginPage.jsx) (Sign-in), [`src/drive.js`](https://github.com/iasjkk/qa_testing/blob/main/src/drive.js) (Drive client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["QA workflow"]
  node_login["Sign-in<br/>[LoginPage.jsx]"]
  node_dashboard["Dashboard shell<br/>[App.jsx]"]
  node_session["Testing sessions<br/>[App.jsx]"]
  node_questionbank["Question sets<br/>[questions.js]"]
  node_review["Submission review<br/>[App.jsx]"]
  node_reports["Reports<br/>[App.jsx]"]
end

subgraph group_management["Team management"]
  node_products["Products and access<br/>[App.jsx]"]
  node_accounts["Accounts and roles<br/>[App.jsx]"]
  node_profiles["Testing profiles<br/>[App.jsx]"]
  node_planner["Planner board<br/>[App.jsx]"]
  node_tickets["Tickets<br/>[App.jsx]"]
  node_notifications["Notifications<br/>[App.jsx]"]
  node_activity["Activity log<br/>[App.jsx]"]
end

subgraph group_data["Data and storage"]
  node_auth[("Session and local data<br/>[auth.js]")]
  node_dataaccess["Data access layer<br/>[db.js]"]
  node_config["Backend configuration<br/>[config.js]"]
end

subgraph group_integrations["External integrations"]
  node_supabaseclient["Supabase client<br/>[supabase.js]"]
  node_supabase[("Supabase database")]
  node_driveclient["Drive client<br/>[drive.js]"]
  node_apps_script["Apps Script"]
  node_google_drive[("Google Drive")]
end

node_user(("QA user"))

node_user -->|"signs in"| node_login
node_login -->|"authenticates via"| node_dataaccess
node_login -->|"saves session"| node_auth
node_dashboard -->|"renders"| node_login
node_dashboard -->|"starts and saves"| node_session
node_session -->|"uses defaults"| node_questionbank
node_session -->|"saves submissions"| node_dataaccess
node_review -->|"loads and updates"| node_dataaccess
node_reports -->|"loads submissions"| node_dataaccess
node_products -->|"manages products"| node_dataaccess
node_accounts -->|"manages accounts"| node_dataaccess
node_profiles -->|"manages profiles"| node_dataaccess
node_planner -->|"manages tasks"| node_dataaccess
node_tickets -->|"manages tickets"| node_dataaccess
node_notifications -->|"reads and updates"| node_dataaccess
node_activity -->|"records activity"| node_dataaccess
node_dataaccess -->|"uses local backend"| node_auth
node_dataaccess -->|"selects backend"| node_config
node_dataaccess -->|"queries when configured"| node_supabaseclient
node_supabaseclient -.->|"connects to"| node_supabase
node_dataaccess -->|"delegates log storage"| node_driveclient
node_session -->|"uploads photos"| node_driveclient
node_driveclient -->|"posts actions"| node_apps_script
node_apps_script -->|"stores photos and logs"| node_google_drive

click node_login "https://github.com/iasjkk/qa_testing/blob/main/src/LoginPage.jsx"
click node_dashboard "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_session "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_questionbank "https://github.com/iasjkk/qa_testing/blob/main/src/data/questions.js"
click node_review "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_reports "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_products "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_accounts "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_profiles "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_planner "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_tickets "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_notifications "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_activity "https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx"
click node_auth "https://github.com/iasjkk/qa_testing/blob/main/src/auth.js"
click node_dataaccess "https://github.com/iasjkk/qa_testing/blob/main/src/db.js"
click node_config "https://github.com/iasjkk/qa_testing/blob/main/src/config.js"
click node_supabaseclient "https://github.com/iasjkk/qa_testing/blob/main/src/supabase.js"
click node_driveclient "https://github.com/iasjkk/qa_testing/blob/main/src/drive.js"
click node_apps_script "https://github.com/iasjkk/qa_testing/blob/main/google_apps_script.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_login,node_dashboard,node_session,node_questionbank,node_review,node_reports,node_user toneBlue
class node_products,node_accounts,node_profiles,node_planner,node_tickets,node_notifications,node_activity toneAmber
class node_auth,node_dataaccess,node_config toneMint
class node_supabaseclient,node_supabase,node_driveclient,node_apps_script,node_google_drive toneRose
```

## Components

### QA workflow

- [Sign-in](https://github.com/iasjkk/qa_testing/blob/main/src/LoginPage.jsx): `src/LoginPage.jsx`
- [Dashboard shell](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Testing sessions](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Question sets](https://github.com/iasjkk/qa_testing/blob/main/src/data/questions.js): `src/data/questions.js`
- [Submission review](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Reports](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`

### Team management

- [Products and access](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Accounts and roles](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Testing profiles](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Planner board](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Tickets](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Notifications](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`
- [Activity log](https://github.com/iasjkk/qa_testing/blob/main/src/App.jsx): `src/App.jsx`

### Data and storage

- [Session and local data](https://github.com/iasjkk/qa_testing/blob/main/src/auth.js): `src/auth.js`
- [Data access layer](https://github.com/iasjkk/qa_testing/blob/main/src/db.js): `src/db.js`
- [Backend configuration](https://github.com/iasjkk/qa_testing/blob/main/src/config.js): `src/config.js`

### External integrations

- [Supabase client](https://github.com/iasjkk/qa_testing/blob/main/src/supabase.js): `src/supabase.js`
- **Supabase database**
- [Drive client](https://github.com/iasjkk/qa_testing/blob/main/src/drive.js): `src/drive.js`
- [Apps Script](https://github.com/iasjkk/qa_testing/blob/main/google_apps_script.js): `google_apps_script.js`
- **Google Drive**

### Other components

- **QA user**

## Connections

- QA user → Sign-in: signs in (evidence: `README.md`)
- Sign-in → Data access layer: authenticates via (evidence: `src/LoginPage.jsx`)
- Sign-in → Session and local data: saves session (evidence: `src/LoginPage.jsx`)
- Dashboard shell → Sign-in: renders (evidence: `src/App.jsx`)
- Dashboard shell → Testing sessions: starts and saves (evidence: `src/App.jsx`)
- Testing sessions → Question sets: uses defaults (evidence: `src/App.jsx`)
- Testing sessions → Data access layer: saves submissions (evidence: `src/App.jsx`)
- Submission review → Data access layer: loads and updates (evidence: `src/App.jsx`)
- Reports → Data access layer: loads submissions (evidence: `src/App.jsx`)
- Products and access → Data access layer: manages products (evidence: `README.md`)
- Accounts and roles → Data access layer: manages accounts (evidence: `src/App.jsx`)
- Testing profiles → Data access layer: manages profiles (evidence: `src/App.jsx`)
- Planner board → Data access layer: manages tasks (evidence: `README.md`)
- Tickets → Data access layer: manages tickets (evidence: `src/App.jsx`)
- Notifications → Data access layer: reads and updates (evidence: `src/App.jsx`)
- Activity log → Data access layer: records activity (evidence: `src/App.jsx`)
- Data access layer → Session and local data: uses local backend (evidence: `src/db.js`)
- Data access layer → Backend configuration: selects backend (evidence: `src/db.js`)
- Data access layer → Supabase client: queries when configured (evidence: `src/db.js`)
- Supabase client → Supabase database: connects to (evidence: `README.md`)
- Data access layer → Drive client: delegates log storage (evidence: `src/db.js`)
- Testing sessions → Drive client: uploads photos (evidence: `src/App.jsx`)
- Drive client → Apps Script: posts actions (evidence: `src/drive.js`)
- Apps Script → Google Drive: stores photos and logs (evidence: `google_apps_script.js`)
