-
Notifications
You must be signed in to change notification settings - Fork 0
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
Snagging fixes - CSV upload #75
Conversation
c3b0d08
to
e65b65c
Compare
e65b65c
to
bd6155b
Compare
bd6155b
to
8069d29
Compare
8069d29
to
95316bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
One thing which I realise now wasn't clear on the ticket - rather than the flash message we intended to have a separate 'green panel' success page. Similar to this page the user sees after submitting feedback on refer:
I'm not sure about the content underneath the panel though, one to check with @adamsilver / @johndoates
<h1 class="govuk-heading-l">Check the Children’s Barred List</h1> | ||
|
||
<h2 class="govuk-heading-m">Upload file</h2> | ||
|
||
<%= form_with model: @upload_form, url: [:support_interface, :uploads] do |f| %> | ||
<%= f.govuk_error_summary %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<%= f.govuk_error_summary %> | |
<%= f.govuk_error_summary("There’s a problem") %> |
cb633a5
to
e338b1a
Compare
e338b1a
to
85b8171
Compare
config/master.key.bak
Outdated
@@ -0,0 +1 @@ | |||
626d146b0e45c9c4d740f5f7963eb5ba |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, added by accident - this isn't a key we ever use in any environment, was generated locally, I've removed now.
85b8171
to
afb5982
Compare
Context
Design review of CSV upload has suggested some amendments and fixes.
Changes proposed in this pull request
Upload form amendments
Success message
Amended error for form submission with no file selected
Error message for non-CSV upload
Guidance to review
Link to Trello card
https://trello.com/c/VGKXwQu0/116-snagging-csv-upload
Checklist