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

[CCAP-453][CCAP-439][CCAP-537] Update content on providerresponse/provider-number screen, update provider id validation logic, remove broken link #869

Merged
merged 10 commits into from
Dec 4, 2024

Conversation

cram-cfa
Copy link
Contributor

@cram-cfa cram-cfa commented Dec 2, 2024

πŸ”— Jira ticket

✍️ Description

Screenshot 2024-12-02 at 5 35 04β€―PM Screenshot 2024-12-02 at 5 35 14β€―PM Screenshot 2024-12-02 at 5 35 20β€―PM Screenshot 2024-12-02 at 5 35 28β€―PM Screenshot 2024-12-02 at 5 35 44β€―PM

πŸ“· Design reference

βœ… Completion tasks

  • Added relevant tests
  • Meets acceptance criteria

@github-actions github-actions bot requested a review from analoo December 2, 2024 23:36
@cram-cfa cram-cfa changed the title [CCAP-453] Update content on providerresponse/provider-number screen [CCAP-453][CCAP-537] Update content on providerresponse/provider-number screen, remove broken link Dec 2, 2024
@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 2, 2024 23:38 Inactive
@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 3, 2024 16:11 Inactive
@cram-cfa cram-cfa changed the title [CCAP-453][CCAP-537] Update content on providerresponse/provider-number screen, remove broken link [CCAP-453][CCAP-439][CCAP-537] Update content on providerresponse/provider-number screen, update provider id validation logic, remove broken link Dec 3, 2024
@@ -35,7 +35,7 @@
<th:block
th:replace="~{fragments/inputs/submitButton :: submitButton(text=${buttonLabel != null ? buttonLabel : 'Submit'})}"/>
<div>
<a th:if="hasSkipLocation"
<a th:if="${hasSkipLocation}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was apparently always broken, fwiw.

@@ -237,7 +238,7 @@ onboarding-provider-info-review.link=Edit their info
#onboarding-provider-info-confirm
onboarding-provider-info-confirm.title=Confirm provider info
onboarding-provider-info-confirm.header=Thanks! Now we can help you contact {0} when you''re done.
onboarding-provider-info-confirm.notice=<div class='notice--success spacing-below-60'><p>At the end of this application, you'll have the option to <strong>text or email a secure link</strong> to '{0}'.</p><p>Using the link, your provider can quickly complete their part of the application.</p></div>
onboarding-provider-info-confirm.notice=<div class='notice--success spacing-below-60'><p>At the end of this application, you''ll have the option to <strong>text or email a secure link</strong> to '{0}'.</p><p>Using the link, your provider can quickly complete their part of the application.</p></div>
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 noticed this typo, missing the double apostrophe, when clicking through the app and fixed it here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for fixing this.

errorMessages.put(PROVIDER_NUMBER,
List.of(messageSource.getMessage("provider-response-ccap-registration.error.invalid-number", null, locale)));

if (inputValue == null || inputValue.isBlank()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I love the most specific error messages here. I think it makes it much clearer what the actual issue is.

import org.springframework.stereotype.Repository;

@Repository
public interface ProviderRepository extends JpaRepository<Provider, BigInteger> {

@Query(value = "SELECT CASE WHEN COUNT(*) > 0 THEN TRUE ELSE FALSE END FROM providers "
Copy link
Contributor

Choose a reason for hiding this comment

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

I tunneled into staging and tested this query using psql. the test worked :)

@@ -522,22 +522,18 @@ flow:
nextScreens:
- name: paid-by-ccap
condition: EnableProviderRegistration
- name: ccap-registration
- name: provider-number
Copy link
Contributor

Choose a reason for hiding this comment

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

@spokenbird - heads up that this PR is actually renaming the ccap-registration screen to provider-number so it will actually always appear at the beginning of the flow. This means that you probably no longer need to add the GenerateDummyClientSubmissionForDev to the paid by CCAP screen

Copy link
Contributor

@analoo analoo left a comment

Choose a reason for hiding this comment

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

Tested the query βœ… , Reviewed the provider-number screen βœ… , confirmed that the link to saying no provider is gone and now on the provider-number screen βœ…

Made a few recommended changes. The only blocking one is related to the missing apostrophe on provider-info-confirm

@analoo analoo self-requested a review December 4, 2024 05:32
Copy link
Contributor

@analoo analoo left a comment

Choose a reason for hiding this comment

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

Approving with the request that the suggestions are included.

@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 4, 2024 15:17 Inactive
cram-cfa and others added 2 commits December 4, 2024 09:23
@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 4, 2024 15:23 Inactive
@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 4, 2024 15:24 Inactive
…CCAP-453 (#880)

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 4, 2024 15:37 Inactive
@enyia21 enyia21 temporarily deployed to il-gcc-marc-ccap-453-grvu9hrnw December 4, 2024 15:48 Inactive
@cram-cfa cram-cfa merged commit b083eb6 into main Dec 4, 2024
5 checks passed
@cram-cfa cram-cfa deleted the marc-CCAP-453 branch December 4, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants