Commit Graph

706 Commits

Author SHA1 Message Date
Maria Górska-Piszek 24548f2e3d Fix linter errors. 2021-08-13 12:13:50 +02:00
Maria Górska-Piszek 1691cb6b08 Initial dropdown menu styling. 2021-08-13 11:29:12 +02:00
And Finally 1eb27f40b6
Merge branch 'update/marketplace-1' into update/restyle-tab-bar 2021-08-12 16:51:15 +01:00
And Finally 1a4f061710 Removed `wrap` class from `.wc-addons-wrap` div on Marketplace page, as we now have a way of forcing the notices to appear at a particular place. Removing styles associated with the previous classes. 2021-08-11 18:15:26 +01:00
And Finally af7c5a4e1d Simplifying styling of notices on Marketplace and My Subscriptions pages.
- Added `.wp-header-end` div on Marketplace page, so WordPress will insert `admin_notices` there.
- Added top margin on notice on My Subscriptions page to keep it clear of Help tab.
2021-08-11 17:42:11 +01:00
Maria Górska-Piszek 13ccf2eb87 Rebase with feature branch. 2021-08-11 16:13:49 +02:00
And Finally 8553519657 Layout tweaks. Addressing positioning and styling of systems notices like the regenerating thumbnails notice, which should appear above the purple header. Changed `wc_addons_wrap` class to kebab case to address stylelint issue with class selector. 2021-08-11 10:15:06 +01:00
And Finally 0ceaf93b35 Addressing PHPCS errors.
- Deleted precision indentation on lines 72 and 80.
- Deleted unnecessary `echo` from before `esc_html_e` cals.
2021-08-09 17:02:58 +01:00
And Finally a44d9c9827 CSS and layout tweaks.
- Changed `wc_addons_wrap` to `wc-addons-wrap` to adhere to stylelint class rule.
- Removed `max-width` from `wc-addons-wrap` – we need the purple header to stretch to full width. Added new `wc-subscriptions-wrap` class to give the `max-width` to the My Subscriptions page.
- Changed width of product cards to use `calc`, so that any trailing odd-numbered card has the same width as the others.
- Fixed some stylelint issues. Moved style blocks to address `no-descending-specificity` warnings. Remove quotes from URLs and font names that don't need them.
- Gave `#screen-meta-links` absolute position on the marketplace page, so it overlays the full-width purple header.
2021-08-09 16:48:57 +01:00
And Finally 1ec1f25d26 Merge branch 'update/marketplace-1' into update/styling-product-cards 2021-08-09 15:00:51 +01:00
And Finally ebca1cb51b
Merge branch 'update/marketplace-1' into update/split-extensions-pages 2021-08-05 17:25:10 +01:00
Maria Górska-Piszek f83b52d696 Fix phpcs issues. 2021-08-05 18:05:48 +02:00
Maria Górska-Piszek e7df403b73 Align product cards on the Extensions page. 2021-08-05 11:03:28 +02:00
Maria Górska-Piszek 51d0a4563c Add product card styling. 2021-08-03 13:35:58 +02:00
Gerhard 6f9e7d1074 New marketplace addons header 2021-08-03 09:32:31 +01:00
Maria Górska-Piszek 8fdcaa0b55 Split Extensions page into 2 menu items. 2021-07-29 15:49:12 +02:00
Roy Ho 742d18a73a
Merge pull request #30252 from kravco/log-file-dropdown-modification-time
fix incorrect modification time in logs dropdown
2021-07-22 15:34:30 +01:00
barryhughes c5c21fe5ee Revise "Redirect only" deprecation message. 2021-07-20 11:18:22 -07:00
Nestor Soriano d3bfd33e98
Use 'esc_attr' instead of suppressing the PHPCS warning 2021-07-16 09:16:20 +02:00
Nestor Soriano 9017c953bd
Remove the metabox for regenerating attribute lookup data for single product
Instead, a product selector has been added to the "Regenerate
product attributes lookup table" entry in the tools page. If a product
is selected, the tool regenerates the data only for that product;
otherwise, it regenerates the entire table.

This has forced a change on how the tools page is rendered. Now,
instead of each tool being just a description and a trigger link,
a form with GET method is rendered for each tool. The forms are rendered
first and then the tools, since HTML doesn't allow to include forms
inside tables; each button is associated to its form with a "form"
attribute.

