TypeScript inside .vue files is labelled with the package id as its language ("de.h-dv.vue/typescript") #355

Closed
opened 2026-10-12 08:00:38 +02:00 by buildagent · 0 comments
Member

Field report (zammad-dev, 2026-10-12, on 0.36.0 and confirmed on 0.36.1 876b78b5)

The language label de.h-dv.vue/typescript (and de.h-dv.vue/vue) appears:

  • on upstream app/frontend/shared/components/Form/fields/FieldEditor/…/ImageHandler.vue;
  • in dynamic_influence.components.

It looks as if the region's package id is used in the language slot, so TypeScript extracted from a .vue <script lang="ts"> region reports as language de.h-dv.vue/typescript instead of typescript. The same label appears in an influence component on 0.36.1, after the reporter's re-run.

Expected

  • A language field carries a language name: typescript or vue.
  • Which package extracted the region is a separate field. If it is needed, it should be the package id on its own, not merged into the language.

To check

  • Where the region's language string is built, for packages that host regions (#336 regions, de.h-dv.vue).
  • Whether it is the same on every surface that reports a language: list_files, file_outline, search_text hits, influence components, and project_overview.
  • Whether any filter by lang = "typescript" silently misses these regions, which would make the bug more than cosmetic.

Field reference: /opt/zammad-dev (the reporter can re-run on request).

🤖 Generated with Claude Code

## Field report (zammad-dev, 2026-10-12, on 0.36.0 and confirmed on 0.36.1 876b78b5) The language label `de.h-dv.vue/typescript` (and `de.h-dv.vue/vue`) appears: - on upstream `app/frontend/shared/components/Form/fields/FieldEditor/…/ImageHandler.vue`; - in `dynamic_influence.components`. It looks as if the region's package id is used in the language slot, so TypeScript extracted from a `.vue` `<script lang="ts">` region reports as language `de.h-dv.vue/typescript` instead of `typescript`. The same label appears in an influence component on 0.36.1, after the reporter's re-run. ## Expected - A language field carries a language name: `typescript` or `vue`. - Which package extracted the region is a separate field. If it is needed, it should be the package id on its own, not merged into the language. ## To check - Where the region's language string is built, for packages that host regions (#336 regions, de.h-dv.vue). - Whether it is the same on every surface that reports a language: `list_files`, `file_outline`, `search_text` hits, influence components, and `project_overview`. - Whether any filter by `lang = "typescript"` silently misses these regions, which would make the bug more than cosmetic. Field reference: /opt/zammad-dev (the reporter can re-run on request). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
h-dv/code-index#355
No description provided.