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
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
Peter Fabian
bfb6f246f0
Return correct object for REST products controller. ( https://github.com/woocommerce/woocommerce-admin/pull/710 )
2018-10-30 11:06:23 -07:00
Peter Fabian
44c90d8ef1
Added zero-padding to hours coming from the db. ( https://github.com/woocommerce/woocommerce-admin/pull/687 )
...
* Added zero-padding to hours coming from the db.
* Added info about code dependency.
2018-10-30 11:04:03 -07:00
David Levin
a1e8eb0a80
Fix spelling of AVERAGE order value in orders report
2018-10-30 10:24:34 -07:00
David Levin
6b72b004ac
refactoring x-axis ticks ( https://github.com/woocommerce/woocommerce-admin/pull/685 )
...
* conflict resolution
* updated weekly interval formats
* updated week format to include day
2018-10-30 09:54:49 -07:00
Jonathan Belcher
eac848e351
Fixes Ellipsis hover bug in Firefox ( https://github.com/woocommerce/woocommerce-admin/pull/721 )
2018-10-30 12:24:15 -04:00
Jonathan Belcher
3446c0814b
Stylint autofixes ( https://github.com/woocommerce/woocommerce-admin/pull/729 )
2018-10-30 09:17:17 -04:00
Jonathan Belcher
d260205c11
Add stylelint ( https://github.com/woocommerce/woocommerce-admin/pull/728 )
...
* Add stylelint
* Pinn dependencies
* Make fix command work
No double colons are allowed in npm commands.
2018-10-30 08:56:22 -04:00
Jonathan Belcher
4dae75d1fb
Adds PHPCS autofixer command to npm scripts ( https://github.com/woocommerce/woocommerce-admin/pull/730 )
...
* Adds PHPCS autofixer command to npm scripts
* Fix command so it doesnt fail
2018-10-30 08:53:43 -04:00
Jonathan Belcher
c3391e78f5
Fix code comment ( https://github.com/woocommerce/woocommerce-admin/pull/723 )
2018-10-29 15:46:51 -04:00
Jonathan Belcher
360c4c7083
Fix automattically fixable php lint warnings ( https://github.com/woocommerce/woocommerce-admin/pull/720 )
2018-10-29 12:19:07 -04:00
Albert Juhé Lluveras
856dde0d3d
Fix: date params were no longer persisted when navigating pages ( https://github.com/woocommerce/woocommerce-admin/pull/717 )
2018-10-29 16:43:30 +01:00
renovate[bot]
764d0dbb1f
Update dependency dealerdirect/phpcodesniffer-composer-installer to v0.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/712 )
2018-10-29 11:33:32 -04:00
renovate[bot]
e996d305cc
Update dependency css-loader to v1.0.1 ( https://github.com/woocommerce/woocommerce-admin/pull/719 )
2018-10-29 11:26:42 -04:00
renovate[bot]
56f87e25fa
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/715 )
2018-10-29 11:26:10 -04:00
Peter Fabian
11fc40364f
Merge pull request woocommerce/woocommerce-admin#702 from woocommerce/fix/691
...
Simplified compound expression to fix code for older PHP versions.
2018-10-29 11:45:44 +01:00
Albert Juhé Lluveras
2b3446540c
Move withSelect() inside table components ( https://github.com/woocommerce/woocommerce-admin/pull/707 )
...
* Move withSelect() inside table components
* Add isLoading prop to TableCard (https://github.com/woocommerce/woocommerce-admin/pull/713 )
* Add isLoading prop to TableCard
* Add onSort prop to TablePlaceholder
* All checkbox shouldn't be checked if the number of rows is 0
2018-10-29 08:57:05 +01:00
Paul Sealock
2b36f53253
Filters: Add query from config directly to url
...
Add/filter params to queries
2018-10-29 13:15:27 +13:00
Paul Sealock
7e5c124ce1
Filters: Add params to request query
2018-10-29 13:07:13 +13:00
Jonathan Belcher
57e46e3273
Updates default analytics menu ( https://github.com/woocommerce/woocommerce-admin/pull/658 )
...
* Updates default analytics menu
* Make revenue the default analytics page
* Fix header link to direct to Revenue report
* Fix highlighting with additional filters
2018-10-27 13:38:35 -04:00
Albert Juhé Lluveras
ec0e49ec10
Update tabular data header design ( https://github.com/woocommerce/woocommerce-admin/pull/698 )
2018-10-27 13:22:24 +02:00
Jonathan Belcher
fa73712433
Fixes hover background on first column in tables ( https://github.com/woocommerce/woocommerce-admin/pull/706 )
2018-10-26 13:59:38 -04:00
renovate[bot]
7288434f79
Update dependency eslint to v5.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/709 )
2018-10-26 13:22:44 -04:00
Albert Juhé Lluveras
eda609126e
Reverse the order highlighted points are rendered in charts ( https://github.com/woocommerce/woocommerce-admin/pull/701 )
2018-10-26 16:47:44 +02:00
renovate[bot]
9c0dd84677
Update dependency eslint-plugin-jest to v21.26.2 ( https://github.com/woocommerce/woocommerce-admin/pull/705 )
2018-10-26 10:19:23 -04:00
Peter Fabian
3d71ec9208
Simplified compound expression to fix code for older PHP versions.
2018-10-26 14:02:53 +02:00
Robert Elliott
fd846b3396
Merge pull request woocommerce/woocommerce-admin#684 from woocommerce/bug/x2-axis-dups
...
Bug: ensure duplicate parts of date removed from x2 ticks
2018-10-26 10:43:57 +02:00
Albert Juhé Lluveras
0caed9a28a
Create QUERY_DEFAULTS object with default values for queries ( https://github.com/woocommerce/woocommerce-admin/pull/686 )
2018-10-26 10:19:39 +02:00
Robert Elliott
36ef0a9459
updated dotRadius and lineStroke based on viewport size
2018-10-26 10:10:29 +02:00
Robert Elliott
2551696c6a
show circles if the width to x-tick ratio is greater than 36px
2018-10-26 09:57:55 +02:00
Robert Elliott
a538ef7234
adjust chart height and dots
2018-10-26 09:57:55 +02:00
Paul Sealock
01fa16aa35
Merge pull request woocommerce/woocommerce-admin#679 from woocommerce/add/date-picker-dashboard
...
Dashboard: Add DatePicker
2018-10-26 10:05:04 +13:00
renovate[bot]
56f047c6f3
Pin dependency @babel/plugin-transform-react-jsx to 7.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/680 )
2018-10-25 15:26:06 -04:00
renovate[bot]
6ce21d5fff
Update dependency webpack to v4.23.1 ( https://github.com/woocommerce/woocommerce-admin/pull/683 )
2018-10-25 15:24:44 -04:00
David Levin
515324a3c2
Merge pull request woocommerce/woocommerce-admin#688 from woocommerce/update/activity-tab-style
...
remove rounded corners from activity bar icon buttons
2018-10-25 10:52:48 -07:00
Allen Snook
a8be179ebd
Merge pull request woocommerce/woocommerce-admin#649 from woocommerce/add/store-notice-setting-moved
...
Activity Panel: Inbox: When the user updates WooCommerce, add a note alerting that the store notice setting has moved
2018-10-25 10:06:30 -07:00
David Levin
bd0dccd132
remove rounded corners from activity bar icon buttons
2018-10-25 08:58:30 -07:00
Robert Elliott
e6a609ae7a
fix compareStrings issue
2018-10-25 13:47:31 +02:00
Robert Elliott
54ffd1bd0a
Merge pull request woocommerce/woocommerce-admin#638 from woocommerce/add/charts-full-year
...
Chart: updated intervals to use the full year
2018-10-25 12:23:32 +02:00
Albert Juhé Lluveras
1c819740f4
Persist date params in Products table link ( https://github.com/woocommerce/woocommerce-admin/pull/671 )
2018-10-25 12:07:30 +02:00
Robert Elliott
e21a6022e7
updated lib/date iintervals to use the full year incl. centruy,
2018-10-25 11:12:27 +02:00
Robert Elliott
97a819a44d
Merge pull request woocommerce/woocommerce-admin#635 from woocommerce/add/chart-uneven-ticks
...
Chart: remove last x-axis tick in an uneven series
2018-10-25 11:10:31 +02:00
Allen Snook
e7ba47e958
Go ahead and 1) handle the variety of queries that can be used
...
as action button links and 2) enable the button (tracking will
come next). Also had to tweak CSS for activity panel item buttons
a little
2018-10-24 18:13:44 -07:00
Paul Sealock
02383f0ce7
Dashboard: Add DatePicker
2018-10-25 11:40:59 +13:00
Jonathan Belcher
dec6022638
Updates wc-admin menu order and entries woocommerce/woocommerce-admin#624 ( https://github.com/woocommerce/woocommerce-admin/pull/656 )
...
* Updates wc-admin menu order and entries woocommerce/woocommerce-admin#624
* Remove menu items for pages that are not ready
2018-10-24 17:58:31 -04:00
Kelly Dwan
d5c2787520
Build: Update babel config ( https://github.com/woocommerce/woocommerce-admin/pull/677 )
...
* Update babel config
* Fix typo in babel config
* Update babel config, fix missing transform
2018-10-24 17:17:23 -04:00
Jonathan Belcher
86b9a31735
Updates Package Lock ( https://github.com/woocommerce/woocommerce-admin/pull/676 )
2018-10-24 16:20:47 -04:00
renovate[bot]
393a56183b
Update dependency webpack to v4.23.0 ( https://github.com/woocommerce/woocommerce-admin/pull/673 )
2018-10-24 16:16:18 -04:00
renovate[bot]
72ed89a19c
Update dependency eslint-plugin-jest to v21.26.1 ( https://github.com/woocommerce/woocommerce-admin/pull/672 )
2018-10-24 16:11:14 -04:00
Jonathan Belcher
fff67b1e4b
Fixes PHP 5.2 compatibility issues ( https://github.com/woocommerce/woocommerce-admin/pull/653 )
2018-10-24 14:49:58 -04:00
Jonathan Belcher
8825c91802
Updates Package Lock ( https://github.com/woocommerce/woocommerce-admin/pull/670 )
2018-10-24 11:22:29 -04:00
renovate[bot]
8acafde981
Update dependency autoprefixer to v9.3.1 ( https://github.com/woocommerce/woocommerce-admin/pull/669 )
2018-10-24 11:18:43 -04:00
renovate[bot]
cc635d7697
Update react monorepo to v16.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/662 )
2018-10-24 11:17:16 -04:00
Job
6e36918db3
Fixes woocommerce/woocommerce-admin#664 ( https://github.com/woocommerce/woocommerce-admin/pull/665 )
2018-10-24 17:12:45 +02:00
Albert Juhé Lluveras
1a2b28fee8
Don't include hidden columns when downloading a table as CSV ( https://github.com/woocommerce/woocommerce-admin/pull/667 )
2018-10-24 16:26:19 +02:00
Albert Juhé Lluveras
2cce4e90c5
Use downloadable prop in Products report table ( https://github.com/woocommerce/woocommerce-admin/pull/668 )
2018-10-24 16:25:53 +02:00
Albert Juhé Lluveras
d770e9a7e0
Fix resolvers tests giving false positives ( https://github.com/woocommerce/woocommerce-admin/pull/666 )
2018-10-24 16:25:42 +02:00
Jonathan Belcher
812d72dd9f
Adds php compatibility range for phpcs ( https://github.com/woocommerce/woocommerce-admin/pull/618 )
...
* Adds php compatibility range for phpcs
* Change minimun version to 5.2
2018-10-24 09:09:33 -04:00
Robert Elliott
6b2bd1e11d
tests and jsdocs
2018-10-24 13:13:17 +02:00
Robert Elliott
bc098e58d4
refactor compareStrings
2018-10-24 13:00:29 +02:00
Robert Elliott
d152686a65
approach to remove duplicate string characters from prev x-tick
2018-10-24 12:42:43 +02:00
Robert Elliott
133e0a7646
remove 'or last'
2018-10-24 12:39:55 +02:00
Robert Elliott
cf3d3eb0f0
remove last tick in an uneven series
2018-10-24 12:39:55 +02:00
Albert Juhé Lluveras
29f68a9ce8
Products table ( https://github.com/woocommerce/woocommerce-admin/pull/619 )
...
* Add Products table
* Update tests
* Cleanup
* Make placeholder table have the correct sorted column selected
* Change default sort to items_sold & desc
* Fix wrong CSV filename
* Remove unnecessary constructor in ProductsReportTable
* Add @TODO comment to Products table summary
* Set ProductsReportTable link to wc-admin type
* Make sure categories is an array before using map
2018-10-24 09:50:05 +02:00
Albert Juhé Lluveras
7be34b3f37
Move Download table logic inside the TableCard component ( https://github.com/woocommerce/woocommerce-admin/pull/652 )
...
* Move Download table logic inside the TableCard component
* Make title lowercase inside generateCSVFileName
* Update JSDoc comment
2018-10-24 09:48:20 +02:00
Paul Sealock
240599c095
Persist date related parameters on report navigation
2018-10-24 12:16:35 +13:00
Jonathan Belcher
a29799eb85
Fixes PHP errors caused by linting fixes ( https://github.com/woocommerce/woocommerce-admin/pull/650 )
2018-10-23 19:12:49 -04:00
Jonathan Belcher
cb69cf1051
Updates Package Lock ( https://github.com/woocommerce/woocommerce-admin/pull/657 )
2018-10-23 15:13:55 -04:00
Claudio Sanches
1fd5714162
Merge pull request woocommerce/woocommerce-admin#644 from woocommerce/fix/lints-lib-admin
...
Fixes lints in lib/admin.php
2018-10-23 15:08:34 -03:00
renovate[bot]
bb48e0bc2b
Update dependency phpunit/phpunit to v7.4.3 ( https://github.com/woocommerce/woocommerce-admin/pull/651 )
2018-10-23 14:08:12 -04:00
renovate[bot]
2a68549e30
Update dependency @wordpress/api-fetch to v2.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/625 )
2018-10-23 14:00:15 -04:00
renovate[bot]
a978fa1e5e
Update dependency eslint-plugin-jest to v21.26.0 ( https://github.com/woocommerce/woocommerce-admin/pull/629 )
2018-10-23 13:59:42 -04:00
renovate[bot]
d40b0ccc94
Update dependency phpunit/phpunit to v7 ( https://github.com/woocommerce/woocommerce-admin/pull/600 )
...
* Update dependency phpunit/phpunit to v7
* Adds composer.lock
2018-10-23 13:56:06 -04:00
Jonathan Belcher
46c369afb1
Fixes lints in class-wc-admin-reports-data-store ( https://github.com/woocommerce/woocommerce-admin/pull/643 )
...
* Fixes lints in class-wc-admin-reports-data-store
* Fix documentation
2018-10-23 13:55:03 -04:00
Jonathan Belcher
a6243b8dbe
Adds proper doc block with proper TODO
2018-10-23 13:54:20 -04:00
Jonathan Belcher
50aed9121a
Update admin.php
2018-10-23 13:45:43 -04:00
Allen Snook
51991d1b27
Remove inadvertently added blank line
2018-10-23 10:41:17 -07:00
Allen Snook
c45a6cf5de
On update, add a note alerting that the store notice setting has moved
2018-10-23 10:30:33 -07:00
Claudio Sanches
645799c1a0
Merge pull request woocommerce/woocommerce-admin#642 from woocommerce/fix/linting-error-in-test-sample
...
Fix linting errors in tests/test-sample.php
2018-10-23 14:09:04 -03:00
Claudio Sanches
8b67f5f50d
Merge pull request woocommerce/woocommerce-admin#646 from woocommerce/fix/lints-class-wc-admin-reports-products-query.php
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:04:40 -03:00
Claudio Sanches
ebf79b489a
Merge pull request woocommerce/woocommerce-admin#647 from woocommerce/fix/lints-class-wc-admin-reports-products-stats-query.php
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:04:03 -03:00
Jonathan Belcher
2be2d78306
Fixes PHP 5.2 compatibility issues
2018-10-23 12:50:34 -04:00
Jonathan Belcher
b58043380e
Fixes PHP 5.2 compatibility issues
2018-10-23 12:47:51 -04:00
Jonathan Belcher
39ee05cc70
Fixes PHP 5.2 compatibility issues
2018-10-23 12:43:55 -04:00
Jonathan Belcher
1766f2ceb1
PHPCS ignore one line
2018-10-23 12:07:55 -04:00
Jonathan Belcher
03c8e42364
Fix errors in lib/common.php ( https://github.com/woocommerce/woocommerce-admin/pull/641 )
...
* Fix errors in lib/common.php
* Update package.json
2018-10-23 11:55:37 -04:00
Jonathan Belcher
4f3a102e18
Fixes lints in lib/admin.php
2018-10-23 11:52:18 -04:00
renovate[bot]
76a9300b35
Pin dependency composer/installers to ~1.6 ( https://github.com/woocommerce/woocommerce-admin/pull/636 )
2018-10-23 11:12:17 -04:00
renovate[bot]
9de04598a9
Update dependency webpack to v4.22.0 ( https://github.com/woocommerce/woocommerce-admin/pull/617 )
2018-10-23 11:10:49 -04:00
renovate[bot]
19295ebcfb
Update dependency autoprefixer to v9.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/637 )
2018-10-23 11:09:45 -04:00
Jonathan Belcher
daa929b887
Add file doc block to fix linting issue ( https://github.com/woocommerce/woocommerce-admin/pull/628 )
2018-10-23 11:08:49 -04:00
Jonathan Belcher
521fc2528c
Removes phpcs from npm run lint ( https://github.com/woocommerce/woocommerce-admin/pull/640 )
2018-10-23 11:08:00 -04:00
Jonathan Belcher
8e46a78a2f
Fix linting errors in tests/test-sample.php
2018-10-23 09:57:45 -04:00
Albert Juhé Lluveras
b757247c52
Move Revenue table to its own component ( https://github.com/woocommerce/woocommerce-admin/pull/623 )
...
* Move revenue table to its own component
* Remove unnecessary constructor in RevenueReportTable
2018-10-23 10:07:23 +02:00
Albert Juhé Lluveras
7979dbc474
Make Orders placeholder table have the correct sorted column ( https://github.com/woocommerce/woocommerce-admin/pull/620 )
...
* Make Orders placeholder table have the correct sorted column
* Fix wrong CSV filename
2018-10-23 09:49:04 +02:00
Allen Snook
2147b23c4d
Correctly define admin notes schema
2018-10-22 13:15:44 -07:00
Jonathan Belcher
24ec81dddd
Adds phpcs npm command ( https://github.com/woocommerce/woocommerce-admin/pull/609 )
...
* Adds phpcs npm command
* fix naming of commands
2018-10-22 12:34:28 -04:00
Allen Snook
bf898e642b
Merge pull request woocommerce/woocommerce-admin#566 from woocommerce/add/admin-notices-new-sales-record
...
Activity Panel: Inbox: New Sales Record Note
2018-10-22 09:26:13 -07:00
Jonathan Belcher
e85ad7d410
Updates package lock ( https://github.com/woocommerce/woocommerce-admin/pull/607 )
...
* Updates package lock
* Recreate package-lock
2018-10-22 12:23:53 -04:00
Jonathan Belcher
7bc2767301
Updates PHPCS rule names ( https://github.com/woocommerce/woocommerce-admin/pull/610 )
2018-10-22 12:20:34 -04:00
Jonathan Belcher
ecb3013fd3
Uses PHPBCF to autofix warnings and errors ( https://github.com/woocommerce/woocommerce-admin/pull/611 )
2018-10-22 12:20:14 -04:00
Allen Snook
f0495c7071
Rename wc_admin_daily function to do_wc_admin_daily to distinguish it from the hook
2018-10-22 09:09:28 -07:00
Timmy Crawford
f8d70506a1
Update/track usage logic ( https://github.com/woocommerce/woocommerce-admin/pull/561 )
...
* Tracks: Don't track if Jetpack is not present or in dev env.
* Check for JETPACK__VERSION instead.
* Fix linting errors
* Yoda conditions use you must
2018-10-22 08:56:02 -07:00
Joshua T Flowers
88058b2bf4
Add default report data if empty product data is returned ( https://github.com/woocommerce/woocommerce-admin/pull/581 )
...
* Add default report data if empty product data is returned
* Remove unused argument ''
* Remove filter params
2018-10-22 11:51:24 -04:00
Albert Juhé Lluveras
bfcc817240
Create EmptyTable component ( https://github.com/woocommerce/woocommerce-admin/pull/605 )
...
* Create EmptyTable component
* Update failing test
* Make EmptyTable a functional component
* Add EmptyTable to example.md
2018-10-20 13:16:53 +02:00
renovate[bot]
1dfd3b186b
Update wordpress monorepo to v2.1.4 ( https://github.com/woocommerce/woocommerce-admin/pull/614 )
2018-10-19 20:35:53 -04:00
Allen Snook
6a25fb2249
Remove unneeded set_id in note deletion handler
2018-10-19 16:24:03 -07:00
Allen Snook
a46d83aea3
Rewrite the queries a bit to leverage prepare when possible
2018-10-19 15:48:38 -07:00