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

Redirect to credentials tab when AO creates credential #2338

Merged
merged 5 commits into from
Dec 2, 2024

Conversation

jdettmannnava
Copy link
Contributor

@jdettmannnava jdettmannnava commented Nov 27, 2024

🎫 Ticket

https://jira.cms.gov/browse/DPC-4375

🛠 Changes

  • credential_start parameter added to show organization
  • CompoundShowComponent signature simplified; credential_start parameter added
  • Updates to credentials redirect with credential_start parameter

ℹ️ Context

By default, when the AO looks at an organization, they start on the credential delegate tab. We want them to see the credentials tab if the last thing they did was create (or delete) a credential. Adding a parameter to the redirect seemed to be the easiest way to do this.

I only changed the signature of CompoundShowComponent to reduce the number of changes to the system, though now it does not match the CredentialDelegate::ListComponent. I changed the signature to address rubocop disliking signatures with too many inputs.

🧪 Validation

Manual and automated testing.

@jdettmannnava jdettmannnava changed the title Jd/dpc 4375 redirect Redirect to credentials tab when AO creates credential Dec 2, 2024
@jdettmannnava jdettmannnava marked this pull request as ready for review December 2, 2024 16:17
@jdettmannnava jdettmannnava requested a review from a team December 2, 2024 16:17
Copy link
Contributor

@ashley-weaver ashley-weaver left a comment

Choose a reason for hiding this comment

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

👍

@jdettmannnava jdettmannnava merged commit ad9bf28 into main Dec 2, 2024
8 checks passed
@jdettmannnava jdettmannnava deleted the jd/dpc-4375-redirect branch December 2, 2024 17:10
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