Skip to content

GSK-1303 - Feature/gsk 1271 test UI status message gets squeezed spacing uneven#1170

Merged
andreybavt merged 12 commits intomainfrom
feature/gsk-1271-test-ui-status-message-gets-squeezed-spacing-uneven
Jun 19, 2023
Merged

GSK-1303 - Feature/gsk 1271 test UI status message gets squeezed spacing uneven#1170
andreybavt merged 12 commits intomainfrom
feature/gsk-1271-test-ui-status-message-gets-squeezed-spacing-uneven

Conversation

@kevinmessiaen
Copy link
Copy Markdown
Member

Description

image image

Type of Change

  • 📚 Examples / docs / tutorials / dependencies update
  • 🔧 Bug fix (non-breaking change which fixes an issue)
  • 🥂 Improvement (non-breaking change which improves an existing feature)
  • 🚀 New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🔐 Security fix

@linear
Copy link
Copy Markdown

linear bot commented Jun 13, 2023

GSK-1271 Test UI: status message gets squeezed, spacing uneven

Screenshot 2023-06-07 at 14.11.31.png

  • squeezed text
  • random dots

flex-wrap: wrap might help 🪄

This affects also (and in particular) the "comparison" view because the layout is half width.

@kevinmessiaen kevinmessiaen changed the title Feature/gsk 1271 test UI status message gets squeezed spacing uneven GSK-1303 - Feature/gsk 1271 test UI status message gets squeezed spacing uneven Jun 13, 2023
…message-gets-squeezed-spacing-uneven' into feature/gsk-1271-test-ui-status-message-gets-squeezed-spacing-uneven
@kevinmessiaen kevinmessiaen marked this pull request as ready for review June 13, 2023 11:26
Comment on lines +19 to +24
<span v-if='successRatio.failed > 0'>{{ plurialize('test', successRatio.failed) }} failed</span>
<span v-if='successRatio.failed > 0 && successRatio.passed > 0'>, </span>
<span v-if='successRatio.passed > 0'>{{ plurialize('test', successRatio.passed) }} passed</span>
<span v-if='successRatio.failed > 0 || successRatio.passed > 0'>. </span>
Executed
<span class='ml-2'>{{ timeSince(execution.executionDate) }}</span>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should add some spaces here.

Suggested change
<span v-if='successRatio.failed > 0'>{{ plurialize('test', successRatio.failed) }} failed</span>
<span v-if='successRatio.failed > 0 && successRatio.passed > 0'>, </span>
<span v-if='successRatio.passed > 0'>{{ plurialize('test', successRatio.passed) }} passed</span>
<span v-if='successRatio.failed > 0 || successRatio.passed > 0'>. </span>
Executed
<span class='ml-2'>{{ timeSince(execution.executionDate) }}</span>
<span v-if='successRatio.failed > 0'>&nbsp;{{ plurialize('test', successRatio.failed) }} failed</span>
<span v-if='successRatio.failed > 0 && successRatio.passed > 0'>, </span>
<span v-if='successRatio.passed > 0'>&nbsp;{{ plurialize('test', successRatio.passed) }} passed</span>
<span v-if='successRatio.failed > 0 || successRatio.passed > 0'>. </span>
&nbsp;Executed
<span>&nbsp;{{ timeSince(execution.executionDate) }}</span>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I agree, either spaces or padding between spans should look nice

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Instead of space I removed the parent flex that was not required, the space are not needed anymore

Copy link
Copy Markdown
Contributor

@andreybavt andreybavt left a comment

Choose a reason for hiding this comment

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

as Henrique mentioned let's add more spacing about spans

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@andreybavt andreybavt merged commit 3d5c807 into main Jun 19, 2023
@kevinmessiaen kevinmessiaen deleted the feature/gsk-1271-test-ui-status-message-gets-squeezed-spacing-uneven branch June 23, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants