Giter Site home page Giter Site logo

discipletools / disciple-tools-list-exports Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 3.0 1.56 MB

Add the ability to export csv, bcc, phone lists, and mapping from your custom contacts list.

Home Page: https://disciple.tools/plugins/list-exports/

License: Other

PHP 88.13% Shell 11.87%
disciple-tools-plugin

disciple-tools-list-exports's People

Contributors

chrischasm avatar corsacca avatar kodinkat avatar micahmills avatar prykon avatar

Watchers

 avatar  avatar  avatar

disciple-tools-list-exports's Issues

Csv export help text

Display which fields are going to exported in this modal:
image
Tell the user they can select which fields are exported by changing the list fields

Export not working with custom date fields

Hello! We have added several custom date fields which we would like to be able to export; however, when we try to use the "Export CSV" button, it just spins. When none of the date fields are selected, it works fine. Any idea what we can do to counteract this?

csv file export name

The downloaded file is name "download" missing the file extension.

Meaning my computer didn't know what to do with the file.

We could make it download.csv.
I'd suggest something like:
2021_04_21_list_export.csv

PHPCS Trouble

I'm trying to run the test_phpcs.sh on some changes I'm trying to push but get the following error message. Did anybody else encounter this and find a fix for it?

PHP Fatal error:  Uncaught TypeError: vsprintf(): Argument #2 ($values) must be of type array, string given in /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php:1056
Stack trace:
#0 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(1056): vsprintf('Expected exactl...', '  ')
#1 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(672): PHP_CodeSniffer\Files\File->addMessage(true, 'Expected exactl...', 27, 19, 'ExtraSpaceAfter...', '  ', 5, true)
#2 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(780): PHP_CodeSniffer\Files\File->addError('Expected exactl...', 181, 'ExtraSpaceAfter...', '  ', 0, true)
#3 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php(306): PHP_CodeSniffer\Files\File->addFixableError('Expected exactl...', 181, 'ExtraSpaceAfter...', '  ')
#4 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php(910): WordPressCS\WordPress\Sniffs\WhiteSpace\ControlStructureSpacingSniff->process_token(181)
#5 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(498): WordPressCS\WordPress\Sniff->process(Object(PHP_CodeSniffer\Files\LocalFile), 181)
#6 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/LocalFile.php(92): PHP_CodeSniffer\Files\File->process()
#7 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Runner.php(630): PHP_CodeSniffer\Files\LocalFile->process()
#8 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Runner.php(434): PHP_CodeSniffer\Runner->processFile(Object(PHP_CodeSniffer\Files\LocalFile))
#9 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Runner.php(114): PHP_CodeSniffer\Runner->run()
#10 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/bin/phpcs(18): PHP_CodeSniffer\Runner->runPHPCS()
#11 {main}
  thrown in /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php on line 1056

Fatal error: Uncaught TypeError: vsprintf(): Argument #2 ($values) must be of type array, string given in /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php:1056
Stack trace:
#0 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(1056): vsprintf('Expected exactl...', '  ')
#1 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(672): PHP_CodeSniffer\Files\File->addMessage(true, 'Expected exactl...', 27, 19, 'ExtraSpaceAfter...', '  ', 5, true)
#2 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(780): PHP_CodeSniffer\Files\File->addError('Expected exactl...', 181, 'ExtraSpaceAfter...', '  ', 0, true)
#3 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/wp-coding-standards/wpcs/WordPress/Sniffs/WhiteSpace/ControlStructureSpacingSniff.php(306): PHP_CodeSniffer\Files\File->addFixableError('Expected exactl...', 181, 'ExtraSpaceAfter...', '  ')
#4 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/wp-coding-standards/wpcs/WordPress/Sniff.php(910): WordPressCS\WordPress\Sniffs\WhiteSpace\ControlStructureSpacingSniff->process_token(181)
#5 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php(498): WordPressCS\WordPress\Sniff->process(Object(PHP_CodeSniffer\Files\LocalFile), 181)
#6 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/LocalFile.php(92): PHP_CodeSniffer\Files\File->process()
#7 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Runner.php(630): PHP_CodeSniffer\Files\LocalFile->process()
#8 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Runner.php(434): PHP_CodeSniffer\Runner->processFile(Object(PHP_CodeSniffer\Files\LocalFile))
#9 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Runner.php(114): PHP_CodeSniffer\Runner->run()
#10 /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/bin/phpcs(18): PHP_CodeSniffer\Runner->runPHPCS()
#11 {main}
  thrown in /Users/wp-content/plugins/disciple-tools-list-exports/vendor/squizlabs/php_codesniffer/src/Files/File.php on line 1056

Export pulling from wrong filtered list

The list export utilities are available on the left panel of the lists view and intuitive use would make you think that clicking export would export the filtered list you're looking at, but when a user creates a custom/temporary/unsaved list and is viewing it and clicks to export the list, the list that is exported is not the list that is being viewed, but the previous saved list that was last viewed.

It would be helpful to be able to filter a list temporarily and use the export tools with the list being viewed, whether temporary or saved.

Locations not included in CSV exports

Hello! Just found that location fields are not being included in CSV list exports; the column header is there but all the rows are blank. This will be important for sorting data by location.

Thanks!

Exports don't work on smaller screen dimensions

Bug:
If a user is using a smaller screen dimension, the class names that are being referenced to scrape table data change and nothing gets found/exported.

How to reproduce:

  1. Open contacts page
  2. Reduce screen size so that the responsive class names activate
  3. Try to export by clicking List Exports > csv list (divs that should contain export data are empty)

I don't know how many people are trying to export from a small screen (exporting CSVs doesn't seem to be relevant in mobile), but maybe this warrants a fix.

Extension (DT) Menu duplicated when activated

The Extension (DT) menu appears in the admin twice when you have this plugin activated. I am seeing this across sites on a multi site install. When this plugin is activated on the network level or on the local level it duplicates the Extension Menu.
Screen Shot 2021-12-16 at 11 20 48 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.