Commit Graph

685 Commits

Author SHA1 Message Date
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