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

Fyst -520 archived intake pdf download screen #5399

Merged
merged 15 commits into from
Jan 31, 2025

Conversation

squanto
Copy link
Contributor

@squanto squanto commented Jan 21, 2025

Link to pivotal/JIRA issue

https://codeforamerica.atlassian.net/browse/FYST-1520

Is PM acceptance required? (delete one)

  • Yes - don't merge until JIRA issue is accepted!

Reminder: merge main into this branch and get green tests before merging to main

What was done?

  • add pdf download page template

TODO

This can't be properly tested until verify ssn and other login stories are merged to step through the archive intake download flow

@squanto squanto force-pushed the FYST-1520-pdf-download-screen branch from 3ab00a7 to 6975caa Compare January 21, 2025 17:54
@squanto squanto marked this pull request as ready for review January 21, 2025 17:54
Copy link

Heroku app: https://gyr-review-app-5399-d3511315f7b8.herokuapp.com/
View logs: heroku logs --app gyr-review-app-5399 (optionally add --tail)

Copy link
Contributor

@mrotondo mrotondo left a comment

Choose a reason for hiding this comment

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

A couple small changes requested, and a question about checking mailing address verification before allowing pdf download

app/models/intake.rb Outdated Show resolved Hide resolved
@@ -11,6 +11,7 @@
Flipper.disable :show_retirement_ui unless Flipper.exist?(:show_retirement_ui)
Flipper.disable :sms_notifications unless Flipper.exist?(:sms_notifications)
Flipper.disable :hub_dashboard unless Flipper.exist?(:hub_dashboard)
Flipper.disable :get_your_pdf unless Flipper.exist?(:get_your_pdf)
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for adding this

@squanto squanto force-pushed the FYST-1520-pdf-download-screen branch 2 times, most recently from ccf9c8c to 6b5ae81 Compare January 24, 2025 17:06
@squanto squanto requested a review from mrotondo January 24, 2025 17:25
Copy link
Contributor

@mrotondo mrotondo 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, one typo and one small style question for your consideration

Copy link
Contributor

@tahsinaislam tahsinaislam left a comment

Choose a reason for hiding this comment

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

just had one suggestion!

return if session[:mailing_verified].present?

redirect_to root_path
end
Copy link
Contributor

Choose a reason for hiding this comment

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

could all this before actions be in one method if they all redirect to root path?

Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
@squanto squanto force-pushed the FYST-1520-pdf-download-screen branch from d4219e3 to e83fc5d Compare January 29, 2025 18:06
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
Co-authored-by: Hugo Melo <hmelo@codeforamerica.org>
@squanto squanto merged commit 6180b23 into main Jan 31, 2025
7 checks passed
@squanto squanto deleted the FYST-1520-pdf-download-screen branch January 31, 2025 20:36
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