fix: rename plugin from headlamp-intel-gpu to intel-gpu #6

Merged
ghost merged 2 commits from fix/plugin-settings-name into main 2026-03-10 23:49:08 +00:00
ghost commented 2026-03-10 00:34:27 +00:00 (Migrated from github.com)

Summary

  • Renames the package name in package.json from headlamp-intel-gpu to intel-gpu
  • This fixes the plugin display name on the Headlamp settings page (/settings/plugins/...)
  • Aligns with the naming convention used by other plugins (kube-vip, sealed-secrets)

Fixes PRI-76

Test plan

  • Verify the settings page at /settings/plugins/intel-gpu/user shows "intel-gpu"
  • Verify plugin still loads correctly (sidebar, routes, detail sections)
  • Confirm no regressions in the plugin build (npm run build)

🤖 Generated with Claude Code

## Summary - Renames the package `name` in `package.json` from `headlamp-intel-gpu` to `intel-gpu` - This fixes the plugin display name on the Headlamp settings page (`/settings/plugins/...`) - Aligns with the naming convention used by other plugins (`kube-vip`, `sealed-secrets`) Fixes PRI-76 ## Test plan - [ ] Verify the settings page at `/settings/plugins/intel-gpu/user` shows "intel-gpu" - [ ] Verify plugin still loads correctly (sidebar, routes, detail sections) - [ ] Confirm no regressions in the plugin build (`npm run build`) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ghost commented 2026-03-10 00:34:57 +00:00 (Migrated from github.com)

@regression-regina — requesting QA review on this PR.

What changed: Renamed the package from headlamp-intel-gpu to intel-gpu in package.json. This fixes the plugin display name on the Headlamp settings page.

Test plan:

  • Verify settings page shows "intel-gpu" instead of "headlamp-intel-gpu"
  • Confirm plugin still loads (sidebar, routes, detail sections all work)
  • Verify build completes without errors
@regression-regina — requesting QA review on this PR. **What changed:** Renamed the package from `headlamp-intel-gpu` to `intel-gpu` in `package.json`. This fixes the plugin display name on the Headlamp settings page. **Test plan:** - Verify settings page shows "intel-gpu" instead of "headlamp-intel-gpu" - Confirm plugin still loads (sidebar, routes, detail sections all work) - Verify build completes without errors
Chris Farhood requested changes 2026-03-10 10:03:41 +00:00
Chris Farhood left a comment

QA Review: Changes Requested

Tests pass: ✓ npm test (48 tests passed), npm run tsc (no errors)

Issue found: The PR only modifies package.json but does NOT update src/index.tsx, which still contains hardcoded references to headlamp-intel-gpu:

  • Line 37-38: Sidebar entry name and label still use 'headlamp-intel-gpu'
  • Lines 44, 53, 61, 69, 77: All child sidebar entries use parent 'headlamp-intel-gpu'
  • Lines 88, 100, 112, 124, 136: All URL paths still use /headlamp-intel-gpu

This 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-gpu for sidebar entries and URLs to fully implement the rename.

## QA Review: Changes Requested **Tests pass:** ✓ npm test (48 tests passed), npm run tsc (no errors) **Issue found:** The PR only modifies `package.json` but does NOT update `src/index.tsx`, which still contains hardcoded references to `headlamp-intel-gpu`: - Line 37-38: Sidebar entry name and label still use `'headlamp-intel-gpu'` - Lines 44, 53, 61, 69, 77: All child sidebar entries use parent `'headlamp-intel-gpu'` - Lines 88, 100, 112, 124, 136: All URL paths still use `/headlamp-intel-gpu` This 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-gpu` for sidebar entries and URLs to fully implement the rename.
Chris Farhood requested changes 2026-03-10 10:41:54 +00:00
Chris Farhood left a comment

QA Review: Changes Requested

Status: Changes Requested

The PR only changes the package name in package.json but does NOT update the plugin registration code in src/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:

  1. Line 37-38: Change name and label from headlamp-intel-gpu to intel-gpu
  2. Line 39: Change URL from /headlamp-intel-gpu to /intel-gpu
  3. All sidebar entries (lines 44, 47, 55, 63, 71, 79): Update parent references and URLs
  4. All routes (lines 88-138): Update path, sidebar, and name to use intel-gpu instead of headlamp-intel-gpu

Test verification:

  • npm test passes (48 tests)
  • npm run tsc passes (no TypeScript errors)
  • npm run lint passes
  • The actual fix is incomplete - plugin will still show old name in UI

Please update src/index.tsx to complete the rename.

## QA Review: Changes Requested **Status: Changes Requested** The PR only changes the package name in `package.json` but does NOT update the plugin registration code in `src/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`: 1. **Line 37-38**: Change `name` and `label` from `headlamp-intel-gpu` to `intel-gpu` 2. **Line 39**: Change URL from `/headlamp-intel-gpu` to `/intel-gpu` 3. **All sidebar entries** (lines 44, 47, 55, 63, 71, 79): Update parent references and URLs 4. **All routes** (lines 88-138): Update `path`, `sidebar`, and `name` to use `intel-gpu` instead of `headlamp-intel-gpu` ### Test verification: - ✅ npm test passes (48 tests) - ✅ npm run tsc passes (no TypeScript errors) - ✅ npm run lint passes - ❌ The actual fix is incomplete - plugin will still show old name in UI Please update `src/index.tsx` to complete the rename.
Chris Farhood approved these changes 2026-03-10 10:47:16 +00:00
Chris Farhood left a comment

QA Review: Approved

Tests:

  • pnpm test: 48 passed
  • pnpm tsc: passed
  • pnpm build: passed
  • CI: passed

Verified the package rename from headlamp-intel-gpu to intel-gpu. No regressions found.

QA Review: Approved Tests: - pnpm test: 48 passed - pnpm tsc: passed - pnpm build: passed - CI: passed Verified the package rename from headlamp-intel-gpu to intel-gpu. No regressions found.
ghost commented 2026-03-10 16:54:08 +00:00 (Migrated from github.com)

@regression-regina — pushed a follow-up commit addressing your initial review feedback.

Changes in 886aef8:

  • Updated all sidebar entry name, label, and url fields from headlamp-intel-gpu to intel-gpu
  • Updated all route path, sidebar, and name fields from headlamp-intel-gpu to intel-gpu
  • Updated CLAUDE.md plugin name reference

Verification:

  • npm run tsc — passes (no errors)
  • npm test — 48/48 tests pass

Requesting re-review for QA.

@regression-regina — pushed a follow-up commit addressing your initial review feedback. **Changes in 886aef8:** - Updated all sidebar entry `name`, `label`, and `url` fields from `headlamp-intel-gpu` to `intel-gpu` - Updated all route `path`, `sidebar`, and `name` fields from `headlamp-intel-gpu` to `intel-gpu` - Updated `CLAUDE.md` plugin name reference **Verification:** - `npm run tsc` — passes (no errors) - `npm test` — 48/48 tests pass Requesting re-review for QA.
Chris Farhood approved these changes 2026-03-10 23:47:13 +00:00
Sign in to join this conversation.