Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: expo/atlas
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1058e3eef67b1de3a65b14a2520802476c8122af
Choose a base ref
..
head repository: expo/atlas
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 53ed00106454058738c20e23b94d2dd10357ee37
Choose a head ref
Showing with 6 additions and 6 deletions.
  1. +6 −6 webui/src/components/graphs/TreemapGraph.tsx
12 changes: 6 additions & 6 deletions webui/src/components/graphs/TreemapGraph.tsx
Original file line number Diff line number Diff line change
@@ -26,11 +26,6 @@ export function TreemapGraph(props: TreemapGraphProps) {
pathname: type === 'module' ? '/modules/[path]' : '/folders/[path]',
params: { path: absolutePath },
});

console.log('REDIRECTING TO', {
pathname: type === 'module' ? '/modules/[path]' : '/folders/[path]',
params: { path: absolutePath },
});
}

const { data, maxDepth, maxNodeModules } = useMemo(
@@ -133,7 +128,12 @@ export function TreemapGraph(props: TreemapGraphProps) {
if (data.moduleHref) {
components.push(divider);
components.push(
`<span style="padding:0 ${padding}px;color:#4B86E3"><b>Open File:</b> <kbd>⌘ + Click</kbd></span>`
`<span style="padding:0 ${padding}px;color:#4B86E3"><b>Open Module:</b> <kbd>⌘ + Click</kbd></span>`
);
} else if (data.folderHref) {
components.push(divider);
components.push(
`<span style="padding:0 ${padding}px;color:#4B86E3"><b>Open Folder:</b> <kbd>⌘ + Click</kbd></span>`
);
}
} else {