Additionally, now the tools array returned by the woocommerce_debug_tools`
hook can have a 'selector' array with the details needed to render a
selector, which will also be part of the form for the tool.
2021-07-14 12:01:42 +02:00
Matej Kravjar f3dd7be2b0 fix incorrect modification time in logs dropdown 2021-07-11 10:33:08 +02:00
Roy Ho f9441dcc00
Merge pull request #29778 from woocommerce/add/29608
Product attributes lookup table creation and filling
2021-05-10 07:41:39 -07:00
Nestor Soriano 10adec6b88
Improvements in the engine behind the debug tools page.
Two new optional keys have been added to the tool definition array:

- 'disabled': when true the tool button will appear disabled.
- 'needs_refresh': when running a tool, by default the tool definitions
  are retrieved first, then the selected tool is executed,
  then the definitions previously retrieved are rendered.
  When this key is true the tool definitions are retrieved again
  after execution, useful for cases where the tool description
  or button enable/disable state changes after the tool execution.

Also now if a tool execution throws an exception a notice will be
shown with the execption message, previously the exception
was unhandled.
2021-04-28 10:24:23 +02:00
Nestor Soriano bad3df3e23
Fix code sniffer errors 2021-04-28 09:36:10 +02:00
Bero edd8f545df Always search all addons 2021-04-16 11:54:10 +02:00
roykho 96463b7172
Update verbiage based on feedback 2021-03-22 05:42:34 -07:00
roykho 01f949cc32
Update SSR db version tooltip to accurately describe the versioning closes #29430 2021-03-19 06:27:17 -07:00
Moon 00a272fa85
Merge pull request #29174 from woocommerce/add/28568-dashboard-widget-finish-setup
Add/28568 dashboard widget - setup
2021-03-02 16:46:51 -08:00
Peter Fabian 8566a79da0 Pull out the constant to a globally accessible place so that it can be reused. 2021-02-24 14:29:45 +01:00
Moon 5c99233905 Minor fixes
* Removed extra double quotation from the image tag

* Fixed typo in the init() method

* Moved init() method body into the constructor -- a separate method is not necessary
2021-02-22 20:33:02 -08:00
Moon 781c5e24d7 Status dashboard widget should be rendered only if onboarding tasks have been completed or hidden 2021-02-22 15:29:47 -08:00
Moon bc3219e22e Add tests for the finish setup dashboard widget and clean up code 2021-02-17 16:07:50 -08:00
Moon 6284cbee3a Add a new dashboard widget to promote store setup 2021-02-17 12:10:13 -08:00
Néstor Soriano 9105910234
Merge pull request #28950 from woocommerce/exporter_product_type_filter
Add filter to allow third-parties to filter exportable product types
2021-02-11 14:32:17 +01:00
Roy Ho 78851e6945
Merge pull request #28980 from leewillis77/add/add-generation-date-to-status-report
Add time of generation to the system status report
2021-02-11 05:09:03 -08:00
roykho 315c4de5c3
Check if WC Admin is active before showing message 2021-02-10 13:21:35 -08:00
James Allan 53e6a7317b Add filter to allow third-parties to filter exportable product types 2021-02-02 14:41:03 +10:00
Lee Willis 6b0a88f6ef Add time of generation to the system status report 2021-01-29 12:52:27 +00:00
Claudio Sanches e6251955f2
Merge pull request #28840 from woocommerce/update/remove-untrusted-plugin-notice
Deactivate untested plugin's notices
2021-01-18 19:56:56 -03:00
Claudio Sanches ea54d5ad5f
Merge pull request #28679 from woocommerce/fix/woocommerce-gutenberg-products-block-issues-3565
Show correct WooCommerce pages status if they are using blocks vs shortcode.
2021-01-18 19:26:34 -03:00
Claudio Sanches 13462932ae Deactivate untrusted plugin's banner 2021-01-18 18:29:02 -03:00
roykho 5b4e3a2e2e
Add margin 2021-01-14 05:25:26 -08:00
roykho 8e7a59d959
Change location of the notice so it shows up in all reports 2021-01-13 07:00:37 -08:00
roykho 6041c10ea3
Add notice to deprecate old reports closes #27789 2021-01-12 07:37:00 -08:00
budzanowski 32c1c9c963 Print missing block info in the status page. 2020-12-28 16:27:31 +01:00
Roy Ho aa89afcf95
Merge pull request #28332 from woocommerce/update/replace-jquery-click
Replace usages of depracted jQuery.fn.click() event shorthand
2020-12-07 06:03:56 -08:00
Rodrigo Primo 8ebead165e Replace usages of depracted jQuery.fn.click() event shorthand
This commit replaces all instances in WooCommerce codebase (except included third-party libraries) where jQuery.fn.click( handler ) event shorthand was used. This shorthand was deprecated in jQuery 3.3 (see https://github.com/jquery/jquery/issues/3214). The jQuery documentation was not updated yet (see https://github.com/jquery/jquery-migrate/issues/288 and https://github.com/jquery/api.jquery.com/issues/972).

jQuery.click() was not deprecated and so it was not replaced.
2020-11-18 15:27:46 -03:00
Christopher Allford 2516414eb6
Merge pull request #28229 from woocommerce/add/wc-pay-extensions-screen
Add WooCommerce Payments banner to extensions screen
2020-11-12 14:21:01 -08:00
Gerhard Potgieter b5a4a1597f Fix current section check, phpcs linting errors. 2020-11-10 16:48:11 +02:00
Gerhard Potgieter 78336781d1 Remember output_ in function name 2020-11-09 14:20:24 +02:00