Skip to content

Conversation

@OluwatobiAwe
Copy link
Collaborator

JIRA link

TD-710

Description

Addition of Framework name to list of similar competencies.
The use of framework vocabulary in place of the default competency keyword.

Screenshots

DuplicateCompetency


Developer checks

(Leave tasks unticked if they haven't been appropriate for your ticket.)

I have:

  • Run the formatter and made sure there are no IDE errors (see info on Text Editor settings to avoid whitespace changes)
  • Written tests for the changes (accessibility tests, unit tests for controller, data services, services, view models, etc)
  • Manually tested my work with and without JavaScript
  • Tested any Views or partials created or changed with Wave Chrome plugin and addressed any valid accessibility issues
  • Updated/added documentation in Confluence and/or GitHub Readme. List of documentation links added/changed:
  • Updated my Jira ticket with information about other parts of the system that were touched as part of the MR and have to be sanity tested to ensure nothing’s broken
  • Scanned over my pull request in GitHub and addressed any warnings from the GitHub Build and Test checks.

Copy link
Contributor

@kevwhitt-hee kevwhitt-hee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to introduce the framework-specific vocabulary used elsewhere to the similar competency view - see comment.

<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link trigger-loader" asp-action="ViewFrameworks" asp-route-tabname="Mine">Frameworks</a></li>
<li class="nhsuk-breadcrumb__item"><a class="nhsuk-breadcrumb__link trigger-loader" asp-action="ViewFramework" asp-route-frameworkCompetencyGroupId="@Model.FrameworkCompetencyGroupId" asp-fragment="fc-@Model.FrameworkCompetency.Id" asp-route-frameworkId="@Model.DetailFramework.ID" asp-route-tabname="Structure">Framework Structure</a></li>
<li class="nhsuk-breadcrumb__item">Competency</li>
<li class="nhsuk-breadcrumb__item">@Model.VocabSingular()</li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This framework vocab needs introducing to the new Views/Frameworks/Developer/SimilarCompetency.cshtml ViewModel so that it can be used to replace the word "competency" in the h1 <h1>Duplicate competency name</h1> in the error message has the same name as an existing competency.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been updated.

@kevwhitt-hee kevwhitt-hee merged commit a90d7ea into master Dec 12, 2022
@kevwhitt-hee kevwhitt-hee deleted the Develop/Fixes/TD-710-display-the-name-of-the-framework-and-framework-specific-vocabulary branch March 22, 2023 08:29
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