Adrian Duffell
3108d59812
Add cache-control header to "low in stock" REST API response ( https://github.com/woocommerce/woocommerce-admin/pull/7364 )
...
* Add cache-control header to low stock response
* Add type check for fields
* Add changelog
* Bump max-age to 300
2021-07-19 14:53:51 +08:00
Fernando
4c236fe13c
Fixed OBW - Business details style ( https://github.com/woocommerce/woocommerce-admin/pull/7353 )
...
* Fixed OBW business details style
* Added changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-15 14:04:19 -03:00
Jeff Stieler
4ef7ff8dfb
Fix TSC config and package build script. ( https://github.com/woocommerce/woocommerce-admin/pull/7361 )
2021-07-15 10:38:34 -04:00
Paul Sealock
9c7adc3634
Changelogs: Add 2.5.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7320 )
...
* Pre-release for 2.5.0-beta.1
* update changelog
* revert version bump
* revert package.lock
* entry for 2.5.0
* Sync with 2.4 release and removed some duplicates
* add changelog from 7186
Co-authored-by: Rebecca Scott <me@becdetat.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-07-15 14:12:21 +12:00
Joshua T Flowers
681cbf43fc
Redirect to homescreen after payment gateway setup ( https://github.com/woocommerce/woocommerce-admin/pull/7332 )
...
* Redirect to homescreen after payment gateway setup
* Remove unused payment gateway redirects
2021-07-14 19:00:01 -04:00
Joshua T Flowers
d14d489a05
Invalidate task status when enabling a payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7330 )
2021-07-14 18:59:43 -04:00
Jeff Stieler
8e61f55017
Allow packages to be built in isolation. ( https://github.com/woocommerce/woocommerce-admin/pull/7286 )
...
* Use yarn instead of npm.
In prep for workspaces, since we're locked to npm < 7. See: https://github.com/woocommerce/woocommerce-admin/pull/7126#issue-661287749
* Initial workspace creation.
* Add initial tsc build to @woocommerce/number.
* Attempt to build experimental package.
* Try currency package.
* Define all packages as workspaces.
* Use tsconfig common to packages.
* Fix currency package build.
* Build csv-export with tsc.
* Try to build customer-effort-score with tsc.
* Fix JSX pragma.
* Build data package with tsc.
* Build date package with tsc.
* Build experimental package with tsc.
* Try to build explat package with tsc.
* Build navigation package with tsc.
* Build notices package with tsc.
* Build onboarding package with tsc.
* Build components package with tsc.
* Swap in package JS build into main script.
* Fix experimental package build.
* Try per-package css build with components.
* Try to run components package tests in isolation.
Broken on JSX in test files not being transformed.
* Move @woocommerce/wc-admin-settings into a package.
* Try to fix components package tests.
Fails because we aren't setting up the jest/jest-dom globals.
* Move JS test code to reusable (private) package.
* Enable incremental TS builds.
* Use workspaces to run JS tests.
* Use new jest configs for update snapshot scripts.
* Fix style builds.
* Fix package version in components.
* Fix client test debug and watch scripts.
* Update yarn lock.
* Update test-staged behavior.
* Try to fix storybook.
* Fix storybook.
* Update more npm commands to yarn.
* Add changelog.
* Fix lint errors.
* Update packages readme script references.
* Clean up unused gitignore match.
* Fix another npm command.
* Fix JS builds on watch.
* Fix start script.
* Fix start scripts for packages.
* Use tsc to build packages before tests
* yarn -> npm.
# Conflicts:
# package-lock.json
# package.json
* Fix linter error.
* Remove workspace definitions.
* Fix missing Fragment import.
* Fix package lock.
* Fix missing reference.
* Only build commonjs module for js-tests helper.
* Remove errant dependency from components.
* Remove noop scripts.
* Fix package JS build before testing.
* Revert noisy formatting changes.
* Fix precommit and test scripts.
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Revert babel config changes.
* chore(release): publish
- @woocommerce/components@7.2.0
- @woocommerce/csv-export@1.4.0
- @woocommerce/currency@3.2.0
- @woocommerce/customer-effort-score@1.1.0
- @woocommerce/data@1.4.0
- @woocommerce/date@3.1.0
- @woocommerce/dependency-extraction-webpack-plugin@1.7.0
- @woocommerce/eslint-plugin@1.3.0
- @woocommerce/experimental@1.5.0
- @woocommerce/explat@1.1.0
- @woocommerce/js-tests@1.1.0
- @woocommerce/navigation@6.1.0
- @woocommerce/notices@3.1.0
- @woocommerce/number@2.2.0
- @woocommerce/onboarding@1.1.0
- @woocommerce/tracks@1.1.0
- @woocommerce/wc-admin-settings@1.1.0
* Add script for running 'start' in a package.
* Remove yarn from gitignore.
* Update package changelogs, prep versions for release.
* Try to fix E2E tests after main merge.
* Some cleanup.
* Add changelog.
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-14 16:38:57 -04:00
Moon
166f590571
Fix undefined method error when setting up WC Tax ( https://github.com/woocommerce/woocommerce-admin/pull/7344 )
...
* Make this refers to the same class by binding this
* Add changelog
2021-07-14 12:50:30 -07:00
Moon
a1fb913bc6
Fix/7322 unable to dismiss inbox note ( https://github.com/woocommerce/woocommerce-admin/pull/7342 )
...
* Add components-dropdown__content class -- this is for Safari as Safari returns parent element as a related target in this case
* Remove unnecessary style
2021-07-14 12:28:56 -07:00
renovate[bot]
72cf95c51d
Update dependency @types/expect-puppeteer to v4.4.6 ( https://github.com/woocommerce/woocommerce-admin/pull/7346 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-14 15:23:59 +12:00
Dat Hoang
2dfe2c2bd2
Add TableSummaryPlaceholder to support skeleton loading ( https://github.com/woocommerce/woocommerce-admin/pull/7294 )
...
* Add TableSummaryPlaceholder
* Expose TableSummaryPlaceholder to package @woocommerce/components
* Add test instructions and changelog entries to MD files
* Add tests for TableSummaryPlaceholder
* Add storybook for TableSummaryPlaceholder
2021-07-14 10:18:54 +07:00
Moon
303e6ff84c
Set default value for performanceIndicators var ( https://github.com/woocommerce/woocommerce-admin/pull/7343 )
...
* Set default value for performanceIndicators var
2021-07-13 20:09:02 -07:00
Paul Sealock
40be342865
Remote Inbox: Add feature to list of optional feature flags ( https://github.com/woocommerce/woocommerce-admin/pull/7298 )
...
* Add a feature setting toggle for Remote Inbox Notifs
* changelog
* comments
* remove unused Feature ref
* remove toggle
* remove readme changelog entry
2021-07-14 11:07:48 +12:00
Sam Seay
48ade7786b
Remove deprecated components in prep for release 8.0.0 of @woocommerce/components ( https://github.com/woocommerce/woocommerce-admin/pull/7293 )
2021-07-14 10:40:55 +12:00
Paul Sealock
3b2a153580
AdvancedFilters: Create workable defaults for Reports that don't have them ( https://github.com/woocommerce/woocommerce-admin/pull/7186 )
...
* on Filter update, keep all queries
* update _x translator instructions
* fix revenue filters
* better default advFilter
* fix stock filters
* revert readme changelog
2021-07-14 10:17:51 +12:00
Moon
db2b227d78
Render a spinner while woocommerce_setup_jetpack_opted_in is being loaded ( https://github.com/woocommerce/woocommerce-admin/pull/7269 )
...
* Preload woocommerce_setup_jetpack_opted_in option to prevent TOS text flickering
* Add changelog
2021-07-13 12:47:36 -07:00
Ron Rennick
4af5eef27b
Create E2E package ( https://github.com/woocommerce/woocommerce-admin/pull/7084 )
...
* bump E2E package versions to latest
* first pass on E2E test package.json
* move e2e specs to admin-e2e-tests
* add global types, reimplement tests/e2e/specs
* use consistent build dir with other packages
* add documentation, improve test:e2e script
* fix linting issues in admin-e2e-tests
* fix more linting issues
* disable lint on requires
* use e2e in the E2E container names
* move analytics overview test to package
* change extension on analytics-overview test file
* fix linting issues in e2e analytics overview
* remove package scripts from e2e package
* change test specs extensions to .tsx
* remove import from analytics overview test spec
* add .tsx to e2e test spec file extension list
* update e2e business features count expected
2021-07-13 16:38:05 -03:00
Joel Thiessen
746905d8ce
Bumping onboarding package version ( https://github.com/woocommerce/woocommerce-admin/pull/7337 )
2021-07-13 11:14:02 -07:00
Ilyas Foo
49dc897f61
Remove facebook extension from onboarding extensions fallback list ( https://github.com/woocommerce/woocommerce-admin/pull/7287 )
...
* Remove facebook marketing extension from fallback config
* Update changelog and testing instructions
* Update changelog to use the shiny new Jetpack changelogger
2021-07-13 11:15:51 +08:00
Paul Sealock
2e01777d42
Changelogger Linter: Point to correct file to test presence of changelog entry ( https://github.com/woocommerce/woocommerce-admin/pull/7318 )
...
* test
* pr number
* try looking at changelogs folder
* better changelog
2021-07-13 14:36:45 +12:00
Jeff Stieler
12aa391cf0
Fix minimum expected recommended extension count. ( https://github.com/woocommerce/woocommerce-admin/pull/7334 )
...
* Fix minimum expected recommended extension count.
Japan test case breaks this.
* Just check for one or more extensions.
2021-07-12 20:03:55 -06:00
Moon
76685d3a92
Remove unreleased section ( https://github.com/woocommerce/woocommerce-admin/pull/7317 )
2021-07-08 19:32:20 -07:00
Moon
daf91d034c
use Jetpack Changelogger for changelog management ( https://github.com/woocommerce/woocommerce-admin/pull/6870 )
...
* use Jetpack Changelogger for changelog management
* Extends Jetpack Changelogger's write command
* Uses changelog.txt
* Add Enhancement
* Remove use of WriteCommand and implement parse() in the Formatter
* Remove bin/changelogger.php wrapper
* Use semver
* Fix spacing
* Fix typo
* changelog.txt update to match readme.txt
* changelog PR template
* remove changelog from readme.txt
Co-authored-by: Paul Sealock <psealock@gmail.com>
2021-07-08 19:03:51 -07:00
Paul Sealock
58dc9f4473
Preloaded options: remove unused feature options ( https://github.com/woocommerce/woocommerce-admin/pull/7299 )
...
* remove unused feature preloaded options
* changelog
2021-07-09 11:23:08 +12:00
Paul Sealock
6ea9914ac0
Hook reference: Add SlotFill support ( https://github.com/woocommerce/woocommerce-admin/pull/6833 )
...
* add @slotFill to process
* add types
* committing data
* use filter instead of hook
* changelog
* add action type
* update paths to ignore builds and node_modules
* changelog
* Add action data type
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-09 11:01:43 +12:00
Moon
001779a40d
Sync the category lookup table when a new category gets created ( https://github.com/woocommerce/woocommerce-admin/pull/7290 )
...
* Sync category lookup table when a new category gets created
2021-07-08 10:39:12 -07:00
louwie17
b4cb82b9cb
Update changelog and increase version for components, data, and experimental packages ( https://github.com/woocommerce/woocommerce-admin/pull/7311 )
2021-07-08 13:30:11 -03:00
louwie17
4cdca48c6e
Fix transient overlapping adjacent content ( https://github.com/woocommerce/woocommerce-admin/pull/7302 )
...
* Overwrite width to auto given transients are displayed fixed
* Add changelog
2021-07-08 12:21:56 -03:00
Hsing-yu Flowers
e753e51f51
Add padding on table header button ( https://github.com/woocommerce/woocommerce-admin/pull/7213 )
...
* Add padding on table header button
* Add changelog and testing instructions
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 11:03:55 -04:00
Mik
5893ddceb7
Change event name to reflect plugin name ( https://github.com/woocommerce/woocommerce-admin/pull/7276 )
...
* Change event name to reflect plugin name
* Update changelog
2021-07-08 15:56:49 +01:00
Hsing-yu Flowers
8fe842f5a4
Add height auto on autocomplete popover button ( https://github.com/woocommerce/woocommerce-admin/pull/7225 )
...
* Add height auto on autocomplete popover button
* Add changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 10:47:46 -04:00
Hsing-yu Flowers
bcf063a997
Make WooCommerce-admin full-screen minimum height 100vh important ( https://github.com/woocommerce/woocommerce-admin/pull/7230 )
...
* Add 100vh important on full screen
* Add changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-07-08 10:33:15 -04:00
louwie17
6a391c58d8
Make task item action button optional ( https://github.com/woocommerce/woocommerce-admin/pull/7263 )
...
* Make action button optional, and disable VerticalCSSTransition when expandable is false
* Update collapsible list to support nested element transitions
* Add changelog
* Address some small PR feedback, and fix tests
* Add expanded class, and remove cursor when expanded
* Make sure margin is added to container height
* Update broken tests
* Add radix to parseInt method
2021-07-08 09:19:35 -03:00
Joshua T Flowers
335cfe6554
Use payment gateway suggestion title instead of local plugin names ( https://github.com/woocommerce/woocommerce-admin/pull/7266 )
...
* Use payment gateway suggestion title instead of local plugin names
* Update Stripe gateway title
2021-07-07 17:41:50 -04:00
Paul Sealock
d5f16fd0dc
Filters: On update respect all other queries, not just persistedQueries ( https://github.com/woocommerce/woocommerce-admin/pull/7155 )
...
* on Filter update, keep all queries
* changelog
* package changelog
* instead of keeping everything else, remove advancedFilters when main filter is set to 'all'
* remove all queries associated with filter in question
* dedupe params
* add tests
2021-07-08 09:36:34 +12:00
Renovate Bot
50b4fe4963
Update dependency @types/cookie to v0.4.1
2021-07-07 01:35:09 +00:00
Moon
276b3cf693
Fix inbox note dismiss dropdown not closing on Safari ( https://github.com/woocommerce/woocommerce-admin/pull/7278 )
...
* Set position for the dropdown
* Manually focus the button onClick -- Safari does not focus on a button on click
2021-07-06 15:05:15 -07:00
Moon
c632013700
Add missing translation strings in the business features section ( https://github.com/woocommerce/woocommerce-admin/pull/7268 )
...
* Add missing translations
2021-07-06 12:46:48 -07:00
Moon
cb31c3a468
Add CES to translated scripts list ( https://github.com/woocommerce/woocommerce-admin/pull/7270 )
...
* Add CES to translated scripts list
2021-07-06 12:30:39 -07:00
Fernando
089c5b5905
Add a delete option to completed tasks ( https://github.com/woocommerce/woocommerce-admin/pull/7300 )
...
* Added onDelete prop to `task-item`.
* Added `onDelete` and `Remid me later` options to task example in docs.
* Added changelog
* Fixed lint error
* Fixed another lint error
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-07-06 15:35:40 -03:00
Joshua T Flowers
c1978af7f7
Add Klarna Payments to default payment gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7267 )
2021-07-06 11:13:05 -04:00
Tomek Wytrębowicz
e48fabe964
Update issue templates ( https://github.com/woocommerce/woocommerce-admin/pull/7088 )
...
- Use headings in issues templates,
instead of bold paragraphs.
To match with PR template, to improve readability and accessibility.
- Add the "Actual behavior" section.
The reviewer, would not have to get that from the description or test locally.
- Reorder sections,
Screenshots (and actual behavior) describes what you have immediately after you perform "steps to reproduce", so therefore could be stated there. It's hard to make a screenshot of the "expected behavior", which is not happening.
- Move section descriptions to comments.
This way the issuer could still keep them in place while filling the sections, answering those requests.
- Use ellipsis character instead of three dots.
To make it more readable, by fully sighted and visually impaired readers https://tosbourn.com/the-importance-of-using-the-ellipsis-character not to read it as "dot dot dot"
2021-07-06 11:46:33 +02:00
Joel Thiessen
af97dd68b5
Fixing logic around recommended gateways in payment suggestions feature ( https://github.com/woocommerce/woocommerce-admin/pull/7231 )
2021-07-05 16:33:03 -07:00
Paul Sealock
d7bf615301
Remove unused WC Pay feature flags ( https://github.com/woocommerce/woocommerce-admin/pull/7273 )
...
* remove WC Pay feature flags
* remove WC Pay wcpay/support-international-countries flag
* wcpay countries PHP
* changelog
2021-07-06 10:15:18 +12:00
Joshua T Flowers
d8d14fb9ca
Localize payment gateway suggestions on wccom ( https://github.com/woocommerce/woocommerce-admin/pull/7217 )
...
* Localize payment gateway suggestions on wccom
* Add user locale as param to source URL
* Fix mock http request params
2021-07-05 17:50:26 -04:00
Joshua T Flowers
98d8040a06
Add ability to override payment gateway settings URL ( https://github.com/woocommerce/woocommerce-admin/pull/7281 )
2021-07-05 17:43:11 -04:00
Joshua T Flowers
4a3e4ff7ef
Add PayU to default payment gateway suggestions ( https://github.com/woocommerce/woocommerce-admin/pull/7279 )
...
* Add PayU to default payment gateway suggestions
* Add testing instructions
2021-07-05 17:40:48 -04:00
Manos Psychogyiopoulos
2bda6e2e26
Use transients to cache products/variations stats results ( https://github.com/woocommerce/woocommerce-admin/pull/7067 )
...
* Use transients to cache products/variations stats results
* Add readme entry
* Fix readme
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2021-07-02 17:38:35 +08:00
Paul Sealock
88934afef4
Disabling wc-admin: Repurpose filter to remove optional features ( https://github.com/woocommerce/woocommerce-admin/pull/7232 )
...
* Repurpose disable filter to remove optional features
* changelog
* disable feature toggles on wc-admin disabled
* dedupe changelog
* hide save button using
2021-07-02 07:00:27 +12:00
Ilyas Foo
e7b70ddca5
Fix and refactor explat polling to use setTimeout ( https://github.com/woocommerce/woocommerce-admin/pull/7274 )
...
* Refactor to use setTimeout
* Update changelog
2021-07-01 10:27:50 +08:00