Commit Graph

144 Commits

Author SHA1 Message Date
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 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
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
Jeff Stieler 499365d5ef Fix direct linking to single components in DevDocs. 2019-09-06 11:52:19 -07: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
Paul Sealock d98eceffc7 Revert "Revert "Update to new Snackbar component and notice store"" (https://github.com/woocommerce/woocommerce-admin/pull/2643)
* Revert "Revert "Update to new Snackbar component and notice store""

* Update uploader component to use createNotice

* Bump required WP version to 5.2

* Update required PHP and WP versions in plugin header
2019-07-23 11:26:46 +08:00
Joshua T Flowers 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
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
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
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
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
Paul Sealock 666dd992e6 Layout: fix propTypes for embedded pages 2019-07-08 12:54:52 +12: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
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 3068013095 remove render404 2019-07-03 11:38:11 +12:00
Jeff Stieler bdfe3520c3 Send tracks event for snoozing store alerts. 2019-07-02 09:18:52 -06: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
Job b317e43869 Fixes issue with alerts on mobile (https://github.com/woocommerce/woocommerce-admin/pull/2537) 2019-06-28 10:46:17 -07: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
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
Jeff Stieler 5a49991cb1 Trigger a note action on button click. 2019-05-31 09:59:20 -06: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
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
Jeff Stieler 0d9784700c Allow note action URLs to be empty. 2019-05-24 13:05:12 -04: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
Jeff Stieler f4d9818fc8 Remove unused layout component and export. 2019-05-23 10:38:45 -06:00
Jeff Stieler 9578280423 Move StoreAlerts below screen meta links on embed pages. 2019-05-22 14:59: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
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 db5a1b7348 Add support for “primary” admin notice actions. 2019-05-21 13:22:48 -06:00
Ajay Ghaghretiya 38c40430ef Hide WordPress Upgrade Nag (https://github.com/woocommerce/woocommerce-admin/pull/2213) 2019-05-13 10:58:29 +08: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
Justin Shreve 7fc70157c9 WC_Admin_Loader/PHP Refactor + Method to publish core ready features (https://github.com/woocommerce/woocommerce-admin/pull/1863)
* Try: Setup plugin to publish core library on npm

* Documentation clean up.

* Handle PR Feedback: Fix notices from happening in WC Core from API usage, fix sidebar dashboard ordering in menu, remove preload function check since we are supporting WP 5+, add a filter for preloading data and move usage to respective feature code, move features to a specific folder for bundiling, fix script translations.

* Fix code comment on analytics preload

* Continue refactoring code, and make it possible to launch 'embedded' features via the process as well.

* Fix note hook

* Fix note load order

* Address PR feedback: Fix class name, load leaderboard endpoint

* Remove example code prior to merge
2019-04-11 14:31:31 -04:00
Albert Juhé Lluveras baf3bc3e28 Scroll to top only when URL changes (https://github.com/woocommerce/woocommerce-admin/pull/1989) 2019-04-08 19:53:28 +02:00
Albert Juhé Lluveras 7efd81815f Scroll to top when navigating pages (https://github.com/woocommerce/woocommerce-admin/pull/1958) 2019-04-01 19:02:39 +02:00
Jeff Stieler 6ab3f0b9f9 Style admin note action button and snooze dropdown. 2019-03-20 08:52:27 -06:00
Jeff Stieler 276a6e6744 Hook up “remind me later” button.
Update the admin note status and date_reminder fields.
2019-03-20 08:52:27 -06:00
Jeff Stieler 738ce59e4d Add “remind me later” dropdown button to snoozable admin notes. 2019-03-20 08:52:27 -06:00
Paul Sealock c8537970b7 Merge pull request woocommerce/woocommerce-admin#1793 from woocommerce/fix/store-alerts-css-lint
Fix CSS Lint issues in store-alerts CSS
2019-03-14 13:13:07 +13:00
Jeff Stieler bfe5a75e98 Update text domain. (https://github.com/woocommerce/woocommerce-admin/pull/1795)
* Translation call text domain change from “wc-admin” to “woocommerce-admin”.

* Fix .pot file generation.

* Fix errantly closed array item in /revenue/stats controller.

* Rename plugin zip, main file, and repo name to "woocommerce-admin".
2019-03-13 11:14:02 -06:00
Albert Juhé Lluveras 8dd179d551 Fix CSS Lint issues in store-alerts CSS 2019-03-13 11:36:03 +01:00
Justin Shreve 1348245406 Add store notice around processing historical data. (https://github.com/woocommerce/woocommerce-admin/pull/1763)
* Add store notice around processing historical data.

* Cleanup

* Handle PR feedback.

* Clean up `add` logic and add empty content_data. Also add logic to get_notes_count so that we can hide unactioned statuses.

* Add the ability to update a note, and to also mark a status when an alert is clicked.

* Remove mark_actioned call on sync

* add missing todo
2019-03-12 09:13:20 -04:00
Tiago Noronha 762b7d0b0c Revert "Stop API requests when we know no alerts exist"
This reverts commit 0cdaf1bee2.
2019-03-08 16:18:02 +00:00
Tiago Noronha c3ff6fca49 Simplify StoreAlerts component logic 2019-03-08 16:17:48 +00:00
Tiago Noronha 0cdaf1bee2 Stop API requests when we know no alerts exist 2019-03-06 23:04:13 +00:00
Tiago Noronha dd8d1fbb8b Display StoreAlertsPlaceholder while alerts are being loaded 2019-03-06 22:50:47 +00:00