# amgoth-jithender-native/amgoth-jithender-vendor-portal architecture

> Architecture diagram of the GitHub repository amgoth-jithender-native/amgoth-jithender-vendor-portal, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amgoth-jithender-native/amgoth-jithender-vendor-portal
- Repository: https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal

## Overview

Membrane Watch is a single-file vendor field-failure portal. A manufacturer uses a hardcoded demo login to view analytics based on a join of install/defect records with manufacturing scan data. The documented views cover production cohorts, city and TDS defect rates, and traceable row-level spare records. All repository components map to `index.html`; the README documents the data flow and capabilities, but no source excerpts were available to verify finer-grained implementation details.

Main entry points: [`index.html`](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html) (Portal UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Portal access"]
  node_portal["Portal UI<br/>[index.html]"]
  node_demo_login["Demo login<br/>[index.html]"]
end

subgraph group_analysis["Failure analytics"]
  node_data_join["Data join<br/>[index.html]"]
  node_warranty_counts["Warranty defect totals<br/>[index.html]"]
  node_spare_trace["Spare barcode trace<br/>[index.html]"]
end

subgraph group_views["Vendor views"]
  node_cohort_view["Production cohorts<br/>[index.html]"]
  node_city_view["City defect rates<br/>[index.html]"]
  node_tds_view["TDS defect rates<br/>[index.html]"]
  node_row_view["Spare records<br/>[index.html]"]
end

node_vendor(("Manufacturer"))
node_install_defect_data[("Install/defect data")]
node_scan_data[("Manufacturing scans")]

node_vendor -->|"opens"| node_portal
node_portal -->|"submits credentials"| node_demo_login
node_install_defect_data -->|"join input"| node_data_join
node_scan_data -->|"join input"| node_data_join
node_data_join -->|"computes totals"| node_warranty_counts
node_data_join -->|"traces barcodes"| node_spare_trace
node_warranty_counts -->|"supplies trends"| node_cohort_view
node_warranty_counts -->|"supplies rates"| node_city_view
node_warranty_counts -->|"supplies rates"| node_tds_view
node_spare_trace -->|"supplies records"| node_row_view
node_portal -->|"presents"| node_cohort_view
node_portal -->|"presents"| node_city_view
node_portal -->|"presents"| node_tds_view
node_portal -->|"presents"| node_row_view

click node_portal "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_demo_login "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_data_join "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_warranty_counts "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_spare_trace "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_cohort_view "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_city_view "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_tds_view "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"
click node_row_view "https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html"

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_portal,node_demo_login toneBlue
class node_data_join,node_warranty_counts,node_spare_trace,node_install_defect_data,node_scan_data toneAmber
class node_cohort_view,node_city_view,node_tds_view,node_row_view toneMint
class node_vendor toneIndigo
```

## Components

### Portal access

- [Portal UI](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`
- [Demo login](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`

### Failure analytics

- [Data join](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`
- [Warranty defect totals](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`
- [Spare barcode trace](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`

### Vendor views

- [Production cohorts](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`
- [City defect rates](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`
- [TDS defect rates](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`
- [Spare records](https://github.com/amgoth-jithender-native/amgoth-jithender-vendor-portal/blob/main/index.html): `index.html`

### Other components

- **Manufacturer**
- **Install/defect data**
- **Manufacturing scans**

## Connections

- Manufacturer → Portal UI: opens
- Portal UI → Demo login: submits credentials
- Install/defect data → Data join: join input
- Manufacturing scans → Data join: join input
- Data join → Warranty defect totals: computes totals
- Data join → Spare barcode trace: traces barcodes
- Warranty defect totals → Production cohorts: supplies trends
- Warranty defect totals → City defect rates: supplies rates
- Warranty defect totals → TDS defect rates: supplies rates
- Spare barcode trace → Spare records: supplies records
- Portal UI → Production cohorts: presents
- Portal UI → City defect rates: presents
- Portal UI → TDS defect rates: presents
- Portal UI → Spare records: presents
