@autocode-cli/autocode 0.1.7 → 0.1.8

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.
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-configurator.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA0hDrE"}
1
+ {"version":3,"file":"pipeline-configurator.d.ts","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAmjDrE"}
@@ -736,6 +736,8 @@ export function generatePipelineConfiguratorPage(lang) {
736
736
  enterPipelineName: 'Please enter a pipeline name',
737
737
  keyExists: 'A pipeline with this key already exists',
738
738
  confirmDelete: 'Are you sure you want to delete this pipeline?',
739
+ selectPipeline: 'Select a Pipeline',
740
+ selectPipelineDesc: 'Click on a pipeline from the list to edit it.',
739
741
  columnAdded: 'Column added to catalog!',
740
742
  errorFillFields: 'Please fill in all fields',
741
743
  errorColumnExists: 'A column with this name already exists in the catalog. Please choose a different name.',
@@ -795,6 +797,8 @@ export function generatePipelineConfiguratorPage(lang) {
795
797
  enterPipelineName: 'Veuillez entrer un nom de pipeline',
796
798
  keyExists: 'Un pipeline avec cette clé existe déjà',
797
799
  confirmDelete: 'Êtes-vous sûr de vouloir supprimer ce pipeline ?',
800
+ selectPipeline: 'Sélectionnez un Pipeline',
801
+ selectPipelineDesc: 'Cliquez sur un pipeline de la liste pour le modifier.',
798
802
  columnAdded: 'Colonne ajoutée au catalogue !',
799
803
  errorFillFields: 'Veuillez remplir tous les champs',
800
804
  errorColumnExists: 'Une colonne avec ce nom existe déjà dans le catalogue. Veuillez choisir un autre nom.',
@@ -992,6 +996,26 @@ export function generatePipelineConfiguratorPage(lang) {
992
996
  emptyState.style.display = '';
993
997
  pipelineEditor.style.display = 'none';
994
998
  }
999
+ updateEmptyState();
1000
+ }
1001
+
1002
+ // Update empty state message based on whether pipelines exist
1003
+ function updateEmptyState() {
1004
+ const h3 = document.querySelector('#emptyState h3');
1005
+ const p = document.querySelector('#emptyState p');
1006
+ const btn = document.getElementById('createFirstBtn');
1007
+
1008
+ if (pipelines.length > 0) {
1009
+ // Pipelines exist but none selected
1010
+ if (h3) h3.textContent = t('selectPipeline');
1011
+ if (p) p.textContent = t('selectPipelineDesc');
1012
+ if (btn) btn.style.display = 'none';
1013
+ } else {
1014
+ // No pipelines at all
1015
+ if (h3) h3.textContent = t('noSelected');
1016
+ if (p) p.textContent = t('noSelectedDesc');
1017
+ if (btn) btn.style.display = '';
1018
+ }
995
1019
  }
996
1020
 
997
1021
  // Select a pipeline
@@ -1560,6 +1584,7 @@ export function generatePipelineConfiguratorPage(lang) {
1560
1584
  // Initialize
1561
1585
  init().then(() => {
1562
1586
  updateUILanguage();
1587
+ updateEmptyState();
1563
1588
  });
1564
1589
  initLangSwitcher();
1565
1590
  updateUILanguage();
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline-configurator.js","sourceRoot":"","sources":["../../../../src/server/dashboard/pages/pipeline-configurator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH;;GAEG;AACH,MAAM,UAAU,gCAAgC,CAAC,IAAY;IAC3D,OAAO;cACK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC;AACT,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autocode-cli/autocode",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Filesystem-based ticket system with web dashboard",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",