Closed
Conversation
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Deploying nodetool with
|
| Latest commit: |
a59a12d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d01ba389.nodetool.pages.dev |
| Branch Preview URL: | https://copilot-remove-dead-commente.nodetool.pages.dev |
…ponents In PreRenderer, CodeBlock, and ChatMarkdown, the `node` prop is destructured solely to keep it out of the `...props` spread (preventing unknown DOM attribute warnings). Since it is never referenced in the function body, rename it to `_node` to signal intentional non-use, in line with the project's argsIgnorePattern convention. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: georgi <19498+georgi@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove all dead and commented-out code blocks in web/src
Remove dead/commented-out code in web/src
Mar 14, 2026
Copilot stopped work on behalf of
georgi due to an error
March 14, 2026 21:47
Collaborator
|
Review: Clean and well-scoped PR. Changes look correct:
One note: the |
Collaborator
Collaborator
|
Superseded by #2238 which is rebased onto current |
Copilot stopped work on behalf of
georgi due to an error
March 21, 2026 08:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Multiple files in
web/srccontained commented-out code blocks, a duplicate import causing a TypeScript error, and arequire()-style import flagged by ESLint.Fixes
TypeScript / ESLint errors
SpeedDisplay.tsx: Remove duplicateimport log from "loglevel"(TS2300)JobItem.test.tsx: Replacerequire("react-router-dom")with a proper ES import (no-require-imports)Multi-line commented-out code blocks removed
AssetGridContent.tsx— deaduseEffectblockmodelDownloadCheck.ts— dead cached-files check block + orphanedhfModels?.find(...)expression; also removed the now-unusedhfModelsparameter from the function signatureGlobalChatStore.test.ts— deadmockServer.stop()blocknumberInputStyles.ts,Welcome.styles.ts,NodeSwitch.tsx,ThemeNodetool.tsx,PlaceholderNode.tsx— dead CSS/style blocksSingle-line commented-out code removed
useDynamicProperty.ts,workflowUpdates.ts,useFitView.ts,FavoriteStar.tsx,settingsMenuStyles.ts,EditableInput.tsx,NumberInput.tsxUnused variables
ChatMarkdown.tsx,CodeBlock.tsx,PreRenderer.tsx: Prefix unusednodedestructure params with_node(required by ReactMarkdown's renderer interface to prevent inadvertent DOM spreading)Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.