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

[VAULT-19467] UI Breadcrumb Title Case #29206

Merged
merged 8 commits into from
Dec 20, 2024

Conversation

beagins
Copy link
Contributor

@beagins beagins commented Dec 17, 2024

Description

What does this PR do?
All static breadcrumbs should be title case formatted.

After:

Screenshot 2024-12-16 at 5 38 22 PM

Before:

Screenshot 2024-12-16 at 5 38 12 PM

TODO only if you're a HashiCorp employee

  • Backport Labels: If this fix needs to be backported, use the appropriate backport/ label that matches the desired release branch. Note that in the CE repo, the latest release branch will look like backport/x.x.x, but older release branches will be backport/ent/x.x.x+ent.
    • LTS: If this fixes a critical security vulnerability or severity 1 bug, it will also need to be backported to the current LTS versions of Vault. To ensure this, use all available enterprise labels.
  • ENT Breakage: If this PR either 1) removes a public function OR 2) changes the signature
    of a public function, even if that change is in a CE file, double check that
    applying the patch for this PR to the ENT repo and running tests doesn't
    break any tests. Sometimes ENT only tests rely on public functions in CE
    files.
  • Jira: If this change has an associated Jira, it's referenced either
    in the PR description, commit message, or branch name.
  • RFC: If this change has an associated RFC, please link it in the description.
  • ENT PR: If this change has an associated ENT PR, please link it in the
    description. Also, make sure the changelog is in this PR, not in your ENT PR.

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Dec 17, 2024
@beagins beagins added ui and removed hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed labels Dec 17, 2024
Copy link

hashicorp-cla-app bot commented Dec 17, 2024

CLA assistant check
All committers have signed the CLA.

@beagins beagins added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Dec 17, 2024
Copy link

github-actions bot commented Dec 17, 2024

CI Results:
All Go tests succeeded! ✅

@beagins beagins force-pushed the ui/VAULT-19467/breadcrumb-title-case branch 5 times, most recently from 491d5fb to 8a15ebb Compare December 18, 2024 19:45
@beagins beagins added this to the 1.18.3 milestone Dec 18, 2024
@beagins beagins force-pushed the ui/VAULT-19467/breadcrumb-title-case branch from 8a15ebb to d3d1e72 Compare December 18, 2024 22:34
@beagins beagins marked this pull request as ready for review December 18, 2024 23:17
@beagins beagins requested review from a team as code owners December 18, 2024 23:17
@beagins beagins requested a review from angelocordon December 18, 2024 23:17
Copy link

Build Results:
All builds succeeded! ✅

assert
.dom('[data-test-breadcrumbs] li:nth-child(3)')
.containsText('test-library', 'Library breadcrumb renders');
assert
.dom('[data-test-breadcrumbs] li:nth-child(4)')
.containsText('check-out', 'Check-out breadcrumb renders');
.containsText('Check-Out', 'Check-out breadcrumb renders');
Copy link
Contributor

Choose a reason for hiding this comment

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

nice on this one, I had to google it because i would have gotten it incorrect.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I 100% had to google it because I wasn't sure either lol 😆

Copy link
Collaborator

@anwittin anwittin left a comment

Choose a reason for hiding this comment

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

looks good

@hellobontempo hellobontempo modified the milestones: 1.18.3, 1.18.4 Dec 18, 2024
@beagins
Copy link
Contributor Author

beagins commented Dec 19, 2024

Ran yarn test:ent against latest vault-enterprise --

All browsers to exited.

1..202
# tests 202
# pass  192
# skip  10
# todo  0
# fail  0

# ok

@beagins beagins modified the milestones: 1.18.4, 1.19.0-rc Dec 19, 2024
@beagins beagins enabled auto-merge (squash) December 20, 2024 18:37
@beagins beagins merged commit 0d3a82a into main Dec 20, 2024
41 of 42 checks passed
@beagins beagins deleted the ui/VAULT-19467/breadcrumb-title-case branch December 20, 2024 18:47
@beagins beagins added backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent backport/1.18.x backport/ent/1.17.x+ent Changes are backported to 1.17.x+ent labels Jan 24, 2025
beagins added a commit that referenced this pull request Jan 24, 2025
* [VAULT-19467] Vault UI Breadcrumb Title Case

* should use Title Case

* update changelog

* rename changelog

* update tests

* more test updates

* update tests

---------

Co-authored-by: Tony Wittinger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/ent/1.16.x+ent Changes are backported to 1.16.x+ent backport/ent/1.17.x+ent Changes are backported to 1.17.x+ent backport/1.18.x hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants