Add quote bridge and quote handoff flow

This commit is contained in:
2026-06-29 18:41:45 -05:00
parent be1475dd8e
commit a329168765
17 changed files with 1707 additions and 509 deletions
+4 -24
View File
@@ -1,29 +1,9 @@
# Required Code Changes for Conditional Navigation
# Conditional Navigation and Filtering Status
## Overview
To support conditional material/color questions and dynamic navigation, the following changes are needed in your application code.
## Purpose
---
## 1. JavaScript Changes (`js/script.js`)
### Current State
- Loads `questions.json` statically
- Has hardcoded conditional for `q-material-conditional`
- No product data loading
### Required Changes
#### A. Load Multiple Data Files
```javascript
// At the top of script.js - modify loadQuestionData() to load both files
let questionData = {};
let productData = [];
let accessoryData = [];
let bitwiseData = {};
let accumulatedBitValue = 0;
function init() {
This document records what was originally proposed for conditional question flow,
what is already implemented, and what still remains.
// Load all data files
Promise.all([
fetch('data/navigation.json').then(r => r.json()),