Skip to content

Commit

Permalink
Merge pull request #73 from moderntribe/release/0.12.0
Browse files Browse the repository at this point in the history
Package version 0.12.0
  • Loading branch information
bookernath committed Sep 26, 2018
2 parents 0fcfac8 + 44c563d commit 7e3fd13
Show file tree
Hide file tree
Showing 138 changed files with 6,449 additions and 2,664 deletions.
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Changelog

## [0.12.0]
### Added
- Added the Product Sync feature to Product List page.
- Added Welcome screen and Connect Account screen.

### Changed
- Refactored JS code in Gutenberg modules to use ES6 React syntax (removes usage of `wp` global React wrapper).
- Refactored other JS modules for extendability and moved i18n strings to PHP JS_Config.
- Reorganized JS modules and structure for easier readability.
- Added a new indicator in the Gutenberg products block to let the user know if they chose filters that produce no results.
- Added support for displaying estimated tax amounts in the cart.
- Refactored Analytics data tags to utilize Segment Analtyics.js script.
- Improved focus pointer UX elements when editing the product block.
- Rendered redesigned panels in Settings UI.
- Refactored settings screen registration and rendering.
- Prevented editing API credential settings if they are set using constants or environment variables.

### Removed
- Replaced GA/Pixel controller with Segment controller.

### Fixed
- Fixed a bug with the Gutenberg editor where the Featured filter was not showing up when reopening a saved block.
- Fixed a bug with the cart template where product removal was canceled by a missing template node.
- Fixed a bug with the cart where updating product qty was updating the remote cart but the API response changed causing an ajax error.
- Fixed a bug with product pages where product review body text was not showing. Existing products should be re-imported to show reviews.
- Fixed an issue with the admin Products UI where default settings were not being applied when using the classic editor.

## [0.11.1] - 2018-08-28
### Fixed
- Remove reference to `Id` from the Gutenberg blocks `props` Object which was deprecated in version 3.3. Replaced with new key `clientId`.
Expand Down Expand Up @@ -70,6 +97,8 @@


[Unreleased]: https://github.com/moderntribe/bigcommerce/compare/master...develop
[0.12.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.11.1...0.12.0
[0.11.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.11.0...0.11.1
[0.11.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.10.0...0.11.0
[0.10.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.9.0...0.10.0
[0.9.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.8.0...0.9.0
[0.9.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.8.0...0.9.0
38 changes: 38 additions & 0 deletions admin-views/welcome-screen.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?php

/**
* Template for the admin Welcome screen
*
* @var string $connect_account_url
* @var string $create_account_url
* @var array $notices
*/
?>
<div class="bc-welcome">
<div class="bc-welcome__content">
<div class="bc-welcome__content-wrap">
<img src="<?php echo esc_url( plugins_url( '../assets/img/admin/big-commerce-logo.svg', __FILE__ ) ); ?>" alt="<?php esc_attr_e('Big Commerce', 'bigcommerce'); ?>">
<h1 class="bc-welcome__content-title"><?php esc_html_e( 'Build your online store with BigCommerce', 'bigcommerce' ); ?></h1>
<p><?php esc_html_e( 'Customize your site, manage shipping and payments, and list your products on Amazon, eBay, and Facebook with the #1 ecommerce platform. Try it free, no credit card required.', 'bigcommerce' ); ?></p>
</div>
<div class="bc-welcome__btn-group">
<a class="bc-admin-btn" href="<?php echo esc_url( $connect_account_url ); ?>"><?php esc_html_e( 'Connect My Account', 'bigcommerce' ); ?></a>
<a class="bc-admin-btn bc-admin-btn--outline" href="<?php echo esc_url( $create_account_url ); ?>" target="_blank"><?php esc_html_e( 'Create New Account', 'bigcommerce' ); ?></a>
</div>
</div>

<?php if ( count( $notices ) > 0 ) { ?>
<div class="bc-welcome__notices">
<?php foreach ( $notices as $notice ) { ?>
<div class="bc-welcome__notice">
<?php if ( ! empty( $notice[ 'title' ] ) ) { ?>
<h3 class="bc-welcome__notice-title"><?php echo $notice[ 'title' ] ; ?></h3>
<?php } ?>
<?php if ( ! empty( $notice[ 'content' ] ) ) { ?>
<div class="bc-welcome__notice-content"><?php echo $notice[ 'content' ] ; ?></div>
<?php } ?>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
Loading

0 comments on commit 7e3fd13

Please sign in to comment.