Skip to content

UI: restore User Data label rendering in details view#6

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/issue-13244-fix-requirements
Draft

UI: restore User Data label rendering in details view#6
Copilot wants to merge 2 commits into
mainfrom
copilot/issue-13244-fix-requirements

Conversation

Copy link
Copy Markdown

Copilot AI commented May 26, 2026

The details panel for User Data resources could render an empty/missing label after recent terminology key changes (label.userdata vs label.user.data). This PR aligns label resolution with current i18n keys so User Data labels display correctly.

Fixes apache#13244

  • Details tab label resolution

    • Updated DetailsTab.vue to handle the userdata route + userdata field explicitly with label.user.data.
    • Preserved existing cniconfiguration behavior and generic fallback logic.
  • Focused regression coverage

    • Added DetailsTab.spec.js to validate route-specific label rendering:
      • userdata route renders User Data
      • cniconfiguration route renders CNI Configuration
<strong>{{ item === 'service' ? $t('label.supportedservices') :
  $route.meta.name === 'userdata' && item === 'userdata' ? $t('label.user.data') :
  $route.meta.name === 'cniconfiguration' && item === 'userdata' ? $t('label.' + String($route.meta.name).toLowerCase()) :
  $t(getDetailTitle(item)) }}</strong>
Original prompt

Create a new Pull Request to address the requirements outlined in GitHub issue 13244.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: create a PR for issue 13244

Assistant: I've prepared the details to create a Pull Request for issue apache#13244. Please confirm to proceed.

User: @copilot Accepted Confirmation: Confirm cloud agent session

Assistant: It seems that the repository DaanHoogland/repository is either inaccessible or does not exist. Please verify the repository name and provide the correct one, so I can proceed with creating the pull request.

User: use DaanHoogland/cloudstack

Assistant: The pull request creation process is ready for the repository DaanHoogland/cloudstack. Please confirm to proceed.

This pull request was created from Copilot chat.

Copilot AI changed the title [WIP] Fix requirements outlined in issue 13244 UI: restore User Data label rendering in details view May 26, 2026
Copilot AI requested a review from DaanHoogland May 26, 2026 15:42
@DaanHoogland
Copy link
Copy Markdown
Owner

@blueorangutan ui

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.

UI: the labels of user data are not displayed

2 participants