Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spacing to WorldWideOrganisation descriptions #2890

Conversation

patrickpatrickpatrick
Copy link
Contributor

@patrickpatrickpatrick patrickpatrickpatrick commented Aug 8, 2023

What

Adds ", " to a join on the roles of a person in the WorldWideOrganisationPresenter. Adds test cases for spaces being present between roles in the description.

Why

Fixes an issue where the description of people that was being generated by the WorldWideOrganisationPresenter was not adding spacing between multiple roles. Issue raised in a ticket on Zendesk.

Visual Differences

Before

Screenshot 2023-08-08 at 12 22 49

After

Screenshot 2023-08-08 at 12 23 36

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2890 August 8, 2023 11:20 Inactive
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the fix-spacing-issue-on-roles-on-worldwide-organisation branch from cc4b2b4 to 9abc17f Compare August 8, 2023 11:25
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2890 August 8, 2023 11:25 Inactive
Fixes an issue where the description of people that was being generated
by the WorldWideOrganisationPresenter was not adding spacing between
multiple roles. Fixed the issue and added test cases.
@patrickpatrickpatrick patrickpatrickpatrick force-pushed the fix-spacing-issue-on-roles-on-worldwide-organisation branch from 9abc17f to 806863a Compare August 8, 2023 11:27
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-2890 August 8, 2023 11:27 Inactive
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM

@patrickpatrickpatrick patrickpatrickpatrick merged commit dfad328 into main Aug 8, 2023
@patrickpatrickpatrick patrickpatrickpatrick deleted the fix-spacing-issue-on-roles-on-worldwide-organisation branch August 8, 2023 11:33
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.

3 participants