jjmandog commited on
Commit
a98f7b7
·
verified ·
1 Parent(s): 4cc0079

I still cannot use the setup wizard please fix so I can use it again - Follow Up Deployment

Browse files
Files changed (2) hide show
  1. index.html +3 -12
  2. prompts.txt +2 -1
index.html CHANGED
@@ -944,13 +944,6 @@ Or contact support at help@trillion.ventures`);
944
  }
945
 
946
  document.addEventListener('DOMContentLoaded', function() {
947
- // Check if setup was already completed
948
- const isSetupComplete = localStorage.getItem('setupComplete') === 'true';
949
- if (isSetupComplete) {
950
- document.getElementById('setupHelpBtn').classList.remove('bg-blue-100', 'hover:bg-blue-200');
951
- document.getElementById('setupHelpBtn').classList.add('bg-gray-200', 'cursor-not-allowed');
952
- document.getElementById('setupHelpBtn').title = 'Setup already completed';
953
- }
954
  const savedSettings = localStorage.getItem('aiCallSettings');
955
  if (savedSettings) {
956
  const config = JSON.parse(savedSettings);
@@ -1476,7 +1469,6 @@ Or contact support at help@trillion.ventures`);
1476
  // Simulate checking services
1477
  await new Promise(resolve => setTimeout(resolve, 1500));
1478
 
1479
- const isSetupComplete = localStorage.getItem('setupComplete') === 'true';
1480
  const services = {
1481
  jitsi: true,
1482
  pusher: true,
@@ -1487,7 +1479,7 @@ Or contact support at help@trillion.ventures`);
1487
  const missingServices = Object.entries(services).filter(([_, available]) => !available).map(([name]) => name);
1488
 
1489
  if (missingServices.length > 0) {
1490
- alert(`System check failed. Missing services: ${missingServices.join(', ')}`);
1491
  this.classList.remove('bg-yellow-100', 'bg-green-100');
1492
  this.classList.add('bg-red-100');
1493
  this.querySelector('i').className = 'fas fa-exclamation-circle text-red-600';
@@ -1498,6 +1490,7 @@ Or contact support at help@trillion.ventures`);
1498
  this.querySelector('i').className = 'fas fa-check-circle text-green-600';
1499
  }
1500
 
 
1501
 
1502
  } catch (error) {
1503
  console.error('System check failed:', error);
@@ -1718,10 +1711,8 @@ Or contact support at help@trillion.ventures`);
1718
 
1719
  document.getElementById('finalCloseBtn').addEventListener('click', () => {
1720
  localStorage.setItem('setupComplete', 'true');
1721
- document.getElementById('setupHelpBtn').classList.remove('bg-blue-100', 'hover:bg-blue-200');
1722
- document.getElementById('setupHelpBtn').classList.add('bg-gray-200', 'cursor-not-allowed');
1723
- document.getElementById('setupHelpBtn').title = 'Setup already completed';
1724
  setupHelpModal.classList.add('hidden');
 
1725
  });
1726
 
1727
  window.addEventListener('click', (event) => {
 
944
  }
945
 
946
  document.addEventListener('DOMContentLoaded', function() {
 
 
 
 
 
 
 
947
  const savedSettings = localStorage.getItem('aiCallSettings');
948
  if (savedSettings) {
949
  const config = JSON.parse(savedSettings);
 
1469
  // Simulate checking services
1470
  await new Promise(resolve => setTimeout(resolve, 1500));
1471
 
 
1472
  const services = {
1473
  jitsi: true,
1474
  pusher: true,
 
1479
  const missingServices = Object.entries(services).filter(([_, available]) => !available).map(([name]) => name);
1480
 
1481
  if (missingServices.length > 0) {
1482
+ alert(`System check shows missing services: ${missingServices.join(', ')}\nYou may need to run setup again.`);
1483
  this.classList.remove('bg-yellow-100', 'bg-green-100');
1484
  this.classList.add('bg-red-100');
1485
  this.querySelector('i').className = 'fas fa-exclamation-circle text-red-600';
 
1490
  this.querySelector('i').className = 'fas fa-check-circle text-green-600';
1491
  }
1492
 
1493
+
1494
 
1495
  } catch (error) {
1496
  console.error('System check failed:', error);
 
1711
 
1712
  document.getElementById('finalCloseBtn').addEventListener('click', () => {
1713
  localStorage.setItem('setupComplete', 'true');
 
 
 
1714
  setupHelpModal.classList.add('hidden');
1715
+ alert('Setup completed successfully! You can run setup again anytime if needed.');
1716
  });
1717
 
1718
  window.addEventListener('click', (event) => {
prompts.txt CHANGED
@@ -4,4 +4,5 @@ Call failed: Can't find variable: trillionClient
4
  Make sure everything is working. Make sure I get no error codes of if I do fix them. Remove any codes that conflict . Remember once I do my checklist and i itiwl
5
  Make sure everything is working. Make sure I get no error codes of if I do fix them. Remove any codes that conflict and may be stopping this from working . Remember once I do the wizard , to automatically update the code and do what it says it’s doing instead of just being visual. I don’t want to make outgoing calls from my phone for testing because the only timr this makes outgoing calls is when I’m testing it . It’s ole
6
  Make sure everything is working. Make sure I get no error codes of if I do fix them. Remove any codes that conflict and may be stopping this from working . Remember once I do the wizard , to automatically update the code and do what it says it’s doing instead of just being visual. I don’t want to make outgoing calls from my phone for testing because the only timr this makes outgoing calls is when I’m testing it . This apps purposes isn’t to call people but instead answer my calls and respond to my texts . Fix all errors . Add a button named fixes and if you can’t do it then explain on the fixes page
7
- Can you make the setup not greyed out anymore so I can click it whenever .
 
 
4
  Make sure everything is working. Make sure I get no error codes of if I do fix them. Remove any codes that conflict . Remember once I do my checklist and i itiwl
5
  Make sure everything is working. Make sure I get no error codes of if I do fix them. Remove any codes that conflict and may be stopping this from working . Remember once I do the wizard , to automatically update the code and do what it says it’s doing instead of just being visual. I don’t want to make outgoing calls from my phone for testing because the only timr this makes outgoing calls is when I’m testing it . It’s ole
6
  Make sure everything is working. Make sure I get no error codes of if I do fix them. Remove any codes that conflict and may be stopping this from working . Remember once I do the wizard , to automatically update the code and do what it says it’s doing instead of just being visual. I don’t want to make outgoing calls from my phone for testing because the only timr this makes outgoing calls is when I’m testing it . This apps purposes isn’t to call people but instead answer my calls and respond to my texts . Fix all errors . Add a button named fixes and if you can’t do it then explain on the fixes page
7
+ Can you make the setup not greyed out anymore so I can click it whenever .
8
+ I still cannot use the setup wizard please fix so I can use it again