@industry-theme/file-city-panel 0.2.54 → 0.2.55

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,14 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { PanelComponentProps } from '../types';
3
- /**
4
- * Git status data - categorized file paths
5
- */
6
- export interface GitStatus {
7
- staged: string[];
8
- unstaged: string[];
9
- untracked: string[];
10
- deleted: string[];
11
- }
12
3
  /**
13
4
  * PR files data - files changed in a selected pull request
14
5
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CodeCityPanel.d.ts","sourceRoot":"","sources":["../../src/panels/CodeCityPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAuBjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAQpD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAUD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;QACX,GAAG,EAAE,MAAM,CAAC;QACZ,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;QAC1F,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;IACH,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE;YAAE,QAAQ,EAAE,MAAM,CAA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,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC,CAAC;IACH,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAC;YAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KAC7D,CAAC;IACF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE;QACb,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,EAAE,CAAC;QAClB,OAAO,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AA+lDD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAEvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EA8BxC,CAAC"}
@@ -1,17 +1,12 @@
1
1
  import React from 'react';
2
- import { type FileTree } from '@principal-ai/repository-abstraction';
3
- /** Git status data structure with categorized file paths */
4
- export interface GitStatus {
5
- staged: string[];
6
- unstaged: string[];
7
- untracked: string[];
8
- deleted: string[];
9
- }
2
+ import { type FileTree, type GitStatusWithFiles } from '@principal-ai/repository-abstraction';
3
+ /** Re-export GitStatusWithFiles for consumers */
4
+ export type { GitStatusWithFiles };
10
5
  /** Git status category for selection callbacks */
11
6
  export type GitChangeSelectionStatus = 'staged' | 'unstaged' | 'untracked' | 'deleted';
