Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2581

homepage plugin: Entity cards display `name` instead of `title`

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 1.7.0, 1.8.0, 1.9.0
    • Homepage
    • None

      Summary

      In the "Explore Your Software Catalog" section on the homepage, entity cards display
      the entity's `metadata.name` instead of `metadata.title`, even when a title is
      defined.

      Steps to Reproduce

      1. Register an entity (Component, API, Resource, or System) with both `metadata.name` and `metadata.title` defined
      2. Navigate to the homepage
      3. Observe the entity card in the "Explore Your Software Catalog" section

      Expected Behavior

      The entity card should display `metadata.title` when available, falling back to
      `metadata.name` only if title is not set.

      Actual Behavior

      The entity card always displays `metadata.name`, ignoring `metadata.title`.

      I have entity that has

      metadata:
        name: hello-quarkus2
        title: Hello Quarkus 2 

      this is how it is displayed. I would expect "Hello Quarkus 2" instead of "hello-quarkus2"

              tkral@redhat.com Tomas Kral
              tkral@redhat.com Tomas Kral
              RHDH Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: