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

FFS-984: Missing Results Page #79

Merged
merged 7 commits into from
Jul 2, 2024
Merged

Conversation

JosephGasiorekUSDS
Copy link
Contributor

Ticket

Resolves FFS-984

Changes

  1. Adds a screen to say what to do when the user can not find their employer on the search page
  2. Links to the screen from the search results page

Context for reviewers

NOTE: This should be reviewed after #78.

There is a link to the "agency site". I used https://www.cms.gov but open to suggestions.

Testing

Screenshots

Screen Shot 2024-06-28 at 14 34 59-fullpage
Screen Shot 2024-06-28 at 14 35 04-fullpage
Screen Shot 2024-06-28 at 14 35 10-fullpage
Screen Shot 2024-06-28 at 14 35 14-fullpage

>
<%= t('cbv.employer_searches.show.search_by_payroll_provider') %>
</button>
<%= link_to 'missing_results', data: { turbo_frame: "_top" } do %>
Copy link
Contributor

Choose a reason for hiding this comment

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

Does link_to 'missing_results' work? Never seen that syntax before (but Rails contains multitudes, so I legit don't know).

I would have expected:

link_to cbv_flow_missing_result_path, [...]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Updated the PR to use this method

<button
data-id=""
data-response-type=""
class="usa-button usa-button--outline"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should just apply these classes to the <a> tag rather than having a button in a link.

e.g. link_to [...], class: "usa-button usa-button--outline"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Switch it to be an anchor link

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

@JosephGasiorekUSDS JosephGasiorekUSDS marked this pull request as ready for review July 1, 2024 22:10
@JosephGasiorekUSDS JosephGasiorekUSDS merged commit f57ffd8 into main Jul 2, 2024
4 checks passed
@JosephGasiorekUSDS JosephGasiorekUSDS deleted the jgasiorek-ffs-984 branch July 2, 2024 22:15
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.

None yet

3 participants