12
7
  interface GitChangesTreeProps {
13
8
  /** Git status data with categorized file paths */
14
- gitStatus: GitStatus;
9
+ gitStatus: GitStatusWithFiles;
15
10
  /** Optional file tree for "Full Tree" view mode */
16
11
  fileTree?: FileTree | null;
17
12
  /** Root path for the repository (used for building file trees) */
@@ -28,5 +23,4 @@ interface GitChangesTreeProps {
28
23
  * Uses GitStatusFileTree from @principal-ade/dynamic-file-tree for rendering.
29
24
  */
30
25
  export declare const GitChangesTree: React.FC<GitChangesTreeProps>;
31
- export {};
32
26
  //# sourceMappingURL=GitChangesTree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GitChangesTree.d.ts","sourceRoot":"","sources":["../../../src/panels/components/GitChangesTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAwB,KAAK,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAE3F,4DAA4D;AAC5D,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,kDAAkD;AAClD,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;AAEvF,UAAU,mBAAmB;IAC3B,kDAAkD;IAClD,SAAS,EAAE,SAAS,CAAC;IACrB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC3B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,sCAAsC;IACtC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,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GitChangesTree.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/components/GitChangesTree.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAkB,MAAM,kBAAkB,CAAC;AAElE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CA0BrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAsB7C;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAexB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAe1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAc3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAczB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAU5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAUnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAuCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KAqB7B,CAAC"}
1
+ {"version":3,"file":"GitChangesTree.stories.d.ts","sourceRoot":"","sources":["../../../src/panels/components/GitChangesTree.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAA2B,MAAM,kBAAkB,CAAC;AAE3E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CA0BrC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAgC7C;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAyBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,EAAE,KAyB1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,KAwB3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAwBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAoB5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,KAAK,EAAE,KAoBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,KAuCzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,KA+B7B,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
2
  import type { FileTree } from '@principal-ai/repository-abstraction';
3
3
  import type { ColorMode } from '../utils/qualityLayers';
4
- import { type GitStatus, type GitChangeSelectionStatus } from './GitChangesTree';
4
+ import { type GitStatusWithFiles, type GitChangeSelectionStatus } from './GitChangesTree';
5
5
  import { type PrFilesStatus, type PrChangeSelectionStatus } from './PrChangesTree';
6
6
  import { type CommitFilesStatus, type CommitChangeSelectionStatus } from './CommitChangesTree';
7
- export type { GitStatus, GitChangeSelectionStatus } from './GitChangesTree';
7
+ export type { GitStatusWithFiles, GitChangeSelectionStatus } from './GitChangesTree';
8
8
  export type { PrFilesStatus, PrChangeSelectionStatus } from './PrChangesTree';
9
9
  export type { CommitFilesStatus, CommitChangeSelectionStatus } from './CommitChangesTree';
10
10
  export interface LegendFileType {
@@ -45,7 +45,7 @@ export interface LegendQualityMetric {
45
45
  interface LegendProps {
46
46
  fileTypes: LegendFileType[];
47
47
  /** Raw git status data with file path arrays */
48
- gitStatus?: GitStatus | null;
48
+ gitStatus?: GitStatusWithFiles | null;
49
49
  /** PR files data with categorized file paths */
50
50
  prFiles?: PrFilesStatus | null;
51
51
  /** PR number for display */
@@ -1 +1 @@
1
- {"version":3,"file":"Legend.d.ts","sourceRoot":"","sources":["../../../src/panels/components/Legend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACjG,OAAO,EAAiB,KAAK,aAAa,EAAE,KAAK,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAClG,OAAO,EAAqB,KAAK,iBAAiB,EAAE,KAAK,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAGlH,YAAY,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,YAAY,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAE1F,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uCAAuC;IACvC,WAAW,CAAC,EAAE,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A2B,KAAK,IAAI,CAAC;IACrF,6CAA6C;IAC7C,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACzE,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,oBAAoB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;CAC/B;AAED;;;;GAIG;AACH,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAsexC,CAAC"}
@@ -2498,21 +2498,21 @@ const GitChangesTree = ({
2498
2498
  }) => {
2499
2499
  const { theme: theme2 } = useTheme();
2500
2500
  const hasChanges = useMemo(
2501
- () => gitStatus.staged.length > 0 || gitStatus.unstaged.length > 0 || gitStatus.untracked.length > 0 || gitStatus.deleted.length > 0,
2502
- [gitStatus.staged.length, gitStatus.unstaged.length, gitStatus.untracked.length, gitStatus.deleted.length]
2501
+ () => gitStatus.stagedFiles.length > 0 || gitStatus.modifiedFiles.length > 0 || gitStatus.untrackedFiles.length > 0 || gitStatus.deletedFiles.length > 0,
2502
+ [gitStatus.stagedFiles.length, gitStatus.modifiedFiles.length, gitStatus.untrackedFiles.length, gitStatus.deletedFiles.length]
2503
2503
  );
2504
2504
  const getFileStatus = useCallback(
2505
2505
  (filePath) => {
2506
- if (gitStatus.staged.includes(filePath)) {
2506
+ if (gitStatus.stagedFiles.includes(filePath)) {
2507
2507
  return "staged";
2508
2508
  }
2509
- if (gitStatus.deleted.includes(filePath)) {
2509
+ if (gitStatus.deletedFiles.includes(filePath)) {
2510
2510
  return "deleted";
2511
2511
  }
2512
- if (gitStatus.untracked.includes(filePath)) {
2512
+ if (gitStatus.untrackedFiles.includes(filePath)) {
2513
2513
  return "untracked";
2514
2514
  }
2515
- if (gitStatus.unstaged.includes(filePath)) {
2515
+ if (gitStatus.modifiedFiles.includes(filePath)) {
2516
2516
  return "unstaged";
2517
2517
  }
2518
2518
  return void 0;
@@ -2546,21 +2546,21 @@ const GitChangesTree = ({
2546
2546
  }
2547
2547
  return expandedPaths;
2548
2548
  };
2549
- const expandedUntracked = expandDirectories(gitStatus.untracked);
2549
+ const expandedUntracked = expandDirectories(gitStatus.untrackedFiles);
2550
2550
  const statusData = [
2551
- ...gitStatus.staged.map((filePath) => ({
2551
+ ...gitStatus.stagedFiles.map((filePath) => ({
2552
2552
  filePath,
2553
2553
  indexStatus: "A",
2554
2554
  workingTreeStatus: " ",
2555
2555
  status: "A"
2556
2556
  })),
2557
- ...gitStatus.unstaged.map((filePath) => ({
2557
+ ...gitStatus.modifiedFiles.map((filePath) => ({
2558
2558
  filePath,
2559
2559
  indexStatus: " ",
2560
2560
  workingTreeStatus: "M",
2561
2561
  status: "M"
2562
2562
  })),
2563
- ...gitStatus.deleted.map((filePath) => ({
2563
+ ...gitStatus.deletedFiles.map((filePath) => ({
2564
2564
  filePath,
2565
2565
  indexStatus: " ",
2566
2566
  workingTreeStatus: "D",
@@ -2574,10 +2574,10 @@ const GitChangesTree = ({
2574
2574
  }))
2575
2575
  ];
2576
2576
  const allChangedFiles = [
2577
- ...gitStatus.staged,
2578
- ...gitStatus.unstaged,
2577
+ ...gitStatus.stagedFiles,
2578
+ ...gitStatus.modifiedFiles,
2579
2579
  ...expandedUntracked,
2580
- ...gitStatus.deleted
2580
+ ...gitStatus.deletedFiles
2581
2581
  ].sort((a, b) => a.localeCompare(b));
2582
2582
  const builder = new N();
2583
2583
  const tree = builder.build({ files: allChangedFiles, rootPath: rootPath ?? "" });
@@ -2872,7 +2872,7 @@ const Legend = ({
2872
2872
  position = "bottom"
2873
2873
  }) => {
2874
2874
  const { theme: theme2 } = useTheme();
2875
- const hasGitStatus = gitStatus != null && (gitStatus.staged.length > 0 || gitStatus.unstaged.length > 0 || gitStatus.untracked.length > 0 || gitStatus.deleted.length > 0);
2875
+ const hasGitStatus = gitStatus != null && (gitStatus.stagedFiles.length > 0 || gitStatus.modifiedFiles.length > 0 || gitStatus.untrackedFiles.length > 0 || gitStatus.deletedFiles.length > 0);
2876
2876
  const hasPrFiles = prFiles != null && (prFiles.added.length > 0 || prFiles.modified.length > 0 || prFiles.removed.length > 0 || prFiles.renamed.length > 0);
2877
2877
  const hasCommitFiles = commitFiles != null && (commitFiles.added.length > 0 || commitFiles.modified.length > 0 || commitFiles.removed.length > 0 || commitFiles.renamed.length > 0);
2878
2878
  const hasAgentLayers = agentLayers && agentLayers.length > 0;
@@ -17506,7 +17506,7 @@ const CodeCityPanelContent = ({
17506
17506
  }
17507
17507
  }, [containerSize]);
17508
17508
  const fileTreeSlice = context.getSlice("fileTree");
17509
- const gitSlice = context.getSlice("git");
17509
+ const gitSlice = context.getSlice("gitStatusWithFiles");
17510
17510
  const prFilesSlice = context.getSlice("prFiles");
17511
17511
  const commitFilesSlice = context.getSlice("commitFiles");
17512
17512
  const agentHighlightLayersSlice = context.getSlice("agentHighlightLayers");
@@ -17720,8 +17720,8 @@ const CodeCityPanelContent = ({
17720
17720
  return items;
17721
17721
  };
17722
17722
  const layers = [];
17723
- if (gitStatus.staged.length > 0) {
17724
- const stagedBuildings = gitStatus.staged.map((path) => buildingsByPath.get(path)).filter((b) => b !== void 0);
17723
+ if (gitStatus.stagedFiles.length > 0) {
17724
+ const stagedBuildings = gitStatus.stagedFiles.map((path) => buildingsByPath.get(path)).filter((b) => b !== void 0);
17725
17725
  if (stagedBuildings.length > 0) {
17726
17726
  const suffixLayers = distExports.createFileColorHighlightLayers(stagedBuildings);
17727
17727
  suffixLayers.forEach((suffixLayer, idx) => {
@@ -17734,7 +17734,7 @@ const CodeCityPanelContent = ({
17734
17734
  });
17735
17735
  }
17736
17736
  const items = [];
17737
- for (const path of gitStatus.staged) {
17737
+ for (const path of gitStatus.stagedFiles) {
17738
17738
  const building = buildingsByPath.get(path);
17739
17739
  if (building) {
17740
17740
  items.push({
@@ -17758,8 +17758,8 @@ const CodeCityPanelContent = ({
17758
17758
  });
17759
17759
  }
17760
17760
  }
17761
- if (gitStatus.unstaged.length > 0) {
17762
- const items = createLayerItems(gitStatus.unstaged);
17761
+ if (gitStatus.modifiedFiles.length > 0) {
17762
+ const items = createLayerItems(gitStatus.modifiedFiles);
17763
17763
  if (items.length > 0) {
17764
17764
  layers.push({
17765
17765
  id: "git-highlight-unstaged",
@@ -17771,8 +17771,8 @@ const CodeCityPanelContent = ({
17771
17771
  });
17772
17772
  }
17773
17773
  }
17774
- if (gitStatus.untracked.length > 0) {
17775
- const items = createLayerItems(gitStatus.untracked);
17774
+ if (gitStatus.untrackedFiles.length > 0) {
17775
+ const items = createLayerItems(gitStatus.untrackedFiles);
17776
17776
  if (items.length > 0) {
17777
17777
  layers.push({
17778
17778
  id: "git-highlight-untracked",
@@ -17784,8 +17784,8 @@ const CodeCityPanelContent = ({
17784
17784
  });
17785
17785
  }
17786
17786
  }
17787
- if (gitStatus.deleted.length > 0) {
17788
- const items = createLayerItems(gitStatus.deleted);
17787
+ if (gitStatus.deletedFiles.length > 0) {
17788
+ const items = createLayerItems(gitStatus.deletedFiles);
17789
17789
  if (items.length > 0) {
17790
17790
  layers.push({
17791
17791
  id: "git-highlight-deleted",
@@ -18013,8 +18013,8 @@ const CodeCityPanelContent = ({
18013
18013
  }, [baseLayers, highlightLayers]);
18014
18014
  const gitChangesCount = useMemo(() => {
18015
18015
  if (!(gitSlice == null ? void 0 : gitSlice.data)) return 0;
18016
- const { staged, unstaged, untracked, deleted } = gitSlice.data;
18017
- return staged.length + unstaged.length + untracked.length + deleted.length;
18016
+ const { stagedFiles, modifiedFiles, untrackedFiles, deletedFiles } = gitSlice.data;
18017
+ return stagedFiles.length + modifiedFiles.length + untrackedFiles.length + deletedFiles.length;
18018
18018
  }, [gitSlice == null ? void 0 : gitSlice.data]);
18019
18019
  useMemo(() => {
18020
18020
  var _a2;
@@ -18287,13 +18287,13 @@ const CodeCityPanelContent = ({
18287
18287
  (filePath) => {
18288
18288
  let gitStatus;
18289
18289
  if (gitSlice == null ? void 0 : gitSlice.data) {
18290
- if (gitSlice.data.staged.includes(filePath)) {
18290
+ if (gitSlice.data.stagedFiles.includes(filePath)) {
18291
18291
  gitStatus = "staged";
18292
- } else if (gitSlice.data.unstaged.includes(filePath)) {
18292
+ } else if (gitSlice.data.modifiedFiles.includes(filePath)) {
18293
18293
  gitStatus = "unstaged";
18294
- } else if (gitSlice.data.untracked.includes(filePath)) {
18294
+ } else if (gitSlice.data.untrackedFiles.includes(filePath)) {
18295
18295
  gitStatus = "untracked";
18296
- } else if (gitSlice.data.deleted.includes(filePath)) {
18296
+ } else if (gitSlice.data.deletedFiles.includes(filePath)) {
18297
18297
  gitStatus = "deleted";
18298
18298
  }
18299
18299
  }