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

Removing the deprecated cbv/share route #191

Merged
merged 8 commits into from
Aug 21, 2024

Conversation

GeorgeCodes19
Copy link
Contributor

@GeorgeCodes19 GeorgeCodes19 commented Aug 20, 2024

Ticket

Resolves FFS-1304

Changes

  • Removed the cbv/share#show route
  • Removed tests pertaining to the cbv/share#show route
  • Moved application transmission method to the Summaries update method.

Context for reviewers

The cbv/share#show route is now obsolete since we've moved the share with caseworker button to the summaries page.

@GeorgeCodes19 GeorgeCodes19 marked this pull request as ready for review August 21, 2024 16:51
app/.pa11yci Outdated Show resolved Hide resolved
Co-authored-by: Aaron Couch <aaroncouch@navapbc.com>
app/app/controllers/cbv/summaries_controller.rb Outdated Show resolved Hide resolved
payments: @payments
).summary_email.deliver_now
@cbv_flow.touch(:transmitted_at)
end
Copy link
Contributor

Choose a reason for hiding this comment

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

I dig it.

<% unless has_consent %>
<h2><%= t(".consent_to_authorize_use_title") %></h2>
<%= f.check_box(:consent_to_authorized_use, { 'label': site_translation(".consent_to_authorize_use_html") }) %>
<% end %>
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure why we want to hide the consent box if they've already checked it?

Copy link
Contributor Author

@GeorgeCodes19 GeorgeCodes19 Aug 21, 2024

Choose a reason for hiding this comment

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

Hmm.... this is carryover logic. I have the same thought. Maybe to prevent from updating the consented at time?


before do
session[:cbv_flow_invitation] = cbv_flow_invitation
session[:cbv_flow] = cbv_flow
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch

@GeorgeCodes19 GeorgeCodes19 merged commit a1c5ea0 into main Aug 21, 2024
14 checks passed
@tdooner tdooner deleted the george/ffs-1304-removing-shares-route branch August 22, 2024 18:26
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.

3 participants