Peter Fabian
11d6f2e93a
Updated query parameters according to spec.
2018-11-13 16:24:57 +01:00
Jonathan Belcher
2eff88bf4c
Adds a test snapshot for count ( https://github.com/woocommerce/woocommerce-admin/pull/830 )
2018-11-13 09:39:42 -05:00
renovate[bot]
a2f0f5c875
Update dependency husky to v1.1.4 ( https://github.com/woocommerce/woocommerce-admin/pull/829 )
2018-11-13 09:16:01 -05:00
Robert Elliott
bd1997b725
Merge pull request woocommerce/woocommerce-admin#785 from woocommerce/add/chart-63day-x1month-x2year
...
Component - chart: more than 9 weeks of ticks change xFormat to months & x2Format to yrs
2018-11-13 10:16:01 +02:00
Jonathan Belcher
59a3db306e
Remove unneeded leading whitespace ( https://github.com/woocommerce/woocommerce-admin/pull/820 )
...
This has made it difficult to quick create test instructions since I have to add a leading space before every step.
2018-11-12 16:50:03 -05:00
Jonathan Belcher
ffaa80a95e
Add snapshotting to Animation Slider ( https://github.com/woocommerce/woocommerce-admin/pull/819 )
2018-11-12 16:49:40 -05:00
Jonathan Belcher
cd00227875
Adds Card Snapshot ( https://github.com/woocommerce/woocommerce-admin/pull/821 )
2018-11-12 16:49:32 -05:00
Albert Juhé Lluveras
5033a1ba5c
Update comparison chart design and show it on the Product report ( https://github.com/woocommerce/woocommerce-admin/pull/816 )
...
* Display comparison chart in Product detail report
* Make legend to overflow in comparison charts
* Show comparison chart also when comparing products
* Update comparison chart legend design
* Send itemsLabel and comparisonChart as props to the ReportChart component
* Update styles and create a legend.scss file
* Minor cleanup
* Fix legend test
* Sort props alphabetically
2018-11-12 15:41:33 -06:00
Jonathan Belcher
5c84bd4790
Update composer.lock
2018-11-12 14:53:18 -05:00
Jonathan Belcher
0193e73a87
Merge Commit
2018-11-12 14:50:13 -05:00
Albert Juhé Lluveras
3637ae5054
Update table gradient code to be more similar to chart legend gradient code ( https://github.com/woocommerce/woocommerce-admin/pull/817 )
2018-11-12 12:04:38 -06:00
renovate[bot]
687a728e64
Update dependency wp-coding-standards/wpcs to v1.2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/815 )
2018-11-12 12:29:36 -05:00
renovate[bot]
c83d1d0779
Update dependency eslint to v5.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/810 )
2018-11-12 12:03:48 -05:00
Jonathan Belcher
bccae052ae
Refactor to remove products chart.js ( https://github.com/woocommerce/woocommerce-admin/pull/799 )
...
* Refactor to remove products chartjs
* Delete chartjs
* Fix copy pasta error
2018-11-12 11:28:03 -05:00
Jonathan Belcher
e49997381b
Refactor to remove revenue chartjs ( https://github.com/woocommerce/woocommerce-admin/pull/800 )
...
* Refactor to remove revenue chartjs
* Update index.js
* Remove extra line
2018-11-12 11:27:19 -05:00
Jonathan Belcher
f98d0c9720
Adds renovate lock file updates ( https://github.com/woocommerce/woocommerce-admin/pull/801 )
2018-11-12 11:26:11 -05:00
renovate[bot]
585b234ed7
Update dependency d3-array to v2 ( https://github.com/woocommerce/woocommerce-admin/pull/811 )
2018-11-12 11:25:54 -05:00
renovate[bot]
004f27223c
Update dependency stylelint to v9.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/809 )
2018-11-12 11:24:53 -05:00
Kelly Dwan
89cee0df90
Build: Move filter code to the navigation package ( https://github.com/woocommerce/woocommerce-admin/pull/803 )
...
* Move filter code to the navigation package
- Moves filter-related code to navigation, so it can be shared between components and the app
- Fixes spelling of “flatten”
- Update README docs with new functions
* Use `get` to prevent errors if options is not an array/is empty
* Update documentation and tests
2018-11-12 11:17:18 -05:00
Allen Snook
45c03845b2
Remove SCRIPT_DEBUG requirement
2018-11-09 09:49:33 -05:00
Jonathan Belcher
a490287f0a
Updates docs ( https://github.com/woocommerce/woocommerce-admin/pull/798 )
2018-11-07 17:00:50 -05:00
Allen Snook
6e28d5d3f5
Merge pull request woocommerce/woocommerce-admin#774 from woocommerce/fix/772-wp5-compat
...
Allow WC-Admin to activate on WP 5 without Gutenberg plugin active
2018-11-07 16:13:15 -05:00
Allen Snook
a5b1b617c2
Prompt user to set SCRIPT_DEBUG on WP 5 for now.
2018-11-07 14:53:05 -05:00
Allen Snook
e933427d5a
Fix leading spaces
2018-11-07 12:53:20 -05:00
renovate[bot]
9ccddf5a19
Pin dependency @wordpress/custom-templated-path-webpack-plugin to 1.1.5 ( https://github.com/woocommerce/woocommerce-admin/pull/788 )
2018-11-07 12:25:48 -05:00
Jonathan Belcher
c102e78523
Creates a helper function to get selected chart ( https://github.com/woocommerce/woocommerce-admin/pull/794 )
...
* Creates a helper function to get selected chart
* remove console log
* Make sure charts is never empty
* Clarify docs
2018-11-07 12:19:59 -05:00
renovate[bot]
d68604629c
Update dependency eslint-plugin-jest to v22 ( https://github.com/woocommerce/woocommerce-admin/pull/791 )
2018-11-07 12:08:24 -05:00
renovate[bot]
cbcdf9ba78
Update babel monorepo to v7.1.5 ( https://github.com/woocommerce/woocommerce-admin/pull/789 )
2018-11-07 12:04:34 -05:00
Jonathan Belcher
ffee7cc841
Moves charts to config to delete chart.js ( https://github.com/woocommerce/woocommerce-admin/pull/793 )
2018-11-07 11:38:34 -05:00
Allen Snook
1a72cf2e4e
Fix compatibility check to handle WP 5; call wp_get_jed_locale_data
2018-11-07 07:38:14 -05:00
Allen Snook
9246ab6ef4
Correct merge of class-wc-admin-reports-data-store
2018-11-07 07:25:17 -05:00
Allen Snook
962bb73288
Remove temporary comments on reports data store
2018-11-07 07:22:53 -05:00
Allen Snook
24c80427fc
Fix a bug in the notes updater; better handle test case where
...
note expiration/expired date changes at woocommerce.com causing
an expired note to become an expiring note (corner case)
2018-11-07 07:21:23 -05:00
Allen Snook
8851a8cfe7
Refresh subscription notes daily
2018-11-07 07:21:23 -05:00
Allen Snook
3acd858d37
Hook up the expiring, expired subscription notes
2018-11-07 07:21:22 -05:00
Allen Snook
dcfc8ea17d
Start adding subscription notes to the merchant inbox
2018-11-07 07:21:22 -05:00
Robert Elliott
703c1ca33a
update from feedback
2018-11-07 11:54:20 +02:00
Kelly Dwan
8af82f3dee
Build: Move `lib/csv` to packages ( https://github.com/woocommerce/woocommerce-admin/pull/756 )
...
* Move CSV to packages
* Update CSV imports
* Add some basic usage documentation
* Add csv lib to the enqueued assets
* Change name to `csv-export`
* Update webpack build process to allow for package names with dashes
* Fix capitalization
* Update readme with docs extracted from jsdoc
* Fix merge conflict commit 😣
* Check that generateCSVFileName is called with correct params
2018-11-06 16:53:22 -05:00
Allen Snook
cf47d03bd8
Merge pull request woocommerce/woocommerce-admin#753 from woocommerce/add/inbox-example
...
Extensibility: Add activity panel inbox tutorial
2018-11-06 11:10:47 -05:00
Robert Elliott
d59594c4f6
at more than 9 weeks of ticks change xFormat to months and x2Format to years
2018-11-06 16:02:16 +02:00
Kevin Killingsworth
fbed89eb19
Update @wordpress/data for 3.x ( https://github.com/woocommerce/woocommerce-admin/pull/783 )
...
* fix: Remove state argument from resolvers.
State is no longer the first argument to resolvers as of @wordpress/data
version 3.0.0
* Update @wordpress/data to 3.1.0
* Adjust resolvers to work with v2 and v3 wp.data
This adds code to inspect the arguments of the resolvers to allow for
working with v2 or v3 wp.data. This is only temporary.
* resolvers: fix tests
This fixes tests by removing empty state objects from them.
2018-11-05 18:30:32 -05:00
Paul Sealock
50e635e716
Add Variations autocompleter
2018-11-05 17:43:59 -05:00
Kelly Dwan
1716ebcdae
Inject translations after i18n is included, so we catch the earliest instance of translation functionality ( https://github.com/woocommerce/woocommerce-admin/pull/782 )
2018-11-05 17:09:20 -05:00
Kelly Dwan
d27cb26ef7
Build: Move `lib/nav-utils` and `lib/history` to `@woocommerce/navigation` ( https://github.com/woocommerce/woocommerce-admin/pull/763 )
...
* Move nav-utils and history to new package
* Update config to build and use new navigation package
* Update all imports to use new navigation package
* Remove unnecessary README
* Update nav-utils path
2018-11-05 16:02:04 -05:00
renovate[bot]
3dd11ae8d5
Update dependency webpack to v4.25.1 ( https://github.com/woocommerce/woocommerce-admin/pull/780 )
2018-11-05 15:29:55 -05:00
renovate[bot]
6fc439ee92
Update dependency webpack to v4.25.0 ( https://github.com/woocommerce/woocommerce-admin/pull/777 )
2018-11-05 13:00:38 -05:00
renovate[bot]
82acb08069
Update dependency eslint-plugin-jest to v21.27.1 ( https://github.com/woocommerce/woocommerce-admin/pull/767 )
2018-11-05 12:57:01 -05:00
Jonathan Belcher
f52127ac31
Add command to build release zip ( https://github.com/woocommerce/woocommerce-admin/pull/768 )
...
* Add command to build release zip
* Modify Gutenberg build script to work with wc-admin
* Small fixes
* Add all includes
* Remove install command, since build also installs
2018-11-05 10:11:34 -05:00
renovate[bot]
19f1c01861
Update dependency node-sass to v4.10.0 ( https://github.com/woocommerce/woocommerce-admin/pull/766 )
...
* Update dependency node-sass to v4.10.0
* Update package-lock
2018-11-05 10:10:54 -05:00
Allen Snook
90b4553502
Fix typos and bad grammar, add more links
2018-11-04 21:49:35 -05:00
Allen Snook
ee4dde5835
Do not attempt to run table setup without dependency check first
2018-11-04 17:50:53 -05:00
renovate[bot]
3213f6a80f
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/743 )
2018-11-04 16:38:56 -05:00
renovate[bot]
95d50a6736
Update dependency buble to v0.19.6 ( https://github.com/woocommerce/woocommerce-admin/pull/612 )
2018-11-04 16:37:55 -05:00
Jonathan Belcher
5e7b9d41c1
Updates docs files ( https://github.com/woocommerce/woocommerce-admin/pull/769 )
2018-11-04 16:25:00 -05:00
renovate[bot]
c8625ca0d1
Update dependency stylelint to v9.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/744 )
2018-11-03 13:27:16 -04:00
renovate[bot]
3ef218b0bf
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/745 )
2018-11-03 13:23:57 -04:00
renovate[bot]
930bbad2b9
Update dependency eslint-plugin-jest to v21.27.0 ( https://github.com/woocommerce/woocommerce-admin/pull/765 )
2018-11-03 11:35:54 -04:00
Albert Juhé Lluveras
70e7e14e7a
Persist time queries when clicking on breadcrumbs links ( https://github.com/woocommerce/woocommerce-admin/pull/759 )
...
* Make breadcrumbs links persist date queries
* Add tests to getTimeRelatedQuery() when query parameter not set
* Add comment explanation about navUtils self-import
2018-11-02 22:38:16 +01:00
Jonathan Belcher
aac90a8aae
Adds css linting to the main lint command to be run in ci ( https://github.com/woocommerce/woocommerce-admin/pull/735 )
2018-11-02 15:48:16 -04:00
Kelly Dwan
2b29dc7d1c
Build: Switch react imports to use core packages ( https://github.com/woocommerce/woocommerce-admin/pull/755 )
...
* Remove react, react-dom, and redux imports in favor of core packages
* Move build dependencies out of `devDependencies`
2018-11-02 15:37:28 -04:00
Kelly Dwan
c29043a3bc
Switch to using `@wordpress/viewport` for responsive screen layouts ( https://github.com/woocommerce/woocommerce-admin/pull/761 )
...
* Switch to Gutenberg viewport package
* Switch CSS breakpoints to core-supported values
* Fix double-calendar logic
2018-11-02 15:20:11 -04:00
renovate[bot]
4bf4d93999
Update dependency husky to v1.1.3 ( https://github.com/woocommerce/woocommerce-admin/pull/757 )
...
* Update dependency husky to v1.1.3
* Update commit hooks to husky v1 config
v1.0 moved away from `scripts`, to a custom property in package.json
2018-11-02 12:48:24 -04:00
renovate[bot]
39683ec4e3
Update dependency webpack to v4.24.0 ( https://github.com/woocommerce/woocommerce-admin/pull/760 )
2018-11-02 12:15:46 -04:00
Allen Snook
a0d96c07f4
Merge pull request woocommerce/woocommerce-admin#747 from woocommerce/add/run-dbdelta-on-init
...
Run dbdelta on init, at least as long as this is a separate plugin
2018-11-02 08:35:49 -07:00
Peter Fabian
abc8ed4e55
Corrected path to phpcs for Travis.
2018-11-02 15:27:03 +01:00
Peter Fabian
97f3cf0cb5
Corrected path to phpunit for Travis.
2018-11-02 15:15:23 +01:00
Peter Fabian
e95cde4a3e
Updated Travis composer configuration.
...
Composer can only run for PHP 7.1+, correct PHPUnit should already be specified in composer.json.
The PATH export in travis.yml ensures that PHPUnit v6 is used for PHP v7.2.
2018-11-02 15:06:29 +01:00
Peter Fabian
da8b16888d
Made composer run in correct dir, now for real.
2018-11-02 13:17:38 +01:00
Peter Fabian
1164a08e07
Run composer under WP_CORE_DIR in Travis.
2018-11-02 12:52:28 +01:00
Peter Fabian
b482b3b354
Updated path to PHPUnit for Travis CI tests.
2018-11-02 12:43:58 +01:00
Peter Fabian
09ec5df9c3
Added testing of multiple PHP versions, improve test runtime by optimizing git clone.
2018-11-02 12:34:39 +01:00
Peter Fabian
a1f2c867f4
Corrected failing tests.
2018-11-02 12:24:21 +01:00
Peter Fabian
3c490a5ce6
Switch the directory from which the PHP Unit tests run on Travis.
2018-11-02 11:43:46 +01:00
Peter Fabian
6f9dd9c61b
Moved wc-admin installation to phpunit bootstrap.
2018-11-02 11:31:41 +01:00
Jonathan Belcher
b16c056c32
Makes stylelint config match prettier settings ( https://github.com/woocommerce/woocommerce-admin/pull/733 )
...
* Makes stylelint config match prettier settings
* Fix/all css lints (https://github.com/woocommerce/woocommerce-admin/pull/734 )
* Fix all sass lints!
* Delete settings.json
* Update newline rule, which also conflicts with prettier
* Fix remaining stylelint issues
* Disable stylelint rule for a line to avoid prettier/linter fights
2018-11-01 17:03:00 -04:00
Allen Snook
1a46b29b73
Merge pull request woocommerce/woocommerce-admin#748 from woocommerce/add/contributing
...
Add markdown docs with details on contributing
2018-11-01 13:19:10 -07:00
Allen Snook
4604ba1c12
Remove credits for now, at least until we need to do something like that
2018-11-01 13:07:27 -07:00
Allen Snook
e510d94836
Only create/update tables on init if WP_DEBUG is true
2018-11-01 12:59:32 -07:00
Allen Snook
4787f94d45
Add images
2018-11-01 12:38:36 -07:00
Allen Snook
df11c3fab5
Further tweaks to the sidebar markdown
2018-11-01 12:32:26 -07:00
Allen Snook
206a71aecc
Add activity panel inbox tutorial
2018-11-01 12:18:43 -07:00
Albert Juhé Lluveras
c4bb740f1f
Add error message to Top Selling Products table ( https://github.com/woocommerce/woocommerce-admin/pull/750 )
...
* Add error message to Top Selling Products
* Add margin bottom to Top Selling Products error message
2018-11-01 18:15:53 +01:00
Albert Juhé Lluveras
33f93def37
Fix table header in IE11 ( https://github.com/woocommerce/woocommerce-admin/pull/752 )
2018-11-01 18:15:36 +01:00
Allen Snook
5dc6ce943d
Fix issue submittal link and text, replace Services with Admin
...
in one place where I missed it
2018-11-01 09:43:06 -07:00
Peter Fabian
1dff9420d8
Updated composer.lock for correct PHPUnit version.
2018-11-01 17:28:42 +01:00
Peter Fabian
cf847140c3
Only install wc-admin branch if testing on Travis CI.
2018-11-01 17:27:55 +01:00
Peter Fabian
afee6e7e39
Fixed PHPUnit version to v6 in composer.json.
2018-11-01 15:43:15 +01:00
Jonathan Belcher
de92fd8ed5
Adds Jest Snapshot update command ( https://github.com/woocommerce/woocommerce-admin/pull/741 )
2018-11-01 08:39:41 -04:00
Peter Fabian
bcf21687d3
Updated parameters in the REST controller.
2018-11-01 12:37:49 +01:00
Albert Juhé Lluveras
33cdba6945
Fix charts redirecting to previous path when changing interval value ( https://github.com/woocommerce/woocommerce-admin/pull/731 )
...
* Fix charts redirecting to previous path when changing interval value
* Fix chart being reset when changing interval
* Fix chart being reset when changing filters
2018-11-01 10:13:45 +01:00
Allen Snook
cf72ac4744
Add markdown docs with details on contributing
2018-10-31 16:12:11 -07:00
Allen Snook
3c323d6c75
Run dbdelta on init, at least as long as this is a separate plugin
2018-10-31 15:47:39 -07:00
Joshua T Flowers
0f45a08f20
Update order summary in Orders report ( https://github.com/woocommerce/woocommerce-admin/pull/613 )
...
* Move TableSummary below pagination
* Add summary to order table
* Add new and returning customers
* Add product to totals in API
* Use get_var instead of get_results for unique products
* Change table summary styling
Remove slashes and increase padding between items based on discussion with @LevinMedia
Change margin to padding to overlap table shadow when pagination is not present.
* Fix wp_posts prefix and move to separate fxn
* Change new/returning customer column types to intval
* Add new/returning customer data to tests and fix formatting
2018-10-31 14:09:38 -05:00
Albert Juhé Lluveras
9186eed9c0
Clear filter button fixes ( https://github.com/woocommerce/woocommerce-admin/pull/736 )
2018-10-31 11:29:20 +01:00
Paul Sealock
81c746a22f
Merge pull request woocommerce/woocommerce-admin#714 from woocommerce/add/variations-filter
...
Filters: Add Variations extra filters
2018-10-31 16:22:43 +13:00
Jonathan Belcher
43cccb49b7
Adds Section Header component ( https://github.com/woocommerce/woocommerce-admin/pull/689 )
...
* Adds Section Header component
* Return Card header to previous state
* Restore card header
* Fix weird format comment in markdown
* PR review comment fixes
* Add snapshot to test
* Add role to hr to remove from screen readers
* Code review fixes
2018-10-30 22:07:16 -04:00
Paul Sealock
e8f3258d47
Filters: Add Variations extra filters
2018-10-31 11:26:05 +13:00
Kelly Dwan
f62537fc17
Try: Add Lerna to split out utility packages ( https://github.com/woocommerce/woocommerce-admin/pull/678 )
...
* Add lerna & GB package-building script
* Move currency library to lerna module
* Update lerna config
* Add publish commands
* Add currency as an faux-external module
* Add separate command to build just core files
* Update dependency path
* Update build script to build all packages into `dist`
* Add packages to the jest test setup
* Move date library to packages
* Update imports to use @woocommerce/date
* Output wcSettings definition before any scripts are output
Fixes issues where wc-dates lib relies on settings object
* Add the build step into travis
* Update jest config to dynamically get package paths
* Update package postcss config to match wc-admin’s main config
* Add combined watch scripts for package+app, add a `clean` command to clean up old build files
* Ignore PHPCS error (leave todo message to fix)
* Concat files with a space, fix issue where all files join in one continuous string and fail the check
2018-10-30 14:57:48 -04:00
Jonathan Belcher
f6940db59c
Ignore VS Code configuration files ( https://github.com/woocommerce/woocommerce-admin/pull/732 )
2018-10-30 14:26:13 -04:00
Albert Juhé Lluveras
e5fe8b1c66
Move tooltip below the chart when there is limited horizontal space ( https://github.com/woocommerce/woocommerce-admin/pull/716 )
...
* Show tooltip below the chart on mobile
* Fix tooltips not correctly centered in bar chart
2018-10-30 19:07:34 +01:00