Ron Rennick
f730a8ec5d
Only check for unsnooze note scheduled action in admin_init
2019-04-01 11:31:28 -03:00
Albert Juhé Lluveras
17141cd4d8
Update Variations controller filter names ( https://github.com/woocommerce/woocommerce-admin/pull/1949 )
2019-04-01 10:09:53 +02:00
Albert Juhé Lluveras
458f3ed065
Fix SKU sorting in the Variations report when a comparison is active ( https://github.com/woocommerce/woocommerce-admin/pull/1952 )
...
* make is sortable true.
* Variations endpoint: Fix sorting by SKU when there is an active comparison
* Cleanup
* Extract FROM parameter logic to 'get_from_sql_params'
* Remove unnecessary 'get_order_by_sql_params' from Products and Variations data stores
2019-04-01 10:09:45 +02:00
Joshua T Flowers
9c3faea12f
Refactor notes controller and add ordering params ( https://github.com/woocommerce/woocommerce-admin/pull/1878 )
...
* Separate notes controller request args and add collection params
* Fix page param var
* Fix collection params sanitization
* Allow array of note types to be queried
* Add order and orderby collection params to notes controller
* Allow sorting by order and orderby params in notes data store
* Make sure notes are ordered by date and unread matches inbox note types
* Allow status or type params to use an array of items
* Add tests for notes ordering
* Remove unnecessary query arg assignment in the notes data store
* Update get_notes_count to use array for status and type
2019-04-01 10:53:34 +08:00
Joshua T Flowers
5324f223b6
Check for existence of orders before adding historical data note ( https://github.com/woocommerce/woocommerce-admin/pull/1943 )
...
* Check for existence of orders before adding historical data note
* Don't add historical data note on version upgrade
2019-04-01 10:25:53 +08:00
Joshua T Flowers
42ddfc0108
Add coupons count to data store and hook up to summary numbers in orders report ( https://github.com/woocommerce/woocommerce-admin/pull/1912 )
...
* Change coupons sum to distinct coupon count in REST API
* Hook up unique coupon count to orders summary numbers
* Add coupons count to order segmenting
* Add coupons count to expected stats in order test and revenue tests
2019-04-01 10:16:57 +08:00
Paul Sealock
36e0831ac8
getItems: modify parse flag by isUnboundedRequest
2019-04-01 13:47:52 +13:00
ronakganatra9
3cddc714c6
issue fix woocommerce/woocommerce-admin#1801 SKU filter issue fixed. ( https://github.com/woocommerce/woocommerce-admin/pull/1837 )
...
* issue fix woocommerce/woocommerce-admin#1801 SKU filter issue fixed.
* make is sortable true.
* phpcs error fix.
* Fix PHPCS errors and warnings.
* Fix PHPCS errors and warnings.
* Update client/analytics/report/products/table-variations.js
Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>
* Update includes/data-stores/class-wc-admin-reports-variations-data-store.php
Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>
* changed postmeta.meta_value to meta_value
2019-03-31 20:53:48 +02:00
Joshua T Flowers
6ff9d0673a
Add low product stock indicator ( https://github.com/woocommerce/woocommerce-admin/pull/1866 )
...
* Move product low stock count to controller param instead of data store
* Add totalCount to items API
* Extract unread indicators to separate file and add unread stock
* Trim initial search variable in wp_query
* Parse low stock option as an absolute integer
* Fix low stock meta comparison with product specific low stock amount
* Make group by query function static
* Check for empty strings and null values for product low_stock_amount
2019-03-29 10:45:19 +08:00
Paul Sealock
3dd99108fa
Customers API: fix exact match params
2019-03-29 11:40:37 +13:00
Albert Juhé Lluveras
b737087d35
Load on hold reviews in the Activity Panel ( https://github.com/woocommerce/woocommerce-admin/pull/1871 )
...
* Load on hold reviews in the Activity Panel
* Consider reviews on hold as unread
2019-03-28 23:20:17 +01:00
Paul Sealock
0c4e4717d9
Merge pull request woocommerce/woocommerce-admin#1936 from woocommerce/fix/rebuild-inifinite-loop
...
Sync: Avoid infinite loop when REPLACE-ing SQL rows
2019-03-29 09:36:39 +13:00
Timmy Crawford
2165e5eeb4
Release/0.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1921 )
...
* Docs and version updates.
* lockfile updates.
2019-03-28 11:30:57 -07:00
Albert Juhé Lluveras
71d929f47b
Make sure unreadReviews is a boolean so it doesn't render any character ( https://github.com/woocommerce/woocommerce-admin/pull/1930 )
2019-03-28 09:48:17 +01:00
Joshua T Flowers
04e35bf197
Add onboarding task list to dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/1929 )
...
* Conditionally show task list on dashbaord page
* Move task list items into TaskList component
* Set onboarding flags to false in core and plugin environments
* Hide dashboard onboarding by default temporarily
2019-03-28 14:09:44 +08:00
Paul Sealock
f9ab21e745
Sync: Avoid infinite loop when REPLACE-ing SQL rows
2019-03-28 16:19:11 +13:00
Joshua T Flowers
929ad8bf63
Remove unused categories in orders data store ( https://github.com/woocommerce/woocommerce-admin/pull/1928 )
2019-03-28 10:25:00 +08:00
renovate[bot]
2a60f03b6f
Update dependency recast to v0.17.4 ( https://github.com/woocommerce/woocommerce-admin/pull/1924 )
2019-03-27 10:08:10 +01:00
renovate[bot]
57faf7ad47
Update dependency history to v4.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1923 )
2019-03-27 09:46:33 +01:00
renovate[bot]
702156b6de
Update dependency @babel/runtime-corejs2 to v7.4.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1922 )
2019-03-27 09:40:55 +01:00
Joshua T Flowers
896a790d8f
Check if customer creation date is not null before formatting ( https://github.com/woocommerce/woocommerce-admin/pull/1926 )
2019-03-27 11:46:47 +08:00
Timmy Crawford
067ae2170b
Config: Enable Activity Panels and Alerts for plugin. ( https://github.com/woocommerce/woocommerce-admin/pull/1920 )
2019-03-26 16:53:15 -07:00
Timmy Crawford
936369befd
Readme updates. ( https://github.com/woocommerce/woocommerce-admin/pull/1919 )
...
* Readme updates.
* fix discrepancy in PHP versions.
* update screenshots.
2019-03-26 16:34:32 -07:00
Jeff Stieler
164a55b0d2
Allow strings in downloads report order number filter.
2019-03-26 16:04:36 -06:00
Jeff Stieler
0013495fff
Orders endpoint: add LIMIT clause to the order number query.
2019-03-26 11:22:50 -06:00
Albert Juhé Lluveras
6862d05e2f
Update packages with vulnerabilities ( https://github.com/woocommerce/woocommerce-admin/pull/1913 )
...
* Update packages with vulnerabilities
* Fix tests
* Replace require.requireActual with jest.requireActual
2019-03-26 12:31:57 +01:00
Joshua T Flowers
3dc75aff32
Hide chart name on smaller viewports and move interval select ( https://github.com/woocommerce/woocommerce-admin/pull/1910 )
...
* Hide table name on smaller viewports and move interval select
* Only hide chart titles adjacent to summaries
* Make interval selector full width when not adjacent to summary numbers
2019-03-26 18:14:32 +08:00
Joshua T Flowers
ebac101b51
Don't query products all products for empty categories ( https://github.com/woocommerce/woocommerce-admin/pull/1911 )
2019-03-26 13:21:46 +08:00
ronakganatra9
ce6fcdabbe
woocommerce/woocommerce-admin#1830 Fix/1830 move all note php files to subfolder ( https://github.com/woocommerce/woocommerce-admin/pull/1879 )
...
* added notes/ folder and moved notes file in it..
* Path changes according to new folder.
* typo correct
2019-03-26 00:18:34 +01:00
Albert Juhé Lluveras
ecdc9076de
Fix JSLint error in leaderboards ( https://github.com/woocommerce/woocommerce-admin/pull/1914 )
2019-03-25 16:36:34 +01:00
renovate[bot]
ad64425948
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1909 )
2019-03-25 10:23:24 +01:00
Albert Juhé Lluveras
23aa795a40
Activity Panel: add overlay to product placeholder images ( https://github.com/woocommerce/woocommerce-admin/pull/1880 )
...
* Activity Panel: add overlay to product placeholder images
* Replace 'background' with 'background-color'
2019-03-25 10:08:25 +01:00
Joshua T Flowers
f5568b905b
Automatically update versions on build ( https://github.com/woocommerce/woocommerce-admin/pull/1877 )
...
* Get plugin file version for version compare
* Add version update script before build
* Replace version getter with a defined version constant
2019-03-25 14:43:26 +08:00
Paul Sealock
b32e8afeeb
Merge pull request woocommerce/woocommerce-admin#1873 from woocommerce/refactor/config-getQuery
...
Refactor getFilterQuery by explicitly passing down configs
2019-03-25 13:12:53 +13:00
Paul Sealock
b29b232a46
pass in filters
2019-03-25 13:03:53 +13:00
ronakganatra9
31791c9873
Enhancement/top customers ( https://github.com/woocommerce/woocommerce-admin/pull/1858 )
...
* Added a New widget on dashboard of Top Customers.
* Remove unused props and clean up.
* Format display value for orders count.
2019-03-22 17:15:32 +08:00
Albert Juhé Lluveras
a7af5e4603
Create DEFAULT_ACTIONABLE_STATUSES constant ( https://github.com/woocommerce/woocommerce-admin/pull/1867 )
2019-03-22 09:48:20 +01:00
David Levin
3b7f630b11
Update order of dashboard components
2019-03-21 15:23:20 -07:00
Paul Sealock
56a60d17dd
Merge pull request woocommerce/woocommerce-admin#1864 from woocommerce/fix/remove-last-advanced-filter
...
Clear advanced filters when last one is removed
2019-03-22 07:29:18 +13:00
Jeff Stieler
2d8f8f9137
Merge pull request woocommerce/woocommerce-admin#1848 from woocommerce/add/1756-snooze-admin-notes
...
Add "remind me later" functionality to StoreAlert component.
2019-03-21 08:41:44 -06:00
Albert Juhé Lluveras
1cf134d1fa
Fix PHP notices on orders data store ( https://github.com/woocommerce/woocommerce-admin/pull/1870 )
2019-03-21 15:35:25 +01:00
Albert Juhé Lluveras
41e5d00708
Activity Panel: set reviews unread indicator based on real data ( https://github.com/woocommerce/woocommerce-admin/pull/1860 )
...
* Activity Panel: set reviews unread indicator based on real data
* Unify date comparisons to GMT
* Add numberOfReviews propType
* Verify date_created_gmt exists before using it
2019-03-21 12:35:46 +01:00
Albert Juhé Lluveras
9038bdfdae
Table: update columns visibility on headers change ( https://github.com/woocommerce/woocommerce-admin/pull/1846 )
...
* Typos
* Table: update columns visibility on headers change
* Make sure initial user pref columns are loaded in all reports
* Return early filterShownHeaders when hiddenKeys is an empty array
* Undo 'headers', 'prevHeaders' order switch
2019-03-21 11:35:00 +01:00
Joshua T Flowers
3f2dd07a53
Hide stock panel and menu if stock management is disabled ( https://github.com/woocommerce/woocommerce-admin/pull/1841 )
...
* Add manage stock setting to global wcSettings
* Hide Stock tab from activity panel if stock management is disabled
* Hide Stock report if stock management is disabled
* Prevent stock page from loading if disabled and visited directly
* Hide stock status and quantity columns when disabled
2019-03-21 13:42:07 +08:00
Joshua T Flowers
3bc0582920
Activity Panel: Persist read status for inbox notes ( https://github.com/woocommerce/woocommerce-admin/pull/1823 )
...
* Add last read user data for inbox
* Check last read time against inbox note to determine read status
* Set last read in unmount to make component stateless
* Compare latest note time against last read time in activity panel
* Fix error checking and per_page limit
* Use component mount time for last read time in inbox
* Compare unread against note GMT time
* Add missing trailing comma
2019-03-21 10:54:36 +08:00
Paul Sealock
3474a26cb5
Clear advanced filters when last one is removed
2019-03-21 12:25:07 +13:00
renovate[bot]
7423726786
Update dependency eslint-plugin-jest to v22.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1856 )
2019-03-20 13:05:07 -04:00
renovate[bot]
a133e8a13d
Update dependency eslint to v5.15.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1855 )
2019-03-20 13:01:57 -04:00
renovate[bot]
9dc32345df
Update dependency autoprefixer to v9.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1854 )
2019-03-20 12:59:48 -04:00
renovate[bot]
8e5b75dd08
Update babel monorepo to v7.4.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1853 )
2019-03-20 12:51:21 -04:00
Jeff Stieler
7742a7d65e
Add test coverage for “unsnoozing” notes.
2019-03-20 08:52:27 -06:00
Jeff Stieler
2a08ba20e8
Add a snoozed note to test data.
2019-03-20 08:52:27 -06:00
Jeff Stieler
6ab3f0b9f9
Style admin note action button and snooze dropdown.
2019-03-20 08:52:27 -06:00
Jeff Stieler
731a131894
Add recurring job to “unsnooze” admin notes.
2019-03-20 08:52:27 -06:00
Jeff Stieler
276a6e6744
Hook up “remind me later” button.
...
Update the admin note status and date_reminder fields.
2019-03-20 08:52:27 -06:00
Jeff Stieler
738ce59e4d
Add “remind me later” dropdown button to snoozable admin notes.
2019-03-20 08:52:27 -06:00
Jeff Stieler
7892ade278
Properly coerce snooze flag to API response.
2019-03-20 08:52:27 -06:00
Jeff Stieler
2eecb6c375
Add “is snoozable” flag to WC_Admin_Note.
2019-03-20 08:52:22 -06:00
Albert Juhé Lluveras
2f20720927
Activity Panel: Hide Reviews Panel when Reviews are Disabled ( https://github.com/woocommerce/woocommerce-admin/pull/1852 )
2019-03-20 11:24:12 +01:00
Joshua T Flowers
b6b00848c0
Update react router to v5 ( https://github.com/woocommerce/woocommerce-admin/pull/1839 )
2019-03-20 10:56:07 +08:00
Joshua T Flowers
08f6d757ab
Minify in safe mode for RTL styles to prevent stripping z-index ( https://github.com/woocommerce/woocommerce-admin/pull/1838 )
2019-03-20 10:55:43 +08:00
Joshua T Flowers
6c1f4d105f
Check if resources are still loading before skipping dispatch ( https://github.com/woocommerce/woocommerce-admin/pull/1821 )
...
* Check if resources are still loading before skipping dispatch
* Use some instead of filter to check if newResource requests exist
2019-03-20 10:55:26 +08:00
Albert Juhé Lluveras
641d0b766f
CSSLint: Remove whitespace at the end of line ( https://github.com/woocommerce/woocommerce-admin/pull/1845 )
2019-03-20 00:34:22 +01:00
Paul Sealock
7f0aa7e616
Merge pull request woocommerce/woocommerce-admin#1835 from woocommerce/fix/product-search-multiple-results
...
Products: Group API search items by id
2019-03-20 07:09:53 +13:00
Albert Juhé Lluveras
2ca746c5d6
Travis: escape hashes (#) from branch names when downloading the ZIP file ( https://github.com/woocommerce/woocommerce-admin/pull/1844 )
2019-03-19 16:40:18 +01:00
ronakganatra9
7e8f5fa53b
Fixwoocommerce/woocommerce-admin#1768 Added a Margin of 40 pixel for better user interface, on mobile devices. ( https://github.com/woocommerce/woocommerce-admin/pull/1842 )
...
* Added a Margin of 40 pixel for better user interface, on mobile devices.
* applied suggestion and commited changes for all devices.
* applied suggestion and removed extra tab.
2019-03-19 14:22:40 +01:00
Albert Juhé Lluveras
58154d1d39
Activity Panel: set orders unread indicator based on real data ( https://github.com/woocommerce/woocommerce-admin/pull/1824 )
2019-03-19 11:57:11 +01:00
Paul Sealock
0aef533d6a
Products: Group API search items by id
2019-03-19 16:36:47 +13:00
Paul Sealock
36a60c59d5
Merge pull request woocommerce/woocommerce-admin#1833 from woocommerce/fix/table-links-wc-admnin
...
Fix table links to internal reports
2019-03-19 16:21:17 +13:00
Joshua T Flowers
2ae142926f
Fix date picker tab styling across gutenberg versions ( https://github.com/woocommerce/woocommerce-admin/pull/1822 )
2019-03-19 09:38:38 +08:00
Paul Sealock
6d5484aa87
Fix table links to internal reports
2019-03-19 14:27:31 +13:00
Albert Juhé Lluveras
3a341c355f
Fix missing date picker calendar in RTL locales ( https://github.com/woocommerce/woocommerce-admin/pull/1810 )
...
* Fix missing date picker calendar in RTL locales
* Create an function instead of using 'window.isRtl' to detect if it's a RTL locale
2019-03-18 16:28:25 +01:00
Albert Juhé Lluveras
3d0848bcd6
Show chart hover circles in the correct order ( https://github.com/woocommerce/woocommerce-admin/pull/1816 )
...
* Show chart hover circles in the correct order
* Fix tests
* Reverse keys inside getDateSpaces
2019-03-18 11:07:54 +01:00
Albert Juhé Lluveras
884c56700a
Fix date range dropdown for RTL locales ( https://github.com/woocommerce/woocommerce-admin/pull/1803 )
...
* Fix date range dropdown for RTL locales
* Exclude calendar input error CSS to be rewritten to RTL
2019-03-18 10:47:41 +01:00
renovate[bot]
b87e050ea7
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1820 )
2019-03-18 12:33:04 +08:00
Joshua T Flowers
d416f78e9f
Update/variations search method ( https://github.com/woocommerce/woocommerce-admin/pull/1792 )
...
* Add product search option REST API
* Remove product_name search in favor of sku and name searching
* Search by product search term instead of generic search in autocompleter
* Add product search option REST API
* Override existing search param instead of new param
* Remove product_name search in favor of sku and name searching
* Add product search param to variations controller
* Add group by to prevent duplicate variations in response
* Use product_search in variation autocompleter
* Trim whitespace in product_search query
* Change variation search placeholder
* Override search param instead of using new product_search param
* Add baseSearchQuery to prevent losing single_product filter in variations report
* Unset s param instead of setting to false
2019-03-18 12:23:08 +08:00
Joshua T Flowers
7653859509
Update product searching to search by name or sku ( https://github.com/woocommerce/woocommerce-admin/pull/1791 )
...
* Add product search option REST API
* Remove join and where filters for wp_query after rest response
* Remove product_name search in favor of sku and name searching
* Allow searching for products to compare by product sku
* Search by product search term instead of generic search in autocompleter
* Trim whitespace on product_search query
* Override existing search param instead of new param
* Use double quotes to avoid escaping search query
* Unset s param instead of setting to false
2019-03-18 11:31:02 +08:00
Joshua T Flowers
2187f0e1bc
Add onChange event to search focus to restore search results ( https://github.com/woocommerce/woocommerce-admin/pull/1807 )
2019-03-18 10:40:25 +08:00
Joshua T Flowers
b1dd517eb6
Add single customer filter and hook up customer link ( https://github.com/woocommerce/woocommerce-admin/pull/1798 )
...
* Add a single customer filter to the customers report
* Hook up activity panel orders customer link to customer report
* Use customer name for label instead of username
2019-03-18 10:39:54 +08:00
Jeff Stieler
f08fda5271
Merge pull request woocommerce/woocommerce-admin#1813 from woocommerce/add/1699-clear-jobs
...
Add a custom “cancel all” method to our scheduled action data store.
2019-03-15 15:00:52 -06:00
Albert Juhé Lluveras
e6cf40e3f0
Allow sorting by tax_code in Taxes report ( https://github.com/woocommerce/woocommerce-admin/pull/1812 )
2019-03-15 21:44:03 +01:00
Joshua T Flowers
fae447014f
Update coupon search to allow searching by code ( https://github.com/woocommerce/woocommerce-admin/pull/1800 )
...
* Add coupon code search filtering to REST API
* Use search_code param in coupon search results
* Use search_code param in coupon autocompleter
* Override search param instead of adding search_code param
2019-03-15 12:29:14 +08:00
Joshua T Flowers
53f84e1b5d
Check if dependencies are met before running deactivation hook ( https://github.com/woocommerce/woocommerce-admin/pull/1797 )
2019-03-15 09:26:29 +08:00
Joshua T Flowers
26de74dc30
Show error in activity panel if no actionable order statuses exist ( https://github.com/woocommerce/woocommerce-admin/pull/1799 )
...
* Show error in activity panel if no actionable order statuses exist
* Localize empty actionable statuses string
* Add padding around empty content component in activity panels
2019-03-15 09:26:16 +08:00
Joshua T Flowers
df5f001140
Update compare button help text ( https://github.com/woocommerce/woocommerce-admin/pull/1796 )
2019-03-15 09:00:48 +08:00
Paul Sealock
6ad9df9e52
Merge pull request woocommerce/woocommerce-admin#1787 from woocommerce/renovate/replace-1.x
...
Update dependency replace to v1.1.0
2019-03-15 08:31:13 +13:00
Renovate Bot
78219a891d
Update dependency stylelint to v9.10.1
2019-03-15 07:53:59 +13:00
md2017-ronak-ronakganatra1
bc92ff0cd3
Changes in format_order_statuses and wc_admin_embed_page_header.
2019-03-14 09:07:52 -06:00
md2017-ronak-ronakganatra1
c6d82f9c62
Task implemented of Namespace methods in wc-admin.php woocommerce/woocommerce-admin#1734 .
2019-03-14 09:06:34 -06:00
Albert Juhé Lluveras
1eb5d51f9c
RTL charts ( https://github.com/woocommerce/woocommerce-admin/pull/1794 )
...
* Fix wrong tooltip position on RTL languages Dashboard
* Render chart Y axis on the right for RTL languages
2019-03-14 11:57:43 +01:00
Albert Juhé Lluveras
c1b6c3d8ce
Load RTL CSS files ( https://github.com/woocommerce/woocommerce-admin/pull/1781 )
...
* Load RTL CSS files
* Remove RTL specific CSS rules
* Generate RTL files of app style
* Simplify require route
2019-03-14 11:18:54 +01:00
Joshua T Flowers
9d58f8ca58
Fix deleted coupon data sync ( https://github.com/woocommerce/woocommerce-admin/pull/1753 )
...
* Delete coupon from lookup table when permanently deleted
* Don't sync null ID coupons on order sync
2019-03-14 12:12:35 +08:00
Renovate Bot
9079c4f7f3
Update dependency replace to v1.1.0
2019-03-14 13:41:02 +13:00
Paul Sealock
c8537970b7
Merge pull request woocommerce/woocommerce-admin#1793 from woocommerce/fix/store-alerts-css-lint
...
Fix CSS Lint issues in store-alerts CSS
2019-03-14 13:13:07 +13:00
Paul Sealock
3063c88bc5
Merge pull request woocommerce/woocommerce-admin#1786 from woocommerce/renovate/recast-0.x
...
Update dependency recast to v0.17.3
2019-03-14 12:46:02 +13:00
Paul Sealock
8e913087d4
Merge pull request woocommerce/woocommerce-admin#1785 from woocommerce/renovate/eslint-plugin-jest-22.x
...
Update dependency eslint-plugin-jest to v22.3.2
2019-03-14 12:39:48 +13:00
Paul Sealock
459f971c52
Merge pull request woocommerce/woocommerce-admin#1784 from woocommerce/renovate/css-loader-2.x
...
Update dependency css-loader to v2.1.1
2019-03-14 12:37:10 +13:00
Paul Sealock
f4ec9a7665
products/stats: filter segmented products by category
2019-03-14 07:51:55 +13:00
Jeff Stieler
d6fa5b58f6
Update our schedule actions to “trash” status and let Action Scheduler handle cleanup.
2019-03-13 11:48:38 -06:00
Jeff Stieler
bfe5a75e98
Update text domain. ( https://github.com/woocommerce/woocommerce-admin/pull/1795 )
...
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.
* Fix .pot file generation.
* Fix errantly closed array item in /revenue/stats controller.
* Rename plugin zip, main file, and repo name to "woocommerce-admin".
2019-03-13 11:14:02 -06:00
Albert Juhé Lluveras
1bbf79c105
Avoid useless Chart re-renders and clean-up component state ( https://github.com/woocommerce/woocommerce-admin/pull/1780 )
...
* Improve Chart rendering performance
* Avoid reassigning yFormat prop in Chart
* Update focused keys on legend toggle
* Use selectionLimit constant instead of a hardcoded value
* Minor improvements
2019-03-13 11:38:43 +01:00
Albert Juhé Lluveras
8dd179d551
Fix CSS Lint issues in store-alerts CSS
2019-03-13 11:36:03 +01:00
Renovate Bot
38121c187e
Update dependency recast to v0.17.3
2019-03-13 01:55:36 +00:00
Renovate Bot
ab30026608
Update dependency eslint-plugin-jest to v22.3.2
2019-03-13 00:50:20 +00:00
Renovate Bot
d82d4a86ec
Update dependency css-loader to v2.1.1
2019-03-13 00:48:54 +00:00
Paul Sealock
00eb04255f
Merge pull request woocommerce/woocommerce-admin#1750 from woocommerce/fix/deleted-product-error
...
Fix deleted product error
2019-03-13 12:06:22 +13:00
Jeff Stieler
ec9ea43c9b
Merge pull request woocommerce/woocommerce-admin#1778 from woocommerce/fix/1651-rest-api-datetime-offset
...
Remove timezone from appendTimestamp() output.
2019-03-12 07:35:13 -06:00
Justin Shreve
1348245406
Add store notice around processing historical data. ( https://github.com/woocommerce/woocommerce-admin/pull/1763 )
...
* Add store notice around processing historical data.
* Cleanup
* Handle PR feedback.
* Clean up `add` logic and add empty content_data. Also add logic to get_notes_count so that we can hide unactioned statuses.
* Add the ability to update a note, and to also mark a status when an alert is clicked.
* Remove mark_actioned call on sync
* add missing todo
2019-03-12 09:13:20 -04:00
Albert Juhé Lluveras
6c9b96f49a
Make variations and coupons endpoints return zero-value items ( https://github.com/woocommerce/woocommerce-admin/pull/1765 )
...
* Make categories endpoint return zero-value items
* Rename PHP variable to make it more specific
* Remove uneeded lines
* Make variations and coupons endpoints return zero-value items
* Remove second parameter from get_ids_table
2019-03-12 11:11:28 +01:00
Albert Juhé Lluveras
d3230d8dae
Make categories endpoint return zero-value items ( https://github.com/woocommerce/woocommerce-admin/pull/1755 )
...
* Make categories endpoint return zero-value items
* Rename PHP variable to make it more specific
* Remove uneeded lines
* Remove second parameter from get_ids_table
2019-03-12 10:50:53 +01:00
Albert Juhé Lluveras
cf162dda7f
Taxes report: sort tax rates numerically instead of alphabetically ( https://github.com/woocommerce/woocommerce-admin/pull/1766 )
...
* Taxes report: sort tax rates numerically instead of alphabetically
* Use DECIMAL(7,4) for tax_rate sorting
2019-03-12 10:31:19 +01:00
Paul Sealock
fd019c4c35
Chart: don't switch to comparison mode directly
2019-03-12 12:03:58 +13:00
Jeff Stieler
64ccc0b0b2
Remove timezone from appendTimestamp() output.
2019-03-11 16:48:25 -06:00
Renovate Bot
9016d8ae86
Lock file maintenance
2019-03-11 00:45:21 +00:00
Jeff Stieler
04db0e2b8d
Add a custom “cancel all” method to our scheduled action data store.
...
Performs direct database manipulation for performance (with large datasets).
2019-03-08 18:41:59 -07:00
Tiago Noronha
965a4a6cb5
Merge pull request woocommerce/woocommerce-admin#1758 from woocommerce/fix/1736
...
Add StoreAlerts placeholder
2019-03-08 19:52:57 +00:00
Jeff Stieler
a50a9bccb1
Ensure that other scheduled actions are claimed before WC Admin actions. ( https://github.com/woocommerce/woocommerce-admin/pull/1759 )
...
* Use menu_order to lower the claim priority of WC Admin scheduled actions.
* Use a ActionScheduler_Store subclass to modify menu_order.
* Check to make sure we’re overriding only AS’s built in WP Post data store.
2019-03-08 11:59:32 -07:00
renovate[bot]
8802de46d5
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1726 )
2019-03-08 12:27:27 -05:00
renovate[bot]
07d92d1e76
Update dependency prop-types to v15.7.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1747 )
2019-03-08 12:18:25 -05:00
renovate[bot]
7cee7bb5d4
Update dependency marked to v0.6.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1746 )
2019-03-08 12:11:58 -05:00
renovate[bot]
2710ec5f7a
Update dependency lerna to v3.13.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1745 )
2019-03-08 12:07:57 -05:00
renovate[bot]
0826916ecf
Update dependency eslint to v5.15.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1744 )
2019-03-08 12:03:46 -05:00
renovate[bot]
74257378c1
Update dependency autoprefixer to v9.4.10 ( https://github.com/woocommerce/woocommerce-admin/pull/1743 )
2019-03-08 11:49:10 -05:00
Justin Shreve
e9be19ee93
Update plugin header to better match the readme ( https://github.com/woocommerce/woocommerce-admin/pull/1764 )
2019-03-08 11:20:42 -05:00
Tiago Noronha
762b7d0b0c
Revert "Stop API requests when we know no alerts exist"
...
This reverts commit 0cdaf1bee2
.
2019-03-08 16:18:02 +00:00
Tiago Noronha
c3ff6fca49
Simplify StoreAlerts component logic
2019-03-08 16:17:48 +00:00
Tiago Noronha
2e2fb90cde
Add support for notes count by note type
2019-03-08 15:17:24 +00:00
Tiago Noronha
0cdaf1bee2
Stop API requests when we know no alerts exist
2019-03-06 23:04:13 +00:00
Tiago Noronha
dd8d1fbb8b
Display StoreAlertsPlaceholder while alerts are being loaded
2019-03-06 22:50:47 +00:00
Tiago Noronha
0af40e8214
Add default props and prop types to StoreAlertsPlaceholder component
2019-03-06 22:16:38 +00:00
Tiago Noronha
3493481f01
Add placeholder for StoreAlerts
2019-03-06 21:36:54 +00:00
Paul Sealock
b401a4845b
Update configs to simplify Show > Advanced Filters
2019-03-07 10:29:54 +13:00
Albert Juhé Lluveras
a7e3cf78a0
Show compared keys in chart legends even if their values are 0 ( https://github.com/woocommerce/woocommerce-admin/pull/1754 )
...
* Show compared keys in chart legends
* Fix JS error if filters is missing
* Add docs
2019-03-06 21:12:28 +01:00
renovate[bot]
1a395fd11f
Pin dependency composer/installers to 1.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1714 )
2019-03-06 09:39:04 -06:00
Tiago Noronha
73b480282b
Expose Store Alerts count via `wcSettings`
2019-03-06 14:58:36 +00:00
Jeff Stieler
4ebf4feb70
Merge pull request woocommerce/woocommerce-admin#1742 from woocommerce/fix/1675-ie-dash-block-overlap
...
Fix IE11 leaderboard display issue.
2019-03-06 07:56:46 -07:00
Jeff Stieler
b92ef54610
Merge pull request woocommerce/woocommerce-admin#1740 from woocommerce/fix/1609-chart-interval-highlight
...
Add button focus style to report chart interval selection.
2019-03-06 07:56:28 -07:00
Albert Juhé Lluveras
d2c0dd5555
Make products and rates endpoints return zero-value items ( https://github.com/woocommerce/woocommerce-admin/pull/1722 )
...
* Make products endpoint return zero-value items
* Make rates endpoint return zero-value items
* Several fixes
* Add tests
* Simplify code
* Merge both queries into one to simplify code
* Rename 'get_outer_from_sql_params' to 'get_from_sql_params'
2019-03-06 12:36:43 +01:00
Joshua Flowers
b1890190c7
Get product ID for line item from meta table instead of deleting
2019-03-06 16:03:54 +08:00
Joshua Flowers
c6c71b0238
Delete product IDs from lookup table on delete
2019-03-06 15:09:38 +08:00
Joshua Flowers
1715e98b98
Don't fetch extended attributes if product doesn't exist
2019-03-06 14:25:59 +08:00
Joshua T Flowers
4d80cad52e
Add rebuild tool to settings page ( https://github.com/woocommerce/woocommerce-admin/pull/1737 )
...
* Add button input type to analytics settings
* Add callback prop and disabled state to setting
* Add rebuild tool to settings page
* Re-enable setting if error is caught
* Remove rebuild tool from system tools page
* Move report build success message to API response
* Add back key for settings map
* Fix misspelled option group classname
* Conditionally add rebuild tool to non-wc-status page instead of removal hook
2019-03-06 13:32:05 +08:00
Joshua T Flowers
3d15392ecd
Update CSV filenames and remove item IDs ( https://github.com/woocommerce/woocommerce-admin/pull/1738 )
...
* Separate params by underscores
* Replace spaces and underscores in params with hyphens
* Delete extended info from filename
* Delete found search IDs when search query exists
* Adjust tests to fix new filename format
* Clone params instead of modifying query
* Decode params and only allow alphanumeric characters
2019-03-06 13:16:38 +08:00
Joshua T Flowers
e45d311581
Add actionable order statuses settings ( https://github.com/woocommerce/woocommerce-admin/pull/1727 )
...
* Add actionable status setting
* Add actionable statuses to settings page
* Hook up actionable order statuses to activity panel
* Hook up actionable order statuses to activity panel
2019-03-06 13:14:38 +08:00
Justin Shreve
008963d72f
Don't queue lookup tables on activiation ( https://github.com/woocommerce/woocommerce-admin/pull/1741 )
2019-03-05 22:10:22 -05:00
Paul Sealock
a558bfc5d9
Merge pull request woocommerce/woocommerce-admin#1702 from ratnakardubey/fix/1650-status-indicator-on-hold-gets-squished
...
Retain size of order status indicator in smaller screen
2019-03-06 12:47:18 +13:00
Jeff Stieler
27a5d65645
Set dashboard (leaderboard/chart) grid item position manually for IE11.
2019-03-05 15:59:23 -07:00
Jeff Stieler
f1fe300953
Add button focus style to report chart interval selection.
2019-03-05 12:10:26 -07:00
Albert Juhé Lluveras
5d3aa58a5d
Use IDs instead of labels to identify chart legend items ( https://github.com/woocommerce/woocommerce-admin/pull/1730 )
...
* Use instanceId to generate unique ids for chart legend items
* Decouple item key and label in Chart components
* Remove more duplicate IDs in the chart legend
* Use double underscores in element IDs following BEM rules
* Move 'withInstanceId' inside D3Legend component
* Simplify screen reader labels logic
* Add CHANGELOG message
* Use 'primary' and 'secondary' as items keys in time-comparison charts
2019-03-05 19:27:20 +01:00
Albert Juhé Lluveras
3de2bd1953
Update table columns visibility on finish loading ( https://github.com/woocommerce/woocommerce-admin/pull/1729 )
2019-03-05 18:26:29 +01:00
Timmy Crawford
0650524977
remove unused file ( https://github.com/woocommerce/woocommerce-admin/pull/1733 )
2019-03-05 07:41:58 -08:00
Tiago Noronha
9164e85fad
Merge pull request woocommerce/woocommerce-admin#1723 from woocommerce/add/1708-notes-endpoint
...
Hook up StoreAlerts component to notes endpoint
2019-03-05 13:03:50 +00:00
Peter Fabian
99e88706ad
Merge pull request woocommerce/woocommerce-admin#1681 from woocommerce/fix/1476-2
...
Updated is_returning_customer definition to use refactored function.
2019-03-05 13:00:07 +01:00
Albert Juhé Lluveras
584f0f26f0
Update chart colors to match spec ( https://github.com/woocommerce/woocommerce-admin/pull/1731 )
...
* Update chart color scale to match woocommerce/woocommerce-admin#375
* Avoid useless calls to 'getColor'
2019-03-05 10:44:29 +01:00
Joshua T Flowers
27acab72b8
Define extended_info in case query is filtered ( https://github.com/woocommerce/woocommerce-admin/pull/1728 )
2019-03-05 10:56:47 +08:00
Timmy Crawford
e0fa34720c
Getting things rolling on readme updates. ( https://github.com/woocommerce/woocommerce-admin/pull/1724 )
2019-03-04 15:40:35 -08:00
Jeff Stieler
b23ae97eff
Skip dispatching fresh data requests when the window/tab is hidden.
2019-03-04 12:47:48 -07:00
Tiago Noronha
f8e97b8152
Return immediately if no alerts found
2019-03-04 13:52:20 +00:00
Joshua T Flowers
4e9f787b13
Update tracking to use wcTracks method ( https://github.com/woocommerce/woocommerce-admin/pull/1718 )
...
* Remove tracking script from client assets
* Check for wcTracks function and record event if it exists
* Rely on tracking enabled check in core
2019-03-04 12:08:13 +08:00
Tiago Noronha
416d41279f
Update CSS with new alert types
2019-03-01 17:37:51 +00:00
Tiago Noronha
7248d14595
Hook up StoreAlerts component to notes endpoint
2019-03-01 17:20:28 +00:00
Paul Sealock
9cf8e564ff
Date picker: fix tab CSS
2019-03-01 16:29:31 +13:00
Justin Shreve
b7d36c90e8
Clear scheduled actions on plugin deactivate ( https://github.com/woocommerce/woocommerce-admin/pull/1715 )
2019-02-28 16:47:58 -05:00
Justin Shreve
fce16ade7a
Display order number on reports ( https://github.com/woocommerce/woocommerce-admin/pull/1706 )
...
* Display order number on reports, and add to API response.
* Add method for getting order number, avoiding loading the data store if no filter is attached.
2019-02-28 09:14:21 -05:00
Tiago Noronha
36a9e78ea9
Merge pull request woocommerce/woocommerce-admin#1519 from woocommerce/fix/1352-backspace-remove-item
...
Remove items from search input with backspace key
2019-02-28 12:04:18 +00:00
Albert Juhé Lluveras
ba2fb3c22b
Make EmptyContent component fit narrow viewports ( https://github.com/woocommerce/woocommerce-admin/pull/1703 )
2019-02-28 09:42:11 +01:00
Timmy Crawford
00965ba5b3
Remove Swaggerhub method. ( https://github.com/woocommerce/woocommerce-admin/pull/1707 )
2019-02-27 19:14:54 -08:00
Timmy Crawford
82730d315b
Release/v0.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1710 )
...
* Update version number and docs.
* Updates after release.
2019-02-27 16:43:39 -08:00
renovate[bot]
7890b4c19e
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1686 )
2019-02-27 15:23:37 -05:00
renovate[bot]
89138520e1
Update babel monorepo to v7.3.4 ( https://github.com/woocommerce/woocommerce-admin/pull/1700 )
2019-02-27 14:42:32 -05:00
renovate[bot]
b6a4ada50f
Update dependency autoprefixer to v9.4.9 ( https://github.com/woocommerce/woocommerce-admin/pull/1701 )
2019-02-27 14:15:56 -05:00
Albert Juhé Lluveras
a8ee12e1f9
Fix empty chart and summary numbers when searching in the Categories report ( https://github.com/woocommerce/woocommerce-admin/pull/1698 )
2019-02-27 17:28:18 +01:00
Albert Juhé Lluveras
4e4f04b8d8
Display chart and summary numbers placeholder when loading search terms ( https://github.com/woocommerce/woocommerce-admin/pull/1694 )
2019-02-27 15:43:34 +01:00
Joshua T Flowers
241be1f547
Add product name filtering ( https://github.com/woocommerce/woocommerce-admin/pull/1670 )
...
* Add post_title__like param to wp query
* Add product_name filter option to products rest controller
* Change autocomplete search to use product_name param
* Change add_wp_query_post_title_filter to static method
* Only add wp_query filter in the products rest controller
2019-02-27 16:49:21 +08:00
Ratnakar Dubey
c95ce1b9bd
Status Indicator: On Hold Gets Squished and Looks Like an egg
2019-02-27 11:11:00 +05:30
Joshua T Flowers
6a18202f61
Add tax include param to tax REST API ( https://github.com/woocommerce/woocommerce-admin/pull/1672 )
...
* Add code to collection params to allow searching
* Add include param to tax rest api
* Remove duplicate get_collection_params
* Revert to previous taxes getLabel config
2019-02-27 10:37:24 +08:00
Tiago Noronha
c5a3a5dea8
Merge pull request woocommerce/woocommerce-admin#1627 from woocommerce/add/115-store-alerts
...
Adds StoreAlerts component
2019-02-26 23:18:00 +00:00
Tiago Noronha
6fe2b070bc
Alert pagination label alignment
2019-02-26 23:10:00 +00:00
Albert Juhé Lluveras
53bac8700e
Screen readers: read date instead of data keys in 'time-comparison' bar charts ( https://github.com/woocommerce/woocommerce-admin/pull/1586 )
...
* Screen readers: read date instead of data keys in 'time-comparison' bar charts
* Make previous period labels more verbose
* Revert "Make previous period labels more verbose"
This reverts commit 34d13deaa982425ca2cba76dacfd2c89c96f06c0.
* Improve isSameDay check
* Add date to hour tooltip and improve screen reader label
* Add CHANGELOG message
2019-02-26 11:56:49 +01:00
Albert Juhé Lluveras
b18819489b
Don't store searchWords in the query prop ( https://github.com/woocommerce/woocommerce-admin/pull/1689 )
2019-02-26 11:06:37 +01:00
Albert Juhé Lluveras
b85eef53fd
Display table placeholder instead of empty table when loading search terms ( https://github.com/woocommerce/woocommerce-admin/pull/1682 )
2019-02-26 10:28:50 +01:00
Joshua T Flowers
13b72f2fde
Add tax code filter to tax REST API ( https://github.com/woocommerce/woocommerce-admin/pull/1671 )
...
* Add in hook to rest tax controller modify tax items query
* Modify query string for getting tax code items
* Add code to collection params to allow searching
* Change filter to use entire tax code without null values
* Hook up tax code filter to autocomplete search
* Overwrite get_items instead of using hooks for code filtering
2019-02-26 14:19:38 +08:00
Joshua T Flowers
37e1ddfbd1
Don't update state on user preferences props change ( https://github.com/woocommerce/woocommerce-admin/pull/1688 )
2019-02-26 11:34:43 +08:00
Ron Rennick
39226c8c2c
Merge pull request woocommerce/woocommerce-admin#1664 from woocommerce/add/action-scheduler-group
...
add action scheduler group
2019-02-25 16:13:15 -04:00
Kelly Dwan
631ab5b609
Version bump ( https://github.com/woocommerce/woocommerce-admin/pull/1663 )
2019-02-25 11:44:11 -08:00
Albert Juhé Lluveras
365d493079
Table: reset search on compare and reset comparison on search ( https://github.com/woocommerce/woocommerce-admin/pull/1679 )
2019-02-25 20:40:30 +01:00
Albert Juhé Lluveras
4a19d27ec1
Add 'isCheckbox' prop to 'MenuItem' ( https://github.com/woocommerce/woocommerce-admin/pull/1620 )
...
* Make column filter menu items not focusable
* Check if onInvoke exists before calling it
* Revert "Check if onInvoke exists before calling it"
This reverts commit e3b63edd51395c0f967991e2d20fccf867e37b91.
* Revert "Make column filter menu items not focusable"
This reverts commit 3e0ac949fa057a0c235876731768b6f312ced998.
* Add isCheckbox prop to MenuItem component
* Fix arrow keys navigation in checkbox menu items
* Table: don't update showCols state when the headers prop changes
2019-02-25 20:25:19 +01:00
Peter Fabian
1b90296bba
Updated timezone handling to be in line with other WC code.
2019-02-25 20:05:25 +01:00
Ron Rennick
6969f841fa
update unit tests for batch group
2019-02-25 09:34:59 -04:00
Albert Juhé Lluveras
55336a9874
Make 'Rows Per Table' <select> accessible ( https://github.com/woocommerce/woocommerce-admin/pull/1674 )
2019-02-25 11:17:56 +01:00
Paul Sealock
a3e4955f74
Merge pull request woocommerce/woocommerce-admin#1571 from woocommerce/fix/taxes-segmentation
...
Taxes Report: fix comparison mode and segmentation labels
2019-02-25 11:31:37 +13:00
Peter Fabian
3f9a43fdd0
Added timezone to datetime to correctly identify first order(s).
...
If default PHP timezone is UTC, then any order between first order and positive UTC offset is identified as 'first', which is incorrect.
2019-02-23 18:38:45 +01:00
Peter Fabian
43e49ca704
Added test for registered customer.
2019-02-23 00:03:53 +01:00
Peter Fabian
4668734af7
Removed debugging var from test.
2019-02-23 00:02:40 +01:00
Peter Fabian
3ce686e6cd
Updated is_returning_customer definition to use refactored function.
2019-02-22 22:06:21 +01:00
renovate[bot]
042e55cd43
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1516 )
2019-02-22 08:35:57 -05:00
renovate[bot]
e0730dd0a3
Update dependency autoprefixer to v9.4.8 ( https://github.com/woocommerce/woocommerce-admin/pull/1630 )
2019-02-22 08:00:21 -05:00
renovate[bot]
f5855a5641
Update dependency @babel/core to v7.3.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1629 )
2019-02-22 07:48:49 -05:00
renovate[bot]
699b669891
Update dependency dompurify to v1.0.10 ( https://github.com/woocommerce/woocommerce-admin/pull/1631 )
2019-02-22 07:41:25 -05:00
Justin Shreve
4347e1a9e0
Fix CSS linter errors ( https://github.com/woocommerce/woocommerce-admin/pull/1673 )
2019-02-22 07:34:04 -05:00
renovate[bot]
3de37c9e9e
Update dependency core-js to v2.6.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1538 )
2019-02-22 07:32:30 -05:00
renovate[bot]
8ac513194b
Update dependency ast-types to v0.12.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1537 )
2019-02-22 07:16:35 -05:00
renovate[bot]
5e42c540da
Update dependency eslint-plugin-jest to v22.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1633 )
2019-02-22 07:08:54 -05:00
renovate[bot]
bb1a6bfe2e
Update dependency eslint to v5.14.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1632 )
2019-02-22 06:55:10 -05:00
Justin Shreve
063bea4486
Return an error when installing unit tests if WP < 5 ( https://github.com/woocommerce/woocommerce-admin/pull/1645 )
2019-02-22 06:31:18 -05:00
Joshua T Flowers
88c2973e2a
Fix null values in CSV columns export ( https://github.com/woocommerce/woocommerce-admin/pull/1652 )
...
* Fix null values in CSV columns export
* Check if value is null or undefined to avoid falsey for 0 values
* Add null value to CSV tests
* Improve changelog message
2019-02-22 10:02:38 +08:00
Joshua T Flowers
9c95a62f3b
Hide woo notices button when side menu is open ( https://github.com/woocommerce/woocommerce-admin/pull/1658 )
2019-02-22 09:42:42 +08:00
Tiago Noronha
f1e6c2f3c8
Reduce alert margin on mobile
2019-02-21 23:39:30 +00:00
Tiago Noronha
952ad025a5
Change button from isPrimary to isDefault and adjust color
2019-02-21 23:34:43 +00:00
Tiago Noronha
1910d76425
Small screens styling tweaks
2019-02-21 23:24:01 +00:00
Paul Sealock
62a6b619d9
Taxes Report: allow segmentation by tax
2019-02-22 11:37:15 +13:00
Tiago Noronha
84ba0709c1
Ensure state is updated only if new ids exist
2019-02-21 21:16:10 +00:00
Ron Rennick
0a4d98fb9f
fix warning in some versions of PHP
2019-02-21 15:59:09 -04:00
Ron Rennick
4cad583332
add action scheduler group
2019-02-21 15:44:35 -04:00
Tiago Noronha
e6b0f3476c
Merge pull request woocommerce/woocommerce-admin#1560 from woocommerce/fix/1429-hello-dolly
...
Stop Hello Dolly lyrics from displaying in the notices tab
2019-02-21 18:58:51 +00:00
Tiago Noronha
1ae9ffc188
Add new function to remove unwanted notices and remove Hello Dolly
2019-02-21 18:37:45 +00:00
Tiago Noronha
039ca2a1a9
Remove Hello Dolly exception from JS
2019-02-21 18:34:50 +00:00
Kelly Dwan
4ccc7ddaea
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/1661 )
2019-02-21 11:47:28 -05:00
Tiago Noronha
f28e74daf9
Merge branch 'master' of github.com:woocommerce/wc-admin into fix/1352-backspace-remove-item
2019-02-21 15:50:21 +00:00
Justin Shreve
2af0aedd95
Add comparison support to the coupons report ( https://github.com/woocommerce/woocommerce-admin/pull/1647 )
2019-02-21 10:16:44 -05:00
Tiago Noronha
d54d9aa05e
Fix store alters margin on mobile
2019-02-21 14:26:43 +00:00
Tiago Noronha
f22770ce7e
Use global Sass variables and add mixin for alert box-shadow
2019-02-21 01:13:54 +00:00
Tiago Noronha
c304760629
Add `store-alerts` feature flag
2019-02-21 00:41:00 +00:00
Kelly Dwan
b98c05c331
Components: Add SearchListControl ( https://github.com/woocommerce/woocommerce-admin/pull/1628 )
...
* Add SearchListControl as exported component
* Add entry to changelog (and fix versioning)
* Fix repeating character mixin
* Update textdomain
2019-02-20 15:18:27 -05:00
Albert Juhé Lluveras
00ff9fa8b5
Fix table search position in small viewports ( https://github.com/woocommerce/woocommerce-admin/pull/1646 )
2019-02-20 20:44:12 +01:00
Tiago Noronha
1d864c222c
Fix line break
2019-02-20 19:03:08 +00:00
Tiago Noronha
91b09bfe4b
Add propTypes
2019-02-20 16:37:03 +00:00
Tiago Noronha
f492dae5a2
Simplify name of consts
2019-02-20 16:18:10 +00:00
Albert Juhé Lluveras
1488a55b7c
Preserve chart colors when changing visible keys in charts with less keys than 'selectionLimit' ( https://github.com/woocommerce/woocommerce-admin/pull/1606 )
...
* Preserve chart colors when changing visible keys in 'time-comparison' charts
* Actually preserve colors in charts that don't have more keys than selectionLimit
2019-02-20 16:53:37 +01:00
Tiago Noronha
4f8336ce3d
Add alerts array via props
2019-02-20 15:25:56 +00:00
Justin Shreve
c3b0934ad3
Close the WP menu after navigating between reports ( https://github.com/woocommerce/woocommerce-admin/pull/1634 )
2019-02-20 10:18:27 -05:00
Ron Rennick
3aa1f6197a
Merge pull request woocommerce/woocommerce-admin#1591 from woocommerce/fix/1590
...
implement WC_ADMIN_ABSPATH in wc-admin.php, class-wc-admin-api-init.php
2019-02-20 09:42:07 -04:00
Tiago Noronha
d9f9532939
Use interpolateComponents for pagination label
2019-02-20 11:50:55 +00:00
Albert Juhé Lluveras
0a10291969
Don't show variations table when there is an active search ( https://github.com/woocommerce/woocommerce-admin/pull/1601 )
2019-02-20 10:21:19 +01:00
Albert Juhé Lluveras
1660484d4c
Escape commas in search terms ( https://github.com/woocommerce/woocommerce-admin/pull/1605 )
2019-02-20 10:21:05 +01:00
Albert Juhé Lluveras
5e4f14a81d
Fix style of dashboard summary number placeholder ( https://github.com/woocommerce/woocommerce-admin/pull/1623 )
...
* Fix style of dashboard summary number placeholder
* Make store performance block to be a normal <div> instead of a Card
* Fix dashboard summary numbers style
* Simplify code
2019-02-20 10:20:50 +01:00
Joshua T Flowers
aef11ef586
Refactor customer ID creation ( https://github.com/woocommerce/woocommerce-admin/pull/1619 )
...
* Fix indendtation for table creations
* Refactor how customers are created on order update
* Check if user has a role of customer or previous orders before storing
* Add tests for user creation
* Allow null emails for customers
* Only select customer_id in guest ID query
2019-02-20 10:30:00 +08:00
Joshua T Flowers
08e43c35cf
Execute single order pending jobs immediately when wp_debug is enabled ( https://github.com/woocommerce/woocommerce-admin/pull/1581 )
...
* Execute all pending jobs when debug mode is enabled
* Only process single order jobs immediately
* Replace wp_debug condition with a filter
* Bypass scheduling and process the order on save_post
* Change hook name to include order
2019-02-20 10:05:11 +08:00
Joshua T Flowers
73ff2d37e8
Update activity panels order endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/1578 )
...
* Only show customer name if available
* Map customer data to extended_info in orders API response
* Add gross total and refund total to orders API response
* Hook up report orders endpoint to activity panel orders
* Add on-hold orders to activity panel orders
* Destructure extended_info in case of filtering
* Add customer link to orders panel
2019-02-20 09:51:43 +08:00
Joshua T Flowers
0ef2dc27f4
Fix long search tags ( https://github.com/woocommerce/woocommerce-admin/pull/1597 )
...
* Fix long search tags
* Remove spaces from css calc expression
Co-Authored-By: joshuatf <joshuatf@gmail.com>
* Fix overflowing autocomplete search
2019-02-20 09:40:21 +08:00
Joshua T Flowers
44604bcd02
Reduce net order total by refunded amount less tax and shipping refunds ( https://github.com/woocommerce/woocommerce-admin/pull/1600 )
...
* Reduce net order total by refunded amount less tax and shipping refunds
* Fix net_totals in tests with refunds
2019-02-20 09:39:42 +08:00
Tiago Noronha
8bc2a84b39
Add basic StoreAlert component
2019-02-19 21:07:19 +00:00
Justin Shreve
4f64358c8e
Fix customer filters and download user filtering ( https://github.com/woocommerce/woocommerce-admin/pull/1618 )
...
* Add the ability to search name, username, and email fields on the customer endpoint, update autocompletors, add in include parameter.
* Update the username to be returned in the download response, update download filtering based on customer id, and only rename include parameter on main customers endpoint.
2019-02-19 14:35:29 -05:00
Ron Rennick
e1af3cdf18
implement WC_ADMIN_ABSPATH in class-wc-admin-api-init.php
2019-02-19 15:27:42 -04:00
Joshua T Flowers
694130d455
Change fixed legend button height to min-height ( https://github.com/woocommerce/woocommerce-admin/pull/1602 )
2019-02-19 10:29:58 +08:00
Joshua T Flowers
ffa7e016d4
Fix double focus on autocomplete search list after options are loaded ( https://github.com/woocommerce/woocommerce-admin/pull/1582 )
...
* Add isFocused to state to determine whether options list should be rendered
* Use state query instead of adding isFocused
* Remove search tag styling
2019-02-19 10:28:40 +08:00
Justin Shreve
732a8a4986
Fix variation name format to match core ( https://github.com/woocommerce/woocommerce-admin/pull/1583 )
2019-02-18 13:24:48 -05:00
Justin Shreve
79dc87b9bb
Fix product category report views ( https://github.com/woocommerce/woocommerce-admin/pull/1587 )
2019-02-18 13:18:21 -05:00
Joshua T Flowers
f0ec3c49a1
Add tax refund calculations ( https://github.com/woocommerce/woocommerce-admin/pull/1556 )
...
* Add item and shipping refund calucations to taxes on order update
* Sync taxes on refund delete
* Fix up tax stats API testing
* Add refunds to tax stats API tests
2019-02-18 10:20:16 +08:00
Ron Rennick
71660fa997
implement WC_ADMIN_ABSPATH in wc-admin.php
2019-02-15 16:03:32 -04:00