Commit Graph

778 Commits

Author SHA1 Message Date
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 986c209658 Merge pull request woocommerce/woocommerce-admin#773 from woocommerce/fix/771-fatal-on-activation
Do not attempt to run table setup without dependency check first
2018-11-04 15:36:21 -08: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
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
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
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 705d074e19 Merge pull request woocommerce/woocommerce-admin#737 from woocommerce/update/spelin-for-the-win
Fix spelling of "average" in "average order value" in orders report
2018-10-30 10:34:22 -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