Skip to content

fix: remove unused CommandCatalog import - #226

Merged
seankmartin merged 1 commit into
MetaCell:feat/command-palettefrom
Le0C:fix/unused-command-catalog-import
Aug 17, 2026
Merged

fix: remove unused CommandCatalog import#226
seankmartin merged 1 commit into
MetaCell:feat/command-palettefrom
Le0C:fix/unused-command-catalog-import

Conversation

@Le0C

@Le0C Le0C commented Aug 17, 2026

Copy link
Copy Markdown

Fixes the failing client job on google#1072.

lint:check fails on the current head (f997b259):

× eslint(no-unused-vars): Identifier 'CommandCatalog' is imported but never used.
  ╭─[src/ui/default_viewer_setup.ts:18:10]

Since the command catalog is now constructed by the viewer, default_viewer_setup no longer references CommandCatalog directly. This removes the leftover import.

Verified locally against f997b259, matching the steps in the client CI job:

  • npm run format:fix + git diff --exit-code — clean
  • npm run lint:check — 0 warnings, 0 errors
  • npm run typecheck — pass
  • npm test -- --project node — 47 files, 521 tests passed

The command catalog is now constructed by the viewer, so
default_viewer_setup no longer references CommandCatalog directly.
The leftover import fails lint:check with no-unused-vars.
@Le0C

Le0C commented Aug 17, 2026

Copy link
Copy Markdown
Author

@seankmartin Hi Sean, here is a small PR for fixing the failing check in the upstream repo

@seankmartin

Copy link
Copy Markdown

Thanks! Had removed it locally and didn't realise I hadn't committed it

@seankmartin
seankmartin merged commit 5aed4e9 into MetaCell:feat/command-palette Aug 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants