Timmy Crawford
eeff9572f5
Documentation: Add base directory and files ( https://github.com/woocommerce/woocommerce-admin/pull/3404 )
...
* Let us get this docparty started.
* Report page stubs.
2019-12-16 10:29:01 -08:00
Paul Sealock
3da93590c4
AssetDataRegistry: update SQL example ( https://github.com/woocommerce/woocommerce-admin/pull/3418 )
...
* AssetDataRegistry: update SQL example
* add wc-settings as a dependency
* better descripiton
2019-12-17 07:16:46 +13:00
Jeff Stieler
11d4911191
Fix CompareFilter selected value format. ( https://github.com/woocommerce/woocommerce-admin/pull/3421 )
...
Look for `key` instead of `id` property.
2019-12-16 10:27:53 -05:00
Paul Sealock
e5d321710f
Add starter pack script ( https://github.com/woocommerce/woocommerce-admin/pull/3403 )
...
* Add starter pack
* use deepPink
2019-12-16 11:59:35 +13:00
Jeff Stieler
6a826600c2
Fix WC-Admin component styles for WP 5.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3357 )
...
* Style Search component for 5.3.
* Reset native select control styles.
* Fix styling of selected radio options.
* Fix bottom margin on select inputs in filters and pagination.
* Update DropdownButton styles for WP 5.3.
* Style DropdownButton arrow as a chevron.
* Fix tooltip arrow styling.
* Style TextControlWithAffixes for WP 5.3.
* Flatten pagination button style.
* Use SelectControl for StoreAlert snooze action.
* Remove 3D look and use chevron on SplitButton.
* Add changelog entry.
* Fix stylelint issues.
* Update test snapshots.
* Add TextControlWithAffixes disabled prop to documentation and proptypes.
* Use WP checkboxes in ReportTable columns.
* Fix TableCard header background colors.
* Add padding to EllipsisMenu toggle controls.
* Remove version-specific styles.
We require WP 5.3 as a minimum now.
2019-12-13 12:35:29 -05:00
Paul Sealock
9a4369d984
Bump minimum WP version to 5.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3393 )
...
* Bump minimum WP version
* Bump min WP version in main README.
2019-12-13 10:05:41 -05:00
renovate[bot]
a80733a8d5
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/3327 )
...
* Lock file maintenance
* Update composer lockfile.
2019-12-13 09:59:43 -05:00
Jeff Stieler
2b85bf1bba
Install latest stable WC for running builds. ( https://github.com/woocommerce/woocommerce-admin/pull/3417 )
...
Occasionally, master breaks the build.
2019-12-13 09:30:21 +13:00
renovate[bot]
4f8b8f00ef
Update dependency core-js to v2.6.11 ( https://github.com/woocommerce/woocommerce-admin/pull/3411 )
2019-12-12 08:08:13 -05:00
renovate[bot]
f307ed3add
Update dependency webpack-cli to v3.3.10 ( https://github.com/woocommerce/woocommerce-admin/pull/3413 )
2019-12-12 07:53:07 -05:00
renovate[bot]
48d145d5df
Update dependency rtlcss to v2.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3412 )
2019-12-11 22:47:50 -05:00
renovate[bot]
e828a73eb6
Update dependency copy-webpack-plugin to v5.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3410 )
2019-12-11 22:46:13 -05:00
renovate[bot]
a7c2d1f5fe
Update dependency automattic/jetpack-autoloader to v1.3.7 ( https://github.com/woocommerce/woocommerce-admin/pull/3409 )
2019-12-11 22:26:20 -05:00
renovate[bot]
90bde97393
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/3408 )
2019-12-11 22:00:37 -05:00
Justin Shreve
8b15bb441e
Add autocomplete props to address fields in onboarding and adjust country/state matching ( https://github.com/woocommerce/woocommerce-admin/pull/3338 )
...
* Add autocomplete props to adress fields in onboarding
* Adjust state/country autocomplete logic
* Refactor state and country check
2019-12-11 12:10:05 -05:00
Jeff Stieler
3301575b60
Fix missing header on core pages. ( https://github.com/woocommerce/woocommerce-admin/pull/3389 )
...
* Fix WC-admin loading on Status > Logs page.
* WIP render admin bar on all WC settings pages.
* Connect all settings, status, extension, and report pages using a filter.
2019-12-11 08:32:17 -05:00
Ron Rennick
4f71ae79a9
update customer rest controller for last active date in local time ( https://github.com/woocommerce/woocommerce-admin/pull/3388 )
2019-12-10 16:46:17 -04:00
Joshua T Flowers
529cab809e
Onboarding: Fix error if product types are missing ( https://github.com/woocommerce/woocommerce-admin/pull/3340 )
...
* Get product types from profile items or set to empty array
* Remove duplicate cart redirect methods
* Add missing cart redirect params
* Use path for wccom-back instead of full url
2019-12-10 15:08:16 -05:00
Joshua T Flowers
3cec6e7be6
Onboarding: Update shipping task button text ( https://github.com/woocommerce/woocommerce-admin/pull/3400 )
...
* Add buttonText prop and default text to shipping rates component
* Make button text dependent on remaining task visibility
* Determine task step visibility by plugins
2019-12-10 14:54:51 -05:00
Justin Shreve
1acd567e76
Default the Calypso environment to production ( https://github.com/woocommerce/woocommerce-admin/pull/3347 )
2019-12-10 14:36:45 -05:00
Justin Shreve
a0e47e8dfd
Add a button to continue setup after importing products ( https://github.com/woocommerce/woocommerce-admin/pull/3402 )
2019-12-10 14:28:19 -05:00
Justin Shreve
34a0fdb6a5
Fix revenue question translation with currency conversion ( https://github.com/woocommerce/woocommerce-admin/pull/3358 )
...
* Do a rough conversion of the currency ranges on the revenue question
* add a zero for every additional digit beyond the first digit to round currencies with larger differences in exchange rates
2019-12-10 14:01:21 -05:00
Ron Rennick
d1b356919c
don't load analytics dashboard for users without needed capability ( https://github.com/woocommerce/woocommerce-admin/pull/3386 )
...
* don't load analytics dashboard for users without needed capability
* add helper function
2019-12-10 10:04:39 -04:00
Ron Rennick
47ca4f1032
make report filter date props optional ( https://github.com/woocommerce/woocommerce-admin/pull/3359 )
2019-12-10 09:56:06 -04:00
Joshua T Flowers
08f38ace89
Update the tracking usage modal copy ( https://github.com/woocommerce/woocommerce-admin/pull/3398 )
2019-12-10 11:08:54 +07:00
Joshua T Flowers
df172f4592
Onboarding: Reduce number of queries needed to update logo ( https://github.com/woocommerce/woocommerce-admin/pull/3397 )
...
* Add stylesheet and themeMods to settings and remove customLogo
* Remove queries to get current stylesheet and thememods
2019-12-10 11:08:44 +07:00
renovate[bot]
1f263874e3
Update dependency lerna to v3.19.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3346 )
2019-12-09 14:36:51 -05:00
renovate[bot]
ab37d42635
Update dependency docsify-cli to v4.4.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3344 )
2019-12-09 14:26:27 -05:00
renovate[bot]
6cbc928675
Update dependency eslint-plugin-react to v7.17.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3345 )
2019-12-09 14:21:57 -05:00
Paul Sealock
6a92ccb932
Release/0.23.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3395 )
...
* release changes 0.23.0
* check onboarding function
* version bumps
* fix package.json typo
* fix version typo
2019-12-10 08:02:09 +13:00
renovate[bot]
7d48375c0b
Update dependency deasync to v0.1.16 ( https://github.com/woocommerce/woocommerce-admin/pull/3343 )
2019-12-09 14:00:33 -05:00
renovate[bot]
44007fd014
Update dependency css-loader to v3.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3342 )
2019-12-09 13:47:40 -05:00
renovate[bot]
3445ff6578
Update dependency autoprefixer to v9.7.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3341 )
2019-12-09 13:36:13 -05:00
Paul Sealock
557cf0fbc4
release changes 0.23.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3371 )
2019-12-10 07:30:38 +13:00
Joshua T Flowers
2fe5f99977
Update check for TOS accepted in tax step ( https://github.com/woocommerce/woocommerce-admin/pull/3245 )
2019-12-09 11:50:54 +07:00
Ron Rennick
fe0aaaa8ab
Add/disable plugin filter ( https://github.com/woocommerce/woocommerce-admin/pull/3361 )
...
* add filter to allow WC Admin to be disabled
* update filter name
2019-12-06 13:13:28 -04:00
Ron Rennick
ba30224098
Stardardize hooks ( https://github.com/woocommerce/woocommerce-admin/pull/3339 )
...
* rename woocommerce_reports_* hooks/filters to woocommerce_analytics_*
* introduce woocommerce_navigation_ filter prefix
* update remaining wc_admin_* filters/hooks
* phpcs sniff fixes for notes data store
* standardize woocommerce_note_ hook prefix
* one of filter renames
* update contributing readme, onboarding unit test
* missed _notes_ -> _note_ filter
* update ext example hooks
2019-12-06 12:06:11 +13:00
Paul Sealock
8205112732
Add currency extension ( https://github.com/woocommerce/woocommerce-admin/pull/3328 )
...
* Add currency extension
* use wcSettings
* save
* get revenue working
* all reports
* remove error log
* better rename
* add column
* persist queries
* go back to individual hooks
* comments
* address feedback
2019-12-06 11:38:26 +13:00
Jeff Stieler
6a8124ffd0
Remove unnecessary locale update call. ( https://github.com/woocommerce/woocommerce-admin/pull/3362 )
...
Let the @wordpress/date module handle it.
2019-12-06 11:38:07 +13:00
Ron Rennick
0c5c0f1571
add filter to allow WC Admin to be disabled ( https://github.com/woocommerce/woocommerce-admin/pull/3350 )
2019-12-04 19:44:49 -04:00
Ron Rennick
cd6c81ae22
account for time change when calculating next day start ( https://github.com/woocommerce/woocommerce-admin/pull/3333 )
2019-12-04 19:44:20 -04:00
Justin Shreve
4e4d6b265a
Remove extra debug information ( https://github.com/woocommerce/woocommerce-admin/pull/3336 )
2019-12-04 08:16:20 -05:00
Justin Shreve
5e6e3e98db
Fix button margin on plugins screen ( https://github.com/woocommerce/woocommerce-admin/pull/3337 )
2019-12-04 08:05:01 -05:00
Joshua T Flowers
2fccd709c0
Onboarding: Update global currency settings on address change ( https://github.com/woocommerce/woocommerce-admin/pull/3324 )
...
* Update currency data to match currency format used in wcSettings
* Revert currency ranges to sprintf
* Allow currency to be changed after the class has been initialized
* Update currency settings when store address is changed
* Get default prices formats from positioning
* Set currency defaults if not set
* Handle PR feedback
* Add translator comment to 'more than' revenue option
2019-12-04 07:32:13 +08:00
Joshua T Flowers
7c9ba29fa2
Onboarding: Redirect to task list after shipping step connection ( https://github.com/woocommerce/woocommerce-admin/pull/3331 )
...
* Add redirectUrl prop to connect step
* Add propTypes to connect component
2019-12-04 07:16:17 +08:00
Joshua T Flowers
7e2aa85235
Onboarding: Format product count ranges numbers without decimals ( https://github.com/woocommerce/woocommerce-admin/pull/3316 )
...
* Format product count ranges numbers without decimals
* Don't pass format method as argument to getNumberRangeString
2019-12-04 07:13:42 +08:00
Joshua T Flowers
fa2ab220c9
Onboarding: Allow logo to be removed via customize appearance task ( https://github.com/woocommerce/woocommerce-admin/pull/3323 )
...
* Remove pending state when no custom logo ID exists
* Update logo to null in theme mods if removed
2019-12-03 12:42:57 +08:00
Joshua T Flowers
09f2a03284
Onboarding: Update appearance task completion criteria ( https://github.com/woocommerce/woocommerce-admin/pull/3321 )
...
* Update appearance task completion criteria
* Don't update wcSettings after logo change
2019-12-03 12:18:56 +08:00
Joshua T Flowers
485cb2c193
Update getCurrencyFormatString import to use wc-admin lib ( https://github.com/woocommerce/woocommerce-admin/pull/3332 )
2019-12-03 09:12:53 +08:00
Justin Shreve
448e1f3e11
Remove Newspack Dependency ( https://github.com/woocommerce/woocommerce-admin/pull/3302 )
...
* Switch to @wordpress/component's Button
* Finish button conversion
* Move to @wp/component's CheckboxControl
* Add ImageUpload component
* Remove Newspack package
* CSS Cleanup
* Handle PR feedback: Fix tests, add ImageUploader basic test, fix FireFox/Safari Display issues, and currency input bug
2019-12-02 12:39:22 -05:00
Darren Ethier
09ddedc8d9
Packages: Prep for release. ( https://github.com/woocommerce/woocommerce-admin/pull/3325 )
...
* update components package version and changelog
* update csvexport package and changelog
* update currency package and changelog
* update date package and changelog
* update navigation package and changelog
* update number package and changelog
* update package dependency versions
* fix typo
2019-12-02 08:08:35 -05:00
Joshua T Flowers
81599c5178
Check if extended_info is set for order report items ( https://github.com/woocommerce/woocommerce-admin/pull/3315 )
2019-11-29 09:22:18 +08:00
Paul Sealock
3f13793e66
DB Updates: invalidate cache after update ( https://github.com/woocommerce/woocommerce-admin/pull/3299 )
2019-11-29 09:55:23 +13:00
Paul Sealock
a5a67b107e
Settings: Persist date range selection ( https://github.com/woocommerce/woocommerce-admin/pull/3293 )
...
* Settings: fix date range persistance
* set undefined on persisted on save
* add comment
2019-11-29 09:54:15 +13:00
Ron Rennick
d6c77de3cd
make customer order count consistent between customer and stats ( https://github.com/woocommerce/woocommerce-admin/pull/3290 )
...
* make customer order count consistent between customer and stats
* add phpcs ignore for date()
* move reused SQL logic to variables
2019-11-28 12:58:46 -04:00
Joshua T Flowers
deeeacd3a5
Include out of stock products in low_in_stock product filter ( https://github.com/woocommerce/woocommerce-admin/pull/3310 )
2019-11-28 13:41:58 +08:00
renovate[bot]
a259fa03f3
Update dependency automattic/jetpack-autoloader to v1.3.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3307 )
2019-11-28 13:02:36 +13:00
renovate[bot]
772a8c7723
Update dependency d3-time-format to v2.2.2 ( https://github.com/woocommerce/woocommerce-admin/pull/3308 )
2019-11-28 13:01:53 +13:00
Paul Sealock
49060372aa
Use report filters with tracking ( https://github.com/woocommerce/woocommerce-admin/pull/3309 )
2019-11-28 12:12:33 +13:00
renovate[bot]
d035bc8397
Update babel monorepo to v7.7.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3306 )
2019-11-27 17:06:29 +13:00
renovate[bot]
07b4f93494
Pin dependency @wordpress/base-styles to 1.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3305 )
2019-11-27 16:39:57 +13:00
Joshua T Flowers
a55830ac8c
Onboarding: Hide ImageIUploader before custom logo is fetched ( https://github.com/woocommerce/woocommerce-admin/pull/3304 )
...
* Check if themeMods is set before showing logo step
* Set state to pending while fetching media
2019-11-27 10:59:40 +08:00
Jeff Stieler
9469663379
Decouple date package from `wcSettings`. ( https://github.com/woocommerce/woocommerce-admin/pull/3278 )
...
* Decouple date package from wcSettings.
* Update missed documentation and example.
* Expect simpler prop values for date filter.
* Remove unused props from primary/secondary dates.
* Avoid introducing moment dependency for type checking.
* Handle null moment/date values in DateRangeFilterPicker.
* Fix missing ISO date format.
* Fix moment instance detection.
2019-11-26 14:39:40 -05:00
Jeff Stieler
e87a23bc75
Fix checkout of master branch in CI environment. ( https://github.com/woocommerce/woocommerce-admin/pull/3296 )
2019-11-26 13:24:36 -05:00
Ron Rennick
baeaa94f5f
make store revenue range amounts translatable ( https://github.com/woocommerce/woocommerce-admin/pull/3251 )
...
* make store revenue range amounts translatable
* update business details to USD amounts
2019-11-26 09:01:47 -04:00
Justin Shreve
50cc3edaed
Update onboarding filters with a consistent prefix ( https://github.com/woocommerce/woocommerce-admin/pull/3295 )
...
* Update onboarding filters with a consistent prefix
* Rename woocommerce_onboarding_payments to match the other task list options
2019-11-25 11:15:22 -05:00
Justin Shreve
c8f9d7673c
Fix notices and display issues that can occur when a WCCOM product api request fails ( https://github.com/woocommerce/woocommerce-admin/pull/3291 )
2019-11-25 10:35:35 -05:00
Ron Rennick
c5f0fa90b2
Remove Previous Year week alignment ( https://github.com/woocommerce/woocommerce-admin/pull/3271 )
...
* remove previous year week alignment, include full day at end of previous period
* update script testing of weeks in last year
2019-11-25 09:19:19 -04:00
renovate[bot]
53e3009c4b
Update dependency d3-shape to v1.3.7 ( https://github.com/woocommerce/woocommerce-admin/pull/3284 )
2019-11-25 17:26:56 +13:00
renovate[bot]
46bc6574fe
Update dependency d3-selection to v1.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3283 )
2019-11-25 17:07:43 +13:00
renovate[bot]
38af02a632
Update dependency d3-format to v1.4.2 ( https://github.com/woocommerce/woocommerce-admin/pull/3282 )
2019-11-25 17:02:39 +13:00
renovate[bot]
23abbd47c8
Update dependency autoprefixer to v9.7.2 ( https://github.com/woocommerce/woocommerce-admin/pull/3280 )
2019-11-25 17:00:05 +13:00
renovate[bot]
5e1901bb5f
Update dependency automattic/jetpack-autoloader to v1.3.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3279 )
2019-11-25 16:58:49 +13:00
Darren Ethier
b57b52ff0c
fix error due to fallback not loading when needed for getAdminLink ( https://github.com/woocommerce/woocommerce-admin/pull/3297 )
2019-11-22 19:30:46 -05:00
Jeff Stieler
c2020507e3
Decouple Navigation from `wcSettings`. ( https://github.com/woocommerce/woocommerce-admin/pull/3294 )
...
* Move getAdminLink to wc-admin-settings.
* Add changelog entries.
* Look for `getAdminLink()` in @woocommerce/settings first.
2019-11-22 12:07:26 -05:00
David Levin
52cb35f4de
Correcting and clarifying analytics terms and calculations ( https://github.com/woocommerce/woocommerce-admin/pull/3104 )
...
* Relabel Net Revenue to Net Sales, revert previous refund work on Gross revenue and rename to total sales. Update the orer of all the things
* Add gross sales calculation to revenue stats endpoint.
* Restore coupon_total when updating order stats.
* Wire up gross sales to revenue report.
* Fix revenue report refunds calculation when there are no refunds.
* update net sales labels and cases in order, product and category tables
* Subtract refunded shipping and taxes from gross sales.
* pluses to minuses to fix the gross revenue and refund totals when refunding
* Add gross_sales to revenue stats orderby enum.
* Change refund labels to Returns
* Remove usage of defunct coupon_total column.
* Store refunded amount in stats table.
* Rename "gross_total" column to "total_sales".
* Net total for refund orders can be used instead of a new column.
* Rename gross_revenue to total_sales.
* Coalesce coupons total in order stats query.
SUM()ing all nulls gives null, not zero.
* Use segmentation selections to backfill missing data.
Fo when report columns and segmentation columns don't match.
* Remove errant gross_sales from expected interval test data.
* Fix gross sales tests for revenue/stats.
* Move missing segment fills back to their original locations.
* Fix remaining tests failing because of gross sales.
* Fix db upgrade function rename of gross_total column.
* Fix linter errors.
2019-11-22 10:06:14 -05:00
Paul Sealock
0db5cbb6a0
Component styles: Explicitly import from Gutenberg ( https://github.com/woocommerce/woocommerce-admin/pull/3292 )
...
* Fix Gutenberg style imports
* remove duplicate variables
* remove extra variables
* remove duplicate imports
* move base style imports to webpack
2019-11-22 13:19:37 +13:00
Jeff Stieler
17514872ad
Decouple currency and numbers packages from `wcSettings`. ( https://github.com/woocommerce/woocommerce-admin/pull/3277 )
...
* Remove wcSettings dependency from currency and number packages.
Either take a configuration object in function calls or in a new class constructor.
* Use new Currency class and number format methods in client/.
Compose with store settings to keep the same API.
* Don't reintroduce lodash dependency to currency package.
* Add changelog entries to currency and number packages.
* Update docs, example, and changelog for AdvancedFilters component.
* Use precision-less formatValue() for integer report values.
* Make Currency instance immutable.
2019-11-21 16:51:52 -05:00
Justin Shreve
1a1abe0cc2
Add remaining onboarding documentation ( https://github.com/woocommerce/woocommerce-admin/pull/3286 )
...
* Add Jetpack connection docs, and update the calypso information
* Finish onboarding docs with options, filters, and rest api sections
* Handle PR feedback
2019-11-21 11:28:22 -05:00
Justin Shreve
631ffe240f
Onboarding - Add extra plugin debug to plugin installation ( https://github.com/woocommerce/woocommerce-admin/pull/3272 )
...
* Add extra plugin debug to plugin installation
* Add additional debug
2019-11-21 10:22:49 -05:00
Joshua T Flowers
940716d7f5
Add wc admin card classes to leaderboards ( https://github.com/woocommerce/woocommerce-admin/pull/3267 )
2019-11-21 20:10:37 +08:00
Paul Sealock
1f4e2fcdfe
Use same wp-components version in bundle ( https://github.com/woocommerce/woocommerce-admin/pull/3253 )
...
* Use same wp-components version in bundle
* turn off short array rule
2019-11-21 09:36:44 +13:00
Joshua T Flowers
6bb8015cf2
Filter invalid statuses from saved statuses ( https://github.com/woocommerce/woocommerce-admin/pull/3268 )
2019-11-20 22:52:24 +08:00
Paul Sealock
790e5f59d3
Allow core inclusion via Package.php ( https://github.com/woocommerce/woocommerce-admin/pull/3196 )
...
* Create GH tag release process
Add core to the release
no need to re-run docs
simplify build command
add gh release script
fix errant comment
fix errant comment
force add feature-config.php
gitattributes
moar attributes
add language files
* Make sure initalization via Core is working
2019-11-20 12:23:27 +13:00
Jeff Stieler
f8fa7b6bc7
Fetch autocomplete countries from the API rather than wcSettings object. ( https://github.com/woocommerce/woocommerce-admin/pull/3262 )
2019-11-19 14:17:15 -05:00
Justin Shreve
e1f67a7d80
Add base documentation for the onboarding feature ( https://github.com/woocommerce/woocommerce-admin/pull/3274 )
...
* Add base documentation for the onboarding feature
* Handle PR feedback: Fix API URls, and WooCommerce.com heading
2019-11-19 13:06:38 -05:00
Ron Rennick
915953e1a6
use a filter to set default locale ( https://github.com/woocommerce/woocommerce-admin/pull/3273 )
2019-11-19 13:49:18 -04:00
Ron Rennick
2b8b1e4c1c
rename DS get_* to add_* where function does not return values ( https://github.com/woocommerce/woocommerce-admin/pull/3275 )
...
* rename DS get_* to add_* where function does not return values
* phpcs fixes on coupons, products data stores
2019-11-19 13:48:35 -04:00
Joshua T Flowers
1e792b7e86
Onboarding: Stretch theme image to fit card container ( https://github.com/woocommerce/woocommerce-admin/pull/3266 )
2019-11-19 09:18:22 +08:00
Justin Shreve
7385170781
Fix filter gap on analytics select controls ( https://github.com/woocommerce/woocommerce-admin/pull/3259 )
2019-11-18 10:20:07 -05:00
Ron Rennick
241fad75cc
PHPCS fixes for onboarding files ( https://github.com/woocommerce/woocommerce-admin/pull/3269 )
2019-11-18 11:17:48 -04:00
Ron Rennick
634a4edc13
return a value from create pages API call ( https://github.com/woocommerce/woocommerce-admin/pull/3261 )
2019-11-18 08:37:16 -04:00
Joshua T Flowers
225548d7af
Filter empty keywords from autocompleters ( https://github.com/woocommerce/woocommerce-admin/pull/3257 )
2019-11-18 09:23:39 +08:00
Joshua T Flowers
81567875c0
Reset state before firing onChange in SelectControl ( https://github.com/woocommerce/woocommerce-admin/pull/3255 )
2019-11-18 09:23:26 +08:00
Joshua T Flowers
e060fbee56
Fix selected value showing for multiple SelectControl ( https://github.com/woocommerce/woocommerce-admin/pull/3254 )
2019-11-18 09:23:15 +08:00
Paul Sealock
03399a034c
Create GH tag release process ( https://github.com/woocommerce/woocommerce-admin/pull/3190 )
...
Add core to the release
no need to re-run docs
simplify build command
add gh release script
fix errant comment
fix errant comment
force add feature-config.php
gitattributes
moar attributes
add language files
2019-11-18 11:39:27 +13:00
Justin Shreve
f87176873b
Onboarding - Fix payment CSS on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/3236 )
2019-11-15 08:33:40 -05:00
Justin Shreve
a27c178ef6
Fix default country on new stores ( https://github.com/woocommerce/woocommerce-admin/pull/3252 )
2019-11-15 08:32:54 -05:00
Justin Shreve
03c3251a2a
Onboarding - Add tracks queue and fix busted tracks events/add missing event ( https://github.com/woocommerce/woocommerce-admin/pull/3220 )
...
* Fix busted tracks events and add missing continue setup event
* Move appearance check to next page load to avoid the event not firing
* Add a tracks queue to delay event recording & log embed page views (https://github.com/woocommerce/woocommerce-admin/pull/3250 )
* Add a tracks queue to delay event recording
* Add emebedded page view tracking, and queue the tax skip event
2019-11-15 08:32:02 -05:00
Joshua T Flowers
ee747d2869
Onboarding: Skip homepage step when classic editor is in use ( https://github.com/woocommerce/woocommerce-admin/pull/3244 )
2019-11-15 08:17:48 +08:00
Joshua T Flowers
08ea4648ca
Onboarding: Update homepage options call to use in-house namespace ( https://github.com/woocommerce/woocommerce-admin/pull/3243 )
2019-11-15 08:17:18 +08:00
Ron Rennick
4987b7a1a7
add REST routes for customers, handler for single customer ( https://github.com/woocommerce/woocommerce-admin/pull/3174 )
...
* add REST routes for customers, handler for single customer
* use customer id vs user_id, add collection link
2019-11-14 11:25:29 -04:00
Albert Juhé Lluveras
319cc65d22
Make WooCommerce brand localizable ( https://github.com/woocommerce/woocommerce-admin/pull/3247 )
...
* Make WooCommerce brand localizable
* Make HeaderLogo aria-label localizable
2019-11-14 16:24:42 +01:00
Ron Rennick
931172ff89
fix typos in JS docs ( https://github.com/woocommerce/woocommerce-admin/pull/3248 )
2019-11-14 10:35:55 -04:00
Ron Rennick
c716b8c399
capitalize WooCommerce Services ( https://github.com/woocommerce/woocommerce-admin/pull/3249 )
2019-11-14 10:35:28 -04:00
Justin Shreve
7fb1d33e22
Show the "activate & continue" button as busy during Jetpack redirect ( https://github.com/woocommerce/woocommerce-admin/pull/3234 )
2019-11-14 09:14:53 -05:00
Albert Juhé Lluveras
503e63e6af
Select control: fix misalignment and hide scroll bar ( https://github.com/woocommerce/woocommerce-admin/pull/3215 )
...
* Fix misalignment in select control
* Fix scroll appearing in Select Control
2019-11-14 09:49:32 +01:00
Joshua T Flowers
91b8ed366d
Onboarding: Add the ability to toggle on or off the new onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/3230 )
...
* Add on option to toggle on the new onboarding experience
* Add an option to toggle off the new onboarding experience
* Update todo comment to remove option on merge to core
2019-11-14 13:12:37 +08:00
Joshua T Flowers
f2d41e8fd7
Onboarding: Remove notice to run the old setup wizard ( https://github.com/woocommerce/woocommerce-admin/pull/3232 )
2019-11-14 13:11:28 +08:00
Joshua T Flowers
87edceabf3
Fix header error in homepage template ( https://github.com/woocommerce/woocommerce-admin/pull/3231 )
2019-11-14 13:05:28 +08:00
Paul Sealock
360b0f1651
Release 0.22.0 changes ( https://github.com/woocommerce/woocommerce-admin/pull/3221 )
2019-11-14 09:09:17 +13:00
renovate[bot]
afb74db8a3
Update dependency qs to v6.9.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3226 )
2019-11-13 09:51:47 +01:00
renovate[bot]
089b5cca70
Update dependency lerna to v3.18.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3225 )
2019-11-13 09:51:36 +01:00
renovate[bot]
237c2afe57
Update dependency copy-webpack-plugin to v5.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3223 )
2019-11-13 09:51:27 +01:00
renovate[bot]
800875660a
Update dependency @octokit/rest to v16.35.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3222 )
2019-11-13 09:51:19 +01:00
Joshua T Flowers
6d9c37215a
Add email marketing note if profiler is complete ( https://github.com/woocommerce/woocommerce-admin/pull/3213 )
2019-11-13 11:25:12 +08:00
Joshua T Flowers
000d666096
Add tax filtering to orders data ( https://github.com/woocommerce/woocommerce-admin/pull/3197 )
...
* Add tax rates filter to orders report
* Add tax rate filters to orders data store
* Add tax rate query filters to order stats data store
* Add tax rate orders link to taxes table
2019-11-13 11:22:06 +08:00
Ron Rennick
fe3f819ee8
add order status filter to tax stats queries ( https://github.com/woocommerce/woocommerce-admin/pull/3158 )
2019-11-12 16:54:55 -04:00
Ron Rennick
b2b1934eea
remove deleted products, coupons from stats when order edited ( https://github.com/woocommerce/woocommerce-admin/pull/3103 )
...
* remove deleted products, couponsfrom stats when order edited
* sync with datastore refactor
2019-11-12 15:07:14 -04:00
Joshua T Flowers
9ea25daf81
Update filter picker to use key instead of id ( https://github.com/woocommerce/woocommerce-admin/pull/3214 )
2019-11-13 07:41:19 +13:00
Justin Shreve
d29f93999a
Update the Jetpack WooCommerce onboarding parameter, so that we can split test the new UI against the existing setup wizard flow. ( https://github.com/woocommerce/woocommerce-admin/pull/3207 )
2019-11-12 13:24:27 -05:00
Joshua T Flowers
9e52bae51c
Update ShipStation 'Learn more' link ( https://github.com/woocommerce/woocommerce-admin/pull/3212 )
2019-11-12 13:23:52 -05:00
Ron Rennick
f78c143f3b
Move in-house rest endpoints to private namespace ( https://github.com/woocommerce/woocommerce-admin/pull/3204 )
...
* move in-house rest endpoints to private namespace
* PHPCS sniff fixes
2019-11-12 14:15:55 -04:00
Ron Rennick
8ad869e643
move stock stats suny functions to ReportsSync ( https://github.com/woocommerce/woocommerce-admin/pull/3186 )
2019-11-12 11:34:07 -04:00
Justin Shreve
4b7263df14
Onboarding - Fix homepage notice on Gutenberg save ( https://github.com/woocommerce/woocommerce-admin/pull/3206 )
...
* Fix homepage notice
* Update class name used to check for publish success
2019-11-12 10:31:44 -05:00
Joshua T Flowers
4fb1945917
Onboarding: Use ShipStation for AU, GB, and CA ( https://github.com/woocommerce/woocommerce-admin/pull/3200 )
...
* Add shipstation to allowed plugins list
* Use shipstation for qualifying countries
* Add default value for onError prop in Plugins component
2019-11-12 10:44:39 +08:00
Joshua T Flowers
642b17c1aa
Onboarding: Update return to task list notices ( https://github.com/woocommerce/woocommerce-admin/pull/3192 )
...
* Use core/notices for product creation notices
* Only show task list return notice on first save of taxes
* Update tax completion notice
* Check if tax task is complete before loading script
2019-11-12 09:17:36 +08:00
Justin Shreve
473ba88c59
Select the stripe checkbox by default ( https://github.com/woocommerce/woocommerce-admin/pull/3189 )
2019-11-11 14:57:08 -05:00
renovate[bot]
90e7491b44
Update dependency d3-time-format to v2.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3133 )
2019-11-11 11:12:34 +01:00
renovate[bot]
64ad5ee465
Update dependency node-sass to v4.13.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3179 )
2019-11-11 11:07:49 +01:00
renovate[bot]
4b83fe8046
Update dependency request-promise to v4.2.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3180 )
2019-11-11 11:07:44 +01:00
renovate[bot]
d392a3815b
Update dependency autoprefixer to v9.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3178 )
2019-11-11 11:07:36 +01:00
renovate[bot]
faf4e7e6e4
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/3177 )
2019-11-11 11:05:50 +01:00
Justin Shreve
5b80e321ba
Enable onboarding in the plugin build for those who have opted-in ( https://github.com/woocommerce/woocommerce-admin/pull/3184 )
...
* Enable onboarding in the plugin build for those who have opted-in
* Update constant andd option value
2019-11-07 13:31:02 -05:00
Jeff Stieler
27cf52c31c
Fix PHP linter errors. ( https://github.com/woocommerce/woocommerce-admin/pull/3188 )
2019-11-07 11:18:05 -07:00
Ron Rennick
afed4fba36
Data store refactor ( https://github.com/woocommerce/woocommerce-admin/pull/2961 )
...
* Base Report data store utility functions - 1
Standardizing the data store classes will be easier if the base class contains simple utility functions
that can replace logic implemented in multiple data stores.
- set_db_table_name() assigns a WP DB table name class variable for the data store
- get_db_table_name() retrieves the WP DB table name
- prepend_table_name() prepends a field in a query fragment with the data store table name
* add context, clause handling, and filters to reports data store
* add generated SQL clauses to class properties
* reduce id getter logic to single function with filter, add phpdocs to new filters
* update table_name to private string for use in constructor
* extract SQL query clause handling to its own class
- Will allow for use in subquery processing without creating a get_data stub
- Swap parameter order in add_sql_clause for readability
- Add support for clearing multple clauses in one call
* add context var to SqlQuery class
* implement SqlQuery in Categories data store
* implement subquery in categories data store
* coupons data stores, more underlying refactor
- fix warnings
- make filtered id functions static
- add limit parameter handling
- update coupons data store
- update coupon stats data store
* refactor coupon stats data store
* refactor customers and customer stats data stores
* add context to subqueries
* add missed prepend table name call
* refactor downloads data store, fix some warnings
* fix warnings, add separator parameter to filtered IDs
* refactor taxes and tax stats data stores
* refactor variations data store
* refactor product and product stats data stores
* make table_name static throughout for compat with static hook functions
* refactor order and order stats datastores
- use consistent visibility on initialize_queries()
- update db_table_name logic to use static keyword instead of self
* fix missed whitespace
* fix segmenting query, add SqlQuery join clause
* DRY data store constructors, class properties
* prefix table name when not yet assigned
* fix unit tests, interpolations, WPDB delete calls
* DRY get_object_where_filter()
* remove redundant table prefix from unit test init
* fix refactored SQL queries
* restore product paging
* remove unused query param arrays
* add first pass on data docs readme
* remove debug code, errant SQL spacing
* refactor out outer_from query element
* merge wheres, joins before filtering
* move all report column definitions to assign_report_columns
* fix data readme markdown
* small code formating fixes from review
* remove static from query/datastore context
* missed self:: in previous, add comments, small code moves
* rename get_statement() to get_query_statement()
* remove temporary query references
* static reference, remove reference parameter, fix coupon compare
* add todo reminders
* use correct query parameter in coupon data stores
2019-11-07 10:28:37 -07:00
Jeff Stieler
9a9d812e60
Add inbox note prompting to opt in to tracking ( https://github.com/woocommerce/woocommerce-admin/pull/3112 )
...
* Leave wc-admin install timestamp intact once set.
* Add inbox note for opting in to usage tracking.
* Remove markup from translated string.
* Allow tracking opt in note to be dismissed.
* Remove whitespace.
2019-11-07 09:29:36 -07:00
Jeff Stieler
810cef19f3
Show "add a product" notice to stores without published products ( https://github.com/woocommerce/woocommerce-admin/pull/3119 )
...
* Show "add a product" notice to stores without products.
* Fix primary inbox card action button style.
2019-11-07 09:00:38 -07:00
Joshua T Flowers
4ae34a2fd5
Allow WP 5.2 to satisfy dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/3182 )
2019-11-07 15:37:35 +08:00
Joshua T Flowers
c25c91126c
Check if official TaxJar plugin exists before enabling WCS integration ( https://github.com/woocommerce/woocommerce-admin/pull/3183 )
2019-11-07 15:37:17 +08:00
Joshua T Flowers
73b11a1338
Onboarding: Add return to task list after saving taxes ( https://github.com/woocommerce/woocommerce-admin/pull/3170 )
2019-11-07 08:17:46 +08:00
Justin Shreve
2af8e7c656
Onboarding: Pass connection parameters to install extensions ( https://github.com/woocommerce/woocommerce-admin/pull/3173 )
...
* Generate the WooCommerce cart URL with connection params so installing extensions work
* Build cart URL client side
* Fix alignment
2019-11-06 09:41:38 -05:00
Joshua T Flowers
1da248a9cb
Onboarding: Automatically enable tax calculations for manual configuration ( https://github.com/woocommerce/woocommerce-admin/pull/3168 )
...
* Enable tax calculations when manually configured
* Add manual configuration description
* Only show manual configuration description if calc tax option disabled
2019-11-06 11:18:02 +08:00
Joshua T Flowers
4f79cdea93
Onboarding: Allow users to navigate backwards in steps ( https://github.com/woocommerce/woocommerce-admin/pull/3154 )
...
* Add label wrapper to stepper and style for both orientations
* Add onClick event to steps
* Add onClick to stepper examples
* Allow returning to previous steps on step click
* Allow navigating to previously completed steps
* Mark previous steps complete
2019-11-06 08:26:08 +08:00
Joshua T Flowers
e1e64b9241
Fix vendor scripts not loading ( https://github.com/woocommerce/woocommerce-admin/pull/3172 )
2019-11-06 08:24:41 +08:00
Joshua T Flowers
6520493738
Onboarding: Pre-fill profiler fields with data ( https://github.com/woocommerce/woocommerce-admin/pull/3165 )
2019-11-05 08:05:20 +08:00
Joshua T Flowers
ba889113e8
Fix checkbox group gap ( https://github.com/woocommerce/woocommerce-admin/pull/3166 )
2019-11-05 07:45:21 +08:00
Justin Shreve
20be659cef
Only show the Jetpack logo in the header if we need to setup Jetpack ( https://github.com/woocommerce/woocommerce-admin/pull/3160 )
...
* Only show the Jetpack logo in the header if we need to setup Jetpack
* Adjust woo logo position
2019-11-04 11:34:44 -05:00
Justin Shreve
4a59cb9b09
Create store pages during onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/3159 )
2019-11-04 10:50:37 -05:00
Justin Shreve
8983c435df
Onboarding industry labels - Update & to and per style guide ( https://github.com/woocommerce/woocommerce-admin/pull/3161 )
2019-11-04 10:48:43 -05:00
Joshua T Flowers
011b92af40
Onboarding: Fix mobile styling issues in profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3156 )
2019-11-04 08:23:26 +08:00
Joshua T Flowers
14dc91a1bb
Fix label positioning in IE11 ( https://github.com/woocommerce/woocommerce-admin/pull/3135 )
2019-11-04 08:16:47 +08:00
Ron Rennick
e1fc69ad8f
restrict admin page wrap padding to page wrap ( https://github.com/woocommerce/woocommerce-admin/pull/3145 )
2019-11-01 16:52:02 -03:00
Ron Rennick
0954904c9a
update tested to version for WC and WP ( https://github.com/woocommerce/woocommerce-admin/pull/3162 )
2019-11-01 16:45:05 -03:00
Justin Shreve
d04b8a0fc1
Add images to homepage template and a new layout for sites with more than 4 products ( https://github.com/woocommerce/woocommerce-admin/pull/3140 )
...
* Switch templates for sites with more than 4 products
* Update homepage template depending on number of products, and add industry images to templates.
* Slight refactor of the update post template logic
2019-11-01 08:49:04 -04:00
Joshua T Flowers
a3224ce65a
Onboarding: Add task list welcome modal ( https://github.com/woocommerce/woocommerce-admin/pull/3142 )
2019-11-01 12:00:57 +08:00
Joshua T Flowers
dcea8db86a
Onboarding: Add setup theme step to profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3124 )
...
* Add wccom redirect if purchasable products exist
* Update path to remove query when profiler is complete
* Fix lastReceived time for profile items update
* Add busy state to theme choose buttons
2019-11-01 10:04:54 +08:00
David Levin
3ba6d3977b
remove height attribute to fix alignment ( https://github.com/woocommerce/woocommerce-admin/pull/3141 )
2019-10-31 12:08:20 -07:00
renovate[bot]
4f7220e1ef
Update dependency autoprefixer to v9.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3131 )
2019-10-31 11:26:40 -03:00
renovate[bot]
51eeaf23a4
Update dependency eslint-plugin-jest to v22.21.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3134 )
2019-10-31 11:24:46 -03:00
renovate[bot]
098e52c019
Update dependency @octokit/rest to v16.34.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3130 )
2019-10-31 11:18:37 -03:00
Joshua T Flowers
a946d474ce
Add an autofill option to SelectControl ( https://github.com/woocommerce/woocommerce-admin/pull/3105 )
...
* Add autofill method for countryState
* Add isFocused state to SelectControl
* Allow children prop for SelectControl components
2019-10-31 07:44:57 +08:00
Paul Sealock
ec450264af
0.21.0 changes ( https://github.com/woocommerce/woocommerce-admin/pull/3128 )
2019-10-31 11:24:55 +13:00
Ron Rennick
95d74777ca
two readme.txt fixes ( https://github.com/woocommerce/woocommerce-admin/pull/3138 )
2019-10-30 12:30:09 -03:00
Joshua T Flowers
993934606f
Onboarding: Redirect to wccom cart if purchases required ( https://github.com/woocommerce/woocommerce-admin/pull/3121 )
2019-10-30 09:49:27 +08:00
Justin Shreve
2c81932702
Add currency defaults based on country ( https://github.com/woocommerce/woocommerce-admin/pull/3110 )
...
* Base currency defaults on selected country
* Save currency settings
* Move getCurrencyInfo to the currency package
2019-10-29 14:34:04 -04:00
Joshua T Flowers
9d04b15c7a
Onboarding: Scroll to top when navigating between pages ( https://github.com/woocommerce/woocommerce-admin/pull/3122 )
...
* Scroll to top when navigating between tasks
* Scroll to top when navigating between steps
2019-10-29 14:24:24 -04:00
Justin Shreve
af10516b8f
Make minor text fixes to onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/3116 )
...
* Make minor text fixes to onboarding
* Fix it typo and use oxford commas
2019-10-29 14:15:36 -04:00
Justin Shreve
1aea9d7bd7
Update payments task based on feebback ( https://github.com/woocommerce/woocommerce-admin/pull/3099 )
...
* Mark stripe as enabled by default in supported countries, and link completed task to payment settings
* Update stripe supported code to pull from server side list
* Remove dependence on core method
2019-10-29 14:03:07 -04:00
Justin Shreve
c70143ccf8
Fix missing product tutorial and activity panels ( https://github.com/woocommerce/woocommerce-admin/pull/3117 )
2019-10-29 13:44:45 -04:00
Jeff Stieler
2271ff1db9
Always update DB version when plugin is updated. ( https://github.com/woocommerce/woocommerce-admin/pull/3113 )
2019-10-29 10:12:10 -06:00
Joshua T Flowers
bfc1721c69
Onboarding: Add task view and product import track events ( https://github.com/woocommerce/woocommerce-admin/pull/3115 )
2019-10-29 10:08:39 +08:00
Joshua T Flowers
1582cb1bf1
Add color to button text to pages with class woocommerce-page ( https://github.com/woocommerce/woocommerce-admin/pull/3107 )
2019-10-28 09:47:29 +08:00
Justin Shreve
051fd5d934
Update styles to work with WP 5.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3086 )
...
* Update onboarding styles to work with WP 5.3
* Fix design on 5.3 as well as older versions
* Adjust styling and remove 5.3 class name
2019-10-25 09:05:44 -04:00
Ron Rennick
c3c790591f
Address revenue discrepancies ( https://github.com/woocommerce/woocommerce-admin/pull/3095 )
...
* exclude wc-auto-draft orders from import
* round amounts for tax inclusive pricing
* differentiate between product and overall revenue
* use correct total when importing product line item
* update product revenue labels to "net sales"
2019-10-25 09:29:09 -03:00
Joshua T Flowers
c6bee42514
Onboarding: Sort WC themes by ID ( https://github.com/woocommerce/woocommerce-admin/pull/3097 )
2019-10-25 08:39:56 +08:00
Jeff Stieler
26f23def50
Add Inbox note action indication ( https://github.com/woocommerce/woocommerce-admin/pull/3039 )
...
* Move inbox note actions to a bespoke component.
* Set busy state on action buttons on click.
* Allow for Note actions to be deleted.
* Update FB extension note after installation is complete.
* Link actions don't get busy treatment.
* Re-fetch note actions after updating.
Get new action IDs from the database.
* Add tracking to inbox note views. (https://github.com/woocommerce/woocommerce-admin/pull/3096 )
* Move inbox note content to its own component.
* Send a tracks event when inbox notes are in the viewport.
Uses react-visibility-sensor.
* Match event data to `inbox_action_click`.
2019-10-24 10:13:05 -07:00
Jeff Stieler
1ac8577fc2
Match server-side CSV export format to client-side ( https://github.com/woocommerce/woocommerce-admin/pull/2987 )
...
* Add "exportable" report interface for defining CSV export values.
* Define export values for Orders Report.
* Define export values for Products Report.
* Define export values for Categories Report.
* Define export values for Coupons Report.
* Allow commas and double quotes in CSV exported values.
* Fix in-browser export formatting of orders report products.
* Align server-side orders report export formatting with in-browser.
* Cover comma and double quote escaping in CSV export package tests.
* Define export values for Customers Report.
* Embed response links when requesting data for CSV exports.
* Define export values for Downloads Report.
* Move reusable report export functions to a trait.
* Define export values for Stock Report.
* Define export values for Taxes Report.
* Define export values for Variations Report.
* Define export values for Revenue Report.
* Always pass export row data through the filter.
* Fix formatting in test case for CSV coupon export.
* Quote escape CSV headers in client-side export.
Escape values with spaces as well.
* Check if inventory is managed at the product level before using the stock status/quantity.
* Prevent CSV injection in csv-export package.
2019-10-24 09:41:16 -07:00
Justin Shreve
dd77d25a34
Handle Jetpack being disconnected on the start page ( https://github.com/woocommerce/woocommerce-admin/pull/3087 )
...
* Handle Jetpack being disconnected on the start page
* Handle PR feedback, fix up pluginName logic
2019-10-24 12:20:32 -04:00
renovate[bot]
f0baf97f63
Update dependency webpack to v4.41.2 ( https://github.com/woocommerce/woocommerce-admin/pull/3091 )
2019-10-24 12:15:28 +08:00
renovate[bot]
8e542fbbc1
Update dependency recast to v0.18.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3090 )
2019-10-24 12:11:07 +08:00
renovate[bot]
99374a005c
Update dependency lerna to v3.18.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3088 )
2019-10-24 12:03:33 +08:00
renovate[bot]
950bdd8c77
Update dependency react-router-dom to v5.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/3089 )
2019-10-24 12:00:05 +08:00
renovate[bot]
b2a9111fd6
Update dependency eslint-plugin-jest to v22.20.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3050 )
2019-10-24 11:55:39 +08:00
renovate[bot]
fbdcd61dfc
Update dependency dompurify to v2.0.7 ( https://github.com/woocommerce/woocommerce-admin/pull/3049 )
2019-10-24 11:46:42 +08:00
renovate[bot]
5b4d985af4
Update dependency core-js to v2.6.10 ( https://github.com/woocommerce/woocommerce-admin/pull/3048 )
2019-10-24 11:37:34 +08:00
renovate[bot]
502fc04056
Update dependency autoprefixer to v9.6.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3047 )
2019-10-24 11:28:29 +08:00
Joshua T Flowers
38c9e38e28
Add no product option to product count dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/3092 )
2019-10-24 07:33:10 +08:00
Joshua T Flowers
c678421b63
Left align dropdown button text in SelectControl ( https://github.com/woocommerce/woocommerce-admin/pull/3093 )
2019-10-24 07:32:49 +08:00
renovate[bot]
5797f2b82e
Update wordpress monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/2929 )
...
* Update wordpress monorepo
* Add missing Gutenberg grid variables
* Fix button styling
* Fix snapshots (new classes and events are passed through from WP components update)
* Adjust button overwrites
* Update package-lock.json
* Fix focus issues/conflicts with react-dates and Dropdown
* Maintain DateRange focus without impacting expected "click outside" behavior.
* Resolve multiple React versions, update testing dependencies.
* blow away package-lock.json and refresh
- this fixed tests after an npm install on my end
* Allow tabbing to month nav and calendar grid.
* Fix keyboard navigation of DayPicker elements.
Add prop for specifying an element that's allowed to take focus from DateRange.
* refresh package-lock
2019-10-23 11:18:32 -07:00
Justin Shreve
e9f4d45274
Install business extensions on the business details page ( https://github.com/woocommerce/woocommerce-admin/pull/3084 )
...
* Install Facebook & MailChimp plugins on the business details page
* Handle PR feedback: Add missing plugin name constants, and improve plugin component error handling
2019-10-23 11:17:38 -04:00
Joshua T Flowers
328f313c8c
Use getenv in place of $_ENV ( https://github.com/woocommerce/woocommerce-admin/pull/3077 )
2019-10-23 07:56:22 +08:00
Joshua T Flowers
13f775eb98
Onboarding: Don't skip start step if TOS not accepted ( https://github.com/woocommerce/woocommerce-admin/pull/3068 )
...
* Don't skip start step if TOS not accepted
* Show WCS benefits even when installed
2019-10-23 07:55:57 +08:00
Joshua T Flowers
e37e79722e
Set SelectControl input to transparent ( https://github.com/woocommerce/woocommerce-admin/pull/3069 )
2019-10-22 07:50:46 +08:00
Justin Shreve
f888079fe7
Add notices to return to task list on product and homepage tasks. ( https://github.com/woocommerce/woocommerce-admin/pull/3061 )
...
* Add notices to return to task list on product and homepage tasks.
* Handle PR feedback, simplifiy check.
2019-10-21 14:13:25 -04:00
Justin Shreve
973acde227
Fix asset image URL ( https://github.com/woocommerce/woocommerce-admin/pull/3062 )
2019-10-21 11:07:45 -04:00
renovate[bot]
53b7f2998c
Update dependency @octokit/rest to v16.33.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3046 )
2019-10-21 18:07:56 +08:00
renovate[bot]
5d2714e5b1
Update babel monorepo to v7.6.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3045 )
2019-10-21 18:02:40 +08:00
Albert Juhé Lluveras
909185113a
Fix unnecessary scroll bar visible on select control ( https://github.com/woocommerce/woocommerce-admin/pull/3065 )
2019-10-21 10:30:16 +02:00
Joshua T Flowers
8b1e263709
Onboarding: Add task list extensibility and example plugin ( https://github.com/woocommerce/woocommerce-admin/pull/3060 )
...
* Add task list filter
* Add task example plugin
2019-10-21 11:11:21 +08:00
Joshua T Flowers
0c490d430f
Onboarding: Fix RTL translation in revenue ranges and translation notes ( https://github.com/woocommerce/woocommerce-admin/pull/3059 )
2019-10-21 08:48:30 +08:00
Joshua T Flowers
7b39e9f68c
Onboarding: Add store is ready for launch note ( https://github.com/woocommerce/woocommerce-admin/pull/3058 )
...
* Add option to mark task list completed
* Add note when task list completed option is true
* Add note on task list complete option added
2019-10-21 08:33:46 +08:00
Albert Juhé Lluveras
c9bbcc5e96
Fix typo in task list ( https://github.com/woocommerce/woocommerce-admin/pull/3064 )
2019-10-20 23:14:52 +02:00
Justin Shreve
8fe0f93c03
Add the ability to create custom plugin builds ( https://github.com/woocommerce/woocommerce-admin/pull/3044 )
...
* Add the ability to create custom plugin builds
* Use $_ENV instead of $_SERVER inside the generate-feature-config CLI script.
2019-10-17 14:00:20 -04:00
Justin Shreve
e31e115e93
Update proceed without Jetpack/WCS to go to store details step ( https://github.com/woocommerce/woocommerce-admin/pull/3040 )
...
* Update proceed without Jetpack/WCS to go to store details step
* Adjust how we track the start/plugins step
2019-10-17 10:57:29 -04:00
Justin Shreve
a4ac2d8521
Check for product_types in the shipping task ( https://github.com/woocommerce/woocommerce-admin/pull/3057 )
2019-10-17 10:39:59 -04:00
Joshua T Flowers
0ee9188e58
Onboarding: Skip tax steps if complete and mark task complete ( https://github.com/woocommerce/woocommerce-admin/pull/3007 )
2019-10-17 06:01:56 +08:00
Joshua T Flowers
181c02bbc8
Onboarding: Add redirect URL option to jetpack connection URL ( https://github.com/woocommerce/woocommerce-admin/pull/3052 )
...
* Add redirect_url as rest param to jetpack connection
* Add query param to jetpack connection URL in wc-api
* Add redirect URL to connection and plugin steps
2019-10-17 06:00:47 +08:00
Justin Shreve
96c633ed32
Add a feature flag check before trying to use task list selectors in the dashboard. ( https://github.com/woocommerce/woocommerce-admin/pull/3053 )
2019-10-16 16:53:45 -04:00
Joshua T Flowers
9a20b0289e
Update Search component to use SelectControl ( https://github.com/woocommerce/woocommerce-admin/pull/3036 )
...
* Update onSearch to return promise
* Refactor Search component to use SelectControl
* Update autocompleter option keys and labels
* Remove Autocomplete component
2019-10-16 12:00:20 +08:00
Justin Shreve
5ee318064a
Remove the Onboarding Levels API ( https://github.com/woocommerce/woocommerce-admin/pull/3041 )
2019-10-15 10:46:12 -04:00
Paul Sealock
e07800d75b
Release/0.20.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3033 )
...
* Prepare for 0.20.0
* Fix Facebook extension install from inbox (https://github.com/woocommerce/woocommerce-admin/pull/3010 )
* Restore FB extension to installation whitelist.
Errantly removed in fe585aa2
.
* Fix FB extension installation from inbox.
APIs have diverged.
* Update order stats table status index length. (https://github.com/woocommerce/woocommerce-admin/pull/3022 )
* Add per-version DB upgrade routine.
Update order stats index length as well.
* Use globally namespaced methods for DB updates.
* Avoid creating duplicate DB update actions.
* use category lookup id instead of term taxonomy id (https://github.com/woocommerce/woocommerce-admin/pull/3027 )
* Release 0.20.1
2019-10-15 14:21:19 +13:00
Joshua T Flowers
a8830d4253
Escape spaces in package file watch paths ( https://github.com/woocommerce/woocommerce-admin/pull/3035 )
2019-10-15 06:34:03 +08:00
Darren Ethier
fee65dd6ac
Decouple wcSettings from published packages. ( https://github.com/woocommerce/woocommerce-admin/pull/3001 )
...
* refactor wcSettings in components to use new api
* update test snapshot
* refactor wcSettings in other packages
* fix how defaults are set for setting
* decouple siteLocale from ReportsFilters and AdvancedFilters
* Decouple currency settings from packages
AdvancedFilters, ReportFilters, and NumberFilters now receive currency info as props.
* decouple currency settings from `ReportChart`
* decouple `wcAdminAssetsUrl` setting from `EmptyContent`
- also refactors to remove the need for `ImageAsset` component.
* decouple OrderStatus from wcSettings
* decouple wcAdminUrl setting from ProductImage component
- this also implements a SVG for default product image.
* remove export for image-asset that is no longer present
* remove console.log
* update test snapshots for ProductImage
2019-10-11 11:45:45 -04:00
Justin Shreve
0785f3c97b
Add Task List Completed Functionality ( https://github.com/woocommerce/woocommerce-admin/pull/3021 )
...
* Task list completed functionality
* Hook up banner functionality
* Handle PR feedback: Add pointer/arrow, adjust banner hide behavior, some minor code changes.
2019-10-11 08:55:35 -04:00
Jeff Stieler
bfba456a46
Render a "manage" link on review inbox items. ( https://github.com/woocommerce/woocommerce-admin/pull/3011 )
...
* Render a "manage" link on review inbox items.
Instead of the SplitButton with multiple actions.
* Remove review ID from tracks event data.
2019-10-10 15:31:28 -07:00
Jeff Stieler
c8b94836df
Update order stats table status index length. ( https://github.com/woocommerce/woocommerce-admin/pull/3022 )
...
* Add per-version DB upgrade routine.
Update order stats index length as well.
* Use globally namespaced methods for DB updates.
* Avoid creating duplicate DB update actions.
2019-10-10 13:54:44 -07:00
Ron Rennick
0d664fdd87
use category lookup id instead of term taxonomy id ( https://github.com/woocommerce/woocommerce-admin/pull/3027 )
2019-10-10 14:15:25 -03:00
Justin Shreve
d8132942f3
Change usage tracking prompt to modal ( https://github.com/woocommerce/woocommerce-admin/pull/2968 )
...
* Move tracking usage question to modal
* Fix PHPCS errors
* Adjust button alignment, update PHPCS version.
* Fix options check
* Handle PR feedback
2019-10-10 10:05:13 -04:00
Paul Sealock
ae413cb03e
Prepare for 0.20.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3006 )
2019-10-10 12:12:55 +13:00
Joshua T Flowers
b92500b35f
Onboarding: Replace TextControl component ( https://github.com/woocommerce/woocommerce-admin/pull/3020 )
...
* Add TextControl component
* Replace instances of newspack TextControl
2019-10-10 07:00:33 +08:00
renovate[bot]
4c19988109
Update dependency lerna to v3.16.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3017 )
2019-10-09 10:09:40 -04:00
renovate[bot]
5640d6232e
Update dependency dompurify to v2.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/3016 )
2019-10-09 09:58:13 -04:00
renovate[bot]
5c185006f9
Update dependency autoprefixer to v9.6.4 ( https://github.com/woocommerce/woocommerce-admin/pull/3015 )
2019-10-09 09:50:07 -04:00
renovate[bot]
9977b9f1e3
Update dependency @octokit/rest to v16.33.0 ( https://github.com/woocommerce/woocommerce-admin/pull/3014 )
2019-10-09 09:42:08 -04:00
renovate[bot]
9e149f4ad1
Update babel monorepo to v7.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/3013 )
2019-10-09 09:28:27 -04:00
renovate[bot]
77c4dfe4de
Pin dependency webpack-fix-style-only-entries to 0.3.1 ( https://github.com/woocommerce/woocommerce-admin/pull/3012 )
2019-10-09 09:20:55 -04:00
Joshua T Flowers
37fbdaf5c0
Add options REST API permission checks ( https://github.com/woocommerce/woocommerce-admin/pull/3004 )
2019-10-09 06:39:40 +08:00
Jeff Stieler
e53d5daa94
Hook up download button to export endpoint. ( https://github.com/woocommerce/woocommerce-admin/pull/2900 )
...
* Move TableCard actions from packaged component to ReportTable.
* Build an IE stylesheet for the main app.
* Remove defunct TableCard download test.
* Update components changelog.
* Fix pagination.
Pull query from table data instead of ReportTable props.
* Initiate report export from download button (https://github.com/woocommerce/woocommerce-admin/pull/2951 )
* Add report export operations to API spec.
* Initiate a report export job when there is more than one page of report data.
* Add report download "type" to Tracks event.
* Ensure WC_Emails class is hooked in before sending report download emails.
* Set email parameter for background CSV download requests.
2019-10-08 15:02:26 -07:00
Jeff Stieler
ba28e41ee5
Fix Facebook extension install from inbox ( https://github.com/woocommerce/woocommerce-admin/pull/3010 )
...
* Restore FB extension to installation whitelist.
Errantly removed in fe585aa2
.
* Fix FB extension installation from inbox.
APIs have diverged.
2019-10-08 12:32:44 -07:00
Joshua T Flowers
431e465893
Hide shipping step for stores without physical products ( https://github.com/woocommerce/woocommerce-admin/pull/3005 )
2019-10-08 06:42:57 +08:00
Joshua T Flowers
1563971836
Replace select controls with new SelectControl (Autocomplete) component ( https://github.com/woocommerce/woocommerce-admin/pull/2997 )
...
* Rename Autocomplete component to SelectControl
* Add isSearchable prop to SelectControl
* Remove SimpleSelectControl component
* Refactor list expansion and key behavior
* Bump changelog and version
2019-10-08 06:42:32 +08:00
Justin Shreve
19a69b7789
Add Task List Tracks Events ( https://github.com/woocommerce/woocommerce-admin/pull/2991 )
...
* Add Task List Tracks Events
* Add remaining tracks
* Add payment task tracks
* Adjust event prop names
2019-10-07 16:27:34 -04:00
renovate[bot]
634832cdc4
Update dependency cross-env to v6.0.3 ( https://github.com/woocommerce/woocommerce-admin/pull/2984 )
2019-10-07 13:57:27 -04:00
renovate[bot]
7b2a12b7b4
Update dependency eslint-plugin-react to v7.16.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2985 )
2019-10-07 13:47:15 -04:00
renovate[bot]
ba861ce90d
Update dependency sass-loader to v7.3.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2914 )
2019-10-07 12:06:26 -04:00
renovate[bot]
96ec3bceaf
Update dependency rimraf to v2.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2913 )
2019-10-07 12:03:29 -04:00
renovate[bot]
484fa06464
Update dependency eslint-plugin-jest to v22.17.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2912 )
2019-10-07 11:13:52 -04:00
renovate[bot]
6e7113730e
Update dependency d3-format to v1.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2911 )
2019-10-07 10:53:45 -04:00
renovate[bot]
891823c576
Update babel monorepo to v7.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2910 )
2019-10-07 10:45:00 -04:00
Darren Ethier
f8ebc4cd6d
refactor all client files to use new settings api ( https://github.com/woocommerce/woocommerce-admin/pull/3002 )
2019-10-07 07:51:25 -04:00
Justin Shreve
6bcc63f2de
Disable profile wizard continue buttons until fields are complete ( https://github.com/woocommerce/woocommerce-admin/pull/2983 )
2019-10-04 09:46:27 -04:00
Albert Juhé Lluveras
9f38e2d619
Replace lodash isNaN() with native Number.isNaN() ( https://github.com/woocommerce/woocommerce-admin/pull/2998 )
...
* Replace lodash isNaN() with native Number.isNaN()
* Update CHANGELOG
2019-10-04 09:25:23 +02:00
Paul Sealock
fa8311da07
wcSettings refactor: fix camel case for currencies in PHP ( https://github.com/woocommerce/woocommerce-admin/pull/2975 )
2019-10-04 12:04:25 +13:00
Justin Shreve
30a31c8fdf
Fix onboarding linter errors ( https://github.com/woocommerce/woocommerce-admin/pull/3000 )
2019-10-03 15:53:10 -04:00
Justin Shreve
c2a340da55
Add Stripe, PayPal, Klarna, and Square Connection Flows to the Payments Task ( https://github.com/woocommerce/woocommerce-admin/pull/2897 )
...
* Add payment method configuration
* Add stripe connection code
* Finish stripe connection logic
* Add PayPal Connection Flows
* Handle PR feedback: Enable methods when configuring via manual mode, update error modal to just rely on the errorMessage state, add TOS link and acceptance to the profile wizard, update optionsIsRequesting usage, and update docblocks.
* Update TOS message / display
* Add missing success messages on manual save
* Add Square & Klarna to Payments Task (https://github.com/woocommerce/woocommerce-admin/pull/2960 )
* Add Square to payments task
* Add logos to payment task
* Add Klarna configuration, and fix assetUrl usage
2019-10-03 12:03:29 -04:00
Deiva Magalhaes
c72abdc233
Fix issue woocommerce/woocommerce-admin#2992 (order number in orders panel) ( https://github.com/woocommerce/woocommerce-admin/pull/2994 )
2019-10-03 09:49:06 +13:00
Justin Shreve
9a48461921
Catch notices earlier than priority 10 ( https://github.com/woocommerce/woocommerce-admin/pull/2981 )
2019-10-02 09:25:31 -04:00
Mike Jolley
edcfc161fa
Category Lookup Table - Fix Category Segments ( https://github.com/woocommerce/woocommerce-admin/pull/2253 )
...
* Look table class and installer
* New table + stats
* Working reports/initial population
* Remove test
* Refactor, remove depth
* Unused table
* Update todo
* Add docblocks and reorder get_insert_sql params for consistency
* Adjust css braces
* clear hook on deactivation
* PSR-4 category lookup
* linting CSS closing brace last char on line
* initialize category lookup table in unit tests
* missed linting fixes
* revert move of run_all_pending call
* use consistent reference for term_relationships in queries
2019-10-02 12:35:37 +13:00
Jeff Stieler
ac9f3f4680
Use version number for cache invalidation ( https://github.com/woocommerce/woocommerce-admin/pull/2970 )
...
* Refactor report datastore cache key generation.
* Add transient-backed Cache class for Report DataStores.
* Bump reports cache version when data changes.
* Rollover cache version number after a limit and expire report transients every day.
* Use caching strategy like WC core.
Store cache version in value, not in key. Increase expiration to 1 week.
2019-10-01 09:36:05 -07:00
Justin Shreve
c5034567fc
Fix API namespace for the WooCommerce.com Connect Task ( https://github.com/woocommerce/woocommerce-admin/pull/2979 )
2019-10-01 11:09:13 -04:00
Albert Juhé Lluveras
db4328acb8
Use native Number.isFinite() instead of lodash isFinite ( https://github.com/woocommerce/woocommerce-admin/pull/2977 )
2019-10-01 10:02:53 +02:00
Paul Sealock
029e514c75
wcSettings: fix countries getSettings ( https://github.com/woocommerce/woocommerce-admin/pull/2974 )
...
* wcSettings: fix countries getSettings
* Revert "wcSettings: fix countries getSettings"
This reverts commit cdccfa95cded4b1d7e8908102e8814a0281b027e.
* fix incorrect countries usage
* apply countries fix to Customers Report
2019-10-01 10:43:26 +13:00
Kʜᴀɴ
202fde95b5
Simplified intervals_missing method of TimeInterval ( https://github.com/woocommerce/woocommerce-admin/pull/2919 )
2019-10-01 10:15:41 +13:00
Kʜᴀɴ
1673e3f01f
Simplified intervals_missing method of DataStore class ( https://github.com/woocommerce/woocommerce-admin/pull/2920 )
...
* Simplified intervals_missing method of DataStore class
* Fixed a little typo
2019-10-01 10:14:12 +13:00
Darren Ethier
e4817567e7
remove unnecessary duplicate logic ( https://github.com/woocommerce/woocommerce-admin/pull/2971 )
2019-09-30 15:44:44 +01:00
renovate[bot]
b129dab7b6
Update dependency history to v4.10.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2926 )
2019-09-27 15:08:57 -04:00
renovate[bot]
1587d1503c
Update dependency woocommerce/woocommerce-sniffs to v0.0.7 ( https://github.com/woocommerce/woocommerce-admin/pull/2928 )
2019-09-27 14:40:45 -04:00
renovate[bot]
0ba4c032b3
Update dependency webpack to v4.41.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2915 )
2019-09-27 14:25:47 -04:00
renovate[bot]
44cbe347df
Update dependency webpack-cli to v3.3.9 ( https://github.com/woocommerce/woocommerce-admin/pull/2927 )
2019-09-27 14:14:54 -04:00
renovate[bot]
340e90ed02
Update dependency @octokit/rest to v16.30.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2954 )
2019-09-27 14:10:26 -04:00
renovate[bot]
0c491eaaf7
Update dependency qs to v6.9.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2955 )
2019-09-27 14:04:12 -04:00
Darren Ethier
ae1ffab169
Fix `npm run build` resulting in non functional app. ( https://github.com/woocommerce/woocommerce-admin/pull/2964 )
...
* change default for `WC_ADMIN_PHASE`
* rework to introduce new `build:plugin` script and use it instead
- also revert defaulting `WC_ADMIN_PHASE` to core.
2019-09-26 19:05:26 -04:00
Jeff Stieler
485af8576f
Add ability to receive an emailed download link to report export endpoint. ( https://github.com/woocommerce/woocommerce-admin/pull/2899 )
...
* Add ability to receive an emailed download link to report export endpoint.
* Use WC_Email to send report download links.
2019-09-26 13:38:32 -07:00
Paul Sealock
bc8127bd33
0.19.0 release changes ( https://github.com/woocommerce/woocommerce-admin/pull/2946 )
2019-09-27 07:42:24 +12:00
Jeff Stieler
e10d746bcd
Ignore filename rules for PSR-4 classes. ( https://github.com/woocommerce/woocommerce-admin/pull/2967 )
2019-09-26 12:22:40 -07:00
Darren Ethier
415e2a4445
update README.md and CONTRIBUTING.md ( https://github.com/woocommerce/woocommerce-admin/pull/2963 )
2019-09-26 07:35:54 -04:00
Jeff Stieler
e1ab60179d
Fix DevDocs example render. ( https://github.com/woocommerce/woocommerce-admin/pull/2962 )
...
Incorrect changes chosen in a merge conflict resolution.
2019-09-25 12:23:49 -07:00
renovate[bot]
ebcdcbd30b
Update dependency debug to v4 ( https://github.com/woocommerce/woocommerce-admin/pull/2957 )
2019-09-25 15:19:12 -04:00
Joshua T Flowers
c70c7bfd68
Fix vendor scripts not autoloading ( https://github.com/woocommerce/woocommerce-admin/pull/2907 )
...
* Fix vendor scripts and test bootstrapping
* Escape the downloaded file URL in tests
* Generate feature config file for tests
* Run feature config generation before and after script tests
2019-09-25 14:20:15 -04:00
Mike Jolley
1d8d0df790
Prevent fatal in pageController if get_current_screen is not available ( https://github.com/woocommerce/woocommerce-admin/pull/2846 )
2019-09-25 13:59:11 -04:00
renovate[bot]
5651d7b725
Update dependency cross-env to v6 ( https://github.com/woocommerce/woocommerce-admin/pull/2930 )
2019-09-25 13:58:18 -04:00
renovate[bot]
61487e5a3e
Update dependency react-router-dom to v5.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2956 )
2019-09-25 13:23:30 -04:00
renovate[bot]
f63a5123d8
Update dependency @automattic/color-studio to v2.2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2925 )
2019-09-25 13:15:01 -04:00
renovate[bot]
26d513ed08
Update dependency dompurify to v2 ( https://github.com/woocommerce/woocommerce-admin/pull/2958 )
2019-09-25 12:48:39 -04:00
Jeff Stieler
d2de060048
Copy component READMEs to docs folder before GH page deploy. ( https://github.com/woocommerce/woocommerce-admin/pull/2952 )
2019-09-25 09:37:05 -07:00
Ron Rennick
17abde4b18
add DevDocs for ScrollTo component ( https://github.com/woocommerce/woocommerce-admin/pull/2873 )
...
* add DevDocs for ScrollTo component
2019-09-25 09:47:40 -03:00
Paul Sealock
57ea46b49d
Leaderboards: fix rename from getSettings ( https://github.com/woocommerce/woocommerce-admin/pull/2948 )
2019-09-25 08:45:59 +12:00
Jeff Stieler
605e866d62
Add GitHub pages deploy step to Travis config. ( https://github.com/woocommerce/woocommerce-admin/pull/2940 )
2019-09-24 13:01:17 -07:00
Jeff Stieler
8b77fe144e
Fix plugin installation when working from a push instead of a pull request. ( https://github.com/woocommerce/woocommerce-admin/pull/2950 )
2019-09-24 08:59:38 -07:00
Jeff Stieler
0be875d898
Reduce size of bundled JS, and overall plugin file size. ( https://github.com/woocommerce/woocommerce-admin/pull/2933 )
...
* Remove embed-page-specific Webpack entry.
* Stop @woocommerce/components from being bundled with the app code.
2019-09-24 08:55:39 -07:00
Jeff Stieler
696b6ca000
Fix pull request branch detection on CI (try #3 ) ( https://github.com/woocommerce/woocommerce-admin/pull/2945 )
...
* Only build pushes to master branch.
* Fix branch detection in CI.
* Remove string interpolation from Travis branch name check.
* Try using PR branch variable as string.
2019-09-24 07:43:14 -07:00
Jeff Stieler
842e9e4d6f
Fix pull request branch detection on CI (try #2 ) ( https://github.com/woocommerce/woocommerce-admin/pull/2944 )
...
* Only build pushes to master branch.
* Fix branch detection in CI.
* Remove string interpolation from Travis branch name check.
2019-09-23 15:42:17 -07:00
Jeff Stieler
307f3e1282
Fix pull request branch detection on CI ( https://github.com/woocommerce/woocommerce-admin/pull/2942 )
...
* Only build pushes to master branch.
* Fix branch detection in CI.
2019-09-23 15:20:19 -07:00
Darren Ethier
d728d38219
Refactor: Alternative approach to implementing extendable settings from the server ( https://github.com/woocommerce/woocommerce-admin/pull/2917 )
...
* integrate with new asset data registration (php side)
- includes back-compatibility.
* update js configuration and implement settings alias
- this aliases `@woocommerce/wc-admin-settings` to the settings api exposed via blocks (either the blocks plugin or core) and all the settings provided via the server.
- Adds fallback for back-compat if `wc.wcSettings` is not available in the environment (fallsback to `wcSettings`).
* initial pass to update all wcSettings direct usage to the new api
- this is just an initial pass, more can be done in separate pulls.
* missed one spot for adding new filter implementation
* fix incorrect jest config
* Avoid unnecessary assignment and directly return.
* Remove unnecessary defaults
* Fix inline comment text case.
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* Remove unnecessary inline comment.
* use @todo instead of TODO
Co-Authored-By: Albert Juhé Lluveras <contact@albertjuhe.com>
* fix incorrect reference in webpack config.
* add missing import and slightly delay dependency injection for scripts
* update get-setting and set-setting callbacks
* disable lint rule for console.error on dev doc builds
2019-09-23 17:47:08 -04:00
Jeff Stieler
64a3ce98f5
Only build pushes to master branch. ( https://github.com/woocommerce/woocommerce-admin/pull/2941 )
2019-09-23 12:14:14 -07:00
Jeff Stieler
628e53c7fa
Merge pull request woocommerce/woocommerce-admin#2872 from woocommerce/update/2844-devdocs-like-calypso
...
Update DevDocs to be more Calypso-like
2019-09-23 07:59:32 -07:00
Ron Rennick
5a66f70d21
Merge pull request woocommerce/woocommerce-admin#2819 from woocommerce/add/notes-where-clause-filters
...
Add filter to notes datastore where clauses
2019-09-23 10:46:59 -03:00
Paul Sealock
c1280b5f0f
Merge pull request woocommerce/woocommerce-admin#2916 from codemascot/fix/typo-FeaturePlugin.php
...
Removed extra semicolon and line end whitespaces
2019-09-22 22:14:50 -04:00
Jeff Stieler
d2b02db128
Merge pull request woocommerce/woocommerce-admin#2898 from woocommerce/cleanup/end-of-class-files
...
indent cleanup, remove blank line before class closing brace
2019-09-19 11:10:30 -07:00
Albert Juhé Lluveras
3406bd85e0
Fix variable name typo ( https://github.com/woocommerce/woocommerce-admin/pull/2922 )
2019-09-13 18:39:51 +02:00
Khan Mohammad R
5f5b319f6a
Removed extra semicolon and line end whitespaces
2019-09-11 16:11:07 +06:00
Jeff Stieler
1c7c051414
Wrap TableCard examples in containers.
2019-09-06 11:52:22 -07:00
Jeff Stieler
d3572e85ca
Fix typos in DateRangeFilterPicker readme.
2019-09-06 11:52:21 -07:00
Jeff Stieler
bf37c30b16
Finish documentation for AdvancedFilters component.
2019-09-06 11:52:21 -07:00
Jeff Stieler
74330ef8f4
Remove unneeded dependencies.
2019-09-06 11:52:20 -07:00
Jeff Stieler
029ccbff3e
Update doc gen format, fix docsify docs for exported components.
2019-09-06 11:52:20 -07:00
Jeff Stieler
90ccb6f440
Fix EllipsisMenu example component.
2019-09-06 11:52:19 -07:00
Jeff Stieler
f5c153e678
Fix error in using TableCard's example pagination control.
2019-09-06 11:52:19 -07:00
Jeff Stieler
499365d5ef
Fix direct linking to single components in DevDocs.
2019-09-06 11:52:19 -07:00
Jeff Stieler
a0efb6967f
Fetch component usage documentation from local README.md.
...
Format documentation like Calypso, include usage section.
2019-09-06 11:52:18 -07:00
Jeff Stieler
134f472484
Tweak styling of single component view in DevDocs.
2019-09-06 11:37:18 -07:00
Jeff Stieler
3d03faa887
Convert markdown JSX code blocks to actual JS files for component documentation.
2019-09-06 11:37:18 -07:00
Joshua T Flowers
f095466442
Onboarding: Add create homepage logic to "Customize Appearance" step ( https://github.com/woocommerce/woocommerce-admin/pull/2889 )
2019-09-06 22:18:44 +08:00
Albert Juhé Lluveras
5b0af85472
Use upstream webpack-rtl-plugin ( https://github.com/woocommerce/woocommerce-admin/pull/2870 )
2019-09-06 16:12:50 +02:00
Joshua T Flowers
52c295b820
Onboarding: Add "Import products" step ( https://github.com/woocommerce/woocommerce-admin/pull/2868 )
2019-09-06 10:06:29 +08:00
Ron Rennick
d186ec7dc3
indent cleanup, remove blank line before class closing brace
2019-09-05 16:49:06 -03:00
Albert Juhé Lluveras
07d3e591eb
Fix chart type buttons misalignment ( https://github.com/woocommerce/woocommerce-admin/pull/2871 )
2019-09-04 19:29:13 +02:00
Ron Rennick
d9000f4b23
add filter PHPDocs
2019-09-04 14:15:21 -03:00
Ron Rennick
e2d326b236
remove redundant filter
2019-09-04 14:08:52 -03:00
Jeff Stieler
ef313fcc6c
Merge pull request woocommerce/woocommerce-admin#2881 from cojennin/fix/customer-analytics-date
...
Fix: persist date_last_active for customer reports 👏 @cojennin
2019-09-04 09:25:39 -07:00
Ron Rennick
d74503642d
Merge pull request woocommerce/woocommerce-admin#2874 from woocommerce/fix/task-list-imports
...
use correct path for NAMESPACE import in task-list
2019-09-04 13:03:24 -03:00
Jeff Stieler
2546a3faec
Merge pull request woocommerce/woocommerce-admin#2832 from woocommerce/fix/2702-queue-customer-updates
...
Queue customer lookup updates.
2019-09-04 08:49:40 -07:00
Jeff Stieler
c55bc5f22d
Remove "show" prefix from dashboard store performance toggles.
...
Also nix an unnecessary translation on chart toggles.
2019-09-04 08:39:22 -07:00
Jeff Stieler
b6c34109f0
Look for `title` properties when using JSON schema for indicator labels.
...
Fix the dashboard labels at the same time.
2019-09-04 07:49:37 -07:00
Jeff Stieler
2fed2f2467
Fix report column labels on client side.
2019-09-04 07:49:37 -07:00
Connor Jennings
f660f22c5e
Fix: persist date_last_active
2019-09-04 09:44:05 -04:00
renovate[bot]
a6c089703b
Update dependency replace to v1.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2878 )
2019-09-04 10:55:59 +02:00
renovate[bot]
04f7540799
Update dependency eslint-plugin-jest to v22.16.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2877 )
2019-09-04 10:55:51 +02:00
renovate[bot]
7241a3fda6
Update dependency cross-env to v5.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2876 )
2019-09-04 10:55:35 +02:00
renovate[bot]
36d8adbdad
Update dependency @octokit/rest to v16.28.9 ( https://github.com/woocommerce/woocommerce-admin/pull/2875 )
2019-09-04 10:55:27 +02:00
Ron Rennick
d89a975dbc
remove whitespace added in woocommerce/woocommerce-admin#2862
2019-09-03 17:15:50 -03:00
Ron Rennick
966cd9c0cc
use correct path for NAMESPACE import in task-list
2019-09-03 17:11:14 -03:00
Ron Rennick
193c961d22
add backticks to component tag in changelog
2019-09-03 14:09:22 -03:00
Ron Rennick
24d3104eca
fix merge conflicts
2019-09-03 14:08:02 -03:00
Justin Shreve
d8a0364c61
Onboarding - add quick testing links for Calypso flows ( https://github.com/woocommerce/woocommerce-admin/pull/2863 )
...
* Add help tab for task list toggling
* Redirect after resetting profiler to remove get params
* Onboarding - add quick testing links for Calypso flows
* Handle PR feedback
2019-09-03 09:42:00 -04:00
Joshua T Flowers
c4edf4305d
Onboarding: Add task list toggle option ( https://github.com/woocommerce/woocommerce-admin/pull/2862 )
2019-09-02 11:52:47 +08:00
Joshua T Flowers
7bce0b710f
Onboarding: Add "Customize Appearance" task ( https://github.com/woocommerce/woocommerce-admin/pull/2857 )
...
* Add initial Customize Appearance task
* Add options wc endpoint
* Add wc-api specs to manage options
2019-09-02 11:45:56 +08:00
Justin Shreve
e156605bfa
Onboarding Task List - Install selected payment methods ( https://github.com/woocommerce/woocommerce-admin/pull/2858 )
...
* Onboarding Task List - Install selected payment methods
* Don't pass formData to render functions
2019-08-30 13:04:11 -04:00
Paul Sealock
dfc428e176
Merge branch 'master' into release/0.18.0
2019-08-30 20:53:47 +12:00
Justin Shreve
e5b4606047
Add base payments task & jetpack connection status method ( https://github.com/woocommerce/woocommerce-admin/pull/2853 )
...
* Add a base for the payments task, with the ability to choose methods. Also adds Jetpack connection status.
* Handle PR feedback
2019-08-29 12:41:04 -04:00
Justin Shreve
e67b556ac9
Update to Color Studio v2.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2837 )
...
* Update color-studio to v2.1.0
* Handle additional color updates after rebase.
2019-08-29 12:07:56 -04:00
David Levin
4acf5ff497
Update no data message in table
2019-08-28 15:55:28 -07:00
Jeff Stieler
cd0ed4353d
Merge pull request woocommerce/woocommerce-admin#2843 from woocommerce/add/2803-report-filter-filters
...
Add filters to all Report filter config objects.
2019-08-28 08:16:14 -07:00
Jeff Stieler
079748cbb2
Remove "filter" from the report charts filter names.
2019-08-28 07:55:55 -07:00
Paul Sealock
b4a8641c31
Merge pull request woocommerce/woocommerce-admin#2848 from woocommerce/renovate/babel-monorepo
...
Update dependency babel-eslint to v10.0.3
2019-08-28 17:13:04 +12:00
Paul Sealock
2b1c625314
Merge pull request woocommerce/woocommerce-admin#2849 from woocommerce/renovate/d3-scale-chromatic-1.x
...
Update dependency d3-scale-chromatic to v1.5.0
2019-08-28 17:12:18 +12:00
Paul Sealock
6576a4ef22
Merge pull request woocommerce/woocommerce-admin#2850 from woocommerce/renovate/eslint-plugin-jest-22.x
...
Update dependency eslint-plugin-jest to v22.15.2
2019-08-28 17:11:40 +12:00
Paul Sealock
a71ae8c934
release 0.18.0
2019-08-28 16:01:13 +12:00
Renovate Bot
ad099f21e0
Update dependency memoize-one to v5.1.1
2019-08-28 02:01:26 +00:00
Renovate Bot
21eef8a392
Update dependency eslint-plugin-jest to v22.15.2
2019-08-28 01:58:24 +00:00
Renovate Bot
311fb89eb2
Update dependency d3-scale-chromatic to v1.5.0
2019-08-28 00:50:11 +00:00
Renovate Bot
6f8c9037fa
Update dependency babel-eslint to v10.0.3
2019-08-28 00:47:31 +00:00
Jeff Stieler
c795fb0e09
Allow filters and advanced filters to be added to reports without them.
2019-08-27 12:33:31 -07:00
Jeff Stieler
56e74213a9
Show separate documentation for filter components.
2019-08-27 10:20:38 -07:00
Joshua T Flowers
fbcd38acea
Update the product types to use IDs ( https://github.com/woocommerce/woocommerce-admin/pull/2841 )
2019-08-27 11:24:19 +08:00
Joshua T Flowers
55fe83c70b
Improve Autocomplete accessibility ( https://github.com/woocommerce/woocommerce-admin/pull/2840 )
2019-08-27 11:24:03 +08:00
Jeff Stieler
4dbd7ee176
Move AdvancedFilters, CompareFilter, DateRangeFilterPicker, and FilterPicker into top-level component directories.
2019-08-26 13:08:06 -07:00
Joshua T Flowers
547b771cdf
Onboarding: Add tax task. ( https://github.com/woocommerce/woocommerce-admin/pull/2830 )
2019-08-26 13:49:04 +08:00
Paul Sealock
822f18c2be
Merge pull request woocommerce/woocommerce-admin#2839 from cojennin/fix/2729-product-click
...
Product in dropdown clickable in FF/Safari
2019-08-26 11:54:29 +12:00
Connor Jennings
54c3a2658f
Product in dropdown clickable in FF/Safari
2019-08-24 09:45:51 -04:00
Ron Rennick
9d2d085aee
handle offset attribute and children
2019-08-23 15:34:44 -03:00
Jeff Stieler
7a28fbc0ff
Add filters for all report filter configs.
2019-08-23 09:41:42 -07:00
Justin Shreve
fe585aa2ee
Onboarding - Profile Wizard: Update plugin installation step to deal with previously installed plugins ( https://github.com/woocommerce/woocommerce-admin/pull/2825 )
...
* Handle previously installed plugins during the onboarding wizard
* Allow the activate endpoint to activate multiple plugins at once, avoiding a race condition.
* Handle PR feedback
* Add the ability to fetch active plugins via wc-api
2019-08-23 08:56:57 -04:00
Ron Rennick
2b188369b3
Merge pull request woocommerce/woocommerce-admin#2818 from woocommerce/fix/2006
...
display local time on note instead of UTC
2019-08-23 09:19:19 -03:00
Ron Rennick
714a13ca1d
Merge pull request woocommerce/woocommerce-admin#2827 from woocommerce/fix/2813
...
use wc-admin urls in devdocs
2019-08-22 14:15:19 -03:00
Ron Rennick
8f9f44bac5
add explicit type to Link tags
2019-08-22 13:55:01 -03:00
Jeff Stieler
3cb05f13d3
Test help queue runner - run until no more jobs remain.
2019-08-21 16:39:09 -07:00
Ron Rennick
df5ed96b5a
use wc-admin urls in devdocs
2019-08-21 18:16:12 -03:00
Paul Sealock
7a3337694a
Readme: add composer install step
2019-08-22 07:17:05 +12:00
Ron Rennick
add9ac83d4
Merge pull request woocommerce/woocommerce-admin#2820 from woocommerce/renovate/concurrently-4.x
...
Update dependency concurrently to v4.1.2
2019-08-21 13:38:41 -03:00
Ron Rennick
893d3243ee
Merge pull request woocommerce/woocommerce-admin#2821 from woocommerce/renovate/qs-6.x
...
Update dependency qs to v6.8.0
2019-08-21 13:34:50 -03:00
Jeff Stieler
8f27a374f1
Fix tests.
2019-08-21 09:34:17 -07:00
Jeff Stieler
f5b46ec037
Fix cleanup of customer import jobs.
2019-08-21 09:34:05 -07:00
Ron Rennick
42b79fce3e
Merge pull request woocommerce/woocommerce-admin#2822 from woocommerce/renovate/recast-0.x
...
Update dependency recast to v0.18.2
2019-08-21 13:28:32 -03:00
Ron Rennick
8a7db80536
Merge pull request woocommerce/woocommerce-admin#2823 from woocommerce/renovate/redux-4.x
...
Update dependency redux to v4.0.4
2019-08-21 13:24:59 -03:00
Jeff Stieler
0659049629
Hook up customer updates in the sync class.
2019-08-21 09:00:00 -07:00
Ron Rennick
8e9a96259e
Merge pull request woocommerce/woocommerce-admin#2824 from woocommerce/remove/PSR-4-missed-constant
...
remove constant eliminated by PSR-4
2019-08-21 12:26:47 -03:00
Jeff Stieler
4ea5732097
Merge pull request woocommerce/woocommerce-admin#2817 from woocommerce/fix/2650-refunded-orders-gross-total
...
Ignore refunded amounts when calculating gross total.
2019-08-21 08:13:09 -07:00
Ron Rennick
bb8d5f64e4
remove constant eliminated by PSR-4
2019-08-21 12:07:47 -03:00
Joshua T Flowers
7fbc4cc0df
Add Autocomplete component ( https://github.com/woocommerce/woocommerce-admin/pull/2808 )
2019-08-21 14:41:42 +08:00
Joshua T Flowers
234e4d513c
Add plugin and jetpack wc-api methods to shipping task ( https://github.com/woocommerce/woocommerce-admin/pull/2778 )
...
* Add shipping labels step
* Add jetpack connection selectors to wc-api
* Add plugin install and activation methods to wc-api
* Add shipping connect step
* Add busy cursor CSS to buttons
2019-08-21 14:34:21 +08:00
Joshua T Flowers
f4d7936b17
Onboarding: Add shipping rate base task ( https://github.com/woocommerce/woocommerce-admin/pull/2760 )
2019-08-21 13:58:47 +08:00
Renovate Bot
b078ae5158
Update dependency redux to v4.0.4
2019-08-21 01:21:30 +00:00
Renovate Bot
a0558ead38
Update dependency recast to v0.18.2
2019-08-21 01:19:20 +00:00
Renovate Bot
32d806caed
Update dependency qs to v6.8.0
2019-08-21 00:14:18 +00:00
Renovate Bot
e51547bbed
Update dependency concurrently to v4.1.2
2019-08-21 00:11:39 +00:00
Ron Rennick
b770ccb987
add filters to notes datastore where clauses
2019-08-20 20:48:11 -03:00
Jeff Stieler
b3ab0c4eab
Add method to schedule customer data updates.
2019-08-20 15:56:54 -07:00
Ron Rennick
44bf577938
display local time on note instead of UTC
2019-08-20 19:38:56 -03:00
Jeff Stieler
bfefb2d647
Ignore refunded amounts when calculating gross total.
2019-08-20 11:41:28 -07:00
Ron Rennick
dd9948aa1a
Merge pull request woocommerce/woocommerce-admin#2784 from woocommerce/fix/2766
...
Allow action scheduler custom data store migration
2019-08-20 13:36:14 -03:00
Jeff Stieler
c4718b5e90
Merge pull request woocommerce/woocommerce-admin#2814 from woocommerce/fix/2719-reports-simple-to-variable-products
...
Fix product reports for simple products converted to variable.
2019-08-20 08:23:16 -07:00
Ron Rennick
dbf6b54fd0
Merge pull request woocommerce/woocommerce-admin#2812 from cojennin/fix/2745-csv-coupons
...
Orders report now shows coupons in Coupon(s) column
2019-08-20 11:18:33 -03:00
Connor Jennings
d44af04add
Update client/analytics/report/orders/table.js
...
Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
2019-08-20 09:15:55 -04:00
Ron Rennick
fadb20c1bc
update component change log
2019-08-20 10:06:08 -03:00
Ron Rennick
17c66a79a5
Merge branch 'master' into fix/2243
2019-08-20 10:04:10 -03:00
Joshua T Flowers
371a9fa28d
Update List actionable items to be wrapped with Link ( https://github.com/woocommerce/woocommerce-admin/pull/2779 )
...
* Update List actionable items to be wrapped with Link
* Update product tasks to use href instead of onclick
* User inner tag for list items
* Fix up a11y for non-link actionable items
2019-08-20 06:38:10 +08:00
Paul Sealock
da2a6d762a
Merge pull request woocommerce/woocommerce-admin#2802 from woocommerce/release/components-august
...
Components: prepare changelogs for release
2019-08-20 07:35:41 +12:00
Jeff Stieler
8a19d586af
Include a segment label for the variation parent when segmenting a single product report by variations.
2019-08-19 10:47:09 -07:00
Jeff Stieler
6a4616765d
Merge pull request woocommerce/woocommerce-admin#2806 from woocommerce/fix/report-column-visibility
...
Fix bug with checking user preferences for report column visibility.
2019-08-19 10:18:35 -07:00
Connor Jennings
68a8012f57
CSV download of Orders now shows coupons in Coupon(s) column
2019-08-19 12:45:57 -04:00
Ron Rennick
effb5b8219
Merge branch 'master' into fix/2243
2019-08-19 11:34:05 -03:00
Ron Rennick
1517f865e1
convert scroll functionality to a component
2019-08-19 03:18:40 -03:00
Paul Sealock
7eaac68b43
add changelog entries
2019-08-19 10:24:59 +12:00
Jeff Stieler
150feee517
Base variation report endpoint extended info off of the parent product if variation ID is 0.
2019-08-17 10:23:24 -07:00
Jeff Stieler
60ff4fc067
Include "variation = 0" orders in variation report data.
...
This catches simple products with sales that have been converted to variable.
2019-08-17 10:21:33 -07:00
Jeff Stieler
974566ea0c
Fix bug with checking user preferences for report column visibility.
2019-08-16 13:06:19 -07:00
Jeff Stieler
4f4ab5e076
Pass "show data picker" prop to underlying component in ReportFilters.
...
Fixes errant date picker on the Customers Report.
2019-08-16 10:04:42 -07:00
Jeff Stieler
90edd4e5a6
Merge pull request woocommerce/woocommerce-admin#2801 from woocommerce/add/2613-empty-table-state
...
Add empty state to tables
2019-08-16 08:23:31 -07:00
Jeff Stieler
e5554a5f7b
Merge pull request woocommerce/woocommerce-admin#2798 from woocommerce/add/2538-facebook-inbox-note
...
Add inbox notice promoting the Facebook extension.
2019-08-16 08:17:37 -07:00
Ron Rennick
16591e5941
use cancel_actions_by_group if action scheduler is >=3.0
2019-08-16 11:35:49 -03:00
Paul Sealock
5b3ecb186c
components: update package.jsons
2019-08-16 10:20:54 +12:00
Paul Sealock
dd948051cb
Components: prepare changelogs for release
2019-08-16 10:08:29 +12:00
Paul Sealock
93142c8d33
Merge pull request woocommerce/woocommerce-admin#2796 from woocommerce/fix/pre-release-script-composer
...
Release Scripts: Update to reflect refactor
2019-08-16 07:59:49 +12:00
Paul Sealock
60c05ede7f
Merge pull request woocommerce/woocommerce-admin#2797 from woocommerce/release/0.17.0
...
Release 0.17.0
2019-08-16 07:59:29 +12:00
Jeff Stieler
6b18a6d93e
Component changelog entry.
2019-08-15 12:54:45 -07:00
Jeff Stieler
77967d2824
Disable table controls (except column visibility) when the table is empty.
2019-08-15 12:54:31 -07:00
Jeff Stieler
ccf0723faa
Add a "no data" cell to the Table component.
2019-08-15 12:00:46 -07:00
Jeff Stieler
e070648618
Import all used Gutenberg component styles. ( https://github.com/woocommerce/woocommerce-admin/pull/2679 )
...
Fixes postcss theme overrides.
2019-08-15 09:51:21 -07:00
Jeff Stieler
ed17b3f951
Refactor Note "has plugin been installed for" login into reusable trait.
2019-08-15 09:19:33 -07:00
Albert Juhé Lluveras
21dbbe88d0
Search List Control: fix long count values cut-off in IE11 ( https://github.com/woocommerce/woocommerce-admin/pull/2783 )
...
* Search List Control: fix long item count values cut-off in IE11
* Update CHANGELOG
2019-08-15 09:30:03 +02:00
renovate[bot]
8530435771
Update dependency readline-sync to v1.4.10 ( https://github.com/woocommerce/woocommerce-admin/pull/2791 )
2019-08-15 14:22:45 +08:00
renovate[bot]
2feeee4521
Update dependency node-watch to v0.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/2790 )
2019-08-15 14:20:19 +08:00
renovate[bot]
594936ef88
Update dependency html-to-react to v1.4.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2789 )
2019-08-15 14:16:39 +08:00
renovate[bot]
4549557e5c
Update dependency eslint-plugin-jest to v22.15.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2788 )
2019-08-15 14:13:47 +08:00
renovate[bot]
ae45a2031e
Update dependency d3-scale-chromatic to v1.4.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2787 )
2019-08-15 14:09:51 +08:00
renovate[bot]
c1eac01cd2
Update dependency composer/installers to v1.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2786 )
2019-08-15 14:03:09 +08:00
Jeff Stieler
bece81b757
Add inbox notice promoting the Facebook extension.
2019-08-14 19:32:59 -07:00
Paul Sealock
b4185d986a
styles
2019-08-15 14:25:18 +12:00
Paul Sealock
cfd2bf376c
replace version function
2019-08-15 14:24:34 +12:00
Paul Sealock
5b56c86605
remover composer install
2019-08-15 14:10:10 +12:00
Paul Sealock
42bba7b376
release 0.17.0
2019-08-15 13:43:22 +12:00
Paul Sealock
3e17a1254b
use package.json changes
2019-08-15 11:44:15 +12:00
Paul Sealock
2851bef09e
add composer install in pre-release step
2019-08-15 10:36:53 +12:00
Ron Rennick
2a994fca0e
Merge pull request woocommerce/woocommerce-admin#2794 from woocommerce/update/class-sniff-exclude
...
update the class filename exclusion to /src/ for PSR-4
2019-08-14 16:58:34 -03:00
Ron Rennick
57e27568a1
update the class filename exclusion to /src/ for PSR-4
2019-08-14 16:10:40 -03:00
Ron Rennick
d2b48f0fcd
scroll import action to import section of settings page
2019-08-14 14:35:28 -03:00
Ron Rennick
0d45811e73
fix warnings in chart segmenting
2019-08-14 12:50:11 -03:00
Jeff Stieler
d3c1d34a60
Fix category report comparison chart render. ( https://github.com/woocommerce/woocommerce-admin/pull/2710 )
...
* Restrict product stats category comparison queries, fix LIMIT clause, and avoid adding dates outside of the initial interval query to response.
2019-08-14 08:02:06 -07:00
Jeff Stieler
1b9f3ed0b3
Merge pull request woocommerce/woocommerce-admin#2785 from woocommerce/fix/2775-long-time-scale-chart-render
...
Wait until all chart data page requests are complete before rendering.
2019-08-14 07:59:22 -07:00
Ron Rennick
b7c3aade71
Merge pull request woocommerce/woocommerce-admin#2782 from woocommerce/fix/2780
...
update WC tested to version to 3.7.0
2019-08-14 09:16:05 -03:00
Jeff Stieler
6cb15280bb
Wait until all chart data page requests are complete before rendering.
2019-08-13 15:27:15 -07:00
Ron Rennick
ec48f6739e
update WC tested to version to 3.7.0
2019-08-13 10:29:17 -03:00
Jeff Stieler
37e849221b
Fix namespace on helper class usage.
2019-08-12 15:27:12 -07:00
Jeff Stieler
953427bea5
Remove defunct filename prefix from remaining files.
...
Excluding the note classes for third party compatibility.
2019-08-12 15:06:36 -07:00
Jeff Stieler
9bc54b3344
Remove defunct filename prefix from API init class.
2019-08-12 15:03:24 -07:00
Jeff Stieler
4356eef13d
Remove defunct filename prefix from feature classes.
2019-08-12 15:03:23 -07:00
Jeff Stieler
d4d0a31486
Flatten includes/ directory.
2019-08-12 15:03:23 -07:00
Jeff Stieler
c73325c312
PSR-4ify the loader class.
2019-08-12 15:03:22 -07:00
Jeff Stieler
13878db9ac
PSR-4ify the feature plugin and install classes.
2019-08-12 15:03:21 -07:00
Jeff Stieler
7dd4d2b791
PSR-4ify the reports time interval class.
2019-08-12 15:03:21 -07:00
Jeff Stieler
a61d292c67
PSR-4ify the report parameter exception class.
2019-08-12 15:03:20 -07:00
Jeff Stieler
57ece077a6
Fix daily cron notes task class.
2019-08-12 15:03:19 -07:00
Jeff Stieler
88f6fd9d06
PSR-4ify report query classes.
2019-08-12 15:03:19 -07:00
Jeff Stieler
8f61462328
PSR-4ify the report stats segmenter classes.
2019-08-12 15:03:18 -07:00
Jeff Stieler
3e9ef793a7
PSR-4ify the reports data store interface class.
2019-08-12 15:03:17 -07:00
Jeff Stieler
b7912bc579
PSR4-ify the Reports data store classes.
2019-08-12 15:03:17 -07:00
Jeff Stieler
a67d577ad2
PSR-4ify all Report Controller classes.
2019-08-12 15:03:16 -07:00
Jeff Stieler
b71d8c23c8
PSR4-ify core API subclasses.
2019-08-12 15:03:15 -07:00
Jeff Stieler
fe3dc0dd7c
Reorganize API classes.
2019-08-12 15:03:14 -07:00
Jeff Stieler
25ac10e5d5
Fix namespaces for Notes classes used in installation routine.
2019-08-12 15:03:14 -07:00
Jeff Stieler
9d2757f1b2
PSR4-ify the API init class and Notes controllers.
2019-08-12 15:03:13 -07:00
Jeff Stieler
f871c96070
PSR-4ify the theme upgrader subclasses.
2019-08-12 15:03:12 -07:00
Jeff Stieler
416ab09653
PSR-4ify the action schedule post store subclass.
2019-08-12 15:03:12 -07:00
Jeff Stieler
e509e51552
PSR-4ify the sync class.
2019-08-12 15:03:11 -07:00
Jeff Stieler
55400474ee
PSR-4ify the feature loading classes.
2019-08-12 15:03:11 -07:00
Jeff Stieler
ce7267b198
PSR-4ify the report exporter classes.
2019-08-12 15:03:10 -07:00
Jeff Stieler
ca68769205
Update admin notes classes to PSR-4.
2019-08-12 15:03:09 -07:00
Jeff Stieler
782bbe8891
PSR-4ify the WC_Admin_Page_Controller class.
2019-08-12 15:03:09 -07:00
Jeff Stieler
24555e0e02
PSR-4 ify the WC_Admin_Order_Trait class.
2019-08-12 15:03:08 -07:00
Jeff Stieler
8602c03671
PSR-4 ify WC_Admin_Order_Refund class.
2019-08-12 15:03:08 -07:00
Jeff Stieler
54d0768892
PSR-4ify WC_Admin_Order class.
2019-08-12 15:03:07 -07:00
Jeff Stieler
fab3d8e2cf
Always run composer install in CI builds.
2019-08-12 15:03:06 -07:00
Jeff Stieler
9c469a9f60
Fix tests.
2019-08-12 15:03:06 -07:00
Jeff Stieler
2752356c4d
Load all classes with Composer's autoloader.
2019-08-12 15:03:05 -07:00
Ron Rennick
c5962b4dd8
increase the popover zIndex from 1 to 2
2019-08-09 16:25:11 -03:00
Ron Rennick
c54a01d33c
Merge pull request woocommerce/woocommerce-admin#2762 from woocommerce/fix/2657
...
only run uninstall functions if dependencies are available
2019-08-09 08:43:03 -03:00
Ron Rennick
9a42f00477
Merge pull request woocommerce/woocommerce-admin#2764 from woocommerce/fix/2746
...
convert zero last active date to null in customer query
2019-08-09 08:40:57 -03:00
Justin Shreve
f2102b0239
Update onboarding profile wizard copy ( https://github.com/woocommerce/woocommerce-admin/pull/2770 )
2019-08-08 14:41:26 -04:00
Jeff Stieler
befedbce76
Merge pull request woocommerce/woocommerce-admin#2756 from woocommerce/renovate/css-loader-3.x
...
Update dependency css-loader to v3.2.0
2019-08-08 11:06:24 -06:00
Jeff Stieler
791baa2622
Merge pull request woocommerce/woocommerce-admin#2758 from woocommerce/renovate/html-to-react-1.x
...
Update dependency html-to-react to v1.4.0
2019-08-08 10:52:59 -06:00
Ron Rennick
32d31b6791
compare date to "0000-00-00 00:00:00"
2019-08-08 13:50:22 -03:00
Ron Rennick
4ec10698af
remove dependency check from uninstall script
2019-08-08 13:35:35 -03:00
Jeff Stieler
5a1b7ea2ae
Merge pull request woocommerce/woocommerce-admin#2757 from woocommerce/renovate/eslint-plugin-jest-22.x
...
Update dependency eslint-plugin-jest to v22.15.0
2019-08-08 10:33:38 -06:00
Ron Rennick
27dff45d71
delete lookup table data when dependencies not met
2019-08-08 13:23:48 -03:00
Justin Shreve
309e5309ef
Fix slug notice when connecting to Jetpack ( https://github.com/woocommerce/woocommerce-admin/pull/2769 )
2019-08-08 12:15:33 -04:00
Justin Shreve
708464fe8e
Add revenue question to the business details page ( https://github.com/woocommerce/woocommerce-admin/pull/2763 )
...
* Add revenue question to the business details page
* Handle PR feedback: remove empty values, include currency in the stats api call.
2019-08-08 11:38:47 -04:00
Ron Rennick
f79a3290ea
Merge pull request woocommerce/woocommerce-admin#2753 from woocommerce/fix/2682
...
restore wp-admin wpbody-content bottom padding
2019-08-08 10:21:30 -03:00
Justin Shreve
e81b1fd776
Add `help` prop to SimpleSelectControl to properly show errors. ( https://github.com/woocommerce/woocommerce-admin/pull/2751 )
2019-08-08 09:10:47 -04:00
Joshua T Flowers
1e042d355c
Add event handlers in Form component and update onboarding form ( https://github.com/woocommerce/woocommerce-admin/pull/2749 )
...
* Add better checkbox and radio support
* Add checkbox, select, and radio examples to form component
* Update business details step to use new Form component
2019-08-08 13:25:55 +08:00
Ron Rennick
833cc7a1c2
convert zero last active date to null in customer query
2019-08-07 16:12:47 -03:00
Justin Shreve
ea6da8858d
Update the WP.com connection parameter to match the parameter in the API ( https://github.com/woocommerce/woocommerce-admin/pull/2761 )
2019-08-07 14:49:21 -04:00
Renovate Bot
88d93e4aed
Update dependency eslint-plugin-jest to v22.15.0
2019-08-07 16:30:14 +00:00
Ron Rennick
4ec0ff675b
only run uninstall functions if dependencies are available
2019-08-07 12:31:07 -03:00
Ron Rennick
30749a87a2
limit padding CSS to left
2019-08-07 09:49:45 -03:00
Renovate Bot
b554de7b01
Update dependency html-to-react to v1.4.0
2019-08-07 03:00:53 +00:00
Renovate Bot
c880abf620
Update dependency css-loader to v3.2.0
2019-08-07 01:31:34 +00:00
Ron Rennick
734eb025e6
restore wp-admin wpbody-content bottom padding
2019-08-06 16:26:45 -03:00
Jeff Stieler
58209c4cde
Merge pull request woocommerce/woocommerce-admin#2733 from woocommerce/fix/2732
...
add version string to _doing_it_wrong
2019-08-05 13:15:23 -06:00
Jeff Stieler
ef9b903090
Merge pull request woocommerce/woocommerce-admin#2744 from woocommerce/fix/filter-triggering-doing-it-wrong
...
Short circuit admin title filter when applied by third parties too early.
2019-08-05 08:39:38 -06:00
Joshua T Flowers
919ce11b57
Add form component for handling form state ( https://github.com/woocommerce/woocommerce-admin/pull/2742 )
...
* Add Form component to packages
* Add form example to devdocs
* Fix form validation check
* Update store details to use Form component
* Fix indentation issues
2019-08-05 09:41:47 +08:00
Jeff Stieler
b2707d3e23
Bail out of our `admin_title` filter if it's invoked before `current_screen`.
...
See: https://github.com/xwp/pwa-wp/issues/206
2019-08-02 08:32:52 -06:00
Justin Shreve
1a479eefea
Fix navigation handling on the `skip` link. ( https://github.com/woocommerce/woocommerce-admin/pull/2738 )
2019-08-02 09:22:11 -04:00
Joshua T Flowers
f542a4c011
Update Stepper component with new props and styles ( https://github.com/woocommerce/woocommerce-admin/pull/2726 )
...
* Add description and content to Stepper
* Reduce unnecessary styles
* Allow variable divider width for vertical Steppers
* Fix existing steppers and styling
* Update spinner styles in Stepper
* Fix style lint issues
* Update spinner color in plugin step
2019-08-02 07:28:06 +08:00
Joshua T Flowers
d41ce76451
Onboarding: Add WebPreview component for theme previewing ( https://github.com/woocommerce/woocommerce-admin/pull/2681 )
...
* Add WebPreview component
* Add theme preview component
* Add WebPreview example for devdocs
* Update loading content prop name for WebPreview
* Add selected class state for device buttons
* Fix tabbing issue in stylesheet
* Fix loadingContent prop changes
* Add in translators note
* Fix theme details height issue
* Add theme demo track events (https://github.com/woocommerce/woocommerce-admin/pull/2715 )
* Add theme demo track events
* Track theme chosen location
* Track theme slug on device switch
* Apply design feedback
2019-08-02 07:27:38 +08:00
Justin Shreve
dca1b07377
Onboarding - Task List: Add store connection task ( https://github.com/woocommerce/woocommerce-admin/pull/2718 )
...
* Adds store connection task
* PR Feedback
2019-08-01 14:09:08 -04:00
Justin Shreve
1410e7ed29
Add a "this store is being setup for a client" store detail field ( https://github.com/woocommerce/woocommerce-admin/pull/2727 )
2019-08-01 13:29:35 -04:00
Ron Rennick
050eabba4f
use 0.16.0, fix typo in warning message
2019-08-01 11:19:56 -03:00
Ron Rennick
9b9105ec01
add version string to _doing_it_wrong
2019-08-01 10:25:52 -03:00
renovate[bot]
307338a50f
Update dependency memoize-one to v5.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2723 )
2019-07-31 12:47:22 -04:00
renovate[bot]
749c0137e3
Update dependency lerna to v3.16.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2721 )
2019-07-31 12:03:53 -04:00
renovate[bot]
e1e9b556b6
Update dependency lodash to v4.17.15 ( https://github.com/woocommerce/woocommerce-admin/pull/2722 )
2019-07-31 11:55:19 -04:00
renovate[bot]
0d20d0d0b5
Update dependency copy-webpack-plugin to v5.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2720 )
2019-07-31 11:39:54 -04:00
renovate[bot]
979353301b
Update dependency mini-css-extract-plugin to v0.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2724 )
2019-07-31 11:27:20 -04:00
renovate[bot]
183343b15b
Update dependency prismjs to v1.17.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2725 )
2019-07-31 10:48:31 -04:00
Jeff Stieler
020e8b6e3a
Merge pull request woocommerce/woocommerce-admin#2708 from woocommerce/fix/1849-comparison-doesnt-render
...
Fix groupby for category segmentation in reports.
2019-07-30 09:27:04 -06:00
renovate[bot]
e2ff29ea5b
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2680 )
2019-07-29 15:00:03 -04:00
renovate[bot]
e5a13a316c
Update dependency eslint-plugin-react to v7.14.3 ( https://github.com/woocommerce/woocommerce-admin/pull/2697 )
2019-07-29 14:29:06 -04:00
renovate[bot]
141899a1a0
Update dependency eslint-plugin-jest to v22.14.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2696 )
2019-07-29 14:25:57 -04:00
renovate[bot]
584232ec86
Update dependency @octokit/rest to v16.28.7 ( https://github.com/woocommerce/woocommerce-admin/pull/2692 )
2019-07-29 14:16:16 -04:00
renovate[bot]
2070f96e47
Update dependency eslint-loader to v2.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2695 )
2019-07-29 14:05:03 -04:00
renovate[bot]
95fe1a2396
Update dependency css-loader to v3.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2694 )
2019-07-29 13:56:47 -04:00
renovate[bot]
aa45022256
Update babel monorepo to v7.5.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2691 )
2019-07-29 13:29:52 -04:00
Paul Dechov
5d7f56d859
Merge pull request woocommerce/woocommerce-admin#2699 from woocommerce/update/activity-panel-transitions
...
Ensure content to wrapper alignment during Activity Panel transitions
2019-07-29 12:23:56 -04:00
Joshua T Flowers
5076a64fdc
Fix vertical centering in onboarding theme step ( https://github.com/woocommerce/woocommerce-admin/pull/2705 )
2019-07-29 11:23:31 +08:00
Paul Sealock
634863ad90
Merge pull request woocommerce/woocommerce-admin#2703 from woocommerce/automate/pre-release
...
Automate pre-release tasks
2019-07-29 11:33:08 +12:00
Paul Sealock
eb113407c4
add npm script command
2019-07-26 14:16:09 +12:00
Paul Sealock
cff124f8fe
new branch
2019-07-26 13:59:10 +12:00
Paul Sealock
48d0a180c1
0.16.0
2019-07-26 13:56:59 +12:00
Paul Sealock
0a01ad8aef
Merge pull request woocommerce/woocommerce-admin#2690 from woocommerce/release/0.16.0
...
Release 0.16.0 tasks
2019-07-26 13:32:48 +12:00
Jeff Stieler
06deec11f8
Fix groupby for category segmentation in reports.
2019-07-25 15:30:10 -06:00
Joshua Flowers
b0aa7bdb42
Prevent onboarding from running on non-admin pages
2019-07-25 16:20:43 +08:00
Paul Dechov
527f390d35
Sync active tab indicator with activity panel transition
2019-07-24 21:43:49 -04:00
Paul Dechov
21217f4b0b
Animate wrapper instead of content on switch
2019-07-24 21:43:46 -04:00
Paul Dechov
7223c3396c
Keep content during close transition
...
Doesn't clear currentTab until transition ends.
2019-07-24 21:42:57 -04:00
Paul Dechov
765b826105
Transition transform rather than width on open/close
2019-07-24 21:40:52 -04:00
Paul Sealock
8710a32622
update readme with IE fix
2019-07-25 08:38:07 +12:00
Jeff Stieler
79e8a8a510
Fix react-spring breaking IE11.
2019-07-25 08:34:38 +12:00
Jeff Stieler
67be376009
Merge pull request woocommerce/woocommerce-admin#2698 from woocommerce/fix/2693-ie11-broken
...
Fix react-spring breaking IE11.
2019-07-24 11:32:26 -06:00
Jeff Stieler
f5a366364c
Merge pull request woocommerce/woocommerce-admin#2687 from woocommerce/fix/bridge-459-sidebar-double-arrow
...
Only apply current submenu CSS reset on non-embed pages.
2019-07-24 11:09:12 -06:00
Jeff Stieler
41b4100235
Fix react-spring breaking IE11.
2019-07-24 09:37:37 -06:00
Paul Sealock
14f545e0a2
release 0.16.0 prep
2019-07-24 12:30:29 +12:00
Ron Rennick
5803b49f41
add filter to feature config array
2019-07-23 10:54:27 -03:00
Paul Sealock
d98eceffc7
Revert "Revert "Update to new Snackbar component and notice store"" ( https://github.com/woocommerce/woocommerce-admin/pull/2643 )
...
* Revert "Revert "Update to new Snackbar component and notice store""
* Update uploader component to use createNotice
* Bump required WP version to 5.2
* Update required PHP and WP versions in plugin header
2019-07-23 11:26:46 +08:00
Joshua T Flowers
9f6e200ab7
Remove path from URL in root/dashboard page ( https://github.com/woocommerce/woocommerce-admin/pull/2674 )
2019-07-23 11:17:43 +08:00
Jeff Stieler
6324475b85
Only apply current submenu CSS reset on non-embed pages.
2019-07-22 17:02:55 -06:00
Timmy Crawford
646235ac7b
Notice: Update feedback notice verbiage and action. ( https://github.com/woocommerce/woocommerce-admin/pull/2677 )
2019-07-22 14:26:28 -07:00
Timmy Crawford
3a781d1af0
Settings: Fix notice shown after save. ( https://github.com/woocommerce/woocommerce-admin/pull/2660 )
...
* Settings: Fix notice shown after save.
* Updates per feedback.
2019-07-22 14:15:41 -07:00
Jeff Stieler
f2c1837478
Hook in for onboarding reset a little later.
...
Page detection needs to wait until `current_screen`.
2019-07-22 08:33:58 -06:00
Jeff Stieler
ecf2e34103
Add "doing it wrong" to avoid calculating the current page too early.
2019-07-22 08:33:58 -06:00
Joshua T Flowers
f1f3a6e20d
Fix flash of unstyled content for onboarding pages ( https://github.com/woocommerce/woocommerce-admin/pull/2673 )
2019-07-22 12:53:13 +08:00
Ron Rennick
135ac032be
update assertisWPError calls to assertWPError in unit tests
2019-07-19 16:45:52 -03:00
Joshua T Flowers
b42a8b34cd
Onboarding: Add products task ( https://github.com/woocommerce/woocommerce-admin/pull/2667 )
...
* Add product subtask list component
* Add has-action class to list component
* Redirect after active task completion
* Refactor task completion check
* Add task completion statuses to component settings
* Fix missing className prop for list items
* Add task completion styling
2019-07-19 10:54:38 +08:00
Paul Sealock
41a945ec83
Merge pull request woocommerce/woocommerce-admin#2663 from woocommerce/fix/@wordpress/url-dep-webpack
...
Webpack: Use wp.url instead of bundling package
2019-07-19 12:29:34 +12:00
Jeff Stieler
64d44bd905
Merge pull request woocommerce/woocommerce-admin#2659 from woocommerce/fix/2592-orders-linger
...
Reduce order status change delay in Orders Panel.
2019-07-18 08:20:39 -06:00
Jeff Stieler
5a859ab919
Fix "non actionable" order query.
2019-07-18 08:09:50 -06:00
Joshua T Flowers
2d21db45ce
Onboarding: Add the task list dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/2654 )
...
* Add task list dashboard page
* Add actual site URL to header
* Fix typos
* Remove app bar
* Use material icons
* Update material icons to use Google hosted font
* Localize description strings
2019-07-18 18:11:21 +08:00
Justin Shreve
4e478d9fbb
Implement "Simple" Select Component ( https://github.com/woocommerce/woocommerce-admin/pull/2598 )
...
* Implement "Simple" Select Component
* Add value prop and disabled option.
* Expand click target of .woocommerce-simple-select-control__selector
* Fix select state.
* remove left position
Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
* Update packages/components/src/simple-select-control/style.scss
Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
* Update packages/components/src/simple-select-control/style.scss
Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
* Update packages/components/src/simple-select-control/style.scss
Co-Authored-By: Joshua T Flowers <joshuatf@gmail.com>
2019-07-17 11:46:55 -07:00
Jeff Stieler
66e321f568
Maintain query order when merging core Order data and lookup table data.
2019-07-17 09:56:59 -06:00
Jeff Stieler
705379bdbb
Reduce unread orders API response fields.
2019-07-17 09:56:13 -06:00
Timmy Crawford
2a75bcefe6
Activity Panels: Fix notification indicator css. ( https://github.com/woocommerce/woocommerce-admin/pull/2662 )
2019-07-17 08:08:21 -07:00
Timmy Crawford
d62e3baed5
Nav: Hide nav on block editor. ( https://github.com/woocommerce/woocommerce-admin/pull/2661 )
2019-07-17 08:07:57 -07:00
renovate[bot]
88c36e3794
Pin dependency @wordpress/url to 2.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2664 )
2019-07-17 11:02:40 +02:00
renovate[bot]
f337722dc7
Update dependency autoprefixer to v9.6.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2665 )
2019-07-17 11:02:15 +02:00
Joshua T Flowers
8784ac9728
Onboarding: Update help tab with reset onboarding link ( https://github.com/woocommerce/woocommerce-admin/pull/2658 )
...
* Update help tab reset link for onboarding profiler
* Update wc_admin_url to allow dashboard URL
* Add function to reset onboarding profiler params
2019-07-17 09:49:01 +08:00
Paul Sealock
821115aa54
Webpack
...
: Use wp.url instead of bundling package
2019-07-17 13:35:43 +12:00
Jeff Stieler
9bbc4fa96d
Use core orders endpoint for initial orders panel query.
...
Side steps the lookup table to catch order status transitions immediately.
2019-07-16 15:17:38 -06:00
Jeff Stieler
bb4f067b61
Use core orders endpoint for "unread" order indicator.
2019-07-16 15:17:38 -06:00
Jeff Stieler
69149ab83a
Remove default date range for Orders report query.
2019-07-16 15:17:37 -06:00
Jeff Stieler
f3fb79adaf
Add parameters for specifying order IDs for reporting.
2019-07-16 15:17:36 -06:00
Jeff Stieler
69245c848b
Merge pull request woocommerce/woocommerce-admin#2638 from woocommerce/add/2605-tracks-priority-3
...
Add priority 3 Tracks events
2019-07-16 09:10:11 -06:00
Albert Juhé Lluveras
f392b5588d
Replace 'stringifyQuery' with 'addQueryArgs' ( https://github.com/woocommerce/woocommerce-admin/pull/2655 )
2019-07-16 10:56:24 +02:00
Joshua T Flowers
269b09c840
Update padding for checkbox group cards ( https://github.com/woocommerce/woocommerce-admin/pull/2631 )
2019-07-16 10:15:41 +08:00
renovate[bot]
97f8f866e3
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2653 )
2019-07-15 17:18:03 +02:00
renovate[bot]
4b7bac3327
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/2623 )
2019-07-15 16:25:15 +02:00
Joshua T Flowers
60a1541e48
Update onboarding form validation ( https://github.com/woocommerce/woocommerce-admin/pull/2617 )
...
* Update store details form validation
* Add new form validation to business details step
* Add new form validation to industry step
* Add new form validation to product types step
2019-07-15 19:09:31 +08:00
renovate[bot]
de005798df
Update dependency @octokit/rest to v16.28.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2624 )
2019-07-15 11:23:33 +02:00
renovate[bot]
2c6c7671e2
Update dependency lodash to v4.17.13 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/2639 )
2019-07-15 11:19:37 +02:00
Paul Sealock
f93d0b3a2e
Prep for release 0.15.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2641 )
2019-07-12 14:27:18 -07:00
Timmy Crawford
7efefc1495
Chart: Remove z-index from empty message ( https://github.com/woocommerce/woocommerce-admin/pull/2646 )
2019-07-12 12:53:59 -07:00
Jeff Stieler
562a1a231d
Send tracks event when historical data is deleted.
2019-07-12 11:46:38 -06:00
Jeff Stieler
e5424fdd4d
Send a tracks event when analytics settings are reset to defaults.
2019-07-12 11:46:38 -06:00
Jeff Stieler
280542255f
Send a track event when analytics settings are saved.
2019-07-12 11:46:37 -06:00
Jeff Stieler
1da8aba8e8
Send a tracks event for report table pagination actions.
2019-07-12 11:46:37 -06:00
Jeff Stieler
c820c92fe4
Send a tracks event when the dashboard chart type is toggled.
2019-07-12 11:46:36 -06:00
Jeff Stieler
9e217fbcaf
Send tracks event when dashboard chart interval changes.
2019-07-12 11:46:36 -06:00
Jeff Stieler
c36bfe6026
Send tracks event when dashboard sections are renamed.
2019-07-12 11:46:35 -06:00
Jeff Stieler
314e6d90e0
Send tracks event when adding dashboard section.
2019-07-12 11:46:34 -06:00
Jeff Stieler
29a46f0665
Send a tracks event for reordering dashboard sections.
2019-07-12 11:46:34 -06:00
Jeff Stieler
c68fdde2e5
Merge pull request woocommerce/woocommerce-admin#2640 from woocommerce/fix/ci-tests-woo-deps
...
Tests setup: bring in Woo Core dependencies
2019-07-12 11:45:55 -06:00
Jeff Stieler
ea6116592e
Merge branch 'master' into add/2604-tracks-priority-2
2019-07-12 11:34:50 -06:00
Jeff Stieler
431ab61f34
Skip dev dependencies when installing WooCommerce for CI builds.
2019-07-12 11:33:25 -06:00
Albert Juhé Lluveras
acc4ea7e4d
Disable placeholder animation when prefers-reduced-motion is set ( https://github.com/woocommerce/woocommerce-admin/pull/2645 )
2019-07-12 17:49:37 +02:00
Jeff Stieler
e29f86c2d1
Add components changelog entries.
2019-07-11 17:36:55 -06:00
Jeff Stieler
34e91de4ce
Merge pull request woocommerce/woocommerce-admin#2637 from woocommerce/fix/report-table-pagination
...
Fix "page" parameter collision between routing and table pagination.
2019-07-11 17:23:31 -06:00
Paul Sealock
7de10b2d64
right directory
2019-07-12 11:20:10 +12:00
Paul Sealock
98e7c36155
ls to see if json
2019-07-12 11:17:07 +12:00
Paul Sealock
3440617778
Tests setup: bring in Woo Core dependencies
2019-07-12 11:05:48 +12:00
Jeff Stieler
a03131f3ef
Remove unneeded query retrieval instance method.
2019-07-11 15:26:58 -06:00
Jeff Stieler
b92bef4941
Fix "page" parameter collision between routing and table pagination.
2019-07-11 14:18:16 -06:00
Paul Sealock
dcc412a26d
Merge pull request woocommerce/woocommerce-admin#2634 from woocommerce/revert-2596-update/2445-snackbar
...
Revert "Update to new Snackbar component and notice store"
2019-07-12 08:08:56 +12:00
Joshua T Flowers
929f42e22d
Add WC support check for child themes ( https://github.com/woocommerce/woocommerce-admin/pull/2628 )
...
* Add WC support check for child themes
* Fix installed themes loop double call
2019-07-11 16:39:32 +08:00
Joshua T Flowers
e59aca7da3
Fix margin between theme price and buttons ( https://github.com/woocommerce/woocommerce-admin/pull/2629 )
2019-07-11 08:44:42 +08:00
Joshua T Flowers
1a3e9f2f1d
Fix checkbox group label color ( https://github.com/woocommerce/woocommerce-admin/pull/2630 )
2019-07-11 08:44:23 +08:00
Timmy Crawford
6ebd83927a
Onboarding: Change margins on industry intro paragraph. ( https://github.com/woocommerce/woocommerce-admin/pull/2621 )
2019-07-10 16:19:32 -07:00
Jeff Stieler
6fafac4f97
Merge pull request woocommerce/woocommerce-admin#2618 from woocommerce/update/localization-docs
...
Add instructions for translating to contributing docs.
2019-07-10 15:31:06 -06:00
Timmy Crawford
f4735658d7
Revert "Update to new Snackbar component and notice store ( https://github.com/woocommerce/woocommerce-admin/pull/2596 )"
...
This reverts commit 980ff6fa71
.
2019-07-10 09:58:51 -07:00
Jeff Stieler
7a7283dffa
Send a tracks event when the report table filter search is used.
2019-07-10 08:37:02 -06:00
Ron Rennick
57e97b5fb0
Merge pull request woocommerce/woocommerce-admin#2619 from woocommerce/fix/example-readme-format
...
show example extension list as list in readme
2019-07-10 08:31:30 -03:00
Joshua T Flowers
3dfdcdee67
Add list component to packages. ( https://github.com/woocommerce/woocommerce-admin/pull/2616 )
...
* Add list component
* Add list example to devdocs
* Add component changelog entry
2019-07-10 10:25:25 +08:00
Jeff Stieler
ce731b958a
Send tracks event when advanced filter match type is changed.
2019-07-09 16:45:31 -06:00
Jeff Stieler
a13487265c
Send tracks event when table sorting is changed.
2019-07-09 14:38:53 -06:00
Jeff Stieler
f7c48e6738
Send tracks event when report table columns are toggled.
2019-07-09 13:55:51 -06:00
Jeff Stieler
849d556770
Send tracks event for breadcrumb link clicks.
2019-07-09 13:10:49 -06:00
Ron Rennick
4c9e772e20
show example extension list as list in readme
2019-07-09 14:30:04 -03:00
Jeff Stieler
8351c320af
Add instructions for translating to contributing docs.
2019-07-09 10:12:34 -06:00
Ron Rennick
c31d5eeace
Merge pull request woocommerce/woocommerce-admin#2612 from woocommerce/fix/2427
...
exclude old WC auto-draft orders from import
2019-07-09 13:05:36 -03:00
Ron Rennick
b41b5bad0a
change order import label to Orders and Refunds
2019-07-09 09:53:41 -03:00
Joshua T Flowers
489712a752
Fix margin around onboarding inputs ( https://github.com/woocommerce/woocommerce-admin/pull/2611 )
...
* Fix margin on inputs inside onboarding cards
* Update default margin around muriel componets to match wc-admin grid
2019-07-09 10:56:15 +08:00
Joshua T Flowers
fbbd8cfaee
Append '(optional)' to address line 2 label ( https://github.com/woocommerce/woocommerce-admin/pull/2610 )
2019-07-09 10:55:58 +08:00
Renovate Bot
36f1ae3f2c
Lock file maintenance
2019-07-09 00:58:04 +00:00
Paul Sealock
695671257c
Merge pull request woocommerce/woocommerce-admin#2567 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.35.3
2019-07-09 12:51:42 +12:00
Paul Sealock
c0ae7c21e6
Merge pull request woocommerce/woocommerce-admin#2566 from woocommerce/renovate/marked-0.x
...
Update dependency marked to v0.7.0
2019-07-09 12:49:14 +12:00
Paul Sealock
8e8ed2a6b1
Merge pull request woocommerce/woocommerce-admin#2565 from woocommerce/renovate/husky-2.x
...
Update dependency husky to v2.7.0
2019-07-09 12:47:36 +12:00
Paul Sealock
61ac3377dc
Merge pull request woocommerce/woocommerce-admin#2594 from woocommerce/fix/tracks-onclicks
...
Tracks: Fix Link onclick
2019-07-09 08:49:58 +12:00
Paul Sealock
cc4b1bad99
Merge pull request woocommerce/woocommerce-admin#2607 from woocommerce/fix/Layout-propTypes
...
Fix: propType validation warnings on embedded pages
2019-07-09 07:52:31 +12:00
Paul Sealock
314ed6da56
Tracks: Fix Link onclick
2019-07-09 07:51:20 +12:00
Ron Rennick
5e757d2f70
exclude old WC auto-draft orders from import
2019-07-08 15:36:12 -03:00
Ron Rennick
2260e60453
Merge pull request woocommerce/woocommerce-admin#2484 from woocommerce/fix/2400
...
use summary query to total coupons per order
2019-07-08 13:49:17 -03:00
Timmy Crawford
dde788631c
Notes: Type cast is_snoozeable on insert. ( https://github.com/woocommerce/woocommerce-admin/pull/2573 )
2019-07-08 09:48:38 -07:00
Renovate Bot
9c5a7b3b41
Update dependency webpack to v4.35.3
2019-07-08 14:15:43 +00:00
Ron Rennick
6da2728f99
Merge pull request woocommerce/woocommerce-admin#2593 from woocommerce/issue_2591
...
Notes: Only check for scheduled snooze action hourly
2019-07-08 08:39:50 -03:00
Ron Rennick
f29627763a
Merge pull request woocommerce/woocommerce-admin#2602 from woocommerce/fix/2595
...
restore devdocs URLs after hash removal
2019-07-08 08:32:50 -03:00
Joshua T Flowers
980ff6fa71
Update to new Snackbar component and notice store ( https://github.com/woocommerce/woocommerce-admin/pull/2596 )
...
* Add new wordpress/components version and fix dependencies
* Add in snackbar styling and gutenberg variables
* Convert all existing notice actions to wordpress/notices
* Fix linting errors
* Add package.lock changes
* Update search list control snapshots with new attributes
2019-07-08 12:10:34 +08:00
Joshua T Flowers
19870c18c0
Onboarding: Add theme uploader component ( https://github.com/woocommerce/woocommerce-admin/pull/2580 )
...
* Add theme uploader component
* Add theme to theme browser on upload complete
* Add a minimum height to dropzone area
* Use Muriel style Spinner during upload
* Add file field uploader to dropzone for accessibility
* Delete transient on theme install or theme switch
2019-07-08 10:54:26 +08:00
Brent Shepherd
cd87294f70
Only check for scheduled snooze action hourly
...
Using a transient to take advantage of object caching.
Fixes woocommerce/woocommerce-admin#2591 .
2019-07-08 11:55:03 +10:00
Paul Sealock
666dd992e6
Layout: fix propTypes for embedded pages
2019-07-08 12:54:52 +12:00
Renovate Bot
0edb587e9d
Lock file maintenance
2019-07-08 00:36:13 +00:00
Renovate Bot
2bb417ea9c
Update dependency marked to v0.7.0
2019-07-06 04:18:11 +00:00
Ron Rennick
50c415eb80
restore devdocs URLs after hash removal
2019-07-05 16:09:43 -03:00
Ron Rennick
3cc9232c2b
add unit test for multiple coupons on orders
2019-07-05 14:44:08 -03:00
Timmy Crawford
799d0266b1
ReportTable: Add back in ids array generation. ( https://github.com/woocommerce/woocommerce-admin/pull/2571 )
2019-07-05 07:12:32 -07:00
Timmy Crawford
995f26250e
Settings: Fix wsod when no actionable statuses are set. ( https://github.com/woocommerce/woocommerce-admin/pull/2577 )
...
* Fix wsod when no actionable statuses are set.
* Updates per feedback.
2019-07-05 07:12:03 -07:00
Mike Jolley
904ef37fb0
Changelog for component package
2019-07-05 11:26:50 +01:00
Mike Jolley
a89716296c
license typo
2019-07-05 11:26:12 +01:00
Daniel Rey López
08417da553
Allow each page to specify their breadcrumbs without having to render the Header component ( https://github.com/woocommerce/woocommerce-admin/pull/2491 )
...
* Simplify Header rendering, remove the use of react-slot-fill
* Remove the useless "/analytics" route
* Move all the <Header> renders to the new, declarative way of specifying breadcrumbs
* Re-render the Layout when a report is added using the REPORTS_FILTER, since that affects the breadcrumbs output
* Fix the base breadcrumb link and breadcrumbs on embedded pages
* Expanded Layout.propTypes to specify the breadcrumbs' shape
2019-07-05 09:15:49 +01:00
Joshua T Flowers
d640b15d09
Add a theme REST API to allow uploading themes ( https://github.com/woocommerce/woocommerce-admin/pull/2568 )
...
* Add theme upload REST api controller
* Add theme data to theme controller response
* Add tests for themes api
* Change user cap check to upload_themes
* Add test for users without theme capabilities
2019-07-05 16:01:35 +08:00
Timmy Crawford
aaab16086d
Header: Adjust sizes at all breakpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2562 )
...
* Adjust activity panel sizes.
* one header size to rule them all.
2019-07-04 08:58:08 -07:00
Justin Shreve
5a2f0c9da0
Onboarding - Add business extension recommendations ( https://github.com/woocommerce/woocommerce-admin/pull/2551 )
...
* Add business extension recommendations
* Fix failing test. Set max height and width for toggle
* Fix toggle display and fix when the extensions show (so they dont hide and disapear as "currently" selling is selected).
2019-07-04 11:56:28 -04:00
Albert Juhé Lluveras
49d15db27e
Add countLabel prop to SearchListItem ( https://github.com/woocommerce/woocommerce-admin/pull/2569 )
2019-07-04 17:50:56 +02:00
Justin Shreve
393fc3113a
Update color-studio to 1.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2575 )
2019-07-04 10:44:43 -04:00
Joshua T Flowers
6c98e1d5cf
Onboarding: Update theme order and sorting ( https://github.com/woocommerce/woocommerce-admin/pull/2556 )
...
* Only show installed themes with WC support and currently active theme
* Center tab panel buttons
* Fix installed param check typo
* Show installed themes in wc theme fetch fails
2019-07-04 14:12:33 +08:00
Paul Sealock
e56a811394
update packages README
2019-07-04 13:32:13 +12:00
Paul Sealock
1108d327be
Packages: prepare for release
2019-07-04 13:30:25 +12:00
renovate[bot]
972fe4b0cd
Update dependency eslint-plugin-jsx-a11y to v6.2.3 ( https://github.com/woocommerce/woocommerce-admin/pull/2564 )
2019-07-03 12:16:10 -07:00
Jeff Stieler
81a71e608f
Merge pull request woocommerce/woocommerce-admin#2561 from woocommerce/fix/2448-remove-learn-more-link
...
Remove placeholder "learn more" link from excluded status setting.
2019-07-03 08:43:27 -06:00
Jeff Stieler
5b905025fc
Merge pull request woocommerce/woocommerce-admin#2526 from woocommerce/add/311-report-csv-exporter-endpoint
...
Add Report CSV Export Endpoint
2019-07-03 08:43:18 -06:00
Joshua T Flowers
53035e7b1e
Set default values for onboarding select dropdowns ( https://github.com/woocommerce/woocommerce-admin/pull/2534 )
...
* Set default values for onboarding select dropdowns
* Set defaults using onFocus for accessibility
2019-07-03 13:53:00 +08:00
Renovate Bot
52d35a2283
Update dependency husky to v2.7.0
2019-07-03 01:47:37 +00:00
Paul Sealock
d6717eb0db
Merge pull request woocommerce/woocommerce-admin#2557 from woocommerce/add/tracks-chart-table
...
Tracks: Add chart and table events
2019-07-03 13:38:25 +12:00
Paul Sealock
b3bde09814
Merge pull request woocommerce/woocommerce-admin#2444 from woocommerce/update/route-handling
...
Route handling: Remove hash in favor of path parameter
2019-07-03 13:16:04 +12:00
Paul Sealock
7f898194b4
Tracks: add events to chart and table
2019-07-03 11:42:06 +12:00
Paul Sealock
3068013095
remove render404
2019-07-03 11:38:11 +12:00
Paul Sealock
dbd8793c05
leading slash in leaderboards
2019-07-03 10:40:41 +12:00
Timmy Crawford
1814741014
Settings: Better structure to settings page, and protect form changes ( https://github.com/woocommerce/woocommerce-admin/pull/2544 )
...
* Add section header for historical import.
* Add alert on unsaved changes.
* The glass is half full. Therefore my state change should be too.
* Update button text.
2019-07-02 13:50:59 -07:00
Jeff Stieler
c7d94cc929
Use the default "read reports" permission for the export endpoint.
2019-07-02 13:53:42 -06:00
Jeff Stieler
564b618f62
Remove placeholder "learn more" link from excluded status setting.
2019-07-02 13:42:29 -06:00
Jeff Stieler
3350605ef2
Merge pull request woocommerce/woocommerce-admin#2559 from woocommerce/add/2474-inbox-action-click
...
Add tracks event to Store Alert and Inbox Notification action clicks
2019-07-02 13:25:20 -06:00
Jeff Stieler
4a0b5b935a
Merge pull request woocommerce/woocommerce-admin#2560 from woocommerce/add/2474-track-alert-snooze
...
Send tracks event for snoozing store alerts.
2019-07-02 13:25:00 -06:00
renovate[bot]
b6be2eefc6
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2490 )
2019-07-02 12:10:42 -07:00
Timmy Crawford
f60c96b572
Ignore empty wp notice elements. ( https://github.com/woocommerce/woocommerce-admin/pull/2552 )
2019-07-02 08:35:03 -07:00
Timmy Crawford
0c1ed070b9
Examples: Update README ( https://github.com/woocommerce/woocommerce-admin/pull/2554 )
...
quick change to reflect the two new examples in the directory.
2019-07-02 08:34:37 -07:00
Jeff Stieler
bdfe3520c3
Send tracks event for snoozing store alerts.
2019-07-02 09:18:52 -06:00
Jeff Stieler
1270f5204b
Send tracks events for triggered note actions.
2019-07-02 08:29:20 -06:00
Jeff Stieler
cc4ca8b965
Move tracks helper function into core functions file.
2019-07-02 08:27:31 -06:00
Ron Rennick
ca40be6676
Merge pull request woocommerce/woocommerce-admin#2543 from woocommerce/2503-followup
...
Add error checking for failed remote gets added in woocommerce/woocommerce-admin#2503
2019-07-02 10:54:15 -03:00
Paul Sealock
8857635162
fix tests
2019-07-02 12:35:58 +12:00
Paul Sealock
b19e1dd261
Tracks: Add dashboard events
2019-07-02 12:31:48 +12:00
renovate[bot]
d52a32692c
Update dependency locutus to v2.0.11 ( https://github.com/woocommerce/woocommerce-admin/pull/2515 )
2019-07-01 17:26:35 -07:00
renovate[bot]
5f2a6492d4
Update dependency eslint-plugin-react to v7.14.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2513 )
2019-07-01 17:21:20 -07:00
Paul Sealock
9d98f09b64
remove console.log
2019-07-02 12:20:56 +12:00
Paul Sealock
563e94b7a2
add leading slash in path for Leaderboards
2019-07-02 12:19:55 +12:00
renovate[bot]
a12cc1b9e7
Update dependency eslint-plugin-jest to v22.7.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2512 )
2019-07-01 17:16:32 -07:00
renovate[bot]
24ba1b96cb
Update dependency concurrently to v4.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2510 )
2019-07-01 17:08:00 -07:00
renovate[bot]
63217f3975
Update dependency ast-types to v0.13.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2509 )
2019-07-01 17:06:10 -07:00
Paul Sealock
a1a4e04c1f
Merge pull request woocommerce/woocommerce-admin#2546 from woocommerce/fix/variations-low_stock_amount
...
Stock notifs: fix low_stock_amount for variations
2019-07-02 11:18:36 +12:00
Paul Sealock
3bbd19cc4d
Merge pull request woocommerce/woocommerce-admin#2548 from woocommerce/fix/dash-feature-flag-false
...
Customizable dashboard: handle turned off feature flag
2019-07-02 11:17:06 +12:00
Justin Shreve
752f8c456d
Onboarding - Profile Wizard: Add tracks events ( https://github.com/woocommerce/woocommerce-admin/pull/2531 )
...
* Onboarding: Add tracks events
* Update naming, fix how already_selling is determined
2019-07-01 14:13:29 -04:00
Jeff Stieler
e6c445e1d4
Verify that user can view reports before allowing export download.
2019-07-01 12:06:25 -06:00
Paul Sealock
a33bdda62e
Customizable dashboard: handle turned off feature flag
2019-07-01 21:40:50 +12:00
Paul Sealock
d72a0edc0a
Merge branch 'update/route-handling' of github.com:woocommerce/woocommerce-admin into update/route-handling
2019-07-01 20:42:27 +12:00
Paul Sealock
c5c52228b6
update changelog for navigation package
2019-07-01 20:41:57 +12:00
Daniel Rey López
eef988239e
Change all remaining URLs from #/style to ?path=style
2019-07-01 09:15:46 +01:00
Paul Sealock
f6854c377d
Stock notifs: fix low_stock_amount for variations
2019-07-01 15:50:31 +12:00
Paul Sealock
4032c09e67
update id names
2019-07-01 12:33:52 +12:00
Justin Shreve
aed4ea63b4
Server side route handling
2019-07-01 12:22:34 +12:00
Paul Sealock
123af97b1c
Merge pull request woocommerce/woocommerce-admin#2525 from woocommerce/add/filters-tracks
...
Advanced Filters: Add Tracks events
2019-07-01 11:05:59 +12:00
Ron Rennick
ac28e781c7
Small fixes for PR woocommerce/woocommerce-admin#2503
...
- Use get_instance function instead of constructor
- Update URL to be HTTPS
- Add error checking for failed remote gets
2019-06-28 15:58:51 -03:00
Jeff Stieler
35d763fa8c
Merge pull request woocommerce/woocommerce-admin#2463 from KZeni/patch-2
...
Add State alongside City (and other customer info).
2019-06-28 12:24:25 -06:00
Kurt Zenisek
29c5098304
Swapped out postal_code for postcode to fix a bug
2019-06-28 13:15:50 -05:00
Job
b317e43869
Fixes issue with alerts on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2537 )
2019-06-28 10:46:17 -07:00
Jeff Stieler
fbd231acf4
Add test for reports export endpoint.
2019-06-28 11:10:13 -06:00
Jeff Stieler
3ab221db55
Add schema modification to Table Column example plugin.
2019-06-28 11:09:41 -06:00
Jeff Stieler
74ab15aebf
Add report CSV downloading.
2019-06-28 11:09:41 -06:00
Jeff Stieler
c68010f184
Remove user ID from export files.
...
We currently can’t filter Inbox items by user.
2019-06-28 11:09:41 -06:00
Jeff Stieler
bc095bd746
Batch the creation of report export jobs.
2019-06-28 11:09:40 -06:00
Jeff Stieler
916ea55ae9
Respond with an error if there are no items to export.
2019-06-28 11:09:40 -06:00
Jeff Stieler
1650794f2b
Include user ID in report export status key.
2019-06-28 11:09:39 -06:00
Jeff Stieler
b76d7b61fc
Add endpoint for report export status.
2019-06-28 11:09:39 -06:00
Jeff Stieler
73e0c455d7
Add endpoint to initiate report CSV export generation.
2019-06-28 11:09:39 -06:00
Jeff Stieler
b6190e7fb0
Add class to process report exports using action scheduler.
2019-06-28 11:09:38 -06:00
Jeff Stieler
7332b07874
Small tweaks to report CSV exporter to support batching.
...
Use default limit, add public total_rows accessor, auto-load controllers.
2019-06-28 11:09:38 -06:00
Kurt Zenisek
cd743141b1
Renamed "State" label to "Region"
2019-06-28 11:42:28 -05:00
Kurt Zenisek
c2b255360d
Renamed "State" label to "Region"
2019-06-28 11:41:22 -05:00
Jeff Stieler
c787c8c50a
Always return columns in ‘posts_fields’ filters.
2019-06-28 10:40:17 -06:00
Jeff Stieler
ab7ceeed23
Merge pull request woocommerce/woocommerce-admin#2487 from benignant/patch-1
...
Remove style that causes incorrect margins for certain notices
2019-06-28 09:52:42 -06:00
Jeff Stieler
8c40000ec2
Merge pull request woocommerce/woocommerce-admin#2496 from woocommerce/fix/rest-controller-default-params
...
Test that REST controllers work with their default parameters.
2019-06-28 08:52:16 -06:00
Ron Rennick
6982c21d3d
Merge pull request woocommerce/woocommerce-admin#2519 from woocommerce/fix/2495
...
remove double slash from image urls, use string for download ID
2019-06-28 09:28:51 -03:00
Justin Shreve
89c56dba21
Remove hover on Card component ( https://github.com/woocommerce/woocommerce-admin/pull/2529 )
2019-06-28 06:42:09 -04:00
Joshua T Flowers
0bc8c96ace
Add installed themes and WooCommerce support to theme browser ( https://github.com/woocommerce/woocommerce-admin/pull/2503 )
...
* Add theme step to onboarding profiler
* Add installed themes to onboarding theme data
* Add theme status for install themes in frontend
* Add regex test to check for WooCommerce theme support
* Add woocommerce not supported icon and tooltips
* Cache installed themes for performance
* Update themes endpoint to use real wccom endpoint
* Update error icon to use info gridicon
2019-06-28 15:42:20 +08:00
Paul Sealock
e32b5560c0
Advanced Filters: Add Tracks events
2019-06-28 12:34:41 +12:00
Timmy Crawford
54ff76e178
Tracks: Fix double wcadmin_ prefix. ( https://github.com/woocommerce/woocommerce-admin/pull/2532 )
...
* Tracks: Fix double wcadmin_ prefix.
* Update comment
* underscore dangit
2019-06-27 15:56:39 -07:00
Ron Rennick
9f76b02283
set all the unit test download IDs to strings
2019-06-27 17:46:56 -03:00
Paul Sealock
272fad59fb
Merge pull request woocommerce/woocommerce-admin#2507 from woocommerce/release/0.14.0
...
release 0.14.0
2019-06-28 08:13:58 +12:00
Ron Rennick
41e6f63fa9
Merge pull request woocommerce/woocommerce-admin#2462 from woocommerce/fix/2403
...
open external note action links in a new tab
2019-06-27 15:40:52 -03:00
Jeff Stieler
7e87732dfb
Rework test to rely on the REST server handling route defaults.
2019-06-27 11:38:54 -06:00
Ron Rennick
93bcd60f58
check that url is not an empty string
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-06-27 09:33:46 -03:00
Albert Juhé Lluveras
808143d7c9
Remove updated stock products from Activity Panel ( https://github.com/woocommerce/woocommerce-admin/pull/2442 )
...
* Remove updated stock products from Activity Panel
* Use prefers-reduced-motion preference
* Update comparison to check if stock quantity is 'lower or equal to' lowStockAmount
* Focus quantityInput on 'beginEdit' instead of 'componentDidUpdate'
* Add comment explaining why we hide cards
* Refactor updateProductStock action
* Add type and parent_id properties to update
2019-06-27 11:21:43 +02:00
Jeff Stieler
2f4b8272e6
Merge pull request woocommerce/woocommerce-admin#2521 from woocommerce/fix/action-batch-range
...
Fix batch queue range bug.
2019-06-26 19:17:57 -06:00
Daniel Rey López
95c074fbc6
Add a filter to allow other extensions to register new WC-Admin-powered pages ( https://github.com/woocommerce/woocommerce-admin/pull/2492 )
2019-06-27 00:00:23 +01:00
Jeff Stieler
b8abe63d15
Don’t create a batch job that exceeds the range end.
2019-06-26 14:23:56 -06:00
Ron Rennick
7dfc3fe240
use current window for any dashboard URL
2019-06-26 17:16:54 -03:00
Jeff Stieler
5b4d671833
Change test queue batch size.
...
Introduces error condition where range start is beyond the end.
2019-06-26 14:16:33 -06:00
Ron Rennick
57a8fbcb51
remove double slash from image urls, use string for download ID
2019-06-26 16:55:57 -03:00
Ron Rennick
207fc6e9e0
simplify interval array entry check
2019-06-26 16:14:25 -03:00
Jeff Stieler
356f1ada77
Merge pull request woocommerce/woocommerce-admin#2502 from woocommerce/add/311-reports-csv-exporter-class
...
Add Reports CSV Exporter Class
2019-06-26 09:50:06 -06:00
Joshua T Flowers
0de2f70392
Onboarding: Add theme step and theme browser ( https://github.com/woocommerce/woocommerce-admin/pull/2493 )
...
* Add theme data to wcSettings onboarding data
* Add theme step to onboarding profiler
* Use free in place of price if theme is <= 0
* Add theme paid/free filter tabs
2019-06-26 10:22:44 +08:00
Paul Sealock
653a35c653
Release: remove Onboarding updates from changelog
2019-06-26 11:36:05 +12:00
Paul Sealock
442d45e55d
release 0.14.0
2019-06-26 11:34:06 +12:00
Paul Sealock
22fb9d357b
Merge pull request woocommerce/woocommerce-admin#2498 from woocommerce/add/tracks/activity-panel-open
...
Activity Panels: Add track event when panels are opened.
2019-06-26 11:27:32 +12:00
Paul Sealock
1aeb60697e
Update client/header/activity-panel/index.js
2019-06-26 11:20:22 +12:00
Paul Sealock
68c8bfedd9
Table extension: fix page error and jsDoc
2019-06-26 10:28:32 +12:00
Jeff Stieler
466ddda1a6
Add a test of the CSV export to the coupons report.
2019-06-24 19:26:33 -06:00
Jeff Stieler
2b61484246
Load the Report CSV Exporter class.
2019-06-24 19:26:12 -06:00
Timmy Crawford
e2cd150071
Activity Panels: Add track event when panels are opened.
2019-06-24 16:49:52 -07:00
Jeff Stieler
de793076da
Filter out image column when defining report columns.
2019-06-24 15:40:41 -06:00
Jeff Stieler
bff5416df2
Fix Products Report extended info schema.
2019-06-24 15:40:12 -06:00
Jeff Stieler
2c5d3991b5
Fix Orders Report extended info schema.
2019-06-24 13:30:15 -06:00
Ron Rennick
259a2616b1
add get_unique_coupon_count() to count unique coupons for a dataset
2019-06-24 16:19:07 -03:00
Jeff Stieler
83c8f756d8
Apply report controller default parameters for CSV export.
2019-06-24 12:57:07 -06:00
Jeff Stieler
d6d3161bff
Exclude IP download controller from defaults test.
2019-06-24 12:16:58 -06:00
Jeff Stieler
3a1501df29
Add default stats param for performance indicators.
...
Also, use the allowed stats for the value enum.
2019-06-24 10:55:43 -06:00
Jeff Stieler
6738d6c8cf
Fix default status value on Orders controller.
2019-06-24 10:55:43 -06:00
Jeff Stieler
4711a4e11d
Ensure coupons are enabled for testing.
2019-06-24 10:55:43 -06:00
Jeff Stieler
7e14630b3b
Set default params on each test request, and use an admin user.
2019-06-24 10:55:40 -06:00
Jeff Stieler
ff8615dac7
Test that all REST controllers can be called with default params.
2019-06-24 10:50:21 -06:00
Daniel Rey López
2ce8c97c48
Remove the "wpClosedMenu" page setting ( https://github.com/woocommerce/woocommerce-admin/pull/2441 )
2019-06-24 08:43:19 +01:00
benignant
a8b69be326
Remove declaration that causes incorrect margins
...
The declaration in question causes notices that are not collapsed and do not have the 'updated' class to have incorrect margins.
2019-06-23 00:35:51 -04:00
Joshua T Flowers
cf0e4ff1f7
Onboarding: Pull dynamic prices for product types ( https://github.com/woocommerce/woocommerce-admin/pull/2467 )
...
* Get dynamic price data from wccom and append to product types
* Remove redundant data from product types
* Only add product types if profiler is not skipped or completed
* Cache product data fetch from wccom
2019-06-22 12:02:11 +08:00
Justin Shreve
592c9d8e15
Save value of the tracking setting on both 'next' and 'skip profiler actions ( https://github.com/woocommerce/woocommerce-admin/pull/2468 )
2019-06-21 12:51:56 -04:00
Justin Shreve
762a2d6540
Fix mobile stepper positioning on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2472 )
2019-06-21 12:49:44 -04:00
Jeff Stieler
c13d35c68a
JSON encode non-scalar values for CSV.
2019-06-21 10:40:06 -06:00
Jeff Stieler
f0a01b09c0
Remove columns with CSV-unfriendly values, like HTML.
2019-06-21 10:38:36 -06:00
Jeff Stieler
0c9ef05103
Include export type with column value callback.
2019-06-21 10:38:01 -06:00
Ron Rennick
5038c672ee
use summary query to total coupons per order
2019-06-21 12:47:02 -03:00
Jeff Stieler
fbc28cb265
Merge pull request woocommerce/woocommerce-admin#2464 from woocommerce/fix/1985-fatal-get-customer-id
...
Check for good WC_Orders before using instance methods.
2019-06-21 08:08:12 -06:00
Ron Rennick
945baebf5e
Merge pull request woocommerce/woocommerce-admin#2457 from woocommerce/fix/readme-typo
...
fix typo in readme changelog for 0.13.0
2019-06-21 08:38:01 -03:00
Jeff Stieler
2cb63e79d2
Add CSV exporter class for reports.
2019-06-20 19:01:38 -06:00
Kurt Zenisek
ce8d670420
Increased assertCount to accommodate the added data point
2019-06-20 14:24:14 -05:00
Jeff Stieler
f75e3c7820
Check for good WC_Orders before using instance methods.
2019-06-20 08:31:10 -06:00
Ron Rennick
a05daef8d7
update URL test to wc-admin#/
2019-06-20 10:49:25 -03:00
Albert Juhé Lluveras
88eb5b0bc5
Add wp-api-fetch script to dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2460 )
2019-06-20 10:53:02 +02:00
Paul Sealock
01ed625280
Merge pull request woocommerce/woocommerce-admin#2440 from woocommerce/extend/report-tables
...
Report Tables: Add example extension
2019-06-20 20:26:25 +12:00
Paul Sealock
68a95f8a83
Report Tables: extend columns
2019-06-20 20:03:56 +12:00
Joshua T Flowers
ee81663f99
Prevent duplicate customer imports ( https://github.com/woocommerce/woocommerce-admin/pull/2428 )
...
* Get customer ID from existing order ID if present
* Use get_report_customer_id method in order for both orders and refunds
2019-06-20 12:03:55 +08:00
Joshua T Flowers
57416a2bdb
Refactor customer name retrieval ( https://github.com/woocommerce/woocommerce-admin/pull/2418 )
...
* Return early from creating customer if order is false
* Refactor customer first and last name methods
* Separate customer name tests to create guest orders
* Check for parent_id before retrieving customer ID in refund
* Use registered customer ID in import report tests
* Compare absolute integer when checking for valid customer ID
* Check for order before getting customer ID when retrieving existing customer ID
2019-06-20 11:22:47 +08:00
Kurt Zenisek
228acaf09e
Added state alongside city & other info, and made location info sortable for convenient grouping of data at a glance.
...
I figured there's no reason you couldn't sort by the location data just so you can group them together (ex. quickly see how many are from a specific state at a glance rather than having it spread out & not having a means to group them together from this view.)
2019-06-19 17:15:58 -05:00
Kurt Zenisek
7e7583710a
Added state alongside city & other info
2019-06-19 17:13:43 -05:00
Kurt Zenisek
fccbd105f1
Added state alongside city & other info
2019-06-19 17:13:05 -05:00
Kurt Zenisek
25be322d29
Added state alongside city & other info
2019-06-19 17:12:17 -05:00
Kurt Zenisek
a39c885160
Added state alongside city & other info
2019-06-19 17:11:24 -05:00
Ron Rennick
46ef804ae4
open external note action links in a new tab
2019-06-19 16:23:32 -03:00
Ron Rennick
48ca0c71f3
fix typo in readme changelog for 0.13.0
2019-06-19 11:05:21 -03:00
renovate[bot]
4d419f6b1d
Update dependency @octokit/rest to v16.28.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2459 )
2019-06-19 14:00:23 +08:00
renovate[bot]
d025d7d42c
Update dependency dompurify to v1.0.11 ( https://github.com/woocommerce/woocommerce-admin/pull/2458 )
2019-06-19 13:57:27 +08:00
renovate[bot]
a1e87ed972
Update dependency babel-eslint to v10.0.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2456 )
2019-06-19 10:56:15 +08:00
renovate[bot]
62af41d457
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2455 )
2019-06-19 10:55:02 +08:00
Albert Juhé Lluveras
4174db4874
Allow keyboard interaction in Stock Activity Panel form ( https://github.com/woocommerce/woocommerce-admin/pull/2447 )
2019-06-18 17:58:10 +02:00
Ron Rennick
223f8ca550
Merge pull request woocommerce/woocommerce-admin#2443 from woocommerce/update-tested-to-version
...
update tested to version in plugin repo readme.txt
2019-06-18 09:30:44 -03:00
Paul Sealock
4edc9cdb9e
Merge pull request woocommerce/woocommerce-admin#2437 from woocommerce/fix/changelog-note-option
...
Changelog script: Use PR author note, if supplied
2019-06-18 22:29:10 +12:00
Paul Sealock
c207c545e6
Changelog: Use author's note, if supplied
2019-06-18 22:11:58 +12:00
Albert Juhé Lluveras
e80530a614
Fix Activity Panel being overlapped by editor toolbar ( https://github.com/woocommerce/woocommerce-admin/pull/2446 )
2019-06-18 11:33:39 +02:00
Paul Sealock
8aaa18c339
Merge pull request woocommerce/woocommerce-admin#2425 from woocommerce/fix/potential-endless-syncs
...
Action Scheduler: fix potential endless sync
2019-06-18 10:50:38 +12:00
Jeff Stieler
3cc57dca6d
Merge pull request woocommerce/woocommerce-admin#2424 from woocommerce/add/test-version-bump
...
Add test to catch missing version updates.
2019-06-17 16:39:24 -06:00
Paul Sealock
18d535d65a
Action Scheduler: fix potential endless sync
2019-06-18 10:39:16 +12:00
Ron Rennick
22db75a802
update tested to version in plugin repo readme.txt
2019-06-17 16:22:11 -03:00
Ron Rennick
18d3486618
Merge pull request woocommerce/woocommerce-admin#2228 from woocommerce/fix/2188
...
add match=any support for advanced orders table filter
2019-06-17 11:47:58 -03:00
Jeff Stieler
d3be24891c
Warn against directly updating the plugin version constant.
2019-06-17 08:40:37 -06:00
Albert Juhé Lluveras
d65736c5f3
Remove test menu from Orders panel ( https://github.com/woocommerce/woocommerce-admin/pull/2438 )
2019-06-17 10:09:59 +02:00
renovate[bot]
170b815477
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2436 )
2019-06-17 15:59:58 +08:00
Paul Sealock
31f805f651
Merge pull request woocommerce/woocommerce-admin#2433 from woocommerce/changelog/omit-unmerged-prs
...
Changelog: Omit unmerged pull requests
2019-06-17 09:56:23 +12:00
Albert Juhé Lluveras
61fda5af56
Update Dashboard Charts naming and order ( https://github.com/woocommerce/woocommerce-admin/pull/2429 )
2019-06-15 14:12:19 +02:00
Paul Sealock
77f8d7a108
Changelog: Omit unmerged pull requests
2019-06-15 19:25:04 +12:00
Jeff Stieler
4b536ec1e0
Remove unnecessary WP style dependencies.
...
Use WP component styles instead of full edit-blocks styles.
2019-06-14 11:13:59 -06:00
Jeff Stieler
e235dd3f40
Fix version constant update logic.
2019-06-14 10:29:03 -06:00
Albert Juhé Lluveras
15ecc94252
Fix conflicts with WordPress.com toolbar ( https://github.com/woocommerce/woocommerce-admin/pull/2431 )
...
* Fix conflicts with WordPress.com toolbar
* Simplify selector
* Decrease z-index of header
* Remove unnecessary important
2019-06-14 17:48:28 +02:00
Jeff Stieler
4c62701b86
Merge pull request woocommerce/woocommerce-admin#2423 from woocommerce/fix/2288-unhandled-rest-requests-wp-error
...
Performance indicators - bail whenever an internal API request fails.
2019-06-14 09:20:02 -06:00
Albert Juhé Lluveras
d6e37124c7
Fix some Dashboard charts using wrong endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/2417 )
2019-06-14 10:54:12 +02:00
Paul Sealock
8d7299538e
Merge pull request woocommerce/woocommerce-admin#2412 from woocommerce/add/changelog-script
...
Add changelog script
2019-06-14 20:24:29 +12:00
Paul Sealock
2ad2bf84bb
Add changelog script
2019-06-14 20:15:04 +12:00
Jeff Stieler
d4e242b028
Add test to catch missing version updates.
2019-06-13 15:40:02 -06:00
Jeff Stieler
489f740741
Handle no data / error case for preloaded endpoint data.
2019-06-13 14:54:10 -06:00
Paul Sealock
4aab25b8ba
Table queries: remove befor/after from no interval endpoints
2019-06-14 06:21:35 +12:00
Ron Rennick
241ebb63ff
Merge pull request woocommerce/woocommerce-admin#2407 from woocommerce/fix/2354
...
Update Amount of {Item} to Number of {Item} when it's a count throughout
2019-06-13 13:41:15 -03:00
Ron Rennick
cfa913a4b8
update status query to OR when there is a status filter
2019-06-13 13:10:46 -03:00
Albert Juhé Lluveras
3e0d296646
Fix search bar in Orders page not being tapable on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2384 )
...
* Fix search bar in Orders page not being tapable on mobile
* Cleanup
* Remove unnecessary duplicated media-query
* Cleanup
2019-06-13 18:07:02 +02:00
Joshua T Flowers
2f49a0a5a7
Prevent multiple imports from running simultaneously ( https://github.com/woocommerce/woocommerce-admin/pull/2414 )
...
* Prevent multiple imports from running simultaneously
* Cancel previous imports before importing again in tests
2019-06-13 23:32:58 +08:00
Jeff Stieler
9170b5a46e
Tag 0.13.2
...
Bump version so database migrations are run.
2019-06-13 08:56:49 -06:00
Ron Rennick
234d53975e
change 2 other Amount strings to Number
2019-06-13 11:27:44 -03:00
Jeff Stieler
acafd46849
Fix change log formatting.
...
Remove duplicate section headers and complete version heading formats.
2019-06-13 07:56:22 -06:00
Paul Sealock
be61ba331a
Merge pull request woocommerce/woocommerce-admin#2410 from woocommerce/fix/woocommerce-disabled-fatal
...
Fix: Exit deactivate early if WooCommerce not active.
2019-06-13 13:43:37 +12:00
Timmy Crawford
c5b24567fc
Fix: Exit deactivate early if WooCommerce not active.
2019-06-12 17:16:04 -07:00
Paul Sealock
2ad2c0f420
Release 0.13.0
2019-06-13 10:55:19 +12:00
Paul Sealock
b76b259d82
Merge pull request woocommerce/woocommerce-admin#2385 from woocommerce/fix/2343-skip_existing-not-importing-all-data
...
Fix some data not to being imported when 'skip_existing' option is enabled
2019-06-13 10:19:56 +12:00
Albert Juhé Lluveras
db169972d2
Fix comment
2019-06-12 23:58:20 +02:00
Albert Juhé Lluveras
4a5be15057
Merge branch 'master' into fix/2343-skip_existing-not-importing-all-data
2019-06-12 23:56:35 +02:00
Albert Juhé Lluveras
b1bd53cb4e
Adds comments to explain why page is fixed when skip_existing is set to true
2019-06-12 23:51:56 +02:00
Albert Juhé Lluveras
2d4b7b9938
Fix Activity Panel layout on mobile ( https://github.com/woocommerce/woocommerce-admin/pull/2405 )
2019-06-12 23:51:08 +02:00
Jeff Stieler
698c373a67
Merge pull request woocommerce/woocommerce-admin#2353 from woocommerce/renovate/lock-file-maintenance
...
Lock file maintenance
2019-06-12 23:47:59 +02:00
Renovate Bot
281060acdb
Lock file maintenance
2019-06-12 21:26:43 +00:00
Paul Sealock
2e0ef7f93c
Notes: update sales record link
2019-06-13 09:26:05 +12:00
Paul Sealock
ed21ccf62e
Merge pull request woocommerce/woocommerce-admin#2387 from woocommerce/fix/2365-improve-tab-switching-read-suppression
...
Improve hidden tab suppression/fix rapid requests
2019-06-13 09:22:48 +12:00
Renovate Bot
e04862ef7e
Update dependency lerna to v3.15.0
2019-06-12 15:01:10 -06:00
Jeff Stieler
c2ca48274e
Merge pull request woocommerce/woocommerce-admin#2398 from woocommerce/renovate/husky-2.x
...
Update dependency husky to v2
2019-06-12 22:55:32 +02:00
Jeff Stieler
bde6e15c53
Merge pull request woocommerce/woocommerce-admin#2395 from woocommerce/renovate/css-loader-3.x
...
Update dependency css-loader to v3
2019-06-12 22:49:18 +02:00
Ron Rennick
6b02ee217c
Update Amount of Orders to Number of Orders throughout
2019-06-12 16:16:18 -03:00
Joshua Flowers
e518f13444
Cancel all wc-admin actions on deactivate
2019-06-12 13:11:13 -06:00
Joshua Flowers
4f44f97a67
Fix uninstall classes and move table deletion to uninstall
2019-06-12 13:11:13 -06:00
Joshua Flowers
9028488548
Remove table data on plugin deactivate
2019-06-12 13:11:13 -06:00
Jeff Stieler
ea12ad086b
Merge pull request woocommerce/woocommerce-admin#2402 from woocommerce/add/uninstall-on-release
...
Add uninstall file to release ZIP
2019-06-12 21:09:51 +02:00
Jeff Stieler
f88efb3173
Don’t dispatch fresh-data request actions when document is hidden.
2019-06-12 12:58:46 -06:00
Jeff Stieler
6f9681ff53
Merge pull request woocommerce/woocommerce-admin#2359 from woocommerce/renovate/wordpress-monorepo
...
Update wordpress monorepo
2019-06-12 20:48:29 +02:00
Jeff Stieler
8c9328c382
Specify trusty dist for Travis builds.
2019-06-12 11:52:51 -06:00
Jeff Stieler
3f2957dc0d
Update new sass variable.
2019-06-12 11:37:13 -06:00
Joshua T Flowers
81ffa853f3
Remove table data on plugin uninstall ( https://github.com/woocommerce/woocommerce-admin/pull/2399 )
...
* Remove table data on plugin deactivate
* Fix uninstall classes and move table deletion to uninstall
2019-06-13 00:16:08 +08:00
Jeff Stieler
b83ef86add
Merge pull request woocommerce/woocommerce-admin#2325 from woocommerce/add/admin-note-trigger-action
...
Trigger an action server side when admin note actions are clicked
2019-06-12 17:04:10 +02:00
Albert Juhé Lluveras
9f0ab4ec76
Add uninstall file to release ZIP file
2019-06-12 11:51:42 +02:00
Albert Juhé Lluveras
8bc2261c8a
Add date_created_gmt property to orders endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/2086 )
...
* Add date_created_gmt property to orders enpoint
* Make date_created properties of type date-time and improve descriptions
2019-06-12 11:21:56 +02:00
Joshua T Flowers
95d1a1d245
Add onbaording step 7 - Business Details ( https://github.com/woocommerce/woocommerce-admin/pull/2347 )
2019-06-12 11:56:10 +08:00
Renovate Bot
71287787cc
Update dependency husky to v2
2019-06-12 02:56:42 +00:00
Renovate Bot
484e377cdf
Update dependency css-loader to v3
2019-06-12 01:41:42 +00:00
Paul Sealock
4c3f122e89
Merge pull request woocommerce/woocommerce-admin#2292 from woocommerce/add/default-date-settings
...
Settings: Add default date settings
2019-06-12 11:48:01 +12:00
Paul Sealock
dbd536c7a3
Settings: Add default date
2019-06-12 11:40:21 +12:00
Renovate Bot
493629113b
Update wordpress monorepo
2019-06-11 21:56:55 +00:00
Renovate Bot
a9d913295a
Update dependency copy-webpack-plugin to v5
2019-06-11 21:50:09 +00:00
Renovate Bot
3fdc812305
Update dependency webpack-cli to v3.3.4
2019-06-11 21:28:35 +00:00
Jeff Stieler
e50edf6ea3
Merge pull request woocommerce/woocommerce-admin#2357 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.33.0
2019-06-11 23:25:46 +02:00
Jeff Stieler
49a65bd9e7
Merge pull request woocommerce/woocommerce-admin#2356 from woocommerce/renovate/reactrouter-monorepo
...
Update dependency react-router-dom to v5.0.1
2019-06-11 23:18:27 +02:00
Jeff Stieler
88f51e9119
Merge pull request woocommerce/woocommerce-admin#2355 from woocommerce/renovate/autoprefixer-9.x
...
Update dependency autoprefixer to v9.6.0
2019-06-11 23:12:38 +02:00
Jeff Stieler
1825c30b26
Performance indicators - bail whenever an internal API request fails.
2019-06-11 14:10:59 -06:00
Jeff Stieler
4ae938c99d
Only update the status of a note if the triggered action is non-empty.
2019-06-11 12:38:49 -06:00
Albert Juhé Lluveras
ddbb8f0be8
Add tracks to import jobs ( https://github.com/woocommerce/woocommerce-admin/pull/2193 )
...
* Add tracks to import jobs
* Include tracks client if missing when recording events
* Add batch_number, batch_size and import_count properties to import jobs
* Reorder code
2019-06-11 19:55:10 +02:00
Timmy Crawford
39d5c09c81
Notes: Add filters to disable milestone and sales record notes. ( https://github.com/woocommerce/woocommerce-admin/pull/2227 )
...
* Add filters to disable milestone and sales record notes.
* Updates per feedback.
2019-06-11 08:12:16 -07:00
Albert Juhé Lluveras
5d01cee56c
Add progress bars to Historical Data Import screen ( https://github.com/woocommerce/woocommerce-admin/pull/2312 )
...
* Hook up import/status endpoint to Historical Data Import screen
* Fix PHP tests
* Add speak message when the import is complete
* Several fixes
* Cleanup
* Update progress bars every 3 seconds and bugfixes
* Rename ongoingImport to activeImport
* Use timestamp to identify queries
* Use timestamps for historical data state
* Add 'initializing' status
* Cleanup
* Pass less props around
* Refactor getStatus
* Set stop timestamp on request error
* Typo
2019-06-11 14:47:53 +02:00
Albert Juhé Lluveras
3123c4e047
Fix wrong average numbers in chart legends ( https://github.com/woocommerce/woocommerce-admin/pull/2352 )
...
* Fix wrong average numbers in chart legends
* Dashboard Extension example: update legend totals
* Rename 'totals' to 'legendTotals'
* Make sure legendTotals includes key property
2019-06-11 14:31:53 +02:00
Albert Juhé Lluveras
8790655c39
Make sure notices element exist before creating <WordPressNotices> ( https://github.com/woocommerce/woocommerce-admin/pull/2378 )
2019-06-11 14:14:06 +02:00
coderkevin
78e85f87c3
Improve hidden tab suppression/fix rapid requests
...
This fixes the rapid request problem that was happening when switching
tabs while having timed out requests. It changes the approach from
suppressing the actions sent out to preventing the read function from
being called at all.
I think the original problem has occurred because the original approach
was relying on an internal implementation of apiFetch from wp.data. This
new approach does not have such a dependency. It prevents apiFetch from
even being called. However, in the process, it will also prevent any
newly required resources from being fetched if the user manages to
switch tabs before it is requested. (e.g. refresh, then switch tabs
quickly).
2019-06-10 17:03:08 -05:00
Albert Juhé Lluveras
5a732d565a
Fix 'skip_existing' option making not all data not to be imported
2019-06-10 12:45:01 +02:00
Albert Juhé Lluveras
8ed63c5547
Remove second beta warning from readme ( https://github.com/woocommerce/woocommerce-admin/pull/2362 )
2019-06-09 11:38:53 +02:00
Mike Jolley
3bd945511a
Merge pull request woocommerce/woocommerce-admin#2191 from woocommerce/fix/low-stock-handling
...
Low stock handling inconsistencies with WooCommerce 3.6+
2019-06-06 12:15:46 +02:00
Paul Sealock
39d9ed38ed
Merge pull request woocommerce/woocommerce-admin#2369 from shoheitanaka/patch-2
...
Double space at 191 row
2019-06-06 10:13:16 +02:00
Shohei Tanaka
85bd2ce168
Double space at 191 row
...
I find double space, like misspelling.
2019-06-06 15:18:33 +09:00
Shohei Tanaka
fccf1f6156
Misspelling at update config.jp
...
This sentence is order, but older.
2019-06-06 14:54:28 +09:00
Renovate Bot
4e9acf6a32
Update dependency webpack to v4.33.0
2019-06-05 01:39:37 +00:00
Renovate Bot
42bc4ce0a1
Update dependency react-router-dom to v5.0.1
2019-06-05 00:36:05 +00:00
Renovate Bot
49310077d2
Update dependency autoprefixer to v9.6.0
2019-06-05 00:34:34 +00:00
Jeff Stieler
5785dfdfba
Only animate actioned notes if no reduced motion preference.
...
Speed up animation as well.
2019-05-31 10:02:26 -06:00
Jeff Stieler
6005cbbf05
Speed up admin note fade out animation.
2019-05-31 10:02:26 -06:00
Jeff Stieler
e1722a9ab8
Fix typo.
2019-05-31 10:02:26 -06:00
Jeff Stieler
82edc1c8c8
Only show unactioned notes in the Inbox panel.
...
And hide notes once an action has been taken.
2019-05-31 10:02:25 -06:00
Jeff Stieler
5a49991cb1
Trigger a note action on button click.
2019-05-31 09:59:20 -06:00
Jeff Stieler
698f947c16
Include the corresponding note in triggered action hook.
2019-05-31 09:59:20 -06:00
Jeff Stieler
17d793d731
Add endpoint for triggering note actions.
2019-05-31 09:59:20 -06:00
Jeff Stieler
8867152d88
Include ID when retrieving note action data.
2019-05-31 09:59:20 -06:00
Jeff Stieler
b06c392ab3
Prevent double escaping of note action URLs.
2019-05-31 09:59:21 -06:00
Joshua T Flowers
c524cb905f
Put onboarding controllers behind feature flag check ( https://github.com/woocommerce/woocommerce-admin/pull/2350 )
...
* Put onboarding controllers behind feature flag check
* Don't load profileItems if onboarding is disabled
2019-05-31 16:55:52 +02:00
Albert Juhé Lluveras
1939ea084c
Transpile newspack-components package ( https://github.com/woocommerce/woocommerce-admin/pull/2348 )
2019-05-31 10:34:26 +02:00
Joshua T Flowers
a9e4feb454
Hook up onboarding step 1 actions ( https://github.com/woocommerce/woocommerce-admin/pull/2334 )
...
* Hook up onboarding step 1 actions
* Remove updateProfile method from profile wizard
* Fix profile completion updates on last step
2019-05-31 12:51:33 +08:00
Jeff Stieler
0756dd929b
Merge pull request woocommerce/woocommerce-admin#2324 from woocommerce/add/admin-note-without-link
...
Allow note action URLs to be empty.
2019-05-30 10:42:02 -06:00
Jeff Stieler
c10988bc54
Merge pull request woocommerce/woocommerce-admin#2344 from woocommerce/add/paragraph-support-admin-notes
...
Allow paragraph tags in admin notes.
2019-05-30 10:40:59 -06:00
Joshua T Flowers
7622dee166
Add onboarding step 6 - Product Types ( https://github.com/woocommerce/woocommerce-admin/pull/2335 )
...
* Add product type information to onboarding
* Add product types step to onboarding profiler
* Update product type prices and learn more URLs
* Add styling to allow help text in checkbox group
* Match button and card action styling
2019-05-30 16:36:02 +08:00
Joshua T Flowers
b6b411bab4
Add onboarding step 4 ( https://github.com/woocommerce/woocommerce-admin/pull/2304 )
...
* Add store details onboarding step
* Hide hide disabled buttons in card content area
* Save store details to wc settings
* Remove email field from store details
* Add city field to store details
* Store countryState options in state to avoid recalculating on rerender
* Add muriel component style changes
* Continue to next form step if form input is valid
2019-05-30 15:15:39 +08:00
Justin Shreve
423757a7e2
Add Onboarding Step 5 - Industry ( https://github.com/woocommerce/woocommerce-admin/pull/2323 )
...
* Add Onboarding Step 5 - Industry
* Handle PR feedback: Switch to updateProfileItems, remove unnecessary css class, remove unecessary translation call
2019-05-30 14:31:07 +08:00
Jeff Stieler
8fad6e7dd7
Allow paragraph tags in admin notes.
2019-05-29 16:28:37 -06:00
renovate[bot]
186aa90c90
Update dependency core-js to v2.6.9 ( https://github.com/woocommerce/woocommerce-admin/pull/2329 )
2019-05-29 18:20:54 -04:00
renovate[bot]
bc13d8a292
Update dependency mini-css-extract-plugin to v0.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2331 )
2019-05-29 18:17:02 -04:00
renovate[bot]
9eb3cc7352
Update dependency recast to v0.18.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2332 )
2019-05-29 11:21:23 -04:00
renovate[bot]
94f3b9ff8b
Update dependency eslint-plugin-jest to v22.6.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2330 )
2019-05-29 11:16:32 -04:00
renovate[bot]
d3872ae506
Update dependency webpack to v4.32.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2333 )
2019-05-29 11:12:41 -04:00
renovate[bot]
b0b49eed53
Update dependency color-studio to v1.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2328 )
2019-05-29 11:08:31 -04:00
Jeff Stieler
d7628ccad4
Remove beta warning from readme.
2019-05-29 08:30:00 -06:00
Ron Rennick
eaa0088fd4
Merge pull request woocommerce/woocommerce-admin#2320 from woocommerce/fix/2314
...
allow additional parameters in the page query string
2019-05-28 12:08:07 -03:00
Justin Shreve
0de8594b9f
Remove customizable dashboarding heading ( https://github.com/woocommerce/woocommerce-admin/pull/2321 )
2019-05-28 10:47:19 -04:00
Joshua T Flowers
3b945b4bba
Add profile onboarding mutators and selectors to wc-api ( https://github.com/woocommerce/woocommerce-admin/pull/2310 )
...
* Add onboarding profile selectors and mutators to wc-api
* Show onboarding profiler depending on API results
* Add initial state hydration for onboarding profile
* Add onboarding namespace constant
2019-05-28 22:45:52 +08:00
Joshua T Flowers
4c8487abad
Fix boolean casting in profile controller params ( https://github.com/woocommerce/woocommerce-admin/pull/2316 )
...
* Fix boolean casting in profile controller params
* Update onboarding profile API tests
2019-05-28 22:43:00 +08:00
Joshua T Flowers
74d02bc717
Store state settings individually to prevent overwriting ( https://github.com/woocommerce/woocommerce-admin/pull/2317 )
2019-05-28 22:23:05 +08:00
Justin Shreve
821408fc83
Add Muriel/Newspack components for use in onboarding ( https://github.com/woocommerce/woocommerce-admin/pull/2313 )
...
* Add Muriel/Newspack components for use in onboarding
* Adjust some alignment
2019-05-28 10:05:55 -04:00
Joshua T Flowers
5e8509edd3
Onboarding: Add profiler body class on initial load + respect skipped/completed flags ( https://github.com/woocommerce/woocommerce-admin/pull/2300 ) ( https://github.com/woocommerce/woocommerce-admin/pull/2318 )
...
* Add profiler body class on initial load, and respect skipped/complete status.
* Handle PR feedback: Remove unnecessary global, add some todos, added a filter around the next step slug, generalized the is-loading class a bit.
2019-05-28 06:38:01 -04:00
Ron Rennick
d0cee1e37b
allow additional parameters in the page query string
2019-05-28 05:20:54 -03:00
Joshua T Flowers
cda83b4509
Onboarding - Add shared step actions and step 1 actions ( https://github.com/woocommerce/woocommerce-admin/pull/2283 )
...
* Add method to go to next profiler step in step controller
* Add method to update profile params in step controller
* Add action methods to step 1 in the profiler
* Allow JSON body params for profile controller
* Use JSON body params in onboarding profile tests
2019-05-28 11:09:48 +08:00
Paul Sealock
bebdb63fe6
Merge pull request woocommerce/woocommerce-admin#2301 from woocommerce/fix/controller-docs
...
Extensions: fix registering a page
2019-05-28 06:49:55 +12:00
Paul Sealock
02f232b39f
Suggest text-domain in docs, not woocommerce-admin
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-05-28 06:41:46 +12:00
Paul Sealock
2c87233c24
Merge pull request woocommerce/woocommerce-admin#2302 from woocommerce/fix/duplicate-ext-names
...
Dashboard Extension Example: Make namespace unique
2019-05-28 06:40:29 +12:00
Justin Shreve
fa673a66c6
Update Profile Wizard Header to Display Stepper ( https://github.com/woocommerce/woocommerce-admin/pull/2296 )
...
* Update Profile Wizard Header to contain steps
* Handle PR Feedback: Fix wpbody-content height only applying on onboarding routes, fix width/alignment of stepper.
2019-05-27 12:37:02 -04:00
renovate[bot]
e21a8f6b91
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2308 )
2019-05-27 09:47:52 -04:00
Albert Juhé Lluveras
66e6820b88
Add missing space in Orders Activity Panel card ( https://github.com/woocommerce/woocommerce-admin/pull/2306 )
2019-05-27 11:38:50 +02:00
Ron Rennick
08f542de3f
Merge pull request woocommerce/woocommerce-admin#2263 from woocommerce/consistent-licenses
...
include license.txt and update component package.json files
2019-05-24 23:29:41 -03:00
Jeff Stieler
0d9784700c
Allow note action URLs to be empty.
2019-05-24 13:05:12 -04:00
Joshua T Flowers
72206d296c
Update settings wc-api to accept multiple setting groups ( https://github.com/woocommerce/woocommerce-admin/pull/2293 )
...
* Allow getSettings to read settings from any group
* Change updateSettings to accept object with multiple setting groups
2019-05-24 15:22:21 +08:00
Paul Sealock
f2fae218ef
Dashboard Extension Example: Make namespace unique
2019-05-24 11:58:00 +12:00
Paul Sealock
01b84f1c41
Extensions: fix registering a page
2019-05-24 11:42:01 +12:00
Paul Sealock
a0ad2f1fa7
Merge pull request woocommerce/woocommerce-admin#2225 from woocommerce/fix/persistedQuery-sidebar
...
Persisted Queries: Avoid adding to non time related screens
2019-05-24 08:47:06 +12:00
Paul Sealock
f9bad3646d
Persisted Queries: Avoid non-time related screens
2019-05-24 08:38:52 +12:00
Paul Sealock
1c750474a0
Merge pull request woocommerce/woocommerce-admin#2280 from woocommerce/add/dashboard-section-example
...
Dashboard Extentions: Add a section
2019-05-24 08:37:41 +12:00
Paul Sealock
67f9081579
Add analytics card class to chart
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-05-24 08:09:59 +12:00
Jeff Stieler
c4a6471e9c
Merge pull request woocommerce/woocommerce-admin#2291 from woocommerce/fix/2192-screen-meta-links
...
Move StoreAlerts below screen meta links on embed pages.
2019-05-23 11:25:06 -06:00
Jeff Stieler
34b1c19456
Fix reflow on mobile when no alerts are present.
...
Co-Authored-By: Albert Juhé Lluveras <aljullu@gmail.com>
2019-05-23 11:10:41 -06:00
Jeff Stieler
5fc0f03713
Reduce the top padding for StoreAlerts in mobile.
2019-05-23 10:39:09 -06:00
Jeff Stieler
f4d9818fc8
Remove unused layout component and export.
2019-05-23 10:38:45 -06:00
Justin Shreve
c921593cfd
Add Muriel Styled Spinner ( https://github.com/woocommerce/woocommerce-admin/pull/2289 )
...
* Add Muriel Styled Spinner
* Handle PR feedback: Fix ordering of example components, fix tabbing/spacing in stepper example file, and fix base muriel colors for the stepper and profile wizard.
2019-05-23 08:42:58 -04:00
Justin Shreve
0e1db89f67
Add onboarding plugin installation (step 2) ( https://github.com/woocommerce/woocommerce-admin/pull/2270 )
...
* Add onboarding plugin installation (step 2)
* Handle PR Feedback: Fix vertical label display on mobile, fix Jetpack connect URL generation, so we make sure the plugin is active first, add new constant for local calypso development, fix typo, refactor activatePlugin/installPlugin on the JS side, sanitize plugin name input.
2019-05-23 08:10:42 -04:00
Albert Juhé Lluveras
37fab0227d
Prevent screen meta reflows
2019-05-23 11:43:57 +02:00
Albert Juhé Lluveras
539407bc85
Remove d3-array dependency ( https://github.com/woocommerce/woocommerce-admin/pull/2286 )
2019-05-23 10:01:34 +02:00
Timmy Crawford
76ac6ec282
Add a prompt for Changelog entry in PR template. ( https://github.com/woocommerce/woocommerce-admin/pull/2251 )
2019-05-22 15:23:41 -07:00
Jeff Stieler
9578280423
Move StoreAlerts below screen meta links on embed pages.
2019-05-22 14:59:18 -06:00
Justin Shreve
9eedd00d52
Fix `box-shadow-8dp` error. ( https://github.com/woocommerce/woocommerce-admin/pull/2290 )
2019-05-22 16:54:31 -04:00
Paul Sealock
68f2af7722
Dashboard: Move title edit to Controls
2019-05-23 08:43:45 +12:00
Paul Sealock
5e532057a9
Extensions: Add Dashboard Section
2019-05-23 08:27:59 +12:00
Joshua T Flowers
0fd2c24694
Return a success message when updating in profiler controller ( https://github.com/woocommerce/woocommerce-admin/pull/2285 )
2019-05-23 00:47:54 +08:00
Joshua T Flowers
7c5394408d
Add onboarding profile wizard step 1 ( https://github.com/woocommerce/woocommerce-admin/pull/2260 )
...
* Add onboarding step 1 content
* Add onboarding content styling
* Extract step 1 specific styles to separate stylesheet
* Update muriel box shadow variable names
2019-05-23 00:19:56 +08:00
Jeff Stieler
a2946ab6d1
Merge pull request woocommerce/woocommerce-admin#2272 from woocommerce/update/allowed-html-admin-notices
...
Allow links in admin notice content.
2019-05-22 08:33:18 -06:00
Jeff Stieler
225d75e73a
Merge pull request woocommerce/woocommerce-admin#2269 from woocommerce/add/primary-notice-actions
...
Add support for “primary” admin notice actions.
2019-05-22 08:29:18 -06:00
Jeff Stieler
a70a3deaa8
Allow links in admin notice content.
2019-05-22 08:20:53 -06:00
Jeff Stieler
f3ae3464fa
Merge pull request woocommerce/woocommerce-admin#2271 from woocommerce/fix/wp-api-import-spec
...
Remove errant import update operation from `wp-api` spec.
2019-05-22 08:03:44 -06:00
renovate[bot]
f8f69f6b6b
Update dependency core-js to v2.6.8 ( https://github.com/woocommerce/woocommerce-admin/pull/2275 )
2019-05-22 11:11:20 +02:00
renovate[bot]
d80d996bcb
Update dependency lerna to v3.14.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2278 )
2019-05-22 11:06:33 +02:00
renovate[bot]
36b9f4cecf
Update dependency ast-types to v0.13.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2274 )
2019-05-22 10:39:20 +02:00
Joshua T Flowers
633177bdea
Update Card component to use Muriel design ( https://github.com/woocommerce/woocommerce-admin/pull/2252 )
...
* Use Muriel card styling and override card styles in reports
* Add card description prop
* Add isInactive prop and styling to card component
2019-05-22 16:38:25 +08:00
renovate[bot]
8b5681c466
Update babel monorepo to v7.4.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2273 )
2019-05-22 10:31:29 +02:00
Jeff Stieler
3c243ffe00
Remove errant import update operation from wp-api spec.
2019-05-21 13:36:01 -06:00
Jeff Stieler
db5a1b7348
Add support for “primary” admin notice actions.
2019-05-21 13:22:48 -06:00
Justin Shreve
acd3f2f9d2
Update Onboarding Colors ( https://github.com/woocommerce/woocommerce-admin/pull/2264 )
...
* Update Onboarding Colors
* Bump package version, fix a couple duplicate definitions
* Adjust stroke to match Calypso style
2019-05-21 11:47:18 -04:00
Albert Juhé Lluveras
a382fd6143
Hook up import/totals endpoint to Historical Data Import screen ( https://github.com/woocommerce/woocommerce-admin/pull/2208 )
...
* Hook up import/totals endpoint to Historical Data Import screen
* Remove getImportTotalsError and isGetImportTotalsRequesting selectors which were not used
* Remove duplicate style import
* Fix RTL displays
2019-05-20 22:50:25 +02:00
Jeff Stieler
7a6c7add9e
Merge pull request woocommerce/woocommerce-admin#2265 from woocommerce/fix/2229-exclude-drafts-import
...
Exclude auto-draft and trashed orders from imports.
2019-05-20 14:39:11 -06:00
Paul Sealock
765fbc6799
Merge pull request woocommerce/woocommerce-admin#2258 from woocommerce/fix/dashboard-charts-data
...
Dashboard: Extend charts data
2019-05-21 08:18:25 +12:00
Paul Sealock
34aa71cfbb
Dashboard Charts: simplify data
2019-05-21 08:09:49 +12:00
Jeff Stieler
0d863ae7a6
Exclude auto-draft and trashed orders from imports.
2019-05-20 13:51:44 -06:00
Justin Shreve
416cb60b37
Add vertical and spinner options to the Stepper Component ( https://github.com/woocommerce/woocommerce-admin/pull/2255 )
...
* Add a vertical mode to the stepper component, and make some adjustments to the font weights.
Also adds a 'isPending' parameter to show a spinner for the currently active step.
* Handle PR feedback: Fix typo, add some margin to stop bouncing around in horizontal mode, add vertical example to devdocs.
* Fix linter errors
2019-05-20 14:31:03 -04:00
Joshua T Flowers
92665467ab
Fix profiler header gap and SVG properties ( https://github.com/woocommerce/woocommerce-admin/pull/2262 )
...
* Fix invalid SVG rules in profile wizard logo
* Fix profile wizard header gap on mobile
2019-05-20 13:49:26 -04:00
renovate[bot]
f9d61a98b9
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2257 )
2019-05-20 19:03:36 +02:00
Daniel Rey López
f00b7bf175
Update the minimum WooCommerce requirement on README ( https://github.com/woocommerce/woocommerce-admin/pull/2256 )
...
WC-Admin requires WooCommerce 3.6+: https://github.com/woocommerce/woocommerce-admin/issues/2118
I've updated the README since it still said "3.5.0".
2019-05-20 09:45:13 -04:00
Ron Rennick
69e8f5151f
include license.txt and update component package.json files
2019-05-18 01:19:20 -03:00
Joshua T Flowers
8f528ee824
Add Stepper component ( https://github.com/woocommerce/woocommerce-admin/pull/2246 )
...
* Add Stepper component
* Add Muriel colors as variables
* Add changelog entry for Stepper component
2019-05-17 16:01:40 +08:00
Joshua T Flowers
5e07474d16
Add step wrapper/controller to onboarding profile wizard ( https://github.com/woocommerce/woocommerce-admin/pull/2241 )
...
* Render profiler step based on query
* Add profile wizard header component
* Add profile wizard header styling
* Add plugin step
* Add header logo as SVG
2019-05-17 11:04:52 +08:00
Ron Rennick
e873144e4a
Merge pull request woocommerce/woocommerce-admin#2248 from woocommerce/consistent-licenses
...
update to consistent license
2019-05-16 13:35:31 -03:00
Mike Jolley
fdeb6ae403
Merge pull request woocommerce/woocommerce-admin#2226 from woocommerce/update/refactor-main-file
...
Refactor main file into singleton class structure
2019-05-16 17:31:46 +01:00
Jeff Stieler
aea0b269eb
Merge pull request woocommerce/woocommerce-admin#2245 from woocommerce/update/wc-notice-intercept
...
Handle `WC_Admin_Notices`.
2019-05-16 10:23:04 -06:00
Ron Rennick
eddd12beb8
update to consistent license
2019-05-16 13:14:03 -03:00
Mike Jolley
7a73c6cb97
update_db_version
2019-05-16 14:21:57 +01:00
Mike Jolley
97e980cf02
Move print_emoji_detection_script
2019-05-16 14:21:11 +01:00
Mike Jolley
79373b062c
Merge branch 'master' into update/refactor-main-file
2019-05-16 14:20:13 +01:00
Joshua T Flowers
1d978224eb
Drop 'sold' from 'products sold' in products report ( https://github.com/woocommerce/woocommerce-admin/pull/2240 )
2019-05-16 13:05:55 +08:00
Joshua T Flowers
8a03b1bfb3
Add onboarding profile REST endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2217 )
...
* Add onboarding profile endpoint to get profile data
* Add onboarding profile update endpoint
* Add onboarding profile endpoint tests
* Update onboarding API namespaces
2019-05-16 13:05:37 +08:00
Joshua T Flowers
c87ab4eed7
Update how refunds are displayed in tables ( https://github.com/woocommerce/woocommerce-admin/pull/2102 )
...
* Add customer functions to order and refund classes
* Use parent order for refund order number
* Add renderCurrency method to format negative currencies
* Allow negative number of items for refund fields in database
2019-05-16 13:04:37 +08:00
Jeff Stieler
6b9fa2ee7a
Collapse WC admin notices.
...
Achieved through adding class exclusion to the “should collapse” logic.
2019-05-15 17:34:14 -06:00
Paul Sealock
b3bc7dce97
Merge pull request woocommerce/woocommerce-admin#2232 from woocommerce/release/0.12.0
...
release 0.12.0
2019-05-16 07:50:30 +12:00
Ron Rennick
f8c862e4ad
Merge pull request woocommerce/woocommerce-admin#2211 from woocommerce/update/1968-report-permissions
...
update default capability for analytics report to view_woocommerce_reports
2019-05-15 15:28:31 -03:00
Ron Rennick
2aaf7f1d57
Merge pull request woocommerce/woocommerce-admin#2219 from woocommerce/fix/2195
...
Add filters for customer roles
2019-05-15 15:27:50 -03:00
Renovate Bot
aa93b5b8f9
Update dependency lerna to v3.14.0
2019-05-15 13:18:52 +00:00
Mike Jolley
cabad3cedc
Merge pull request woocommerce/woocommerce-admin#2236 from woocommerce/renovate/webpack-4.x
...
Update dependency webpack to v4.31.0
2019-05-15 14:14:56 +01:00
Ron Rennick
e5196c8289
always use AND for status subquery
2019-05-15 10:00:55 -03:00
Mike Jolley
a1bd3bdc17
Merge pull request woocommerce/woocommerce-admin#2233 from woocommerce/renovate/babel-loader-8.x
...
Update dependency babel-loader to v8.0.6
2019-05-15 13:39:01 +01:00
Renovate Bot
3665674994
Update dependency webpack to v4.31.0
2019-05-15 03:01:02 +00:00
Renovate Bot
6efe626287
Update dependency recast to v0.17.6
2019-05-15 02:57:33 +00:00
Renovate Bot
b871b57808
Update dependency babel-loader to v8.0.6
2019-05-15 01:38:42 +00:00
Paul Sealock
ad4818b55b
Feature flags: Enable customizable dash on plugin
2019-05-15 12:05:10 +12:00
Paul Sealock
9ff4684be7
release 0.12.0
2019-05-15 11:59:40 +12:00
Mike Jolley
91f68121cd
Use $this not static method
2019-05-14 23:09:02 +01:00
Mike Jolley
45102746e6
docblock
2019-05-14 23:08:13 +01:00
Paul Sealock
b4fa697a71
Dashboard: re-arrange section dropdown order
2019-05-15 08:54:03 +12:00
Paul Sealock
d7d630558d
Merge pull request woocommerce/woocommerce-admin#2194 from woocommerce/fix/dashboard-issues
...
Fix/dashboard issues
2019-05-15 07:30:41 +12:00
Ron Rennick
bfd41fb577
add customer role filter to customer data store
2019-05-14 16:04:31 -03:00
Mike Jolley
41a19448f3
Continue load if not built
2019-05-14 19:33:47 +01:00
Ron Rennick
15b3bd55ec
update cap handling for new page controller
2019-05-14 15:31:03 -03:00
Mike Jolley
2752605f54
Merge branch 'master' into update/refactor-main-file
2019-05-14 19:21:32 +01:00
Mike Jolley
254e378346
Moved actionsheduler hook to main file
2019-05-14 19:19:24 +01:00
Mike Jolley
e91bf985f4
Call the installer in `register_activation_hook` ( https://github.com/woocommerce/woocommerce-admin/pull/2220 )
...
* Call installer in register_activation_hook
* Just create the tables
2019-05-14 11:11:08 -07:00
Paul Dechov
a2dafef1d6
Keep border color and spacing consistent between summary items ( https://github.com/woocommerce/woocommerce-admin/pull/2007 )
...
* Ensure consistent inner border between summary items
Switches bottom border to same color as inner right border, except in cases where it is an outer border. Also adjusts right border of last item in unbalanced grid to the same inner border color.
* Set consistent summary item label height
Makes sure that wrapped label doesn't interfere with common item height for grid
* Implements flexbox instead of fixed height labels
* fix indentation
* Add newline
2019-05-14 10:56:35 -07:00
Ron Rennick
ba1a262a3c
add match=any support for advanced orders table filter
2019-05-14 14:54:53 -03:00
Jeff Stieler
65ca404077
Merge pull request woocommerce/woocommerce-admin#2209 from woocommerce/update/1432-page-handler-embed-refactor
...
Refactor page handler API
2019-05-14 11:54:34 -06:00
Jeff Stieler
93217253ac
Dynamically generate email settings section names in page controller.
2019-05-14 11:36:31 -06:00
Albert Juhé Lluveras
772fe5c7e2
Fix EllipsisMenu misalignment in wide containers ( https://github.com/woocommerce/woocommerce-admin/pull/2207 )
2019-05-14 10:31:56 -07:00
Jeff Stieler
a9195efb16
Add missing translation.
2019-05-14 11:25:46 -06:00
Mike Jolley
8d45240e02
Refactor main file into singleton class
2019-05-14 15:34:16 +01:00
Mike Jolley
16bd80fc24
Include core functions
2019-05-14 15:33:56 +01:00
Mike Jolley
1e4bcd631a
Create class to listen for cron events, move from main file
2019-05-14 15:33:45 +01:00
Mike Jolley
b976a5b9d7
Add cron event creation to installer and improve methods
2019-05-14 15:33:22 +01:00
Mike Jolley
9951a286bf
Move functions from main file to core-functions.php file
2019-05-14 15:33:02 +01:00
Mike Jolley
65e3fa905c
Add uninstaller file
2019-05-14 15:32:43 +01:00
Jeff Stieler
122620f031
Sanitize customer IDs in “get customers by orders” query.
2019-05-14 08:30:00 -06:00
Jeff Stieler
071dc7debe
Handle “all guests” when getting customers from orders.
2019-05-14 08:25:43 -06:00
Jeff Stieler
211c00935a
Merge pull request woocommerce/woocommerce-admin#2224 from woocommerce/fix/2222-frequent-order-count-query-milestones
...
Order milestones: prevent order count queries from being issues on every request.
2019-05-14 07:36:26 -06:00
Joshua T Flowers
b8bd689fd0
Import refunds on data sync ( https://github.com/woocommerce/woocommerce-admin/pull/2205 )
2019-05-14 18:37:09 +08:00
Joshua T Flowers
ffed0e8ab2
Fix onboarding profiler layout and notices ( https://github.com/woocommerce/woocommerce-admin/pull/2218 )
...
* Hide nags in notices in profiler
* Center content layout for profiler wizard
2019-05-14 11:21:14 +08:00
Jeff Stieler
6860773fb4
Refactor first two order milestones to behave the same as the others.
...
Prevents order count queries from being issues on every request.
2019-05-13 16:34:51 -06:00
Jeff Stieler
93085fe268
Add documentation on using the new page controller functions.
2019-05-13 15:14:18 -06:00
Jeff Stieler
8cab7c047e
Add filters to page controller.
2019-05-13 15:14:17 -06:00
Jeff Stieler
742a1aa049
Move existing page connection to a separate file.
2019-05-13 15:14:17 -06:00
Jeff Stieler
0028fc0ffe
Use WC_Emails class to dynamically connect email settings pages.
2019-05-13 15:14:17 -06:00
Jeff Stieler
635f9faca7
Restore hardcoded “WooCommerce” root breadcrumb logic and remove “full” path requirement.
2019-05-13 15:14:16 -06:00
Jeff Stieler
3dff00a9a0
Refactor connecting existing admin pages and breadcrumb generation.
2019-05-13 15:14:16 -06:00
Jeff Stieler
6b12d3e1b4
Refactor “is admin page” logic to use page controller.
2019-05-13 15:14:15 -06:00
Jeff Stieler
9fdf2cfb47
Refactor app entry page and dashboard page registration.
2019-05-13 14:30:26 -06:00
Jeff Stieler
7506201571
Refactor analytics page registration.
2019-05-13 14:19:26 -06:00
Jeff Stieler
19bfd01599
Add new page controller class, replace page registration function.
2019-05-13 14:19:26 -06:00
Mike Jolley
d226b80cd4
Merge pull request woocommerce/woocommerce-admin#2215 from woocommerce/renovate/lock-file-maintenance
...
Lock file maintenance
2019-05-13 19:13:08 +01:00
Ron Rennick
85e82f07f5
fix warning for string shipping tax meta value
2019-05-13 15:01:05 -03:00
Ron Rennick
6780ae0136
update unit tests for new customer count
2019-05-13 14:14:53 -03:00
Ron Rennick
33919a652d
phpcs sniff fixes
2019-05-13 13:48:22 -03:00
Ron Rennick
28b10f2eb6
restrict customer import to customer role with filter
2019-05-13 13:47:16 -03:00
Renovate Bot
14c162f3de
Lock file maintenance
2019-05-13 04:00:13 +00:00
Ajay Ghaghretiya
38c40430ef
Hide WordPress Upgrade Nag ( https://github.com/woocommerce/woocommerce-admin/pull/2213 )
2019-05-13 10:58:29 +08:00
Joshua T Flowers
fb91cd8788
Add import status endpoint and progress options ( https://github.com/woocommerce/woocommerce-admin/pull/2189 )
...
* Update import progress during batches
* Add import status route for querying import progress
* Update import totals before import start
* Move wc admin notes to separate action scheduler group
* Add import totals route to query customer and order totals
* Add wc helper queue job processing method
* Add import status and total tests
* Separate action type clearing for imports and notes
* Typecast action types as array in clear_pending_wcadmin_actions()
2019-05-13 10:30:07 +08:00
Paul Sealock
c9f738dec8
Dashboard: Fix index and extension issues
2019-05-13 07:20:14 +12:00
Albert Juhé Lluveras
54a09ab232
Replace Rebuild reports settings with Import Historical Data ( https://github.com/woocommerce/woocommerce-admin/pull/2198 )
...
* Hide progress bars and status from Import Historical Data screen
* Remove Rebuild Reports Sections from Settings
* Add Delete Imported Data button to the default actions
* Unify @todo comments
2019-05-10 11:34:03 +02:00
Joshua T Flowers
c6a6e737c4
Add refund filtering to order reports ( https://github.com/woocommerce/woocommerce-admin/pull/2179 )
...
* Add customer functions to order and refund classes
* Extract shared order and refund methods to trait
* Add refund filter to advanced filters in orders report
* Filter refund types in orders data store
* Extract refunds subquery to parent report data store method
* Add refund subquery filtering to order stats data store
* Add tests around refund type filtering
* Change the default option for the refunds filter
2019-05-10 14:56:57 +08:00
Joshua T Flowers
3382fb7011
Record refunds separate from order entries ( https://github.com/woocommerce/woocommerce-admin/pull/2083 )
...
* Sync refunds on order sync
* Separate order and refund class extensions
* Add customer functions to order and refund classes
* Change products store to work with refund amounts
* Return early for refunds in coupon data store
* Allow refund processing in tax data store
* Remove unused refund amounts from tables and data stores
* Change order counts to parse out refund entries
* Include refunded orders in default queried statuses
* Only process order number filter on shop order post types
* Extract shared order and refund methods to trait
* Fix renamed schedule_single_order_import method
* Bump PHP and WP version requirements
2019-05-10 14:39:25 +08:00
Ron Rennick
41a341f690
Merge pull request woocommerce/woocommerce-admin#2190 from woocommerce/fix/2180
...
fix customer name logic on populating customer lookup data
2019-05-09 09:39:49 -03:00
Ron Rennick
2cd44376de
Merge pull request woocommerce/woocommerce-admin#2150 from woocommerce/add/report-filter-default-value
...
add a defaultValue parameter to the ReportFilters, ReportChart component
2019-05-09 09:39:16 -03:00
Mike Jolley
a3b90cdb9e
Update get_count to use lookup table
2019-05-09 10:38:26 +01:00
Mike Jolley
d7b81e40d4
Update count query for low stock
2019-05-09 10:28:28 +01:00
Albert Juhé Lluveras
77ff3ea5cf
Hook up API Historical Data screen to API endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2177 )
...
* Hook up API Historical Data screen to API endpoints
* Avoid making an unnecessary Math.abs()
2019-05-09 11:11:58 +02:00
Albert Juhé Lluveras
065c1fc660
Show Y grid ticks/lines in charts where all values are lower than 1 ( https://github.com/woocommerce/woocommerce-admin/pull/2147 )
...
* Show Y grid ticks/lines in chart where all values are below 1
* Improve how step is calculated for -1 to 1 values
* Add tests
* Handle case when max and min values are 0
2019-05-09 10:20:48 +02:00
Joshua T Flowers
1df54fdae5
Check for page suffix to fix blank pages with WC Branding ( https://github.com/woocommerce/woocommerce-admin/pull/2187 )
2019-05-09 10:39:11 +08:00
Paul Sealock
1a7ba43d46
Merge pull request woocommerce/woocommerce-admin#2185 from woocommerce/renovate/eslint-plugin-wpcalypso-4.x
...
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-09 09:14:21 +12:00
Paul Sealock
add7061a17
Merge pull request woocommerce/woocommerce-admin#2186 from woocommerce/renovate/gridicons-3.x
...
Update dependency gridicons to v3.3.1
2019-05-09 09:13:33 +12:00
Timmy Crawford
d51845930a
Dashboard: Rename class/feature to remove conflict with legacy dashboard widget ( https://github.com/woocommerce/woocommerce-admin/pull/2138 )
...
* Dashboard: Rename class/feature to remove conflict with legacy dashboard class
* Updates per feedback, and fixes.
2019-05-08 09:10:05 -07:00
Mike Jolley
196543ef7f
Render stock status as 'low' on stock report
2019-05-08 15:25:46 +01:00
Mike Jolley
d95e69532e
Update stock report filtering to use correct low stock amounts and lookup table data for performance
2019-05-08 14:58:28 +01:00
Mike Jolley
f85b25f34d
Update stock and sku search query in API to use lookup table.
...
Lookup table was introduced in 3.6 and will improve performance for these 2 queries.
2019-05-08 14:05:35 +01:00
Ron Rennick
0f2788ed1c
fix customer name logic on populating customer lookup data
2019-05-08 10:01:12 -03:00
Mike Jolley
684c526d1e
Fix low stock report due to NULL _low_stock_amount
...
Empty meta values are not stored from WC 3.6+. _low_stock_amount could be NULL. This fixes the low stock queries.
2019-05-08 13:43:25 +01:00
Ron Rennick
d4f1e6bbd8
Merge pull request woocommerce/woocommerce-admin#2139 from woocommerce/add/table-default-order
...
add defaultOrder field to tablecard header
2019-05-08 08:41:48 -03:00
Paul Sealock
ed1d7c5f62
Merge pull request woocommerce/woocommerce-admin#2184 from woocommerce/fix/travis-failing-build-success
...
Travis: Exit scripts with error when one occurs
2019-05-08 21:12:45 +12:00
Albert Juhé Lluveras
6a8c7a235b
Use hiddenBlocks in store-perf
...
Co-Authored-By: psealock <psealock@gmail.com>
2019-05-08 20:41:38 +12:00
Renovate Bot
2d30017ff6
Update dependency gridicons to v3.3.1
2019-05-08 02:16:06 +00:00
Renovate Bot
3ab98be1fc
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-08 02:14:21 +00:00
Paul Sealock
b3ca4961da
Merge pull request woocommerce/woocommerce-admin#2183 from woocommerce/renovate/eslint-plugin-react-7.x
...
Update dependency eslint-plugin-react to v7.13.0
2019-05-08 14:11:40 +12:00
Paul Sealock
9efe16c485
Fix lint error
2019-05-08 14:02:12 +12:00
Paul Sealock
7fc14eae85
Travis: Exit scripts with error when one occurs
2019-05-08 13:54:11 +12:00
Renovate Bot
63ac1e1c5f
Update dependency eslint-plugin-react to v7.13.0
2019-05-08 01:29:25 +00:00
Renovate Bot
e318f2bdce
Update dependency deasync to v0.1.15
2019-05-08 01:27:51 +00:00
Paul Sealock
ee895e0f77
Check for config.defaultValue in Report Chart
2019-05-08 08:46:58 +12:00
Paul Sealock
448d12b91d
Replace use of 'all' in filters with check for config.defaultValue
2019-05-08 08:42:29 +12:00
Justin Shreve
00cbca33df
Add profile wizard base page ( https://github.com/woocommerce/woocommerce-admin/pull/1933 )
...
* Add profile wizard base page
* Update wizard base to the new color/font treatments
2019-05-07 15:25:51 -04:00
Ron Rennick
8744a8d6c9
fix merge conflicts
2019-05-07 15:22:48 -03:00
Ron Rennick
fb9011f191
update component change log
2019-05-07 15:16:42 -03:00
Albert Juhé Lluveras
cab0e38c30
Save section/block preferences in user data ( https://github.com/woocommerce/woocommerce-admin/pull/2148 )
...
* Save section/block preferences in user data
* Optimize updateSection code
* Remove no longer used prop
* Refactor dashboard blocks to make them extendable
* Check that defaultSection exists before merging
* Rename 'sectionsDefinion' to 'defaultSections'
* Add Dashboard README
* Update README with new props
* Update settings when moving/removing dashboard sections
* Add missing props to README example
* Move 'section.js' inside 'components' folder
* Fix README sentence
2019-05-07 09:21:34 +02:00
Albert Juhé Lluveras
d0981d2101
Vertically center Dashboard 'Add more' button ( https://github.com/woocommerce/woocommerce-admin/pull/2171 )
...
* Vertically center Dashboard 'Add more' button
* Remove top padding instead of using negative margin
2019-05-07 09:21:16 +02:00
Albert Juhé Lluveras
644c1e99e3
Don't make an API call when there are no performance indicators ( https://github.com/woocommerce/woocommerce-admin/pull/2157 )
...
* Don't make an API call when there are no performance indicators
* Hide store-performance elements if it's empty
2019-05-07 09:20:48 +02:00
Albert Juhé Lluveras
46d3be23dd
Add Historical Data Import Screen ( https://github.com/woocommerce/woocommerce-admin/pull/2073 )
...
* Add Historical Data Import Screen
* Fix date picker not being accessible
* Cleanup
* Fix period selector typo
Co-Authored-By: Aljullu <aljullu@gmail.com>
* Move state to props
* Add filter to status labels
* Get rid of 'step' state property
* Format 'importDate' as YYYY-MM-DD
* Minor improvements
* Hardcode control height
* Use dateValidationMessages when possible
* Update imported all data actions
* Update filter name
2019-05-07 09:18:48 +02:00
Joshua T Flowers
0ed477fc3c
Fix customer type filter param in orders report ( https://github.com/woocommerce/woocommerce-admin/pull/2169 )
2019-05-07 13:17:43 +08:00
Renovate Bot
0f526ee6b7
Lock file maintenance
2019-05-07 09:06:48 +12:00
Paul Sealock
819260072c
Merge pull request woocommerce/woocommerce-admin#2145 from woocommerce/renovate/node-sass-4.x
...
Update dependency node-sass to v4.12.0
2019-05-07 09:01:21 +12:00
Paul Sealock
f13f30fb70
Merge pull request woocommerce/woocommerce-admin#2144 from woocommerce/renovate/lerna-monorepo
...
Update dependency lerna to v3.13.4
2019-05-07 08:59:18 +12:00
Paul Sealock
7696e77dc0
Merge pull request woocommerce/woocommerce-admin#2143 from woocommerce/renovate/eslint-plugin-jest-22.x
...
Update dependency eslint-plugin-jest to v22.5.1
2019-05-07 08:58:19 +12:00
Paul Sealock
aa2aca4f16
Merge pull request woocommerce/woocommerce-admin#2142 from woocommerce/renovate/ast-types-0.x
...
Update dependency ast-types to v0.12.4
2019-05-07 08:56:49 +12:00
Paul Sealock
71e1f2d0d9
Merge pull request woocommerce/woocommerce-admin#2141 from woocommerce/renovate/fresh-data-framework-0.x
...
Update dependency @fresh-data/framework to v0.6.1
2019-05-07 08:51:57 +12:00
Paul Sealock
f91135b496
Merge pull request woocommerce/woocommerce-admin#2140 from woocommerce/renovate/babel-monorepo
...
Update babel monorepo to v7.4.4
2019-05-07 08:49:37 +12:00
Paul Sealock
e012af7add
EllipsisMenu: Refactor to expose renderContent args
2019-05-06 10:56:20 +12:00
Paul Sealock
b90f5ecb98
Merge pull request woocommerce/woocommerce-admin#2134 from woocommerce/add/dashboard-section-toggle
...
Dashboard: Section add, remove, move up, and move down
2019-05-06 10:54:17 +12:00
Albert Juhé Lluveras
beb3a93d4c
Persist chart interval in Dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/2156 )
2019-05-03 19:53:07 +02:00
Paul Sealock
9f7497fa12
Dashboard: add section toggle
2019-05-03 09:26:55 +12:00
Ron Rennick
f529143e14
add a defaultValue parameter to the ReportFilters component
2019-05-02 15:21:37 -03:00
Ron Rennick
9363686545
use defaultOrder for previous sort order on first sort
2019-05-02 14:39:37 -03:00
Albert Juhé Lluveras
0162adf532
Allow renaming Dashboard sections ( https://github.com/woocommerce/woocommerce-admin/pull/2131 )
...
* Allow renaming Dashboard sections
* Create a wrapper 'Section' component that handles the section title events
* Add blank lines in ellipsis-menu code
* PR feedback
* Remove onToggle prop from EllipsisMenu
* Get rid of default title
2019-05-02 12:22:34 +02:00
Jeff Stieler
a36e3cd024
Merge pull request woocommerce/woocommerce-admin#2034 from woocommerce/add/1850-import-endpoint
...
Add import endpoint and controller
2019-05-01 13:29:00 -06:00
Jeff Stieler
cda1645672
Review feedback changes.
...
Incorrect comment and unused function argument.
2019-05-01 08:30:27 -06:00
Albert Juhé Lluveras
c69ce9ed78
Prevent chart type buttons breaking in two lines ( https://github.com/woocommerce/woocommerce-admin/pull/2135 )
2019-05-01 11:04:17 +02:00
Renovate Bot
1d952b5e2d
Update dependency node-sass to v4.12.0
2019-05-01 02:33:52 +00:00
Renovate Bot
8f0c098ee3
Update dependency lerna to v3.13.4
2019-05-01 02:32:20 +00:00
Renovate Bot
829e0e9d20
Update dependency eslint-plugin-jest to v22.5.1
2019-05-01 01:42:14 +00:00
Renovate Bot
6b9072b6c7
Update dependency ast-types to v0.12.4
2019-05-01 01:41:02 +00:00
Renovate Bot
0b20fb7867
Update dependency @fresh-data/framework to v0.6.1
2019-05-01 00:41:04 +00:00
Renovate Bot
20fd6abf4c
Update babel monorepo to v7.4.4
2019-05-01 00:39:50 +00:00
Joshua Flowers
63c59a1f72
Update batch test function names and constants
2019-04-30 17:39:02 -06:00
Joshua Flowers
591c66995d
Add tests for delete endpoint
2019-04-30 17:39:01 -06:00
Joshua Flowers
0a229e3654
Add delete batch actions for orders and customers
2019-04-30 17:37:20 -06:00
Joshua Flowers
a4d1256292
Add customer deletion method to customers data store
2019-04-30 17:37:20 -06:00
Joshua Flowers
fe0dea6373
Add delete imports endpoint
2019-04-30 17:37:19 -06:00
Paul Sealock
a758ac8b80
Merge pull request woocommerce/woocommerce-admin#2132 from woocommerce/fix/extension-examples
...
Fix/extension examples
2019-05-01 07:02:40 +12:00
Ron Rennick
c48fc40b11
add defaultOrder field to tablecard header
2019-04-30 15:11:30 -03:00
Jeff Stieler
f9c1b130c3
Add extra verification to import cancel endpoint test.
2019-04-30 10:38:07 -06:00
Joshua Flowers
61492c5f10
Add import cancel tests
2019-04-30 10:17:09 -06:00
Joshua Flowers
cad94415c5
Add endpoint route to cancel all pending import actions
2019-04-30 10:17:08 -06:00
Jeff Stieler
a3fdd72ba5
Merge pull request woocommerce/woocommerce-admin#1907 from woocommerce/fix/1615-order-number-filter
...
Support Sequential Order Numbers in Downloads Report order number filter
2019-04-30 10:10:39 -06:00
Jeff Stieler
4a85b012b5
Add tests for customer import using new parameters.
2019-04-30 09:46:14 -06:00
Jeff Stieler
3bfc53c9cf
Reintroduce the customer lookup init to report regeneration.
...
With the new date range and “skip existing” logic.
2019-04-30 09:17:12 -06:00
Jeff Stieler
e350cfc898
Remove strict comparison from “is valid customer” logic.
...
Needed for the function to work in scheduled actions.
2019-04-30 09:09:35 -06:00
Ron Rennick
e9a3c2bdc0
Merge pull request woocommerce/woocommerce-admin#2129 from woocommerce/fix/2126
...
add check for woocommerce submenu item array
2019-04-30 08:06:29 -03:00
Albert Juhé Lluveras
1c67b40d76
Scroll to top of the table when navigating table pages ( https://github.com/woocommerce/woocommerce-admin/pull/2051 )
...
* Scroll to top of the table when navigating table pages
* Cleanup
* Avoid using scroll-padding-top
* Add space between the table top and the scroll point
* Only call if the page is different
* Move focus to the top of the table when switching pages
* Use CSS variables in the Activity Panel and breadcrumbs CSS (https://github.com/woocommerce/woocommerce-admin/pull/2096 )
* Use CSS variables in the Activity Panel and breadcrumbs CSS
* Cleanup
* Focus on table element when navigating pages
2019-04-30 11:43:55 +02:00
Albert Juhé Lluveras
40b47c3a18
Add empty state for the Reviews panels ( https://github.com/woocommerce/woocommerce-admin/pull/2124 )
...
* Add message to empty Reviews panel in the Activity Panel
* Add other reviews unread messages
* Cleanup
* Open external links in new tabs
* Avoid doing unnecessary API calls
* Remove 'activity_panel_reviews_last_read'
2019-04-30 11:40:10 +02:00
Paul Sealock
e6cc2ba3f4
Merge pull request woocommerce/woocommerce-admin#2125 from woocommerce/fix/components-readme-url
...
Components: fix README url
2019-04-30 08:03:17 +12:00
renovate[bot]
7b9f6e72f3
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2127 )
2019-04-29 13:00:03 -07:00
Paul Sealock
f739ba57c7
Components: fix README url
2019-04-30 07:55:32 +12:00
Ron Rennick
e409ef943a
update analytics report readme
2019-04-29 08:58:33 -03:00
Ron Rennick
4ceb3f3c2d
add check for woocommerce submenu item array
2019-04-29 06:57:33 -03:00
Paul Sealock
c1adc83676
apple table
2019-04-29 15:47:46 +12:00
Paul Sealock
88e6626d6a
Extension Examples: fix issues
2019-04-29 15:31:21 +12:00
Timmy Crawford
2aaf0ee4b5
Add check for wp_set_script_translations. ( https://github.com/woocommerce/woocommerce-admin/pull/2117 )
...
* Add check for wp_set_script_translations.
* Update admin alert to show correct required WooCommerce version.
* Few more 3.6 text changes.
2019-04-26 11:39:37 -07:00
Mike Jolley
867e236c28
Ensure the feature-config.php file is built with `npm run build` ( https://github.com/woocommerce/woocommerce-admin/pull/2115 )
...
* Ensure the feature-config file is built
* Missing doc for `dev` build
* Call feature flag build once
* Inline docs with updated default
2019-04-26 11:37:39 -07:00
Joshua T Flowers
53a4098de1
Fix missing leaderboard schema options ( https://github.com/woocommerce/woocommerce-admin/pull/2059 )
...
* Add missing schema properties
* Add missing leaderboard schema tests
2019-04-26 10:43:52 -07:00
Ron Rennick
c0171f952e
Merge pull request woocommerce/woocommerce-admin#2060 from woocommerce/fix/2053
...
update path to feature-config-core.php
2019-04-25 12:25:22 -03:00
Kelly Dwan
18bb29e35d
Fix warnings in travis: CSS lint error & phpunit warning ( https://github.com/woocommerce/woocommerce-admin/pull/2109 )
...
* Fix stylelint issue
* Use WC_Helper_Order to create the order, which will correctly populate customer info
2019-04-25 10:22:57 -04:00
Ron Rennick
58056bdd89
fix merge conflicts
2019-04-25 09:37:29 -03:00
Ron Rennick
cb0cd08207
add admin phase to feature config build
2019-04-25 09:32:03 -03:00
Paul Sealock
5a2cd43314
Merge pull request woocommerce/woocommerce-admin#2076 from woocommerce/release/0.11.0-take-2
...
Release/0.11.0 take 2
2019-04-25 11:22:19 +12:00
Ron Rennick
ddac47e4ce
add line breaks to end of message to increase visibility
2019-04-24 16:56:57 -03:00
renovate[bot]
b6c114340a
Update dependency webpack-cli to v3.3.1 ( https://github.com/woocommerce/woocommerce-admin/pull/2107 )
2019-04-24 15:44:25 -04:00
renovate[bot]
d53b48ceff
Update dependency woocommerce/woocommerce-sniffs to v0.0.6 ( https://github.com/woocommerce/woocommerce-admin/pull/2108 )
2019-04-24 15:41:54 -04:00
renovate[bot]
212e030e92
Update dependency recast to v0.17.5 ( https://github.com/woocommerce/woocommerce-admin/pull/2105 )
...
* Update dependency recast to v0.17.5
* Run `npm run docs`
2019-04-24 15:40:41 -04:00
renovate[bot]
9e93ef3e9b
Update dependency webpack to v4.30.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2106 )
2019-04-24 15:35:00 -04:00
renovate[bot]
1d8c5c1e0c
Update dependency node-watch to v0.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/2104 )
2019-04-24 15:28:57 -04:00
Ron Rennick
998cd60744
use mkdir(), add message
2019-04-24 13:50:30 -03:00
Paul Sealock
d7757404d8
release 0.11.0
2019-04-24 13:33:33 +12:00
Joshua T Flowers
c17baa02cd
Encode and decode persited query as JSON string in the leaderboards controller ( https://github.com/woocommerce/woocommerce-admin/pull/2100 )
...
* Encode and decode persited query as JSON string in leaderboards controller
* Update peristed query tests to use JSON string
2019-04-24 04:38:49 +08:00
Joshua T Flowers
8bc3d8622e
Add order date filter to customers data store ( https://github.com/woocommerce/woocommerce-admin/pull/2094 )
...
* Add before and after params to customers controller
* Map before and after order params to order creation date filter
* Hook up customer date filter params in leaderboards controller
2019-04-23 10:01:36 +08:00
Justin Shreve
bdc94320f4
Add customizable dashboard feature flag, and base page. ( https://github.com/woocommerce/woocommerce-admin/pull/2052 )
2019-04-22 09:23:37 -04:00
Albert Juhé Lluveras
238c3270e6
Allow free input in the table pagination input field ( https://github.com/woocommerce/woocommerce-admin/pull/2091 )
...
* Allow free input in the table pagination input field
* Update pagination page on blur instead of on change
* Fix wrong changelog message
2019-04-22 12:24:32 +02:00
Albert Juhé Lluveras
6b43af2035
Make SummaryListPlaceholder height match SummaryNumber height ( https://github.com/woocommerce/woocommerce-admin/pull/2088 )
...
* Make SummaryListPlaceholder height match SummaryNumber height
* Add CHANGELOG message
* Fix mobile
2019-04-22 09:56:54 +02:00
renovate[bot]
68f97d214c
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2093 )
2019-04-22 12:17:04 +08:00
Hardip Parmar
e39a8e6e35
Remove CSV Download button when no data is available ( https://github.com/woocommerce/woocommerce-admin/pull/2084 )
2019-04-22 11:15:01 +08:00
Jeff Stieler
ba69a634f5
Document why the order number field should be a string.
2019-04-19 11:41:39 +02:00
Albert Juhé Lluveras
19500daad9
Add wcAdminAssetUrl property back ( https://github.com/woocommerce/woocommerce-admin/pull/2075 )
2019-04-18 10:38:42 +02:00
Paul Sealock
e799d38dca
Release build, make sure features are included
2019-04-18 07:04:56 +12:00
Ron Rennick
9ec06baeb3
ensure the /dist/ folder exists before writing feature-config-core
...
- change the default target environment to development
2019-04-17 10:29:31 -03:00
Ron Rennick
c00a7e277f
Merge pull request woocommerce/woocommerce-admin#2065 from woocommerce/remove-dup-build
...
remove unneeded build:feature-config from zip build
2019-04-17 09:25:14 -03:00
Albert Juhé Lluveras
3c433a24b3
Transpile acorn-jsx package ( https://github.com/woocommerce/woocommerce-admin/pull/2064 )
2019-04-17 10:34:45 +02:00
Joshua Flowers
eecedfdba8
Set orders date to midnight before if days is set
2019-04-17 15:57:51 +08:00
Joshua Flowers
44e8c56d88
Run count query early to maybe skip order id query
2019-04-17 15:50:46 +08:00
renovate[bot]
6ad5ee6dfc
Update dependency mini-css-extract-plugin to v0.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2069 )
2019-04-17 15:29:22 +08:00
renovate[bot]
c7a8bf5df5
Update dependency lerna to v3.13.3 ( https://github.com/woocommerce/woocommerce-admin/pull/2068 )
2019-04-17 15:21:41 +08:00
Paul Sealock
91967ea0dd
Merge pull request woocommerce/woocommerce-admin#2070 from woocommerce/fix/bad-merge-2033
...
Merge pull request woocommerce/woocommerce-admin#2018 from woocommerce/try/extension-build-env
2019-04-17 15:41:43 +12:00
renovate[bot]
339f870e4b
Update dependency memoize-one to v5.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/2067 )
2019-04-17 11:20:12 +08:00
renovate[bot]
36d19b3e77
Update dependency gridicons to v3.2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/2066 )
2019-04-17 11:13:54 +08:00
Paul Sealock
9c8e0ff666
Merge pull request woocommerce/woocommerce-admin#2018 from woocommerce/try/extension-build-env
...
Try: Extension Examples
2019-04-17 15:12:42 +12:00
Paul Sealock
8ff24a9a7e
Example Extensions: create build environment
2019-04-17 14:01:56 +12:00
Kelly Dwan
7ace7b108a
Update docs to remove confusing step ( https://github.com/woocommerce/woocommerce-admin/pull/2045 )
...
Since we’re using `from-package`, lerna does not ask for a version in the release process.
2019-04-16 19:00:36 -04:00
Kelly Dwan
8fc2c6fb0e
Clean up package.json & add a script ( https://github.com/woocommerce/woocommerce-admin/pull/2046 )
2019-04-16 19:00:19 -04:00
Ron Rennick
259e138df1
remove unneeded build:festure-config from zip build
2019-04-16 15:12:05 -03:00
renovate[bot]
1eedb88c04
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/2056 )
2019-04-16 17:09:24 +08:00
renovate[bot]
ea096a1f94
Pin dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/2044 )
2019-04-16 16:43:08 +08:00
Ajay Ghaghretiya
4dddb62195
Fix-woocommerce/woocommerce-admin#1982 ( https://github.com/woocommerce/woocommerce-admin/pull/2019 )
...
* Fix-woocommerce/woocommerce-admin#1982
* Fix-woocommerce/woocommerce-admin#1982 #Tabs replaced with spaces
* woocommerce/woocommerce-admin#1982
* Fix-woocommerce/woocommerce-admin#1982 Resolved Inline comments must end in full-stops, exclamation marks, or question marks.
* update with tabs
fixes formatting
* update woocommerce-admin.php
tab formatting fixes.
* Update woocommerce-admin.php
Update
Co-Authored-By: Mr-AjayM <32254909+Mr-AjayM@users.noreply.github.com>
* Update woocommerce-admin.php
remove leading /
Co-Authored-By: Mr-AjayM <32254909+Mr-AjayM@users.noreply.github.com>
2019-04-16 10:11:34 +02:00
Albert Juhé Lluveras
d38b888a2e
Check if welcome message notice exists before creating it ( https://github.com/woocommerce/woocommerce-admin/pull/2063 )
2019-04-16 09:31:50 +02:00
Paul Sealock
2e3b3467a5
Remove lodash from bundle
2019-04-16 10:44:32 +12:00
Albert Juhé Lluveras
dab7cf7dff
Respect manual offsets in default before/after params ( https://github.com/woocommerce/woocommerce-admin/pull/2042 )
2019-04-15 19:28:19 +02:00
Albert Juhé Lluveras
b134853e83
Add empty state in Stock panel ( https://github.com/woocommerce/woocommerce-admin/pull/2049 )
...
* Add empty state in Stock panel
* Add isRequesting in the title check
2019-04-15 09:35:22 +02:00
ronakganatra9
efb6bba9bd
woocommerce/woocommerce-admin#1981 Fix/1981 welcome note added ( https://github.com/woocommerce/woocommerce-admin/pull/2005 )
...
* Added new admin note on plugin install. Fix-1981
* fix phpcs errors
* cbf change
* changes in phpcs error.
* Update includes/notes/class-wc-admin-notes-welcome-message.php
Co-Authored-By: ronakganatra9 <ronakganatra9@gmail.com>
* Changes implemented as per suggestion.
* suggestions apply of condition check and note name change.
* phpcs changes.
* mistake solved.
2019-04-15 09:34:27 +02:00
Albert Juhé Lluveras
b4c3998e7e
Add empty states for the Inbox and Orders panels ( https://github.com/woocommerce/woocommerce-admin/pull/2037 )
...
* Add empty states for the Inbox and Orders panels
* Typos
* Apply PR feedback
2019-04-15 09:06:34 +02:00
Jeff Stieler
72da1d4c57
Merge pull request woocommerce/woocommerce-admin#2032 from woocommerce/renovate/postcss-color-function-4.x
...
Update dependency postcss-color-function to v4.1.0
2019-04-12 15:44:48 -06:00
Ron Rennick
46fe413a5e
Merge pull request woocommerce/woocommerce-admin#1990 from woocommerce/fix/1931
...
center mobile icon vertically
2019-04-12 16:32:12 -03:00
Jeff Stieler
bf1d1323b3
Merge pull request woocommerce/woocommerce-admin#2043 from woocommerce/fix/activity-panel-readme
...
Update admin notes readme.
2019-04-12 13:30:49 -06:00
Jeff Stieler
8c382773c2
Fix grammar.
2019-04-12 13:08:05 -06:00
Jeff Stieler
ef0fd73f2c
Merge pull request woocommerce/woocommerce-admin#1998 from woocommerce/add/247-stock-panel
...
Hook up Stock panel
2019-04-12 09:19:21 -06:00
Albert Juhé Lluveras
164bae3075
Fix product link in stock panel.
...
Thanks @Aljullu
Co-Authored-By: jeffstieler <jeff.m.stieler@gmail.com>
2019-04-12 08:15:58 -06:00
Joshua Flowers
7a41da3058
Bust cache for orders query in import tests
2019-04-12 16:50:43 +08:00
Joshua Flowers
fcf0994276
Fix missing batch action arguments
2019-04-12 16:50:43 +08:00
Joshua Flowers
f213f5cb66
Make customer name empty string by default instead of null
2019-04-12 16:50:43 +08:00
Joshua Flowers
5838e2ab48
Add import controller tests
2019-04-12 16:50:42 +08:00
Joshua Flowers
0a42757628
Process customer during order update instead of pre-processing all
2019-04-12 16:50:42 +08:00
Joshua Flowers
780c9da3d2
Hook up regenerate UI setting to new import endpoint
2019-04-12 16:50:42 +08:00
Joshua Flowers
1f016b5418
Add days and skip options to regenerate reports function
2019-04-12 16:50:42 +08:00
Joshua Flowers
4180b48346
Add reports import controller and endpoint
2019-04-12 16:50:42 +08:00
Kelly Dwan
754c2a07eb
Update changelogs with latest versions, bump package versions where outdated ( https://github.com/woocommerce/woocommerce-admin/pull/2039 )
2019-04-11 14:43:45 -04:00
Justin Shreve
7fc70157c9
WC_Admin_Loader/PHP Refactor + Method to publish core ready features ( https://github.com/woocommerce/woocommerce-admin/pull/1863 )
...
* Try: Setup plugin to publish core library on npm
* Documentation clean up.
* Handle PR Feedback: Fix notices from happening in WC Core from API usage, fix sidebar dashboard ordering in menu, remove preload function check since we are supporting WP 5+, add a filter for preloading data and move usage to respective feature code, move features to a specific folder for bundiling, fix script translations.
* Fix code comment on analytics preload
* Continue refactoring code, and make it possible to launch 'embedded' features via the process as well.
* Fix note hook
* Fix note load order
* Address PR feedback: Fix class name, load leaderboard endpoint
* Remove example code prior to merge
2019-04-11 14:31:31 -04:00
Jeff Stieler
9265943bdf
Update admin notes readme.
...
Resize large image, add syntax highlighting to PHP snippets, fix example file link paths.
2019-04-11 11:32:45 -06:00
Jeff Stieler
1ed5a559bc
Fix stock card input styling in Firefox.
2019-04-11 09:42:14 -06:00
Albert Juhé Lluveras
f80880b80c
Add PHP autofix to pre-commit hook ( https://github.com/woocommerce/woocommerce-admin/pull/2022 )
...
* Add PHP autofix to pre-commit hook
* Remove unnecesary 'dev/null' output path
* Add error message if PHP_CodeSniffer is not installed
* Add periods to comments
* Fix comment
2019-04-11 09:05:59 +02:00
Joshua T Flowers
eb0b137020
Hook up leaderboards endpoint to dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/2004 )
...
* Add allowed leaderboards endpoint to prefetch list
* Hook up leadboards endpoint to dashboard
* Skip data fetch for leaderboard if per page is less than 1
* Add tests to check for rendered html display
2019-04-11 10:53:05 +08:00
Renovate Bot
fe32dbb041
Update dependency postcss-color-function to v4.1.0
2019-04-11 00:49:42 +00:00
Jeff Stieler
e190d513c2
Merge pull request woocommerce/woocommerce-admin#2031 from woocommerce/renovate/node-watch-0.x
...
Update dependency node-watch to v0.6.1
2019-04-10 17:39:02 -06:00
Jeff Stieler
2d12f866c8
Merge pull request woocommerce/woocommerce-admin#2030 from woocommerce/renovate/marked-0.x
...
Update dependency marked to v0.6.2
2019-04-10 17:33:44 -06:00
Jeff Stieler
b5fa378f92
Merge pull request woocommerce/woocommerce-admin#2029 from woocommerce/renovate/lerna-monorepo
...
Update dependency lerna to v3.13.2
2019-04-10 17:17:45 -06:00
Jeff Stieler
2614fca209
Merge pull request woocommerce/woocommerce-admin#2028 from woocommerce/renovate/eslint-5.x
...
Update dependency eslint to v5.16.0
2019-04-10 15:13:36 -06:00
Renovate Bot
1e01735900
Update dependency autoprefixer to v9.5.1
2019-04-10 20:29:28 +00:00
Renovate Bot
bc447af1f8
Lock file maintenance
2019-04-10 18:49:23 +00:00
Jeff Stieler
4b2ac14994
Merge pull request woocommerce/woocommerce-admin#2015 from woocommerce/notes-queue-group
...
add WCA queue group to the unsnooze notes scheduled action
2019-04-10 10:21:39 -06:00
Justin Shreve
4727417746
Add a mobile app note ( https://github.com/woocommerce/woocommerce-admin/pull/2008 )
2019-04-10 11:49:02 -04:00
Albert Juhé Lluveras
5ae9ee65b0
PHP Lint fixes ( https://github.com/woocommerce/woocommerce-admin/pull/2023 )
2019-04-10 10:49:00 +02:00
Renovate Bot
cd2e942628
Update dependency node-watch to v0.6.1
2019-04-10 02:41:47 +00:00
Renovate Bot
333179449b
Update dependency marked to v0.6.2
2019-04-10 01:49:23 +00:00
Renovate Bot
f76d9b1a30
Update dependency lerna to v3.13.2
2019-04-10 01:41:56 +00:00
Renovate Bot
10fdb21aea
Update dependency eslint to v5.16.0
2019-04-10 00:44:29 +00:00
Paul Sealock
888eb9a0f6
Calendar: update to Gutenberg's isInvalidDate
2019-04-10 07:59:27 +12:00
Kelly Dwan
6cab171d59
SearchListControl: Add an onSearch callback to allow dynamic updating of the list ( https://github.com/woocommerce/woocommerce-admin/pull/1992 )
...
* SearchListControl: Add an onSearch callback to allow dynamic updating the list
* Update changelog
2019-04-09 11:42:21 -04:00
Kevin Killingsworth
007ff933ce
Fix withSelect to release resources on unmount ( https://github.com/woocommerce/woocommerce-admin/pull/1999 )
...
* Add fresh-data dev info support for dev builds.
This adds support for dev info to be accessed from the JavaScript
console for more information about resources handled by fresh-data.
* Update fresh-data to 0.6.0
* Fix withSelect to release resources on unmount
Previously, withSelect wasn't releasing resources from fresh-data when
it was unmounting. This fixes that behavior and now clears a component's
requirements correctly when unmounting.
2019-04-09 09:56:25 -05:00
Kevin Killingsworth
85fda4d61f
Add fresh-data dev info support for dev builds. ( https://github.com/woocommerce/woocommerce-admin/pull/1978 )
...
* Add fresh-data dev info support for dev builds.
This adds support for dev info to be accessed from the JavaScript
console for more information about resources handled by fresh-data.
* Update fresh-data to 0.6.0
2019-04-09 09:55:01 -05:00
Timmy Crawford
1ce257587a
Update Link in readme to Proper Location ( https://github.com/woocommerce/woocommerce-admin/pull/2026 )
...
Quick change of some copy/paste that was pointing the release notes at an old blocks post.
2019-04-09 07:47:14 -07:00
Albert Juhé Lluveras
f4c487dcd5
Fix wrong dates in Reviews and Orders panels of the Activity Panel ( https://github.com/woocommerce/woocommerce-admin/pull/2013 )
...
* Fix wrong dates in Reviews and Orders panels of the Activity Panel
* Avoid using long boolean checks in unread-indicators
2019-04-09 09:50:00 +02:00
Joshua T Flowers
e31be343e2
Make customer name extendable ( https://github.com/woocommerce/woocommerce-admin/pull/1976 )
...
* Make customer name extendable
* Update get_customer_name to favor user profile information
* Update customer name on profile update
* Add tests around customer name getting and setting
* Prefix customer name filter with woocommerce_reports_
2019-04-09 11:39:39 +08:00
Joshua T Flowers
f682fe76be
Add leaderboard controller and endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/1995 )
...
* Add leaderboard controller and endpoint
* Add existing leaderboard stats to leaderboard endpoint
* Add persisted query to leaderboard params
* Add leaderboard endpoint tests
* Check if extended_info params are set before assigning
* Change number param input format to mixed inside wc_admin_number_format
2019-04-09 11:34:56 +08:00
Jeff Stieler
2ec3e9843a
Merge pull request woocommerce/woocommerce-admin#1872 from woocommerce/add/1831-order-milestone-notifications
...
Add order milestone notifications.
2019-04-08 16:04:07 -06:00
Paul Sealock
1efdbf6256
Merge pull request woocommerce/woocommerce-admin#1994 from woocommerce/fix/search-filter-focus
...
Fix/search filter focus
2019-04-09 08:06:40 +12:00
Paul Sealock
6c079012e6
Search filter: focus input box instead of back button
2019-04-09 07:22:14 +12:00
Jeff Stieler
f734f01598
Clear recurring order milestones event on plugin deactivation.
2019-04-08 13:10:39 -06:00
Ron Rennick
870f7ddfcf
add WCA queue group to the unsnooze notes scheduled action
2019-04-08 16:04:56 -03:00
Albert Juhé Lluveras
baf3bc3e28
Scroll to top only when URL changes ( https://github.com/woocommerce/woocommerce-admin/pull/1989 )
2019-04-08 19:53:28 +02:00
Albert Juhé Lluveras
f47f1097bb
Fix date filter layout on Android ( https://github.com/woocommerce/woocommerce-admin/pull/1996 )
...
* Make filter date content position static
* Make date picker scrollable
2019-04-08 11:54:27 +02:00
Jeff Stieler
e2f163c2f2
Fix stock quantity input on change.
2019-04-05 14:31:20 -06:00
Albert Juhé Lluveras
dbf0a8d169
Split D3Chart utils axis file ( https://github.com/woocommerce/woocommerce-admin/pull/2000 )
2019-04-05 11:01:12 +02:00
Joshua T Flowers
753780bf7b
Onboarding: Add levels REST API ( https://github.com/woocommerce/woocommerce-admin/pull/1938 )
...
* Add levels rest controller
* Add default levels
* Add onboarding level API tests
* Drop all since tags
* Make pre-response levels array associative for easier formatting
* Fix level tests for associative array
2019-04-05 10:35:30 +08:00
Jeff Stieler
a36788dfb4
Fix stock panel product link for variations.
2019-04-04 11:11:48 -06:00
Jeff Stieler
c3ef41fc12
Focus quantity input when entering edit mode.
...
Makes the keyboard-first and screen reader experience much better.
2019-04-03 18:05:19 -06:00
Ron Rennick
14d0d24762
phpcs lint fixes for /data-stores/ folder
2019-04-03 16:19:43 -03:00
Jeff Stieler
9bcbda0f98
Add expected (missing) properties to product variation API response.
...
Parent product ID, name, and product type.
2019-04-03 12:35:18 -06:00
Albert Juhé Lluveras
7d8df3ecfc
Allow negative values in charts ( https://github.com/woocommerce/woocommerce-admin/pull/1979 )
...
* Add support for negative charts
* Always display main axis at 0
* Improve tests
* Make sure positive and negative grid steps are the same
* Code style improvements
* Fix missing lines when all values are 0
* Make sure empty note always appear on top
* Add CHANGELOG entry
2019-04-03 18:19:38 +02:00
dinhtungdu
7916ec6ca2
Fixed: Order Status filter: <select> is not vertically aligned when Gutenberg is installed
2019-04-03 18:11:12 +02:00
Ron Rennick
3fc8a7bfab
Merge pull request woocommerce/woocommerce-admin#1983 from woocommerce/fix/1932
...
add filter length condition to enable filter check
2019-04-03 11:22:31 -03:00
Ron Rennick
15fc357723
center mobile icon vertically
2019-04-03 11:15:22 -03:00
Ron Rennick
b384571afe
Merge pull request woocommerce/woocommerce-admin#1984 from woocommerce/phpcs/tests
...
phpcs fixes class-wc-tests-reports-orders-stats.php
2019-04-03 10:21:38 -03:00
renovate[bot]
297d35b686
Update dependency ast-types to v0.12.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1988 )
2019-04-03 08:54:21 -04:00
renovate[bot]
4c018efc7a
Update babel monorepo to v7.4.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1987 )
2019-04-03 08:48:52 -04:00
Joshua T Flowers
0c5c1c3db4
Remove coupon_total from order stats table ( https://github.com/woocommerce/woocommerce-admin/pull/1975 )
...
* Remove coupons_total from order stats table
* Replace discount amount with coupon objects in stat tests
2019-04-03 09:37:17 +08:00
Joshua T Flowers
b885ae4157
Update default hidden dashboard items ( https://github.com/woocommerce/woocommerce-admin/pull/1973 )
2019-04-03 09:36:20 +08:00
Paul Sealock
b79cacb797
npm start to update versions
2019-04-03 12:10:43 +13:00
Timmy Crawford
fa1ec47cae
update changelog for v0.10.0
2019-04-02 16:01:02 -07:00
Ron Rennick
26b5ba2b89
phpcs fixes class-wc-tests-reports-orders-stats.php
2019-04-02 16:22:55 -03:00
Ron Rennick
c061bfd925
Merge pull request woocommerce/woocommerce-admin#1977 from woocommerce/fix/1783
...
lookup product title in order meta if product has been deleted
2019-04-02 16:13:47 -03:00
Ron Rennick
fc356b86b2
add filter length condition to enable filter check
2019-04-02 15:55:17 -03:00
Ron Rennick
1d0e78e626
code alignment for linter
2019-04-02 15:20:23 -03:00
Jeff Stieler
6c5f8e5e38
Show variation attribute options in stock panel.
2019-04-02 11:37:50 -06:00
Jeff Stieler
18a2dd01cb
Add variations to low stock query.
2019-04-02 11:37:24 -06:00
Jeff Stieler
6f2c11270b
Clear cache when checking order count for the first two milestones.
2019-04-02 08:35:28 -06:00
Jeff Stieler
e6e905919d
Fix conditional for hooking the first two milestones action.
2019-04-02 08:34:22 -06:00
Ron Rennick
3a8ddbe3aa
lookup product title in order meta if product has been deleted
2019-04-02 09:24:52 -03:00
Joshua T Flowers
b03362da68
Cast order totals as floats when calculating net total ( https://github.com/woocommerce/woocommerce-admin/pull/1945 )
2019-04-02 13:43:12 +08:00
Jeff Stieler
f4691827b1
Include item ID in product update resource name.
...
Keep state in sync when updating product stock quantity.
2019-04-01 17:38:36 -06:00
Jeff Stieler
5d09ceb272
Hook stock panel up to real data.
2019-04-01 17:38:34 -06:00
Jeff Stieler
632e4fd09d
Add filter for order milestone statuses.
2019-04-01 16:37:55 -06:00
Jeff Stieler
b9e02d0b61
Change 100+ order milestone message and CTA.
2019-04-01 16:37:54 -06:00
Jeff Stieler
f610223708
Check for new order milestones every hour.
...
Only show one notification at a time.
2019-04-01 16:37:54 -06:00
Jeff Stieler
0893198f37
Add more orders count milestone notifications.
...
Also avoid notifications for thresholds passed before the plugin was activated.
2019-04-01 16:37:53 -06:00
Jeff Stieler
e5a4a45ae5
Add milestone note for the store’s first 10 orders.
2019-04-01 16:37:53 -06:00
Jeff Stieler
a31d0114cb
Add first order milestone notification.
2019-04-01 16:37:53 -06:00
Jeff Stieler
244536e350
Fix inbox panel item timestamps.
...
Account for UTC offset.
2019-04-01 16:32:39 -06:00
Jeff Stieler
57957633f4
Fix WC_Admin_Note default content data.
...
Arrays get serialized differently and object is required for successful retrieval.
2019-04-01 16:32:38 -06:00
Paul Sealock
17ef1fc9c6
Merge pull request woocommerce/woocommerce-admin#1954 from woocommerce/fix/page-page-not-working
...
getItems: modify parse flag by isUnboundedRequest
2019-04-02 10:15:33 +13:00
Albert Juhé Lluveras
4c58363347
Activity Panel: Reviews tab fixes ( https://github.com/woocommerce/woocommerce-admin/pull/1947 )
...
* Make sure unreadReviews is a boolean so it doesn't render any character (II)
* Set unread indicator in the Reviews tab when there are on hold reviews
2019-04-01 20:43:48 +02:00
renovate[bot]
05a85d8e7c
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1955 )
2019-04-01 14:25:35 -04:00
Jeff Stieler
ad7cc4226a
Handle updating product variation stock quantity.
2019-04-01 11:28:10 -06:00
Jeff Stieler
42be3afebf
Hook up product stock card inventory update.
2019-04-01 11:28:10 -06:00
Jeff Stieler
68e49a9574
Add update method for products to wc-api.
2019-04-01 11:28:10 -06:00
Jeff Stieler
150088d312
Style stock quantity edit form.
2019-04-01 11:28:09 -06:00
Jeff Stieler
f32f85e58e
Hook up edit stock quantity form state, with cancel action.
2019-04-01 11:28:09 -06:00
Jeff Stieler
a48a038f25
Create ProductStockCard component, add loading placeholder to stock panel.
2019-04-01 11:28:09 -06:00
Jeff Stieler
212882e272
Reorganize stock panel files.
2019-04-01 11:28:08 -06:00
Jeff Stieler
ab980305c7
Add hardcoded low stock activity card.
2019-04-01 11:28:08 -06:00
Jeff Stieler
d315f6a6f4
Merge pull request woocommerce/woocommerce-admin#1960 from woocommerce/fix/1946
...
Only check for unsnooze note scheduled action in admin_init
2019-04-01 10:13:35 -07:00
Ron Rennick
8830455385
Merge pull request woocommerce/woocommerce-admin#1962 from woocommerce/add-requirements
...
update plugin requirements in GH readme, plugin header
2019-04-01 14:10:08 -03:00
Albert Juhé Lluveras
7efd81815f
Scroll to top when navigating pages ( https://github.com/woocommerce/woocommerce-admin/pull/1958 )
2019-04-01 19:02:39 +02:00
Ron Rennick
59d310c4f9
update requirements in GH readme, plugin header
2019-04-01 13:16:13 -03:00
Timmy Crawford
c717851b46
Update readme per feedback ( https://github.com/woocommerce/woocommerce-admin/pull/1941 )
...
* Update readme per feedback
* Blank Spaces.
2019-04-01 09:15:09 -07:00
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
Ron Rennick
c377e27411
update missed version `or greater` in update message
2019-02-15 15:41:19 -04:00
Ron Rennick
e2b220bb54
Merge pull request woocommerce/woocommerce-admin#1570 from woocommerce/phpcs/tests
...
Phpcs sniff fixes for unit tests
2019-02-15 14:50:50 -04:00
Tiago Noronha
6d58ed97c4
Add array of notice ids and/or classes and iterate to collapse
2019-02-15 18:01:18 +00:00
Ron Rennick
00b640e2f0
Merge pull request woocommerce/woocommerce-admin#1567 from woocommerce/fix/1450
...
update chart type query string key to chartType
2019-02-15 12:58:22 -04:00
Peter Fabian
f42aa073b1
Changed the date_created columns to datetime, in the new location of db create script.
...
date_created should store local date and time, not UTC timestamp, as the data needs to be sliced and diced by local date/time, not by UTC date/time.
2019-02-15 17:13:12 +01:00
Peter Fabian
f7d0d2379f
Merge branch 'master' into fix/489-date_date_gmt
...
# Conflicts:
# includes/class-wc-admin-api-init.php
2019-02-15 17:07:38 +01:00
Ron Rennick
9f911df053
update changelog, coding style per review
2019-02-15 10:37:56 -04:00
Tiago Noronha
69cdb7996c
Merge pull request woocommerce/woocommerce-admin#1569 from woocommerce/fix/1568-filters-button-styling
...
Add margin to advanced filters Add button
2019-02-15 11:11:11 +00:00
Albert Juhé Lluveras
fe11ff475f
Chart legend: show pointer in all clickable area ( https://github.com/woocommerce/woocommerce-admin/pull/1566 )
2019-02-15 11:55:04 +01:00
Albert Juhé Lluveras
b61dff32f9
Sort tabular data when selecting a Summary Number ( https://github.com/woocommerce/woocommerce-admin/pull/1564 )
...
* Sort tabular data when selecting a Summary Number
* Fix 'orderby' param in orders endpoint
2019-02-15 11:54:41 +01:00
Albert Juhé Lluveras
0cb1aac8b9
Fix logic used to show legend total block ( https://github.com/woocommerce/woocommerce-admin/pull/1559 )
2019-02-15 11:50:41 +01:00
Albert Juhé Lluveras
bce82c7572
Move IE11 specific CSS to ie.scss file ( https://github.com/woocommerce/woocommerce-admin/pull/1558 )
2019-02-15 11:49:51 +01:00
Justin Shreve
a1c60537e5
Fix downloads stats data store sorting ( https://github.com/woocommerce/woocommerce-admin/pull/1561 )
2019-02-14 23:06:01 -05:00
Joshua T Flowers
cba9ab61b2
Update returning customer values to respect excluded statuses ( https://github.com/woocommerce/woocommerce-admin/pull/1557 )
...
* Excluded statuses from customers oldest orders
* Fix tests for returning customer where excluded statuses are used
* Remove save_post hook used for testing
* Extract conditions for first order swapping
2019-02-15 10:09:16 +08:00
Ron Rennick
767b047f4b
phpcs for admin-notess.php
2019-02-14 19:20:47 -04:00
Ron Rennick
45acf57c22
phpcs for product-reviews.php
2019-02-14 19:19:22 -04:00
Ron Rennick
7a255d7490
phpcs for products.php
2019-02-14 19:18:34 -04:00
Ron Rennick
b69f8fdbf2
phpcs for reports-customers-stats.php
2019-02-14 19:17:05 -04:00
Ron Rennick
e91f7f6d00
phpcs for reports-customers.php
2019-02-14 19:14:43 -04:00
Ron Rennick
cd1fdef99d
phpcs for reports-download-stats.php
2019-02-14 19:13:18 -04:00
Ron Rennick
a89083077e
phpcs for reports-interval.php
2019-02-14 19:12:15 -04:00
Ron Rennick
db568ec9af
phpcs for report-order-stats.php
2019-02-14 19:11:17 -04:00
Ron Rennick
ece6fb1a91
phpcs for report-performance-indicators.php
2019-02-14 19:08:25 -04:00
Ron Rennick
8ce7af9f61
phpcs for report-stock-stats.php
2019-02-14 19:06:11 -04:00
Ron Rennick
7910e76d8c
phpcs for bootstrap.php
2019-02-14 19:04:30 -04:00
Ron Rennick
58cfde18a4
phpcs print_R use in class-wc-tests-reports-order-stats.php
2019-02-14 18:54:45 -04:00
Tiago Noronha
5d3ce289f9
Merge pull request woocommerce/woocommerce-admin#1563 from woocommerce/fix/1402-legend-transition
...
Remove margin between chart legends in column direction
2019-02-14 21:23:39 +00:00
Tiago Noronha
75ee8d600b
Merge pull request woocommerce/woocommerce-admin#1533 from woocommerce/fix/1511-advanced-filters-ie11
...
Advanced filters alignment in IE11
2019-02-14 21:23:29 +00:00
Tiago Noronha
86f3da4e9c
Merge pull request woocommerce/woocommerce-admin#1530 from woocommerce/fix/1513-legend-text-align
...
Chart legend alignment in IE11
2019-02-14 21:23:16 +00:00
Ron Rennick
12c42c7967
phpcs for class-wc-tests-reports-orders-stats.php except print_r
2019-02-14 17:14:52 -04:00
Tiago Noronha
92de076a45
Hide Hello Dolly lyrics
2019-02-14 21:05:36 +00:00
Tiago Noronha
40dd9b5f91
Remove placeholders from components
2019-02-14 20:58:02 +00:00
Tiago Noronha
db2ed027c4
Add strings back to config.js files with title placeholders
2019-02-14 20:53:08 +00:00
Paul Sealock
2e82211616
Add products/stats endpoint to categories
2019-02-15 09:44:46 +13:00
Paul Sealock
87151fa1e3
Merge pull request woocommerce/woocommerce-admin#1548 from woocommerce/fix/stock-status-link
...
Stock Report: fix stock link
2019-02-15 09:42:37 +13:00
Ron Rennick
16c5cf8c77
phpcs for class-wc-tests-reports-revenue-stats.php
2019-02-14 16:34:38 -04:00
Ron Rennick
86c89e741a
one more type -> chartType
2019-02-14 16:03:54 -04:00
Tiago Noronha
816e122408
Revert "Conditionally include `{{rule /}}` in select-filter `mixedString`"
...
This reverts commit e6c811ae21
.
2019-02-14 19:57:27 +00:00
Ron Rennick
e7c55d7ca5
update query string for chart type tests
2019-02-14 15:34:57 -04:00
Ron Rennick
41251c3e9c
fix scss whitespace
2019-02-14 15:31:20 -04:00
Tiago Noronha
e6c811ae21
Conditionally include `{{rule /}}` in select-filter `mixedString`
2019-02-14 19:27:13 +00:00
Tiago Noronha
8e6913a6c6
Add margin to advanced filters Add button
2019-02-14 18:21:33 +00:00
Ron Rennick
f5efd10638
fix merge conflicts
2019-02-14 14:11:15 -04:00
Ron Rennick
1422865efd
remove stray debugging code
2019-02-14 13:40:25 -04:00
Ron Rennick
7f4bb8df63
update chart type query string key to chartType
2019-02-14 13:35:08 -04:00
Timmy Crawford
610f179679
Release v0.7.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1551 )
...
* Bumping version to 0.7.0 and updating docs.
* updates to package-lock.json
2019-02-14 09:24:02 -08:00
Timmy Crawford
ffe45e0658
Up freshness interval default. ( https://github.com/woocommerce/woocommerce-admin/pull/1549 )
2019-02-14 09:23:36 -08:00
Ron Rennick
3278fb9e15
Merge pull request woocommerce/woocommerce-admin#1545 from woocommerce/doc/update-readme-build-instructions
...
add build:feature-config to npm build
2019-02-14 13:07:18 -04:00
Tiago Noronha
ed8c587545
Remove margin between chart legends in column direction
2019-02-14 16:31:20 +00:00
Tiago Noronha
34ece8b72d
Stop Hello Dolly lyrics from displaying in the notices tab
2019-02-14 15:33:03 +00:00
Albert Juhé Lluveras
71bae4cdec
Refactor D3Chart ( https://github.com/woocommerce/woocommerce-admin/pull/1532 )
...
* Refactor d3chart
* Add check that tooltip exists before trying to hide it
2019-02-14 11:29:56 +01:00
Justin Shreve
24301e0090
Add stock stats endpoint and hook up to the stock report. ( https://github.com/woocommerce/woocommerce-admin/pull/1535 )
...
* Add stock stats endpoint and hook up to the stock report.
* Handle PR feedback
2019-02-13 22:31:27 -05:00
Joshua T Flowers
9e1cd42f5b
Update numeric comparisons for customer data ( https://github.com/woocommerce/woocommerce-admin/pull/1541 )
2019-02-14 11:15:48 +08:00
Joshua T Flowers
7d7e1f61b3
Prevent hash creation from breadcrumbs ( https://github.com/woocommerce/woocommerce-admin/pull/1540 )
2019-02-14 11:15:30 +08:00
Joshua T Flowers
25ed8a5b60
Only update search labels when IDs are mismatched ( https://github.com/woocommerce/woocommerce-admin/pull/1539 )
2019-02-14 11:15:10 +08:00
Joshua T Flowers
746d062f09
Check and update customer first orders to fix returning_customers ( https://github.com/woocommerce/woocommerce-admin/pull/1517 )
...
* Add get_oldest_orders function to customer data store
* Check if is first order in is_returning_customer()
* Check if the customers first order has changed and update all orders respectively
* Fix check for empty oldest_orders array
* Change avg_items_per_order to number instead of integer
* Fix failing tests for new/returning customers
Only the first orders with product 1 and without coupons should be new per each customer
* Remove sleep functions from tests
* Assign second order to a variable for legibility
* Fix second order assignment and check if set
2019-02-14 11:14:01 +08:00
Paul Sealock
a60d977d5c
Merge pull request woocommerce/woocommerce-admin#1550 from woocommerce/fix/autocompleter-debounce
...
Autocompleter: increase debounce
2019-02-14 14:47:02 +13:00
Tiago Noronha
2b12f2ceba
IE11: Vertically center advanced filters title span
2019-02-14 01:38:23 +00:00
Tiago Noronha
9d8ed29ea3
IE11: Move placeholders from config files to components and add span around title
2019-02-14 01:35:47 +00:00
Paul Sealock
45b6708a43
Autocompleter: increase debounce
2019-02-14 14:23:08 +13:00
Paul Sealock
f9eec81e71
Stock Report: fix stock link
2019-02-14 13:19:21 +13:00
Tiago Noronha
3495ec74dd
IE11: Add custom CSS class to advanced filters controls
2019-02-13 23:56:50 +00:00
Paul Sealock
13335d342d
Segmented Selection: re-apply borders for all browsers
2019-02-14 12:41:35 +13:00
Jeff Stieler
c862de29d3
Merge pull request woocommerce/woocommerce-admin#1534 from woocommerce/fix/1455-customers-report-name-search
...
Hook up customers report table search box
2019-02-13 13:55:47 -08:00
Tiago Noronha
5724aed4cb
IE11: Fix grid layout for advanced filters line items
2019-02-13 20:31:11 +00:00
Albert Juhé Lluveras
c10d849d85
Add defaults to Revenue table data ( https://github.com/woocommerce/woocommerce-admin/pull/1546 )
2019-02-13 20:37:25 +01:00
Ron Rennick
4567735f77
add build:feature-config to readme instructions
2019-02-13 13:51:39 -04:00
Jeff Stieler
d830a4a257
Fix customer name display in advanced filter search box.
2019-02-13 09:48:14 -07:00
Joshua T Flowers
847b59246d
Add transient notices ( https://github.com/woocommerce/woocommerce-admin/pull/1423 )
...
* Add initial transient notices component
* Animate notices to slide in and out
* Add notices to wc-api
* Map notices from wc-api to transient notices
* Add success message on settings save
* Add save notices to Settings page
* Remove all margin and padding from notice box when empty
* Add role alert to transient notices
* Add prefers reduced motion media query for transient animation
* Remove initial test notice
* Remove notices from wc-api
* Add wc-admin store for transient notices
* Pull transient notices from newly implemented store
* Use speak instead of role alert for accessibility
* Only show success message after request is complete
* Destructure state in componentDidUpdate
* Add store notice tests and fixtures
* Add box shadow to transient notice
* Move transient notices to bottom left
* Fix indentation
2019-02-13 19:44:58 +08:00
Albert Juhé Lluveras
4962ee5e4e
Empty chart message ( https://github.com/woocommerce/woocommerce-admin/pull/1499 )
...
* Show empty chart and summary numbers when search returns no results
* Preserve chart mode in empty searches
* Show message in empty charts
* Improve code order
* Add CHANGELOG message
* Rename emptySearch to emptySearchResults
* Improve emptyMessage propTypes comment
* Remove duplicated code
* Improve CHANGELOG message
* Create util function to check if chart is empty
* Update CHANGELOG message
* Add baseValue prop to Chart
2019-02-12 22:42:02 +01:00
Jeff Stieler
73c430b9b8
Merge pull request woocommerce/woocommerce-admin#1510 from woocommerce/fix/532-wc-install-approach
...
Use a WC_Install-like approach to initialize WC Admin data
2019-02-12 13:05:48 -08:00
Jeff Stieler
531f3b2f35
Remove unnecessary rewrite rules flush from install routine, clean up defunct TODO comment.
2019-02-12 12:57:06 -08:00
Justin Shreve
60d364d329
Update 5.0.0 version check and add basic readme.txt ( https://github.com/woocommerce/woocommerce-admin/pull/1521 )
...
* Update version check, add basic WP.org readme
* Clean up test depedency since we are supporting 5.0.0 or greater
* add some additional keywords
* update greater than message
2019-02-12 15:22:16 -05:00
Justin Shreve
0fe061b97d
Add Feature Flags ( https://github.com/woocommerce/woocommerce-admin/pull/1500 )
...
* First pass at adding feature flags. Accessible over PHP and JS.
* Hook up dev config to test enviornments, hook up features to their flags.
* Cleanup some code and add documentation. Remove beta config.
* Handle PR Feedback: Add devdocs flag, remove categories flag, fix auto-generated PHP warning.
* Add todo for beta phase.
* Handle PR feedback: Simplify is_array check, update build command, simplify test mock, remove empty webpack line.
2019-02-12 15:02:02 -05:00
Jeff Stieler
9762810b70
Support ReportTable search in customers report (list of customer IDs).
2019-02-12 11:08:33 -08:00
Jeff Stieler
e36d25e112
Make customer object IDs compatible with `wc-api`/`fresh-data`.
2019-02-12 11:08:03 -08:00
Jeff Stieler
926fdcfb97
Hook `v4/customers` endpoint up to customers report/lookup table and change name search to be fuzzy.
2019-02-12 11:06:22 -08:00
Tiago Noronha
a2744c9728
Fix chart legend alignment in IE11
2019-02-12 12:51:40 +00:00
Tiago Noronha
a275a72f45
Update changelog for woocommerce/woocommerce-admin#1352
2019-02-11 18:05:00 +00:00
Tiago Noronha
1a8e797b00
Remove items from search input with backspace key
2019-02-11 15:46:51 +00:00
Tiago Noronha
20aacb4fd8
Remove on hover color from disabled button
2019-02-11 12:54:40 +00:00
Peter Fabian
a6761fc606
Merge branch 'master' into fix/489-date_date_gmt
2019-02-10 17:24:54 +01:00
Peter Fabian
a8bedc5998
Accept before and after parameters as DateTime or string.
2019-02-10 17:18:05 +01:00
Peter Fabian
d71225d7d1
Use default after and before parameter values if no values are provided by the user.
2019-02-10 17:16:43 +01:00
Peter Fabian
0d4c0452a0
Removed superfluous date setting.
2019-02-10 17:15:08 +01:00
Peter Fabian
8b4b32c43d
Fixed parameter name from previous copy paste error.
2019-02-10 17:10:50 +01:00
Peter Fabian
08fe9c040e
Fixed number of parameters to the function.
2019-02-10 17:09:52 +01:00
Peter Fabian
b3c3aca973
Centralized default before and after parameters.
2019-02-10 17:07:45 +01:00
Jeff Stieler
884825f325
Fix method calls in test suite (functions moved classes).
2019-02-08 13:19:20 -08:00
Jeff Stieler
e5cdad1683
Move report table syncing methods to their own class and kick off initial sync using WC_Admin_Install.
2019-02-08 12:57:11 -08:00
Jeff Stieler
2797883a48
Move database table creation to new WC_Admin_Install class.
...
Remove reliance on plugin activation hook, following pattern established in WC_Install.
2019-02-08 11:27:39 -08:00
Claudio Sanches
fb02d78a3d
Merge pull request woocommerce/woocommerce-admin#1502 from woocommerce/fix/1489
...
Fixed WordPress database error in unit tests
2019-02-08 16:22:00 -02:00
Peter Fabian
68c65cfde6
Corrected output of GMT time.
2019-02-08 18:12:20 +01:00
Peter Fabian
38a08b58cd
Removed obsolete comment.
2019-02-08 18:11:33 +01:00
Peter Fabian
5fbf5b62d7
Normalize datetimes before doing any further processing with the input from the user.
...
Also, passing DateTime objects around instead of string so that timezone info can be easily attached to it.
2019-02-08 18:11:04 +01:00
Peter Fabian
b70a166f1d
Store datetimes in local time instead of UTC.
2019-02-08 18:01:44 +01:00
Jeff Stieler
432e7efaab
Merge pull request woocommerce/woocommerce-admin#1497 from woocommerce/fix/initial-order-sync-stalling
...
Fix initial order sync stalling
2019-02-07 22:04:50 -08:00
renovate[bot]
477bc7026b
Update dependency eslint-plugin-jsx-a11y to v6.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1485 )
2019-02-08 13:11:27 +08:00
Jeff Stieler
300069234a
Add comments to explain we are skipping `shop_order_refund` types when syncing stats for coupons and taxes.
2019-02-07 18:41:40 -08:00
Claudio Sanches
ec43d58973
Fixed WordPress database error in unit tests
...
Fixes the follow error:
```
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'THIS WONT MATCH' at line 1]
```
Fixes woocommerce/woocommerce-admin#1489
2019-02-07 19:48:16 -02:00
Claudio Sanches
4c169a109d
Fixed missing argument in WC_Admin_Reports_Taxes_Stats_Data_Store::get_data
...
Fixes the follow PHP error:
```
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WC_Admin_Reports_Data_Store::remove_extra_records(), 6 passed in wp-content/plugins/wc-admin/includes/data-stores/class-wc-admin-reports-taxes-stats-data-store.php on line 232
```
2019-02-07 19:30:52 -02:00
Albert Juhé Lluveras
b3e028bc81
Show empty chart and summary numbers when search returns no results ( https://github.com/woocommerce/woocommerce-admin/pull/1491 )
...
* Show empty chart and summary numbers when search returns no results
* Add changelog message
* Preserve chart mode in empty searches
* Add tests
* Fix CSS Lint error
* Make sure the legend updates when there is no data and it's not requesting
* Rename 'emptySearch' to 'emptySearchResults'
* Fix tests
2019-02-07 10:57:47 +01:00
Albert Juhé Lluveras
e2b10bdb49
Fix test_variable_product_extended_info ( https://github.com/woocommerce/woocommerce-admin/pull/1498 )
2019-02-07 10:49:50 +01:00
renovate[bot]
c5900286c0
Update dependency rimraf to v2.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1487 )
2019-02-07 17:40:01 +08:00
renovate[bot]
be6d287118
Update dependency lerna to v3.10.8 ( https://github.com/woocommerce/woocommerce-admin/pull/1486 )
2019-02-07 17:36:43 +08:00
renovate[bot]
1017ba1bdc
Update dependency eslint-plugin-jest to v22.2.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1484 )
2019-02-07 17:29:39 +08:00
renovate[bot]
9a5b9b0b73
Update dependency eslint to v5.13.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1482 )
2019-02-07 17:26:44 +08:00
Joshua T Flowers
8c3973a445
Add manage_stock to stock controller response ( https://github.com/woocommerce/woocommerce-admin/pull/1475 )
...
* Add manage_stock to stock controller response
* Add manage_stock property to stock report tests
* Add changelog entry
* Make stock quantity float instead of int
* Add manage_stock to the products API response
* Check for manage_stock in products table
* Add manage_stock property to product API tests
2019-02-07 16:29:01 +08:00
Albert Juhé Lluveras
79738b2022
Add 'variations' attribute in products 'extended_info' ( https://github.com/woocommerce/woocommerce-admin/pull/1478 )
...
* Add 'variations' attribute in products 'extended_info'
* Add tests
2019-02-07 09:27:02 +01:00
Joshua T Flowers
2b0c8089c0
Try: Fix failing returning customer test ( https://github.com/woocommerce/woocommerce-admin/pull/1496 )
...
* Don't check against same order when checking for returning customer
* Sleep between order creation
* Add todo removal comments for sleep functions
2019-02-07 15:49:56 +08:00
Peter Fabian
79e22bcefd
Switched to creating orders from oldest to newest, not the other way around. ( https://github.com/woocommerce/woocommerce-admin/pull/1495 )
...
That should hopefully take care of the problem with strange new/returning customer values and failing tests.
2019-02-07 15:41:09 +08:00
Jeff Stieler
28739b7cf7
Return a success code when syncing order products in the case of refunds.
...
On the initial sync, no products will be deleted by the sync method (which was indicating a false negative before this fix).
2019-02-06 19:16:30 -08:00
Jeff Stieler
56a1a30224
Skip processing `shop_order_refund`s when syncing coupon and tax lookup tables.
2019-02-06 19:15:06 -08:00
Jeff Stieler
ea39313a60
Avoid false positives when rescheduling dependent queued actions.
2019-02-06 19:11:35 -08:00
Kevin Killingsworth
368c6d729b
@woocommerce/navigation v2.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1494 )
...
* @woocommerce/navigation v2.0.0
* Bump `@wordpress/components` to use navigation v2.0.0
2019-02-06 19:26:22 -06:00
Kevin Killingsworth
8b7e309e6f
navigation: Lazy-create history ( https://github.com/woocommerce/woocommerce-admin/pull/1472 )
...
history.createHashHistory() is being called whenever this package is
imported, which causes the URL to redirect to a hash. This is
unnecessary in cases where elements of wc-admin are used outside of a
completely controlled/routed page.
This lazy-creates the history object only when it's needed and therefore
avoids the URL redirection unless history features are in use.
2019-02-06 13:28:29 -06:00
Peter Fabian
dd947044b9
Changed the date_created columns to datetime.
...
date_created should store local date and time, not UTC timestamp, as the data needs to be sliced and diced by local date/time, not by UTC date/time.
2019-02-06 19:13:57 +01:00
Justin Shreve
a1bbd22ca2
Update product details report to use getItems ( https://github.com/woocommerce/woocommerce-admin/pull/1488 )
2019-02-06 11:24:40 -05:00
Justin Shreve
81fcab5709
Fix product comparison + color scale on charts with lots of options ( https://github.com/woocommerce/woocommerce-admin/pull/1481 )
...
* Fix color scale on charts with lots of options
* Fix product comparison
2019-02-06 10:46:37 -05:00
renovate[bot]
43f3aba8dc
Update dependency eslint-loader to v2.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1483 )
2019-02-06 18:28:41 +08:00
Joshua T Flowers
b7379def1b
Format todo comments to match WC Core format ( https://github.com/woocommerce/woocommerce-admin/pull/1474 )
...
* Format todo comments to match WC Core format
* Remove variations todo comment
2019-02-06 14:41:53 +08:00
Claudio Sanches
b7c40c2c29
Merge pull request woocommerce/woocommerce-admin#1461 from woocommerce/fix/1460
...
Fixed database prefixes for admin notes tables
2019-02-05 16:21:43 -02:00
Claudio Sanches
d26e82b526
Merge branch 'master' into fix/1307
2019-02-05 16:20:08 -02:00
Claudio Sanches
86c3c00480
Clean tables when order is deleted
2019-02-05 16:15:39 -02:00
Justin Shreve
949afce248
Add Product Detail Report & Finish Comparison Chart Mode Functionality ( https://github.com/woocommerce/woocommerce-admin/pull/1391 )
...
Product detail report and comparison
Code cleanup
Fix 404 on product variations endpoint after rebase
Fix up tests
Fix loading indicators and add some checks around malformed variation response
Add date filtering SQL bits to the variations query
Handle PR feedback: Fix viewport, fix duplicate product issue, fix legend display reset, fix bargraph overflow, fix some coding standards/whitespace, add extra variation santiziation.
Fix scroll on wide charts, and fix undefined prop getting passed into report chart render
2019-02-05 13:12:58 -05:00
Peter Fabian
ff129d948c
Merge pull request woocommerce/woocommerce-admin#1383 from woocommerce/fix/1012-2
...
Fixes for ordering and zero-filling.
2019-02-05 19:08:06 +01:00
Claudio Sanches
10f40d4cf3
Merge branch 'master' into fix/1307
2019-02-05 15:48:59 -02:00
Peter Fabian
98e91966d5
Updated tests for code in master:
...
- added segment arrays and
- forced sync before running asserts.
2019-02-05 18:46:42 +01:00
Claudio Sanches
e0004eb461
Merge branch 'master' into feature/754
2019-02-05 15:42:34 -02:00
Peter Fabian
b69d2aa2ab
Merge branch 'master' into fix/1012-2
...
# Conflicts:
# tests/reports/class-wc-tests-reports-orders-stats.php
2019-02-05 18:34:15 +01:00
Albert Juhé Lluveras
84ef5ffb89
Show empty table when search returns no results ( https://github.com/woocommerce/woocommerce-admin/pull/1452 )
...
* Show empty table when search returns no results
* Fix singular wrong string for 'orders'
Co-Authored-By: Aljullu <aljullu@gmail.com>
* Check if search returned 0 results inside table components instead of passing a prop
2019-02-05 13:00:37 +01:00
Albert Juhé Lluveras
df97ac4d49
Improve display of 0-value charts ( https://github.com/woocommerce/woocommerce-admin/pull/1470 )
...
* Improve display of 0-value charts
* Add Changelog comment
2019-02-05 10:56:26 +01:00
Joshua T Flowers
3aaf318779
Exclude trashed orders from reports ( https://github.com/woocommerce/woocommerce-admin/pull/1464 )
2019-02-05 10:57:38 +08:00
renovate[bot]
fd3da36a2f
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1462 )
2019-02-05 10:53:46 +08:00
Jeff Stieler
0711ed85f8
Merge pull request woocommerce/woocommerce-admin#1426 from woocommerce/update/1323-handle-report-regeneration-fail
...
Use Action Scheduler for lookup table updates & schedule retries.
2019-02-04 17:12:35 -07:00
Jeff Stieler
7664612b57
Fix order stats report status filtering test case (returning customer value incorrect).
2019-02-04 16:59:08 -07:00
Albert Juhé Lluveras
16ea4f60fc
Fix hourly labels in bar charts X-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1468 )
...
* Fix hourly labels in bar charts X-axis
* Add CHANGELOG comment
* Remove unnecessary date object call
2019-02-04 22:15:06 +01:00
Jeff Stieler
f938dd5708
Invoke queue test helper in new Order Stats and Products Report tests.
2019-02-04 11:46:46 -07:00
Claudio Sanches
58cdf6a7f9
Fixed hook names
2019-02-04 16:02:49 -02:00
Claudio Sanches
a1976bc1bc
Improve action/hook naming
2019-02-04 15:58:37 -02:00
Albert Juhé Lluveras
7916100009
Fix CSS Lint warning ( https://github.com/woocommerce/woocommerce-admin/pull/1469 )
2019-02-04 18:32:27 +01:00
Jeff Stieler
bebe1bdead
Add test for scheduling a retry job when order syncing fails.
2019-02-04 09:18:51 -07:00
Jeff Stieler
21572698d8
Fix unit tests that rely on queued data updates.
2019-02-04 09:18:50 -07:00
Jeff Stieler
11d18a8b5b
Queue individual order syncing instead of handling immediately.
2019-02-04 09:18:49 -07:00
Jeff Stieler
9f3c95ae63
Rework lookup table data store sync methods to return a meaningful status.
2019-02-04 09:09:44 -07:00
Jeff Stieler
9b1f6999aa
Add action argument support when scheduling dependent actions.
2019-02-04 09:06:44 -07:00
Joshua T Flowers
0d4e42def0
Add segments to expected response in order stats ( https://github.com/woocommerce/woocommerce-admin/pull/1466 )
2019-02-04 18:39:33 +08:00
Albert Juhé Lluveras
9dd4c10d7d
Fix autocompleters in customers and taxes report ( https://github.com/woocommerce/woocommerce-admin/pull/1458 )
2019-02-04 09:51:29 +01:00
Joshua T Flowers
fb0d71f117
Update page query to 1 when base query is changed ( https://github.com/woocommerce/woocommerce-admin/pull/1444 )
...
* Update page query to 1 when base query is changed
* Use history replace instead of updating query
2019-02-04 10:55:06 +08:00
Joshua T Flowers
17179d41ff
Add order status tests and refund tests ( https://github.com/woocommerce/woocommerce-admin/pull/1443 )
...
* Add default order status tests
* Test querying an excluded status
* Add tests for product line item refunds
* Update status test method comment
* Drop @since versioning from doc blocks
2019-02-04 10:52:29 +08:00
Joshua T Flowers
2c1f8c17c7
Fix incorrect label async request paths ( https://github.com/woocommerce/woocommerce-admin/pull/1447 )
2019-02-04 10:50:22 +08:00
Joshua T Flowers
a4f7fcdfe3
Fix variation search autocompleter invalid route ( https://github.com/woocommerce/woocommerce-admin/pull/1448 )
2019-02-04 10:49:58 +08:00
Claudio Sanches
c1bb5802d1
Fixed coding standards
2019-02-01 18:48:54 -02:00
Claudio Sanches
464ec09d38
Merge branch 'feature/754' of github.com:woocommerce/wc-admin into feature/754
2019-02-01 18:32:41 -02:00
Claudio Sanches
48ef33636f
Removed extra function from conflicts
2019-02-01 18:31:10 -02:00
Claudio Sanches
8c0c01a3da
Merge branch 'master' into feature/754
2019-02-01 18:27:23 -02:00
Claudio Sanches
31e8dc9332
Merge branch 'master' into fix/1307
2019-02-01 18:24:26 -02:00
Peter Fabian
32f851be5b
Merge pull request woocommerce/woocommerce-admin#1286 from woocommerce/fix/1035
...
Added segmenting support to REST API
2019-02-01 20:50:38 +01:00
Claudio Sanches
4c71e78222
Fixed database prefixes
...
Moved from woocommerce_ to wc_
2019-02-01 17:23:07 -02:00
Claudio Sanches
93f9ec8ae8
Docblocks
2019-02-01 17:10:31 -02:00
Claudio Sanches
e41a81f8b9
Updated woocommerce_trash_note to woocommerce_delete_note
...
Admin notes doesn't handle statuses, so it's not possible to move to
trash and restore admin notes, all admin notes are permanently deleted.
2019-02-01 17:08:43 -02:00
Claudio Sanches
707067e255
Docblocks
2019-02-01 17:02:15 -02:00
Claudio Sanches
cd55051da3
New actions for when deleting objects from database
2019-02-01 16:29:14 -02:00
Claudio Sanches
68e0c98828
New action name: woocommerce_delete_reports_order_stats
2019-02-01 16:10:00 -02:00
Claudio Sanches
07f3f33566
Introduced new hooks for jetpack sync
2019-02-01 15:43:24 -02:00
Peter Fabian
663e454b8f
Fixed schema: type and enum for segment_id.
2019-02-01 18:30:39 +01:00
Peter Fabian
2bc99cdb31
Added basic tests for zero filling when sorting intervals by non-date property.
2019-02-01 18:16:39 +01:00
Peter Fabian
9c52155d40
Merge pull request woocommerce/woocommerce-admin#1446 from woocommerce/fix/1445
...
Added primary key to tax lookup table to prevent duplicate entries.
2019-02-01 17:52:59 +01:00
Justin Shreve
3fa704f7f4
Add GPL License ( https://github.com/woocommerce/woocommerce-admin/pull/1440 )
...
* Add GPL License file
* Match Gutenberg license / add extra sections
2019-02-01 10:22:05 -05:00
Peter Fabian
c2bcad2e50
Merge branch 'master' into fix/1012-2
2019-02-01 13:32:35 +01:00
Albert Juhé Lluveras
6d8634a753
Add 'Clear' button to Search input ( https://github.com/woocommerce/woocommerce-admin/pull/1410 )
...
* Move labels loading logic into a lib
* Move lib/labels into lib/async-requests
* Implement tabular data filtering
* Allow searching for string in report tables
* Add table filtering to customers table
* Get ids from searched string to populate the table
* Fix autocompleter keyboard interactions
* Improve props naming
* Cleanup report customers data store
* Prevent an edge case issue that might not update the selectedOptions when directily modifying the URL
* Add 'Clear' button to Search input
* Cleanup
2019-02-01 11:49:46 +01:00
Albert Juhé Lluveras
666d8e4a3b
Merge getOrders and getItems ( https://github.com/woocommerce/woocommerce-admin/pull/1438 )
...
* Move labels loading logic into a lib
* Move lib/labels into lib/async-requests
* Implement tabular data filtering
* Allow searching for string in report tables
* Add table filtering to customers table
* Get ids from searched string to populate the table
* Fix autocompleter keyboard interactions
* Improve props naming
* Cleanup report customers data store
* Prevent an edge case issue that might not update the selectedOptions when directily modifying the URL
* Fix wrong selected autocompleter option
* Add missing translation domain
* Move searchItemsByString to wc-api/items/utils.js
* Avoid autocompleter results appearing when there was no search string
* Alphabetically order 'allowFreeTextSearch' prop
* Reset selected table rows when directly modifying the URL
* Simplify props destructuring
* Undo customers data store change
* Simplify isProductDetailsView expression
* Improve order
* Merge getOrders and getItems
2019-02-01 11:01:42 +01:00
Albert Juhé Lluveras
d8ed3b6614
Implement tabular data filtering ( https://github.com/woocommerce/woocommerce-admin/pull/1381 )
...
* Move labels loading logic into a lib
* Move lib/labels into lib/async-requests
* Implement tabular data filtering
* Allow searching for string in report tables
* Add table filtering to customers table
* Get ids from searched string to populate the table
* Fix autocompleter keyboard interactions
* Improve props naming
* Cleanup report customers data store
* Prevent an edge case issue that might not update the selectedOptions when directily modifying the URL
* Fix wrong selected autocompleter option
* Add missing translation domain
* Move searchItemsByString to wc-api/items/utils.js
* Avoid autocompleter results appearing when there was no search string
* Alphabetically order 'allowFreeTextSearch' prop
* Reset selected table rows when directly modifying the URL
* Simplify props destructuring
* Undo customers data store change
* Simplify isProductDetailsView expression
* Improve order
* Filter tax code parts before modifying them
2019-02-01 10:55:19 +01:00
Albert Juhé Lluveras
1069034ca2
Trim search box input ( https://github.com/woocommerce/woocommerce-admin/pull/1439 )
...
* Trim search box input
* Add tests
2019-02-01 10:43:56 +01:00
Peter Fabian
907fcdb863
Merge pull request woocommerce/woocommerce-admin#1435 from woocommerce/fix/1372
...
Added indices for faster joins with customer table and filtering by order status.
2019-02-01 10:27:06 +01:00
Peter Fabian
8bc4c70cae
Added primary key to tax lookup table to prevent duplicate entries.
2019-02-01 10:23:59 +01:00
Kelly Dwan
ca34ad0274
Bump version ( https://github.com/woocommerce/woocommerce-admin/pull/1442 )
2019-01-31 17:47:50 -05:00
Peter Fabian
40b9458f8d
Added indices for faster joins with customer table and filtering by order status.
2019-01-31 10:54:55 +01:00
Joshua T Flowers
e65247c54e
Add SKU to product variations table ( https://github.com/woocommerce/woocommerce-admin/pull/1422 )
...
* Add SKU to product variations data store extended info
* Show SKU in product variations table
* Add sku tests for product variation reports
2019-01-31 09:27:15 +08:00
Joshua T Flowers
49e78b90cf
Add settings page with excluded order statuses ( https://github.com/woocommerce/woocommerce-admin/pull/1364 )
...
* Add settings page routes
* Add control options for excluded statuses
* Add control options for excluded statuses
* Add excluded order statuses to rest api
* Add wc settings to wc-api
* Add wc settings to wc-api
* Split and validate multiselect values in settings controller
* Add wcAdminSettings to wcSettings global
* Set initial excluded statuses from serverside wcSettings data
* Add extensible filter for wcSettings global
* Split arrays into comma separated strings in wc-api
* Extract setting as separate component
* Extra settings to config file
* Add checkboxGroup option as input type
* Separate status types into default and custom groups
* Add setting option styling
* Add responsive styling for settings
* Fix wpClosedMenu and wpOpenMenu for settings page
* Add support for resetting to default values
* Only show checkbox group if options are available
* Add proptypes to Setting component
* Add extensible filter to analytics settings
* Add readme for settings config and extensibility
* Hook up excluded status settings to reports
* Pass object to settings API instead of comma delimited string
* Fix inpuType -> inputType typo
* Remove hasError from constructor
* Bump settings API to v4
* Use interpolateComponents instead of dangerously setting html
* Use empty array in initial excldued statuses setting value if none is retrieved
* Remove double check for refunded status in default order statuses
* Update settings wc-api to use namespace
* Add aria=labelledby to checkbox group
2019-01-31 09:04:11 +08:00
renovate[bot]
713d64c97a
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1362 )
2019-01-30 16:15:54 -05:00
renovate[bot]
85a46252df
Update dependency core-js to v2.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1375 )
2019-01-30 15:59:19 -05:00
renovate[bot]
f128716d28
Update babel monorepo ( https://github.com/woocommerce/woocommerce-admin/pull/1373 )
2019-01-30 15:46:29 -05:00
renovate[bot]
e18837e255
Update dependency autoprefixer to v9.4.7 ( https://github.com/woocommerce/woocommerce-admin/pull/1374 )
2019-01-30 15:25:19 -05:00
renovate[bot]
ead7ca0523
Pin dependency locutus to 2.0.10 ( https://github.com/woocommerce/woocommerce-admin/pull/1408 )
2019-01-30 15:13:31 -05:00
renovate[bot]
099e8a60af
Update dependency eslint-plugin-jsx-a11y to v6.2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1416 )
2019-01-30 14:20:36 -05:00
renovate[bot]
40cd3545fe
Update dependency eslint-plugin-react to v7.12.4 ( https://github.com/woocommerce/woocommerce-admin/pull/1418 )
2019-01-30 13:59:32 -05:00
renovate[bot]
43c753011a
Update dependency eslint to v5.12.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1376 )
2019-01-30 13:53:25 -05:00
Timmy Crawford
974d263f69
Release/v0.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1417 )
...
* Bump versions to 0.6.0
* Update docs
* Updates after running build.
2019-01-30 10:51:03 -08:00
renovate[bot]
e2da828d1f
Update dependency lerna to v3.10.7 ( https://github.com/woocommerce/woocommerce-admin/pull/1419 )
2019-01-30 13:14:58 -05:00
renovate[bot]
d4a7cec89a
Update dependency eslint-plugin-jest to v22.2.1 ( https://github.com/woocommerce/woocommerce-admin/pull/1415 )
2019-01-30 13:10:27 -05:00
Peter Fabian
e433609d9d
Updated test of schema for taxes/stats.
2019-01-30 18:46:06 +01:00
Peter Fabian
0ddc6d5e41
Added segmenting code for taxes/stats.
2019-01-30 18:36:20 +01:00
Peter Fabian
0d95552157
Added segmentby to schema, query arguments and allows parameters in the controller for taxes/stats.
2019-01-30 12:16:37 +01:00
Albert Juhé Lluveras
08dfea7cff
Add Taxes REST controller override ( https://github.com/woocommerce/woocommerce-admin/pull/1407 )
2019-01-30 10:43:30 +01:00
Justin Shreve
53a6e49874
Finish cleaning up client/store. ( https://github.com/woocommerce/woocommerce-admin/pull/1403 )
2019-01-30 02:22:10 -05:00
Timmy Crawford
88ea613627
Build: Updates from latest npm publish ( https://github.com/woocommerce/woocommerce-admin/pull/1409 )
...
* remove unreleased tags from changelogs
* chore(release): publish
- @woocommerce/components@1.4.1
- @woocommerce/csv-export@1.0.3
- @woocommerce/currency@1.1.0
- @woocommerce/date@1.0.6
- @woocommerce/navigation@1.1.1
- @woocommerce/number@1.0.1
2019-01-29 15:37:25 -08:00
Claudio Sanches
d1fef77ed0
Added unit tests for order deletation
2019-01-29 20:21:09 -02:00
Paul Sealock
4854933485
Merge pull request woocommerce/woocommerce-admin#1404 from woocommerce/fix/customers-date-between-args
...
Customers Report: REST API: Fix between argument handling
2019-01-30 10:32:54 +13:00
Paul Sealock
f71bfa95f4
Merge pull request woocommerce/woocommerce-admin#1406 from woocommerce/fix/customers-order-count-filter
...
Customers Report: fix order count filter
2019-01-30 10:32:29 +13:00
Kelly Dwan
dfd15f959a
Components package: Add emoji-flags dependency ( https://github.com/woocommerce/woocommerce-admin/pull/1411 )
...
* Add emoji-flags to the components package.json
* Update the changelog
2019-01-29 16:19:00 -05:00
Claudio Sanches
b0b506b397
Introduced new methods to clean up data when an order is deleted
2019-01-29 19:13:06 -02:00
Claudio Sanches
766fdeeada
Remove extra validation
2019-01-29 18:50:44 -02:00
Claudio Sanches
272203b879
Introduced new woocommerce_reports_orders_stats_data_deleted hook
2019-01-29 18:50:15 -02:00
Peter Fabian
6efef57cba
Factored out order-related product-level calculations to WC_Admin_Order and plugged it into the WC framework.
2019-01-29 19:57:04 +01:00
Timmy Crawford
10c6016d4c
Update usage of lib/number to @woocommerce/number ( https://github.com/woocommerce/woocommerce-admin/pull/1400 )
...
* Remove usage of lib/number
* Remove formatNumber usage when currency is used.
* Add wc-number as a dependency of wc-currency.
* Add locutus as a dev dependency.
* Add number to test helper.
2019-01-29 08:48:46 -08:00
Peter Fabian
e56009cfdc
Updated todo format to be in line with the rest of WooCommerce.
2019-01-29 13:29:50 +01:00
Peter Fabian
a3ae15d58e
Removed obsolete comment.
2019-01-29 12:52:20 +01:00
Peter Fabian
bee26375f9
Validate limit clause and set empty default if there is no limit.
2019-01-29 12:18:30 +01:00
Peter Fabian
c2eaf6d71c
Replaced REST exception with a custom exception and handle it in REST controllers.
2019-01-29 12:13:52 +01:00
Peter Fabian
e4e09b4c39
Merge branch 'master' into fix/1035
2019-01-29 10:01:41 +01:00
Paul Sealock
3379491c91
Customers Report: fix order count filter
2019-01-29 13:35:27 +13:00
Timmy Crawford
e136036ef9
Build: Create new number package ( https://github.com/woocommerce/woocommerce-admin/pull/1399 )
...
* Create new number package
* Updates per feedback.
* Update README.
2019-01-28 15:34:56 -08:00
Paul Sealock
765a007491
tweeek
2019-01-29 12:08:44 +13:00
Paul Sealock
e6b42631f3
formatting
2019-01-29 11:48:40 +13:00
Paul Sealock
41bec03880
tweeks
2019-01-29 11:28:58 +13:00
Paul Sealock
370a747c2b
add registered
2019-01-29 11:05:27 +13:00
Paul Sealock
3e16a37be0
add tests
2019-01-29 11:01:25 +13:00
Paul Sealock
483c199fbf
tests working
2019-01-29 10:53:56 +13:00
Paul Sealock
c6d1ce98c0
rest_validate_between_date_arg
2019-01-29 10:45:49 +13:00
Paul Sealock
2f022ffdba
dry interval.php
2019-01-29 10:23:44 +13:00
Paul Sealock
3d0890a704
basic working
2019-01-29 09:21:11 +13:00
Paul Sealock
bca0785e64
Customers Report: support between args for dates
2019-01-29 08:58:07 +13:00
Kevin Killingsworth
833345dfee
Remove 'wc-admin' client/store implementation ( https://github.com/woocommerce/woocommerce-admin/pull/1344 )
...
This has been replaced by the `wc-api` store, under client/wc-api
2019-01-28 14:18:21 -05:00
Jeff Stieler
7592dae4bb
Merge pull request woocommerce/woocommerce-admin#1385 from woocommerce/add/customers-report-table-summary
...
Add table summary to Customers Report
2019-01-28 09:59:52 -07:00
Jeff Stieler
2703a0da4c
Merge pull request woocommerce/woocommerce-admin#1370 from woocommerce/fix/942-phpunit-gutenberg-dependency
...
Conditionally include Gutenberg plugin in test suite
2019-01-28 09:59:13 -07:00
Peter Fabian
71dc581f53
Merge pull request woocommerce/woocommerce-admin#1394 from woocommerce/fix/1393
...
Added zero-filling for intervals for taxes/stats endpoint
2019-01-28 13:09:02 +01:00
Albert Juhé Lluveras
066daa4b6a
Add Top Coupons Block ( https://github.com/woocommerce/woocommerce-admin/pull/1397 )
...
* Add Top Coupons Block
* Order coupons by orders_count by default
* Fix wrong variable name
2019-01-25 18:59:53 +01:00
Joshua T Flowers
9c9ff13c2b
Allow customer date_last_active to be null ( https://github.com/woocommerce/woocommerce-admin/pull/1377 )
...
* Allow customer date_last_active to be null
* Only show last active in customers report table if set
2019-01-25 09:37:50 -08:00
Timmy Crawford
40602efd89
Components; Fix SummaryNumber example ( https://github.com/woocommerce/woocommerce-admin/pull/1392 )
2019-01-25 09:17:09 -08:00
Peter Fabian
05aedb2a63
Added tests for ASC ordering.
2019-01-25 17:40:33 +01:00
Peter Fabian
b87ca4f6aa
Added filling in zeros for interval not having records in the database.
2019-01-25 14:54:14 +01:00
Peter Fabian
c8c9cd4943
Updated error message to point to the correct report.
2019-01-25 13:30:27 +01:00
Peter Fabian
4c8a95cb89
Added fetching of db intervals for later use in zero-filling.
2019-01-25 13:29:59 +01:00
Peter Fabian
1c09b6836d
Adjusted default return value when page is out of range.
2019-01-25 13:14:41 +01:00
Paul Sealock
050438a11c
Add emoji flags
2019-01-25 13:17:08 +13:00
David Levin
74fcff642c
Merge pull request woocommerce/woocommerce-admin#1382 from woocommerce/update/total-spend-label
...
Customer report: Update lifetime spend label and re-order columns + default sorting
2019-01-24 09:04:40 -08:00
Peter Fabian
d75c963bb1
Merge branch 'master' into fix/1012-2
2019-01-24 11:18:23 +01:00
Albert Juhé Lluveras
95c21e0cc3
Move 'getLabels' functions into lib/async-requests ( https://github.com/woocommerce/woocommerce-admin/pull/1379 )
...
* Move labels loading logic into a lib
* Avoid making API calls when displaying Order labels
* Move lib/labels into lib/async-requests
* Rename 'getCustomerLabel' to 'getCustomerLabels'
2019-01-24 10:35:27 +01:00
Joshua T Flowers
81b6f0f61b
Use tableQuery sorting when url query is not present ( https://github.com/woocommerce/woocommerce-admin/pull/1378 )
2019-01-24 09:36:11 +08:00
Joshua T Flowers
23f807c0a4
Add regex expression option to autocompleters ( https://github.com/woocommerce/woocommerce-admin/pull/1380 )
2019-01-24 09:35:47 +08:00
Jeff Stieler
8207bd7649
Add tests for customers report stats endpoint.
2019-01-23 17:48:22 -07:00
Jeff Stieler
6a215ceca9
Exclude customers with no orders from average orders count calculation.
2019-01-23 17:47:44 -07:00
Jeff Stieler
4cfa082d0f
Load gutenberg from test plugins directory if required.
2019-01-23 16:59:10 -07:00
Peter Fabian
c96b291a6c
Added a bit of test for interval=hour order_by=date desc.
2019-01-23 22:13:00 +01:00
Peter Fabian
64f1418f22
Merge branch 'master' into fix/1012-2
2019-01-23 21:40:09 +01:00
Peter Fabian
5b46862584
Merge pull request woocommerce/woocommerce-admin#1371 from woocommerce/fix/1316-1
...
First attempt to fix tests failing around end of hour
2019-01-23 21:34:16 +01:00
Peter Fabian
d61a4dd5bd
Updated tests to be more stable around hour end.
2019-01-25 00:06:59 +01:00
David Levin
4c18267408
update orderby in index
2019-01-23 10:08:27 -08:00
David Levin
e7a20b4216
update column lifetime spend column label, and re-order columns
2019-01-23 09:51:12 -08:00
Peter Fabian
33f1240987
Fix to remove extra intervals correctly.
2019-01-23 17:18:39 +01:00
Peter Fabian
eff341d832
Made the interval sorting stable (second level sort by time_interval).
...
This is required so that intervals are sorted in the same way each time when going through pages of results.
2019-01-23 16:58:03 +01:00
Peter Fabian
71a9be299a
Updated tests to pass before implementing the updated new/returning customer definition.
...
Context: https://github.com/woocommerce/wc-admin/issues/558#issuecomment-447782060
2019-01-23 13:29:40 +01:00
Peter Fabian
83a0d96f68
Added segmenting to response for revenue/stats test.
2019-01-23 10:37:09 +01:00
Peter Fabian
e432a17f1e
Added segmenting to response for products/stats test.
2019-01-23 10:36:50 +01:00
Peter Fabian
f190c1bad1
Fixed copy-paste bug for testing subtotals in REST response.
2019-01-23 10:36:27 +01:00
Peter Fabian
bcb7513f34
Added segmenting to response for coupons/stats test.
...
Fixed copy-paste error in test for subtotals.
2019-01-23 10:35:48 +01:00
Peter Fabian
bc42e6d985
Fixed bug introduced during refactoring.
2019-01-23 10:34:55 +01:00
Peter Fabian
fed94cbd0c
Added segmenting to response for coupons/stats test.
...
Changed return type for currency.
2019-01-23 10:34:07 +01:00
Peter Fabian
507ee13825
Merge branch 'master' into fix/1035
...
# Conflicts:
# client/analytics/report/customers/table.js
# includes/api/class-wc-admin-rest-reports-orders-stats-controller.php
# tests/reports/class-wc-tests-reports-orders-stats.php
2019-01-23 10:13:55 +01:00
Paul Sealock
3521e8d485
Merge pull request woocommerce/woocommerce-admin#1329 from woocommerce/fix/reduce-margin-small-views
...
Reports: Reduce Margins on Small Viewports
2019-01-23 14:38:48 +13:00
Peter Fabian
012e14c589
Corrected time-calculation of last interval.
2019-01-22 19:50:35 +01:00
Jeff Stieler
0ef976f964
Increase default wc-api timeout to 1 minute.
...
Large datasets may cause responses to take longer than 5 seconds.
2019-01-22 11:22:28 -07:00
Jeff Stieler
2d4aea1971
Only install/activate Gutenberg plugin if WP version under test is earlier than 5.0.
2019-01-22 10:44:00 -07:00
Peter Fabian
8a9a2c0673
Fixed interval arithmetic for hours and days.
2019-01-22 17:49:02 +01:00
David Levin
e9bb73f23d
Update order of summary numbers on taxes report ( https://github.com/woocommerce/woocommerce-admin/pull/1356 )
2019-01-22 07:49:17 -08:00
Paul Sealock
48f6777ea3
side margins
2019-01-22 13:24:01 +13:00
Paul Sealock
258c298e91
400
2019-01-22 13:11:06 +13:00
Paul Sealock
0e01c98851
Reports: Reduce Margins on Small Viewports
2019-01-22 12:29:32 +13:00
Paul Sealock
a52fab85de
Merge pull request woocommerce/woocommerce-admin#1332 from woocommerce/fix/summary-number-close-on-mobile
...
SummaryNumbers: close on click for mobile
2019-01-22 12:09:07 +13:00
Paul Sealock
35b3579632
Orders Report: Point table links to wc-admin reports with persisted query
2019-01-22 11:32:33 +13:00
Paul Sealock
c7b705fb08
SummaryNumbers: close on click for mobile
2019-01-22 11:31:37 +13:00
Paul Sealock
d09c68660b
Merge pull request woocommerce/woocommerce-admin#1328 from woocommerce/fix/Filters-only-complete-ranges
...
Advanced Filters: Ranges: Allow update only on complete selection
2019-01-22 11:21:10 +13:00
Justin Shreve
fdddca1186
Merge pull request woocommerce/woocommerce-admin#1366 from woocommerce/fix/schema-typo
...
Fix performance-indicators/allowed schema.
2019-01-21 15:54:15 -05:00
Albert Juhé Lluveras
834901bc84
Fill full plot area in bar charts ( https://github.com/woocommerce/woocommerce-admin/pull/1365 )
...
* Fill full plot area in bar charts
* Refactor chart scales tests
2019-01-21 20:58:38 +01:00
Albert Juhé Lluveras
f2ac9f2bb2
Center points in single-date charts ( https://github.com/woocommerce/woocommerce-admin/pull/1360 )
...
* Center single point charts
* Don't render lines if there is only one date
* Remove xOffset from 'params'
* Improve variable naming
2019-01-21 20:30:21 +01:00
Albert Juhé Lluveras
37d6fa0b60
CSS Lint fixes ( https://github.com/woocommerce/woocommerce-admin/pull/1367 )
2019-01-21 19:09:16 +01:00
Justin Shreve
1f8caf106e
Fix performance-indicators/allowed schema.
2019-01-21 12:28:32 -05:00
Joshua T Flowers
3ac97e00c4
Add single category filter to products report ( https://github.com/woocommerce/woocommerce-admin/pull/1350 )
...
* Add namespace v4 for WC product/categories endpoint
* Update categories wc-api to use v4 namespace constant
* Add single product category filter to product categories report
* Add link to filtered product report from category report
* Use persistedQuery for category links
* Check if category is defined before displaying category link
* Remove selectedTags when filter does not match queried filter
2019-01-22 01:12:00 +08:00
Joshua T Flowers
4869401ec4
REST API: Allow sorting by stock_status in stocks endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/1335 )
...
* REST API: Allow sorting by stock_status in stocks endpoint
* Set stock_status as default orderby
* Sort by both stock status and quantity in meta query
* Use stock_status sort order by default in Stock table (https://github.com/woocommerce/woocommerce-admin/pull/1340 )
* Reverse stock quantity order when sorting by stock status
2019-01-22 01:11:20 +08:00
Jeff Stieler
4a6f2652b6
Hook customers report table summary up to stats endpoint.
2019-01-21 08:46:21 -07:00
Paul Sealock
7856a58b49
Advanced Filters: Ranges: Allow update only on complete selection
2019-01-21 09:54:31 +13:00
Albert Juhé Lluveras
c9df5861a8
Remove leading zero from chart dates ( https://github.com/woocommerce/woocommerce-admin/pull/1353 )
2019-01-19 12:38:17 +01:00
Jeff Stieler
07cbaae2a5
Add customers report stats endpoint.
2019-01-18 20:29:50 -07:00
Justin Shreve
2f60837ba5
Add performance indicators to dashboard ( https://github.com/woocommerce/woocommerce-admin/pull/1343 )
...
* Add label and generated report URL to the performance indicator response.
* Hook up performance indicators to the REST API
* Handle PR feedback
* Fix setting default values
2019-01-18 14:22:11 -05:00
Justin Shreve
286f5a7ae1
Update list of allowed stats
2019-01-18 15:11:38 -05:00
Justin Shreve
7c418a4a45
Add v4 of the data/countries filter so that the country autocompleter work and a notice goes away. ( https://github.com/woocommerce/woocommerce-admin/pull/1354 )
2019-01-18 14:17:12 -05:00
Justin Shreve
b8d25c3073
Fix setting default values
2019-01-18 12:11:49 -05:00
Peter Fabian
f2634ca5c8
Added support for segmenting to coupons/stats.
2019-01-18 17:11:46 +01:00
Justin Shreve
bd54541ca0
Handle PR feedback
2019-01-18 08:52:10 -05:00
Justin Shreve
01b96ebea5
Hook up performance indicators to the REST API
2019-01-18 08:19:19 -05:00
Justin Shreve
96fc10747f
Add label and generated report URL to the performance indicator response.
2019-01-18 08:16:52 -05:00
Peter Fabian
e8f264c346
Moved common code to parent class.
2019-01-18 14:08:34 +01:00
Peter Fabian
ea2f5ca5d9
Fixed number of parameters for product lookup update.
2019-01-18 13:07:19 +01:00
Peter Fabian
caea199852
Updated revenue/stats REST controller to include segmentation options/fields.
2019-01-18 13:06:40 +01:00
Peter Fabian
128f52fdc8
Restrict products/stats only to supported segmentby options.
2019-01-18 12:28:12 +01:00
Joshua T Flowers
25e7192ecb
Move search icon inside input wrapper ( https://github.com/woocommerce/woocommerce-admin/pull/1351 )
2019-01-18 18:51:47 +08:00
Peter Fabian
1d79714295
Added segmenting to products/stats.
2019-01-18 11:41:15 +01:00
Joshua T Flowers
fb8c4dd92f
Add single category filter to categories report ( https://github.com/woocommerce/woocommerce-admin/pull/1336 )
...
* Add single category filter to categories report
* Change categories leaderboard link to signle category link
* Remove todo comment regarding the single_category filter
* Update category links to categories report in products table
2019-01-18 15:46:12 +08:00
Joshua T Flowers
e0853b5408
Add country code as keyword for countries search ( https://github.com/woocommerce/woocommerce-admin/pull/1337 )
...
* Add country name to tooltip and screen reader text
* Add country code to autocompleter keywords
2019-01-18 11:13:07 +08:00
Joshua T Flowers
6b29ec01a7
Add autocompleter input type and fix load options ( https://github.com/woocommerce/woocommerce-admin/pull/1334 )
...
* Allow inputType option for autocompleters
* Return early if optionsData is undefined in loadOptions
* Remove number spinners for autocomplete number inputs
2019-01-18 10:53:38 +08:00
Joshua T Flowers
7cdbbf87e8
Update all wc-admin endpoints to v4 ( https://github.com/woocommerce/woocommerce-admin/pull/1298 )
...
* Update all wc-admin endpoints to v4
* Add namespace for products and customers controllers
* Include product quantity in orders data store
* Add coupons to extended data in the orders data store
* Format order statuses response from database
* Hook up orders table to orders endpoint
* Add namespace to data endpoint controller
* Add namespaces to remaining extended controllers
* Use NAMESPACE var in place of wc/v4
* Update product links in orders table to products reports
* Add coupons rest controller override
* Format coupon code in response
Co-Authored-By: joshuatf <joshuatf@gmail.com>
2019-01-18 10:52:58 +08:00
Joshua T Flowers
11ddae699a
Add helpText to coupon compare button ( https://github.com/woocommerce/woocommerce-admin/pull/1333 )
2019-01-18 10:22:51 +08:00
Jeff Stieler
4407e05bc4
Merge pull request woocommerce/woocommerce-admin#1342 from woocommerce/fix/1090-currency-settings-formatting
...
Honor WooCommerce Settings When Formatting Currency/Price
2019-01-17 17:06:13 -07:00
Jeff Stieler
ec2efaf560
Update affected package CHANGELOGs.
2019-01-17 16:38:43 -07:00
Jeff Stieler
560606df17
Update comment about formatCurrency() currency symbol parameter fallback logic.
2019-01-17 16:30:27 -07:00
Jeff Stieler
4fabbee20f
numberFormat(): add test for new non-number precision value logic.
2019-01-17 16:28:00 -07:00
Jeff Stieler
2ad5922f1f
Simplify precision preservation logic in numberFormat().
...
Props @Aljullu.
2019-01-17 16:25:44 -07:00
Albert Juhé Lluveras
059cd0ef0d
Set default order to 'desc' in time tables ( https://github.com/woocommerce/woocommerce-admin/pull/1341 )
2019-01-17 22:14:12 +01:00
Albert Juhé Lluveras
5dcea1af6f
Remove wc-api customers ( https://github.com/woocommerce/woocommerce-admin/pull/1338 )
2019-01-17 19:07:21 +01:00
Paul Sealock
836cccafb8
Merge pull request woocommerce/woocommerce-admin#1327 from woocommerce/fix/filter-width-wide-screens
...
Filters: make 1/4 width for wiiiiiiide screens
2019-01-18 07:01:17 +13:00
Paul Sealock
3ba676ac57
Merge pull request woocommerce/woocommerce-admin#1305 from woocommerce/fix/date-query-formats
...
Advanced Filters: append time stamp to dates for API query
2019-01-18 07:00:40 +13:00
Timmy Crawford
508c48042c
chore(release): publish ( https://github.com/woocommerce/woocommerce-admin/pull/1326 )
...
- @woocommerce/components@1.4.0
- @woocommerce/csv-export@1.0.2
- @woocommerce/date@1.0.5
2019-01-17 09:11:49 -08:00
Jeff Stieler
7a0243e6d7
Use store currency settings to initialize D3 format.
2019-01-17 10:08:15 -07:00
Jeff Stieler
25e81de952
Decode HTML entities in currency symbol and price format for use on the frontend.
...
The only alternative is to `dangerouslySetInnerHTML` everywhere.
2019-01-17 09:21:03 -07:00
Peter Fabian
25bb5e06df
Factor out the segmentation code so that it's more reusable and clutters orders/stats data store less.
2019-01-17 12:14:24 +01:00
Albert Juhé Lluveras
4d2ee738d0
Set eslint react version to 'detect' ( https://github.com/woocommerce/woocommerce-admin/pull/1300 )
2019-01-17 10:25:08 +01:00
Albert Juhé Lluveras
0cda85b997
Add missing thousands separator in charts Y-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1312 )
2019-01-17 10:18:28 +01:00
Jeff Stieler
6ed8ea117a
Refactor formatCurrency() to use store settings for formatting rather than store locale.
2019-01-17 00:04:57 -07:00
Jeff Stieler
ddae6d3955
Add currency symbol to orders endpoint response.
2019-01-17 00:01:09 -07:00
Joshua T Flowers
da22cbdc9d
Update returning customer data to use customer ID ( https://github.com/woocommerce/woocommerce-admin/pull/1180 )
...
* Change check for returning customers to check customer_id
* Count distinct returning and new customers in totals
* Fix priority action misplacement and order date timestamp
* Change expected num returning/new customers to fix failing tests
Previously these included references to number of returning vs new orders. Update to refer to the newly updated customer count.
* Use new get_customer_id_by_user_id() to get customer ID
* Fix 0 returning customers expectation
* Move returning customer function to order stats data store
* Sync order stats on order delete
* Change date compare for is_returning_customer
* Add test case for returning customer order
* Add references to instead of 2
2019-01-17 10:47:30 +08:00
Jeff Stieler
858ec82e8c
Rework numberFormat() to maintain decimal precision by default.
2019-01-16 18:41:15 -07:00
Paul Sealock
d214e229ae
refactor timeStampFilterDates
2019-01-17 13:57:11 +13:00
Paul Sealock
af98c7dd91
better tests
2019-01-17 13:35:20 +13:00
Jeff Stieler
4bf7a79a84
Add price format, decimal separator, and thousand separator to currency settings object.
2019-01-16 17:32:48 -07:00
Jeff Stieler
78e1be139f
Refactor numberFormat() to use the store settings for precision, decimal separator, and thousand separator.
2019-01-16 17:32:12 -07:00
Paul Sealock
41c30c7506
Filters: make 1/4 width for wiiiiiiide screens
2019-01-17 12:21:45 +13:00
Paul Sealock
c866d1e1e2
Customers Report: remove extended data call
2019-01-17 10:10:23 +13:00
Paul Sealock
aaceb781fd
tests
2019-01-17 09:37:43 +13:00
Paul Sealock
b3d7e96a00
jsDoc
2019-01-17 09:08:04 +13:00
Paul Sealock
4cd803466a
updateFilter
2019-01-17 08:57:41 +13:00
Jeff Stieler
149ee08f4b
Include all users in customer lookup table generation.
2019-01-16 10:20:11 -07:00
Jeff Stieler
c0e6a097fd
Fix orders report test.
2019-01-16 09:45:52 -07:00
Jeff Stieler
11cb74cccd
Fix variable name nitpick.
2019-01-16 09:45:52 -07:00
Jeff Stieler
a2f94c11ba
Add coupons and taxes lookup table generation to reports rebuild.
2019-01-16 09:45:51 -07:00
Jeff Stieler
84732137bc
Bail out of creating batches for customers and orders if there are none.
2019-01-16 09:45:51 -07:00
Jeff Stieler
ffe11650a8
Remove now-defunct order stats background process.
2019-01-16 09:45:50 -07:00
Jeff Stieler
763cc972a7
Regenerate all reports from rebuild stats endpoint.
2019-01-16 09:45:04 -07:00
Jeff Stieler
5c6174066e
Add tests for report regeneration batch queuing methods.
2019-01-16 09:45:04 -07:00
Jeff Stieler
1a5af7094d
Add WC_Action_Queue test helper class.
...
The test helper allows inspection of the action queue.
2019-01-16 09:45:04 -07:00
Jeff Stieler
4786938bdf
Fix customers report tests.
2019-01-16 09:45:03 -07:00
Jeff Stieler
6eca20c5fd
Reports regenerate: add mechanism to queue an action after another completes - use to queue orders lookup init after customers lookup.
2019-01-16 09:45:03 -07:00
Jeff Stieler
4740f93985
Reports regenerate: use queue to update order stats and products lookup table.
2019-01-16 09:45:02 -07:00
Jeff Stieler
3b9a4ef4a1
Report regeneration: allow batch sizes to differ between actions.
2019-01-16 09:45:02 -07:00
Jeff Stieler
fabc1dc70b
Reports regenerate: use queue to update customers lookup table.
2019-01-16 09:45:02 -07:00
Jeff Stieler
c361119a0d
Report table generation: add method for enqueuing a large number of batch jobs with a limited batch size.
2019-01-16 09:45:01 -07:00
Timmy Crawford
d45f31c389
Update packages docs ( https://github.com/woocommerce/woocommerce-admin/pull/1324 )
2019-01-16 08:39:37 -08:00
Timmy Crawford
0cb75629de
Release v0.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1319 )
...
* Release 0.5.0
* Updates from release build.
2019-01-16 08:24:45 -08:00
renovate[bot]
e6dd023fc8
Update dependency recast to v0.16.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1318 )
2019-01-16 13:13:44 +01:00
renovate[bot]
f3c61d4121
Update dependency eslint-plugin-jest to v22.1.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1317 )
2019-01-16 13:01:02 +01:00
renovate[bot]
65c2a01213
Update dependency dompurify to v1.0.9 ( https://github.com/woocommerce/woocommerce-admin/pull/1315 )
2019-01-16 12:58:54 +01:00
renovate[bot]
78cfaec287
Update dependency core-js to v2.6.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1314 )
2019-01-16 12:57:08 +01:00
renovate[bot]
f8c6d949e4
Pin dependency node-watch to 0.6.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1313 )
2019-01-16 12:55:13 +01:00
Peter Fabian
05c7670090
Merge branch 'master' into fix/1035
...
# Conflicts:
# includes/class-wc-admin-reports-interval.php
# includes/data-stores/class-wc-admin-reports-data-store.php
# includes/data-stores/class-wc-admin-reports-products-data-store.php
2019-01-16 12:51:23 +01:00
Joshua T Flowers
33a7cfa1b0
Store all order statuses ( https://github.com/woocommerce/woocommerce-admin/pull/1285 )
...
* Store all orders regardless of status in wc_order_stats
* Only query select statuses if status_is or status_is_not is not set
* Fix order stats example query
* Filter category store by default order statuses
* Add table_name to interval functions to avoid ambiguity
* Filter coupon store by default order statuses
* Fix interval stats by adding table_name to interval function
* Filter products store by default order statuses
* Remove unused order_status in coupons data store
* Store products with any order status
* Fix ambiguous order by call in products data store
* Apply status filter after other filters to avoid logical OR matching
* Store all coupon data regardless of order status
* Filter taxes by default order statuses
* Filter customer stats by default order status
* Filter default order statuses in variations data store
* Use excluded statuses to filter reports by default
* DRY up default excluded statuses query
* Fix up new orders data store after rebase
2019-01-16 10:23:00 +08:00
Albert Juhé Lluveras
1001dd0601
Fix watch package files in Linux ( https://github.com/woocommerce/woocommerce-admin/pull/1301 )
2019-01-15 19:40:13 +01:00
Albert Juhé Lluveras
de4309d61e
Remove `barfocus` elements from charts ( https://github.com/woocommerce/woocommerce-admin/pull/1311 )
...
* Remove barfocus elements from charts
* Render background color behind bars
* Rename barmouse to barfocus
2019-01-15 19:40:02 +01:00
renovate[bot]
a5cfc072c2
Pin dependency mini-css-extract-plugin to 0.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1309 )
2019-01-15 12:09:07 +01:00
Albert Juhé Lluveras
8b341f0981
Replace 'extract-text-webpack-plugin' with 'mini-css-extract-plugin' ( https://github.com/woocommerce/woocommerce-admin/pull/1299 )
2019-01-15 11:55:54 +01:00
Peter Fabian
29f07f8c57
Re-enable temporarily disabled tests.
2019-01-15 11:51:43 +01:00
Peter Fabian
5ba443fca8
Updated data store used in test to reflect the rename of class.
2019-01-15 11:50:53 +01:00
Peter Fabian
c324157483
Merge branch 'master' into fix/1035
...
# Conflicts:
# includes/data-stores/class-wc-admin-reports-orders-data-store.php
# includes/data-stores/class-wc-admin-reports-orders-stats-data-store.php
2019-01-15 11:39:39 +01:00
Peter Fabian
2fc9de0bb0
Preparation for merge of a moved file.
2019-01-15 11:36:56 +01:00
Peter Fabian
f84efa3a58
Added test for segmenting /orders/stats by product.
2019-01-15 11:16:31 +01:00
Peter Fabian
d067c2148d
Added sorting of segments so that they have predictable order.
2019-01-15 11:13:43 +01:00
Peter Fabian
ea2d5bfe35
Removed double refund subtracting.
2019-01-15 11:11:58 +01:00
Peter Fabian
93b331243b
Corrected JSON response in case no fields are selected in $query_params.
2019-01-15 11:11:14 +01:00
Peter Fabian
b593163dff
Added more general function for sorting array of arrays based on subarray's key.
2019-01-15 11:08:23 +01:00
Paul Sealock
7b11e40981
timeStampFilterDates
2019-01-15 15:40:12 +13:00
Joshua T Flowers
ee19308254
Add initial state hydration for user data ( https://github.com/woocommerce/woocommerce-admin/pull/1297 )
...
* Hydrate initial state through localized script
* Parse user meta for default rows as integer
* Change eslint ignore to undef only
* Add currentUserData to wcSettings
2019-01-15 10:24:06 +08:00
Joshua T Flowers
4b3df7732b
Add showMenu prop to TableCard to hide ellipsis menu ( https://github.com/woocommerce/woocommerce-admin/pull/1296 )
...
* Add showMenu prop to TableCard to hide ellipsis menu
* Fix proptype description
2019-01-15 10:13:15 +08:00
Paul Sealock
01cf0eba2f
specify before on construct
2019-01-15 15:01:38 +13:00
Joshua T Flowers
14f8f08edf
Add v4 orders endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/1246 )
...
* Rename orders controllers and data store to order stats
* Add orders data store and controller
* Add coupon, product, and status filters
* Add customer type query filter
* Add extended info for products and categories
* Bump API namespace to v4
* Add missing schema properties
* Set default customer_type and extended_info params
* Add orders endpoint tests
* Only use one JOIN if both excluded and included queries are used
* Optimize query calls to get product and category data
* Split product and category fetch and limit to product_cat taxonomy
2019-01-15 09:53:02 +08:00
Paul Sealock
66b76f5b8f
replaceFilter
2019-01-15 13:47:07 +13:00
Paul Sealock
7556b45eab
Advanced Filters: Dates, fix query formats
2019-01-15 13:02:24 +13:00
Paul Sealock
1fa45e4364
Merge pull request woocommerce/woocommerce-admin#1146 from woocommerce/add/date-filter-calendar
...
Advanced Filters: Add DatePicker
2019-01-15 09:43:10 +13:00
Paul Sealock
64d52b0d2f
Merge pull request woocommerce/woocommerce-admin#1233 from woocommerce/fix/devDocs-filePath
...
Fix/dev docs file path
2019-01-15 09:42:24 +13:00
Justin Shreve
a3ccfd300e
Fix date formatting in safari by switching to moment ( https://github.com/woocommerce/woocommerce-admin/pull/1290 )
2019-01-14 11:29:46 -05:00
Peter Fabian
13ec8e2851
FOrmula for shipping distribution among line items updated to reflect qty, so that sum of shipping per line item equals total shipping amount.
2019-01-14 16:10:13 +01:00
renovate[bot]
81b28d7b19
Update dependency eslint-plugin-react to v7.12.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1261 )
2019-01-14 12:52:16 +01:00
renovate[bot]
af91eacacb
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1242 )
2019-01-14 12:08:06 +01:00
renovate[bot]
2cd434c676
Update dependency chalk to v2.4.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1258 )
2019-01-14 11:47:28 +01:00
renovate[bot]
0f25d33fcc
Update dependency babel-loader to v8.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1257 )
2019-01-14 11:45:23 +01:00
renovate[bot]
0bdbf3b724
Update dependency eslint to v5.12.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1259 )
2019-01-14 11:42:51 +01:00
renovate[bot]
8ff156fb8d
Update dependency autoprefixer to v9.4.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1256 )
2019-01-14 11:31:18 +01:00
renovate[bot]
b19b8b8687
Update dependency lerna to v3.10.5 ( https://github.com/woocommerce/woocommerce-admin/pull/1262 )
2019-01-14 11:26:35 +01:00
Albert Juhé Lluveras
f009506a45
Makes table dates accessible ( https://github.com/woocommerce/woocommerce-admin/pull/1274 )
...
* Create 'Date' component to render accessible dates
* Add tests
2019-01-14 10:54:44 +01:00