Joshua T Flowers
761a67f18b
Onboarding: Mark payments task complete when payment configured ( https://github.com/woocommerce/woocommerce-admin/pull/3576 )
...
* Mark payments task complete when payment configured
* Only mark complete when all payments configured
* Only mark payments complete if all payments configured
2020-01-28 09:12:04 -08:00
Joshua T Flowers
d22774aa66
Onboarding: Fix shipping rates overlapping currency prefix ( https://github.com/woocommerce/woocommerce-admin/pull/3623 )
...
* Add various input states classes to the text control with affixes component
* Replace TextControl with TextControlWithAffixes in shipping rates
* Style TextControlWithAffixes for shipping rates in task list
* Always provide a formatted currency string
* Always display shipping rate labels and affixes
* Add components changelog entry.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2020-01-28 08:54:39 -08:00
Joshua T Flowers
d1ef0eb029
Hide other elements in wpcontent while in full screen mode ( https://github.com/woocommerce/woocommerce-admin/pull/3621 )
2020-01-28 07:37:33 -08:00
Joshua T Flowers
fcd2d517cd
Onboarding: Allow any uploaded theme to be activated ( https://github.com/woocommerce/woocommerce-admin/pull/3620 )
...
* Allow installed themes to be installed and activated
* Filter themes on client-side by WC support and currently active
* Run transient deletion hook during REST requests
* Delete transient on theme switch for non-admin requests
2020-01-24 10:11:36 +08:00
Joshua T Flowers
2438885f09
Onboarding: Add missing space between manual tax info and link ( https://github.com/woocommerce/woocommerce-admin/pull/3612 )
2020-01-24 10:10:32 +08:00
Joshua T Flowers
cc0a054fe3
Onboarding: Vertically align button text ( https://github.com/woocommerce/woocommerce-admin/pull/3622 )
2020-01-24 10:09:39 +08:00
Jeff Stieler
9f5826ee61
Fix Search component token display in ReportTable ( https://github.com/woocommerce/woocommerce-admin/pull/3618 )
...
* Fix parsing of report table search terms.
* Fix styling of Search component "clear all" button.
* Add components changelog entry.
2020-01-23 08:32:28 -07:00
Joshua T Flowers
f8195a7b13
Onboarding: Center button to continue without installation ( https://github.com/woocommerce/woocommerce-admin/pull/3588 )
...
* Center button to continue without installation
* Remove margin on last benefit p tag
2020-01-23 15:11:40 +08:00
Jeff Stieler
5c37dd0374
Fix styling of search control in report table header and filters. ( https://github.com/woocommerce/woocommerce-admin/pull/3603 )
2020-01-22 08:33:44 -07:00
Joshua T Flowers
4b02e0850d
Onboarding: Allow Jetpack connection to be skipped in tax task ( https://github.com/woocommerce/woocommerce-admin/pull/3589 )
...
* Add skip action to Connect component
* Add skip button to tax connect step
* Record event when tax Jetpack connection is skipped
2020-01-22 16:37:05 +08:00
Albert Juhé Lluveras
c4b1d552d4
Remove unnecessary use of lodash get ( https://github.com/woocommerce/woocommerce-admin/pull/3598 )
2020-01-21 15:17:39 +01:00
Joshua T Flowers
a6c0d8f063
Use existing store country if address line 1 is set ( https://github.com/woocommerce/woocommerce-admin/pull/3595 )
2020-01-21 20:57:16 +08:00
Joshua T Flowers
bade1da7f9
Onboarding: Fix gap on plugins step ( https://github.com/woocommerce/woocommerce-admin/pull/3594 )
...
* Remove min height on plugin actions
* Move margin from wrapper to buttons
2020-01-21 20:05:37 +08:00
Jeff Stieler
25c09563a1
Don't modify the document title on existing WooCommerce pages. ( https://github.com/woocommerce/woocommerce-admin/pull/3585 )
2020-01-20 10:34:24 -07:00
Joshua T Flowers
e1bb3255c9
Onboarding: Hide plugin install step when already installed ( https://github.com/woocommerce/woocommerce-admin/pull/3575 )
...
* Remove already active plugins from install list
* Update global with newly activated and installed plugins
* Cache activated plugins to prevent step removal
2020-01-17 09:46:11 +08:00
Joshua T Flowers
5e8f3bc378
Onboarding: Update homepage publish message ( https://github.com/woocommerce/woocommerce-admin/pull/3577 )
2020-01-17 09:11:36 +08:00
Joshua T Flowers
45659dbb3e
SelectControl: Add an option to show all options on refocus ( https://github.com/woocommerce/woocommerce-admin/pull/3551 )
...
* Add prop to show all options on focus
* Add example to devdocs for refocus option
* Highlight search query on refocus
* Make country/state dropdown show all options on refocus
2020-01-14 18:19:59 +08:00
Joshua T Flowers
d5444f6351
Updating unread stock indicator on stock update ( https://github.com/woocommerce/woocommerce-admin/pull/3550 )
...
* Force refetch of low product query after updating stock
* Continue showing unread indicator while fetching
2020-01-14 18:19:35 +08:00
Joshua T Flowers
7164e021fc
Onboarding: Update profiler theme action buttons ( https://github.com/woocommerce/woocommerce-admin/pull/3548 )
...
* Center align theme action buttons
* Add separate button for current theme
* Make live demo button tertiary
* Update styles for default and tertiary buttons in theme actions
2020-01-14 18:19:09 +08:00
Joshua T Flowers
a87e7966fe
Don't exclude selected option from options list in countrystate dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/3540 )
2020-01-13 11:21:06 +08:00
Joshua T Flowers
83f1bf8db9
Fix mobile table header styling ( https://github.com/woocommerce/woocommerce-admin/pull/3547 )
...
* Move search comparison beneath table header title
* Fix search label positioning
2020-01-13 10:58:43 +08:00
Timmy Crawford
adfd48d444
Onboarding: Prevent retry and activate and continue button from appearing at the same time. ( https://github.com/woocommerce/woocommerce-admin/pull/3545 )
2020-01-10 09:24:38 -08:00
Joshua T Flowers
d29d674768
Onboarding: Add reminder to complete profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3524 )
...
* Add note to complete profiler
* Add note actions
* Update note to actioned when profiler is marked complete
* Update note to actioned client-side when completing profiler
2020-01-10 09:36:30 +08:00
Joshua T Flowers
90112354b1
Update historical data notice to actioned on import ( https://github.com/woocommerce/woocommerce-admin/pull/3539 )
...
* Add hook for regenerating data init
* Set note to actioned on data import
* Update note status on client-side import start
2020-01-09 10:11:39 +08:00
Joshua T Flowers
da9421692f
Onboarding: Add option to track appearance completion ( https://github.com/woocommerce/woocommerce-admin/pull/3503 )
...
* Add option to track appearance completion
* Disable proceed button if no logo and not dirty state
2020-01-09 10:05:03 +08:00
Jeff Stieler
8a976c28bb
Add initial Activity Panel documentation. ( https://github.com/woocommerce/woocommerce-admin/pull/3525 )
...
* Add initial Activity Panel documentation.
* Fix orders panel documentation.
* Additionally remove use of "ship" in messaging - not all stores sell physical products.
2020-01-08 12:25:13 -05:00
Joshua T Flowers
35b05d316f
Update date format for import status ( https://github.com/woocommerce/woocommerce-admin/pull/3516 )
...
* Update date format for import status
* Update success message for all historical data
2020-01-07 20:25:11 +08:00
Timmy Crawford
070f8eb3c0
Fix exception when task list is not shown. ( https://github.com/woocommerce/woocommerce-admin/pull/3513 )
2020-01-06 15:10:37 -08:00
Joshua T Flowers
07388aa5f1
Onboarding: Update task list success notices ( https://github.com/woocommerce/woocommerce-admin/pull/3508 )
2020-01-06 23:27:09 +08:00
Albert Juhé Lluveras
7d9aaf6afa
Add singular/plural distinction to onboarding plugins installation ( https://github.com/woocommerce/woocommerce-admin/pull/3517 )
2020-01-06 16:16:38 +01:00
Timmy Crawford
41986bd8f0
Analytics: Change Refunds to Returns ( https://github.com/woocommerce/woocommerce-admin/pull/3514 )
...
* Change Refunds to Returns
* Also rename the chart
* Rename dashboard chart
2020-01-03 15:12:53 -08:00
Joshua T Flowers
af5022c3d1
Reports sync refactor ( https://github.com/woocommerce/woocommerce-admin/pull/3285 )
2020-01-03 00:00:37 +08:00
Joshua T Flowers
ec2bdb10aa
Onboarding: Add tracks to extension purchase task and modal ( https://github.com/woocommerce/woocommerce-admin/pull/3493 )
...
* Add purchase task and modal to task list
* Track when cart modal is opened from task list
* Track when extensions are purchased or skipped
* Track checkout proceed on modal close
2020-01-02 10:36:25 +08:00
Timmy Crawford
da0844c53e
Onboarding: Add Skip Step link on Themes Step ( https://github.com/woocommerce/woocommerce-admin/pull/3490 )
...
* Onboarding: Add Skip Step link on Themes Step.
* Updates per feedback.
2019-12-31 11:55:00 -08:00
Joshua T Flowers
700cf7bb2d
Onboarding: Add purchase products task list item ( https://github.com/woocommerce/woocommerce-admin/pull/3472 )
...
* Add an array of installed plugins to wcSettings
* Don't include already installed plugins in cart items
* Move cart modal component
* Add purchase task and modal to task list
* Rename ambiguous task getter method
* Remove modal purchase later prop
* Show completed product purchase task item after purchase
* Don't show cart modal if all items previously purchased
2019-12-31 16:50:45 +08:00
Joshua T Flowers
1a83c50e19
Onboarding: Fix disabled button hover state ( https://github.com/woocommerce/woocommerce-admin/pull/3492 )
...
* Fix hover color for disabled buttons
* Add not-allowed state to cursor on disabled buttons
2019-12-31 10:47:41 +08:00
Joshua T Flowers
8707c5c13a
Onboarding: Add error styling and text to country state dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/3494 )
...
* Add onBlur prop to select control input
* Add controlCLassName prop to SelectControl
* Set left position for control help text explicitly
2019-12-31 10:31:59 +08:00
Timmy Crawford
7cc0611902
Fix button color when no demo present. ( https://github.com/woocommerce/woocommerce-admin/pull/3489 )
2019-12-30 12:18:09 -08:00
Joshua T Flowers
52c81230c3
Onboarding: Install free themes during profiler ( https://github.com/woocommerce/woocommerce-admin/pull/3484 )
...
* Add theme name to theme activation response
* Install and activate theme on choose in profiler
* Only auto install free themes and not currently active themes
* Move getPriceValue to dashboard utils
* Don't add free themes to the cart
2019-12-30 18:11:50 +08:00
Timmy Crawford
44748bb16e
Onboarding: Add another option to platforms. ( https://github.com/woocommerce/woocommerce-admin/pull/3471 )
...
* Onboarding: Add another option to platforms.
* Add revenue question for other woo store.
* Add new option value to REST enum.
2019-12-27 08:30:59 -08:00
Joshua T Flowers
2df87c674d
Onboarding: Skip Shipping connect step if Jetpack is already connected ( https://github.com/woocommerce/woocommerce-admin/pull/3486 )
2019-12-27 17:16:39 +08:00
Joshua T Flowers
8b02019c1c
Onboarding: Don't show skip link if no plugins exist to skip ( https://github.com/woocommerce/woocommerce-admin/pull/3485 )
...
* Don't show skip link if no plugins exist to skip
* Update skip link to check against plugins array length
2019-12-27 08:17:27 +08:00
Jeff Stieler
a5c4e13fbb
Show pending review regardless of comment moderation settings ( https://github.com/woocommerce/woocommerce-admin/pull/3459 )
...
* Show pending reviews regardless of comment moderation settings.
* Filter "view reviews" link to show only product review comments.
2019-12-20 13:16:48 -05:00
Justin Shreve
5068282b7b
Add purchase modal at the end of the profile wizard ( https://github.com/woocommerce/woocommerce-admin/pull/3444 )
...
* Add purchase modal to confirm intent before cart redirect
* Handle PR feedback: Fix comment on getProductIdsForCart, move cart modal to open on theme page (which rewrites the mark completed functionality), fix CSS display, Add busy stsate to redirect to cart button
* Fix some minor naming issues and add a busy state on thee later link
2019-12-20 07:58:38 -05:00
Jeff Stieler
1c51cf94e0
Add filters to WP notice collapsing behavior. ( https://github.com/woocommerce/woocommerce-admin/pull/3391 )
...
* Add filters to WP notice collapsing behavior.
* Avoid modifying the WP notices NodeList inline.
* Add example showing WP notices filter usage.
* Keep hidden/shown notice widths consistent.
2019-12-18 08:12:32 -05:00
Ron Rennick
dd5929ea46
scroll to notices when made visible while scrolled down ( https://github.com/woocommerce/woocommerce-admin/pull/3390 )
...
* scroll to notices when made visible while scrolled down
* use window.scrollY for calculating scroll
2019-12-17 16:24:58 -04:00
Justin Shreve
013aa443b8
Fix the "is this card useful" prompt display ( https://github.com/woocommerce/woocommerce-admin/pull/3427 )
...
* Fix the "is this card useful" prompt display
* Fix stylelint / format issue
2019-12-17 07:49:57 -05: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
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
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
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
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
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
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
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
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
Paul Sealock
49060372aa
Use report filters with tracking ( https://github.com/woocommerce/woocommerce-admin/pull/3309 )
2019-11-28 12:12:33 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Darren Ethier
e4817567e7
remove unnecessary duplicate logic ( https://github.com/woocommerce/woocommerce-admin/pull/2971 )
2019-09-30 15:44:44 +01: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
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
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
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
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
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
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
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
2fed2f2467
Fix report column labels on client side.
2019-09-04 07:49:37 -07:00
Ron Rennick
966cd9c0cc
use correct path for NAMESPACE import in task-list
2019-09-03 17:11:14 -03:00
Ron Rennick
24d3104eca
fix merge conflicts
2019-09-03 14:08:02 -03: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
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
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
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
547b771cdf
Onboarding: Add tax task. ( https://github.com/woocommerce/woocommerce-admin/pull/2830 )
2019-08-26 13:49:04 +08: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
8f9f44bac5
add explicit type to Link tags
2019-08-22 13:55:01 -03:00
Ron Rennick
df5ed96b5a
use wc-admin urls in devdocs
2019-08-21 18:16:12 -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
Ron Rennick
44bf577938
display local time on note instead of UTC
2019-08-20 19:38:56 -03: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
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
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
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
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
Ron Rennick
d2b48f0fcd
scroll import action to import section of settings page
2019-08-14 14:35:28 -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
c5962b4dd8
increase the popover zIndex from 1 to 2
2019-08-09 16:25:11 -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
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
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
Ron Rennick
30749a87a2
limit padding CSS to left
2019-08-07 09:49:45 -03:00
Ron Rennick
734eb025e6
restore wp-admin wpbody-content bottom padding
2019-08-06 16:26:45 -03: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
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
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 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
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
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
Jeff Stieler
6324475b85
Only apply current submenu CSS reset on non-embed pages.
2019-07-22 17:02:55 -06: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
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
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
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
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
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
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
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
ea6116592e
Merge branch 'master' into add/2604-tracks-priority-2
2019-07-12 11:34:50 -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
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
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
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
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
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
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
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
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
Paul Sealock
666dd992e6
Layout: fix propTypes for embedded pages
2019-07-08 12:54:52 +12:00
Ron Rennick
50c415eb80
restore devdocs URLs after hash removal
2019-07-05 16:09:43 -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
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
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
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
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
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
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
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
564b618f62
Remove placeholder "learn more" link from excluded status setting.
2019-07-02 13:42:29 -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
Timmy Crawford
f60c96b572
Ignore empty wp notice elements. ( https://github.com/woocommerce/woocommerce-admin/pull/2552 )
2019-07-02 08:35:03 -07:00
Jeff Stieler
bdfe3520c3
Send tracks event for snoozing store alerts.
2019-07-02 09:18:52 -06:00
Paul Sealock
b19e1dd261
Tracks: Add dashboard events
2019-07-02 12:31:48 +12: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
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
Paul Sealock
a33bdda62e
Customizable dashboard: handle turned off feature flag
2019-07-01 21:40:50 +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
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
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
Kurt Zenisek
c2b255360d
Renamed "State" label to "Region"
2019-06-28 11:41:22 -05: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
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
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
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
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
Ron Rennick
7dfc3fe240
use current window for any dashboard URL
2019-06-26 17:16:54 -03: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
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
Timmy Crawford
e2cd150071
Activity Panels: Add track event when panels are opened.
2019-06-24 16:49:52 -07: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
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
Ron Rennick
a05daef8d7
update URL test to wc-admin#/
2019-06-20 10:49:25 -03:00
Paul Sealock
68a95f8a83
Report Tables: extend columns
2019-06-20 20:03:56 +12: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
Ron Rennick
46ef804ae4
open external note action links in a new tab
2019-06-19 16:23:32 -03: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
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
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
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
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
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
4aab25b8ba
Table queries: remove befor/after from no interval endpoints
2019-06-14 06:21:35 +12: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
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
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
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
3f2957dc0d
Update new sass variable.
2019-06-12 11:37:13 -06: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
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
Paul Sealock
dbd536c7a3
Settings: Add default date
2019-06-12 11:40:21 +12: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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jeff Stieler
9578280423
Move StoreAlerts below screen meta links on embed pages.
2019-05-22 14:59:18 -06:00
Paul Sealock
68f2af7722
Dashboard: Move title edit to Controls
2019-05-23 08:43:45 +12: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
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
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
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
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
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
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
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
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
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
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
Ajay Ghaghretiya
38c40430ef
Hide WordPress Upgrade Nag ( https://github.com/woocommerce/woocommerce-admin/pull/2213 )
2019-05-13 10:58:29 +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
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
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
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
Albert Juhé Lluveras
6a8c7a235b
Use hiddenBlocks in store-perf
...
Co-Authored-By: psealock <psealock@gmail.com>
2019-05-08 20:41:38 +12:00
Paul Sealock
9efe16c485
Fix lint error
2019-05-08 14:02:12 +12:00
Paul Sealock
ee895e0f77
Check for config.defaultValue in Report Chart
2019-05-08 08:46:58 +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
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
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
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
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
Ron Rennick
e409ef943a
update analytics report readme
2019-04-29 08:58:33 -03: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
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
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
Paul Sealock
8ff24a9a7e
Example Extensions: create build environment
2019-04-17 14:01:56 +12: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