mint-o-badges / badgr-ui

GNU Affero General Public License v3.0
4 stars 2 forks source link

doubled display of competencies in wallet #794

Closed Annicelia closed 2 weeks ago

Annicelia commented 1 month ago

Competencies are sometimes displayed multiple times in the backpack: both under "Fähigkeit" and under "Wissen"

Annicelia commented 1 month ago

Franzis Wallet on productive: Bildschirmfoto 2024-10-29 um 16 05 09

zven commented 1 month ago

@Annicelia This is due to the fact that that back pack contains badges with two different Ethik-competencies: One of those is of type skill, the other of type knowledge:

  {
    "@context": "https://api.openbadges.education/static/extensions/CompetencyExtension/context.json",
    "type": [
      "Extension",
      "extensions:CompetencyExtension"
    ],
    "name": "Ethik ",
    "description": "Ethik\nPhilosophische Lehre, die sich mit der L\\u00f6sung von Fragen der menschlichen Moral befasst; sie definiert und systematisiert Konzepte wie Recht, Unrecht und Kriminalit\\u00e4t.\n\n ",
    "escoID": "https://esco.ec.europa.eu/de/classification/skills?uri=http://data.europa.eu/esco/skill/cef5c0f8-1e40-4c09-b6a7-aa7811849e5d",
    "studyLoad": 30,
    "category": "knowledge"
  },
  {
    "@context": "https://api.openbadges.education/static/extensions/CompetencyExtension/context.json",
    "type": [
      "Extension",
      "extensions:CompetencyExtension"
    ],
    "name": "Ethik",
    "description": "Philosophische Lehre, die sich mit der L\\u00f6sung von Fragen der menschlichen Moral befasst; sie definiert und systematisiert Konzepte wie Recht, Unrecht und Kriminalit\\u00e4t.\n\n",
    "escoID": "http://data.europa.eu/esco/skill/cef5c0f8-1e40-4c09-b6a7-aa7811849e5d",
    "studyLoad": 30,
    "category": "skill"
  },

My assumption would be, that one (or both) were added by hand or adjusted manually.

zven commented 2 weeks ago

https://github.com/mint-o-badges/badgr-ui/issues/610