citrascope 0.9.0__py3-none-any.whl → 0.9.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -67,9 +67,9 @@ async function checkConfigStatus() {
67
67
  // Show setup wizard if not configured
68
68
  const wizardModal = new bootstrap.Modal(document.getElementById('setupWizard'));
69
69
  wizardModal.show();
70
- }
71
-
72
- if (status.error) {
70
+ } else if (status.error) {
71
+ // Only show error toast if configured but there's an error (e.g., connection issue)
72
+ // Don't show toast for "not configured" since modal already handles that
73
73
  showConfigError(status.error);
74
74
  }
75
75
  } catch (error) {
@@ -198,6 +198,18 @@ import * as components from './components.js';
198
198
  this.versionCheckState = 'error';
199
199
  this.versionCheckResult = { status: 'error', currentVersion: 'unknown' };
200
200
  }
201
+ },
202
+
203
+ showConfigSection() {
204
+ // Close setup wizard modal
205
+ const wizardModal = bootstrap.Modal.getInstance(document.getElementById('setupWizard'));
206
+ if (wizardModal) {
207
+ wizardModal.hide();
208
+ }
209
+
210
+ // Navigate to config section
211
+ this.currentSection = 'config';
212
+ window.location.hash = 'config';
201
213
  }
202
214
  });
203
215
  });
@@ -61,11 +61,12 @@
61
61
 
62
62
 
63
63
  <!-- Setup Wizard Modal -->
64
- <div class="modal fade" id="setupWizard" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
64
+ <div class="modal fade" id="setupWizard" tabindex="-1" aria-hidden="true">
65
65
  <div class="modal-dialog modal-lg modal-dialog-centered">
66
66
  <div class="modal-content bg-dark text-light border-secondary">
67
67
  <div class="modal-header border-secondary">
68
68
  <h5 class="modal-title">Welcome to CitraScope Setup</h5>
69
+ <button type="button" class="btn-close btn-close-white" data-bs-dismiss="modal" aria-label="Close"></button>
69
70
  </div>
70
71
  <div class="modal-body">
71
72
  <p class="lead">Let's configure your telescope system.</p>
@@ -77,7 +78,7 @@
77
78
  </ul>
78
79
  </div>
79
80
  <div class="modal-footer border-secondary">
80
- <button type="button" class="btn btn-primary" onclick="showConfigSection()">Configure Now</button>
81
+ <button type="button" class="btn btn-primary" @click="$store.citrascope.showConfigSection()">Configure Now</button>
81
82
  </div>
82
83
  </div>
83
84
  </div>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: citrascope
3
- Version: 0.9.0
3
+ Version: 0.9.1
4
4
  Summary: Remotely control a telescope while it polls for tasks, collects and edge processes data, and delivers results and data for further processing.
5
5
  Project-URL: Homepage, https://citra.space
6
6
  Project-URL: Documentation, https://docs.citra.space/citrascope/
@@ -203,7 +203,7 @@ This ensures code style and quality checks are enforced for all contributors.
203
203
 
204
204
  ### Releasing a New Version
205
205
 
206
- To bump the version and create a release:
206
+ To bump the version and create a release from in the venv:
207
207
 
208
208
  ```sh
209
209
  bump-my-version bump patch # 0.1.3 → 0.1.4
@@ -50,10 +50,10 @@ citrascope/web/server.py,sha256=IJJk4HgEwcsjHercL-Q5z39NmJRbkNk_51HIUKKhtRE,5242
50
50
  citrascope/web/static/api.js,sha256=s-b1FIw-pTo3A8kLlLINVqHhIvfHwTWA7cEvz4N8Gqc,1924
51
51
  citrascope/web/static/app.js,sha256=NNsCwu6C434dP8kAc60SHj85lBixgdv7GxpVCyRSReQ,7107
52
52
  citrascope/web/static/components.js,sha256=T7c9FCPYmgJD9mWOAMl3O7bAy1B0C2oYjQ19LJntdKY,4117
53
- citrascope/web/static/config.js,sha256=cBscndknveUlzXz21TtQpIf_BZVHElSTQjoMwsa2DuU,22469
53
+ citrascope/web/static/config.js,sha256=YrEAL4kZfSB_uO7RUtMIQpZgzKFmTDiNqXhFM91d8VA,22648
54
54
  citrascope/web/static/filters.js,sha256=a_Ug4potNvcNu1Q-d7eodUdixZuXOIQYVdBOEdqhmn8,1768
55
55
  citrascope/web/static/formatters.js,sha256=rseychW84yigPiMFnoKg_YqcKNXY_BamDOUpfkVdBqo,4475
56
- citrascope/web/static/store-init.js,sha256=HLK2AYuWK9waFkTWCW48cLtLopYdwyRKuyW8YPWbpUA,9071
56
+ citrascope/web/static/store-init.js,sha256=Y0fdDYyELjtS1RBfjmVI6MGsZyDlW1mwGiv1-uHzvpA,9507
57
57
  citrascope/web/static/style.css,sha256=Q0hGOUAhiRZW0n2jiJZ3MrMe_d87VBFeesU81U8ToF0,3798
58
58
  citrascope/web/static/websocket.js,sha256=UITw1DDfehOKpjlltn5MXhewZYGKzPFmaTtMFtC0-Ps,3931
59
59
  citrascope/web/static/img/citra.png,sha256=Bq8dPWB6fNz7a_H0FuEtNmZWcPHH2iV2OC-fMg4REbQ,205570
@@ -61,9 +61,9 @@ citrascope/web/static/img/favicon.png,sha256=zrbUlpFXDB_zmsIdhhn8_klnc2Ma3N6Q8ou
61
61
  citrascope/web/templates/_config.html,sha256=dEMeasPSPP4sDlYmC-WwkPyKoeNvpqIm3iqSwmSzW6k,13364
62
62
  citrascope/web/templates/_config_hardware.html,sha256=OLdUlT9V4jxGR1Ct2lXQtPlJ4HSGUYsEbdjFhxHcxV0,17801
63
63
  citrascope/web/templates/_monitoring.html,sha256=cu62PjpKQiHYpVwj5Hf3EACOJk53hxsNy6Tmzr21d48,18301
64
- citrascope/web/templates/dashboard.html,sha256=QyB_W1LMcfL2gLvEDrryDpIG2kqWvSupqbxn9pxzXR0,18477
65
- citrascope-0.9.0.dist-info/METADATA,sha256=N9AD14_ZS_DZ7iqktQZurr3LrjpuO4iS0PESm3I1l34,8722
66
- citrascope-0.9.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
67
- citrascope-0.9.0.dist-info/entry_points.txt,sha256=fP22Lt8bNZ_whBowDnOWSADf_FUrgAWnIhqqPf5Xo2g,55
68
- citrascope-0.9.0.dist-info/licenses/LICENSE,sha256=4B_Ug8tnhTwde7QywOV3HhQcweHJeI0QaGdZfJLxsV8,1068
69
- citrascope-0.9.0.dist-info/RECORD,,
64
+ citrascope/web/templates/dashboard.html,sha256=R-Vw_jIwWbQaca-Qs_zXM6tOWttJttXSV9wMs_ruv0Q,18572
65
+ citrascope-0.9.1.dist-info/METADATA,sha256=ptX90K4-3acxKaE07HrbOutveVlHUobkqZZ92ygC8vs,8739
66
+ citrascope-0.9.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
67
+ citrascope-0.9.1.dist-info/entry_points.txt,sha256=fP22Lt8bNZ_whBowDnOWSADf_FUrgAWnIhqqPf5Xo2g,55
68
+ citrascope-0.9.1.dist-info/licenses/LICENSE,sha256=4B_Ug8tnhTwde7QywOV3HhQcweHJeI0QaGdZfJLxsV8,1068
69
+ citrascope-0.9.1.dist-info/RECORD,,