projax 3.3.24 → 3.3.25

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.
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' data:; connect-src 'self' http://localhost:* ws://localhost:*;" />
7
7
  <title>projax</title>
8
- <script type="module" crossorigin src="./assets/index-C1SRt6Jx.js"></script>
9
- <link rel="stylesheet" crossorigin href="./assets/index-D1jmaGv5.css">
8
+ <script type="module" crossorigin src="./assets/index-CgB-tTpV.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./assets/index-ChoTzPLo.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
package/dist/prxi.tsx CHANGED
@@ -344,13 +344,11 @@ const ProjectDetailsComponent: React.FC<ProjectDetailsProps> = ({
344
344
  const { focus } = useFocus({ id: 'projectDetails' });
345
345
  const [scripts, setScripts] = useState<any>(null);
346
346
  const [ports, setPorts] = useState<any[]>([]);
347
- const [tests, setTests] = useState<any[]>([]);
348
347
 
349
348
  useEffect(() => {
350
349
  if (!project) {
351
350
  setScripts(null);
352
351
  setPorts([]);
353
- setTests([]);
354
352
  return;
355
353
  }
356
354
 
@@ -370,15 +368,6 @@ const ProjectDetailsComponent: React.FC<ProjectDetailsProps> = ({
370
368
  } catch (error) {
371
369
  setPorts([]);
372
370
  }
373
-
374
- // Load tests
375
- try {
376
- const db = getDatabaseManager();
377
- const projectTests = db.getTestsByProject(project.id);
378
- setTests(projectTests);
379
- } catch (error) {
380
- setTests([]);
381
- }
382
371
  }, [project]);
383
372
 
384
373
  if (!project) {
@@ -402,13 +391,6 @@ const ProjectDetailsComponent: React.FC<ProjectDetailsProps> = ({
402
391
  // Get running processes for this project
403
392
  const projectProcesses = runningProcesses.filter((p: any) => p.projectPath === project.path);
404
393
 
405
- // Count tests by framework
406
- const testsByFramework = tests.reduce((acc: any, test: any) => {
407
- const framework = test.framework || 'unknown';
408
- acc[framework] = (acc[framework] || 0) + 1;
409
- return acc;
410
- }, {});
411
-
412
394
  // Build content lines for virtual scrolling
413
395
  const contentLines: React.ReactNode[] = [];
414
396
 
@@ -479,10 +461,6 @@ const ProjectDetailsComponent: React.FC<ProjectDetailsProps> = ({
479
461
  // Stats
480
462
  contentLines.push(
481
463
  <Box key="stats">
482
- <Text>Tests: <Text color={colors.accentCyan}>{tests.length}</Text></Text>
483
- <Text> | </Text>
484
- <Text>Frameworks: <Text color={colors.accentCyan}>{Object.keys(testsByFramework).length}</Text></Text>
485
- <Text> | </Text>
486
464
  <Text>Ports: <Text color={colors.accentCyan}>{ports.length}</Text></Text>
487
465
  <Text> | </Text>
488
466
  <Text>Scripts: <Text color={colors.accentCyan}>{scripts?.scripts?.size || 0}</Text></Text>
@@ -578,26 +556,6 @@ const ProjectDetailsComponent: React.FC<ProjectDetailsProps> = ({
578
556
  contentLines.push(<Text key="spacer6"> </Text>);
579
557
  }
580
558
 
581
- // Test Files
582
- if (tests.length > 0) {
583
- contentLines.push(
584
- <Text key="tests-header" bold>
585
- Test Files (<Text color={colors.accentCyan}>{tests.length}</Text>):
586
- </Text>
587
- );
588
- Object.entries(testsByFramework).forEach(([framework, count]) => {
589
- contentLines.push(
590
- <Text key={`test-${framework}`}>
591
- {' '}
592
- <Text color={colors.accentPurple}>{framework}</Text>
593
- {': '}
594
- <Text color={colors.textSecondary}>{count as number}</Text>
595
- </Text>
596
- );
597
- });
598
- contentLines.push(<Text key="spacer7"> </Text>);
599
- }
600
-
601
559
  // Calculate visible range for virtual scrolling
602
560
  // Render enough items to fill the available space
603
561
  const startIndex = Math.max(0, scrollOffset);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projax",
3
- "version": "3.3.24",
3
+ "version": "3.3.25",
4
4
  "description": "Cross-platform project management dashboard for tracking local development projects. Features CLI, Terminal UI, Desktop app, REST API, and built-in tools for test detection, port management, and script execution.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {