Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
testing frontend ideas
  • Loading branch information
Emyrk committed Nov 18, 2025
commit 023072ac145d0d72a85fe26b6acd4d34ca42476c
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ export const ResourcesChart: FC<ResourcesChartProps> = ({
};

export const isCoderResource = (resource: string) => {
if(resource === "coder_stage") {
return false
}
// coder_stage is a special internal resource that indicates the entire stage timing boundary. It should
// appear differently in the detailed chart.
// if(resource.startsWith("coder_stage_")) {
// return false
// }
return (
resource.startsWith("data.coder") ||
resource.startsWith("module.coder") ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const WorkspaceTimings: FC<WorkspaceTimingsProps> = ({
const visibleResources = stageTimings.filter((t) => {
const isProvisionerTiming = "resource" in t;

if(isProvisionerTiming && t.resource === "coder_stage") {
if(isProvisionerTiming && t.resource.startsWith("coder_stage")) {
return false;
}

Expand Down