Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Remove capitalisation from greeting label#595

Merged
priscilawebdev merged 3 commits intoverdaccio:masterfrom
imjacobclark:patch-1
Jan 25, 2021
Merged

Remove capitalisation from greeting label#595
priscilawebdev merged 3 commits intoverdaccio:masterfrom
imjacobclark:patch-1

Conversation

@imjacobclark
Copy link
Copy Markdown
Contributor

Type:

The following has been addressed in the PR:

Removing capitalisation from greeting label. When Verdaccio is welcoming a user based on their username, it is odd to capitalise the first letter, it is probably better to make zero assumptions about the formatting of the name rather than try and format it ourselves on the UI and simply accept whatever the auth source provides as a source of truth.

In the attached screenshot, you can see the strangeness I mention, "Imjacobclark" opposed to "imjacobclark".

Screenshot 2021-01-12 at 15 28 14

@chrisgrounds
Copy link
Copy Markdown

I actually like this feature. Can we have the option to choose whether we want capitalisation or not? Could you code that in as well @imjacobclark ?

@imjacobclark
Copy link
Copy Markdown
Contributor Author

I actually like this feature. Can we have the option to choose whether we want capitalisation or not? Could you code that in as well @imjacobclark ?

I think first would be to resolve for the simplest case and then potentially raise a ticket to customise in future.

Copy link
Copy Markdown
Contributor

@priscilawebdev priscilawebdev left a comment

Choose a reason for hiding this comment

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

I agree with you @imjacobclark Thanks for the PR 😉

@imjacobclark
Copy link
Copy Markdown
Contributor Author

I agree with you @imjacobclark Thanks for the PR 😉

Thanks @priscilawebdev! What's required to get this change merged?

Thanks!

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 25, 2021

Codecov Report

Merging #595 (661a602) into master (1876273) will decrease coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #595      +/-   ##
==========================================
- Coverage   79.62%   79.55%   -0.08%     
==========================================
  Files         166      166              
  Lines        1291     1291              
  Branches      234      234              
==========================================
- Hits         1028     1027       -1     
  Misses        224      224              
- Partials       39       40       +1     
Impacted Files Coverage Δ
src/App/Header/HeaderGreetings.tsx 100.00% <ø> (ø)
src/components/Label/Label.tsx 80.00% <0.00%> (-20.00%) ⬇️

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants