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

Download all local authority links #413

Merged
merged 6 commits into from
Apr 16, 2019

Conversation

AlanGabbianelli
Copy link
Contributor

@AlanGabbianelli AlanGabbianelli commented Apr 9, 2019

Allow download of links with specific statuses

The previous behaviour of clicking a link to download broken links has
been modified so that the user can select specific statuses for which
they want to download links. Only links with the selected status will be
present in the downloaded csv file. They are initially all selected by
default.

See specific commit messages for more context on other changes.

Trello: https://trello.com/c/Z6SmqxE3/938-add-button-to-download-all-links-for-a-council

@AlanGabbianelli AlanGabbianelli force-pushed the download-all-local-authority-links branch 2 times, most recently from 6aae0d2 to 7115d5f Compare April 15, 2019 18:50
@AlanGabbianelli AlanGabbianelli changed the title [WIP] [DO NOT MERGE] Download all local authority links Download all local authority links Apr 15, 2019
@AlanGabbianelli AlanGabbianelli force-pushed the download-all-local-authority-links branch 2 times, most recently from 5aade6c to 96fef1e Compare April 16, 2019 08:38
@AlanGabbianelli AlanGabbianelli force-pushed the download-all-local-authority-links branch 2 times, most recently from 8918fd2 to 82715cc Compare April 16, 2019 08:53
app/assets/javascripts/local_authorities.js Outdated Show resolved Hide resolved
app/assets/javascripts/local_authorities.js Outdated Show resolved Hide resolved
spec/rails_helper.rb Outdated Show resolved Hide resolved
@AlanGabbianelli AlanGabbianelli force-pushed the download-all-local-authority-links branch from 82715cc to c1d44be Compare April 16, 2019 10:30
Alan Gabbianelli added 4 commits April 16, 2019 11:33
This versions silences Puma logs during spec suite:
rspec/rspec-rails#1897
In development mode, having to restart the server every time we make a
change is annoying and time consuming. This config will change the
default behaviour.

See: 
https://stackoverflow.com/questions/18270945/rails-server-needs-restart-every-time-i-make-changes-why
And rename currently_broken to broken
@AlanGabbianelli AlanGabbianelli force-pushed the download-all-local-authority-links branch from c1d44be to c3617bc Compare April 16, 2019 10:50
The previous behaviour of clicking a link to download broken links has
been modified so that the user can select specific statuses for which
they want to download links. Only links with the selected status will be
present in the downloaded csv file. They are initially all selected by
default.
@AlanGabbianelli AlanGabbianelli force-pushed the download-all-local-authority-links branch from c3617bc to f5dee13 Compare April 16, 2019 11:42
@AlanGabbianelli AlanGabbianelli merged commit 2bfa5b5 into master Apr 16, 2019
@AlanGabbianelli AlanGabbianelli deleted the download-all-local-authority-links branch April 16, 2019 13:29
AlanGabbianelli pushed a commit that referenced this pull request Apr 23, 2019
As users are now able to download a csv with all links for a specific
local authority (see
#413), we want to
give them the ability to also upload that same csv with new links urls
to be able to change in batch as many links urls as they want for that
specific local authority.

See specific commit messages for more context on other changes.

Trello: https://trello.com/c/wpk9v5S9/877-allow-content-support-to-change-links-by-uploading-a-csv
Co-Authored-By: Elliot Crosby-McCullough <[email protected]>
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