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

[ improvement ] [ Bulk Actions ] Export CSV #178

Open
atwellpub opened this issue Jun 9, 2016 · 0 comments
Open

[ improvement ] [ Bulk Actions ] Export CSV #178

atwellpub opened this issue Jun 9, 2016 · 0 comments

Comments

@atwellpub
Copy link
Member

atwellpub commented Jun 9, 2016

Our current CSV export system will break when trying to export an amount of leads over 800+, depending on server settings.

Example of a Lead export.

http://screencast.com/t/H76uYbbLN

goals

  • Break processing into batches of X. ( in the final version x will be 500 but for testing it should just be set to 5 )
  • Use ajax to process and save/update file into /uploads/leads/csv/ folder.
  • Shows progress in UI
  • After processing is finished it prompts a download location with a message letting the user know a this file is also available in wp-content/uploads/leads/csv/

Important code locations

Where we are currently processing and generating CSV:
https://github.com/inboundnow/leads/blob/develop/classes/class.lead-management.php#L798-L869

Where appropriate JS should go
https://github.com/inboundnow/leads/blob/develop/assets/js/management/admin.js

Where Ajax Processing should go
https://github.com/inboundnow/leads/blob/develop/classes/class.lead-management.php#L54

Further instructions

  • Please develop in 'develop' branch.
  • Please create 10 dummy leads for testing.

Optimistic time for completion:
8-15 hours.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35024215-improvement-bulk-actions-export-csv?utm_campaign=plugin&utm_content=tracker%2F260752&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F260752&utm_medium=issues&utm_source=github).
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

No branches or pull requests

1 participant