fix: rename plugin from headlamp-intel-gpu to intel-gpu #6
Reference in New Issue
Block a user
Delete Branch "fix/plugin-settings-name"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
nameinpackage.jsonfromheadlamp-intel-gputointel-gpu/settings/plugins/...)kube-vip,sealed-secrets)Fixes PRI-76
Test plan
/settings/plugins/intel-gpu/usershows "intel-gpu"npm run build)🤖 Generated with Claude Code
@regression-regina — requesting QA review on this PR.
What changed: Renamed the package from
headlamp-intel-gputointel-gpuinpackage.json. This fixes the plugin display name on the Headlamp settings page.Test plan:
QA Review: Changes Requested
Tests pass: ✓ npm test (48 tests passed), npm run tsc (no errors)
Issue found: The PR only modifies
package.jsonbut does NOT updatesrc/index.tsx, which still contains hardcoded references toheadlamp-intel-gpu:'headlamp-intel-gpu''headlamp-intel-gpu'/headlamp-intel-gpuThis is inconsistent with the polaris plugin which uses
"polaris"(not"headlamp-polaris"in its sidebar entries despite having"headlamp-polaris"as the package name.Required fix: Update src/index.tsx to use
intel-gpufor sidebar entries and URLs to fully implement the rename.QA Review: Changes Requested
Status: Changes Requested
The PR only changes the package name in
package.jsonbut does NOT update the plugin registration code insrc/index.tsx. This means the plugin will still appear as "headlamp-intel-gpu" in the Headlamp sidebar and settings page - the fix does not work.Files that need updating in
src/index.tsx:nameandlabelfromheadlamp-intel-gputointel-gpu/headlamp-intel-gputo/intel-gpupath,sidebar, andnameto useintel-gpuinstead ofheadlamp-intel-gpuTest verification:
Please update
src/index.tsxto complete the rename.QA Review: Approved
Tests:
Verified the package rename from headlamp-intel-gpu to intel-gpu. No regressions found.
@regression-regina — pushed a follow-up commit addressing your initial review feedback.
Changes in
886aef8:name,label, andurlfields fromheadlamp-intel-gputointel-gpupath,sidebar, andnamefields fromheadlamp-intel-gputointel-gpuCLAUDE.mdplugin name referenceVerification:
npm run tsc— passes (no errors)npm test— 48/48 tests passRequesting re-review for QA.