Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,9 @@ input.fz-switch-toggle[type=checkbox]:checked:before{
display: inline-block;
color: #4268CF;
}
.need-help-box.feedzy-accordion-item .btn + .btn{
margin-left: 8px;
}

.fz-document-list{
padding: 30px 0 10px;
Expand Down
10 changes: 8 additions & 2 deletions includes/layouts/feedzy-support.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,21 +113,27 @@ class="<?php echo 'integration' === $active_tab ? 'active' : ''; ?>">
echo wp_kses_post(
wp_sprintf(
// Translators: %1$s is the opening anchor tag for the upsell link, %2$s is the closing anchor tag.
__( 'If you did not found an answer in our Knowledge Base, you can always ask for help from our community based forum or %1$s get dedicated support with our premium plans. %2$s', 'feedzy-rss-feeds' ),
__( 'If you did not find an answer in our Knowledge Base, you can always ask our support team or our community based forum, or %1$s get priority support with our premium plans. %2$s', 'feedzy-rss-feeds' ),
'<a target="_blank" href="' . esc_url( $upsell_link ) . '">',
'</a>'
)
);
?>
</p>
<?php if ( wp_script_is( 'themeisle-sdk-support-hub', 'enqueued' ) ) : ?>
<?php // The SDK's Support Hub script opens its Help panel for any [data-ti-support] link; the SDK enqueues it only when the module loads. ?>
<a href="#" class="btn btn-primary" data-ti-support="support-page">
<?php esc_html_e( 'Contact Support', 'feedzy-rss-feeds' ); ?>
</a>
<?php endif; ?>
<a href="https://wordpress.org/support/plugin/feedzy-rss-feeds/" class="btn btn-outline-primary"
target="_blank">
<?php esc_html_e( 'Community Forum', 'feedzy-rss-feeds' ); ?>
</a>
<?php
} else {
?>
<p><?php echo wp_kses_post( wp_sprintf( __( 'If you didn\'t found an answer in our Knowledge Base, our dedicated support team standby to help you.', 'feedzy-rss-feeds' ) ) ); ?>
<p><?php echo wp_kses_post( wp_sprintf( __( 'If you didn\'t find an answer in our Knowledge Base, our dedicated support team standby to help you.', 'feedzy-rss-feeds' ) ) ); ?>
</p>
<a href="https://store.themeisle.com/contact" class="btn btn-outline-primary"
target="_blank"><?php esc_html_e( 'Contact Support', 'feedzy-rss-feeds' ); ?></a>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Unlock all these premium features with [Feedzy PRO!](https://themeisle.com/plugi

* 📚 [Knowledge Base](https://docs.themeisle.com/category/712-feedzy): we’ve created a complete documentation library and we’re still constantly updating with new tutorials.
* 📽️ [Youtube tutorials](https://www.youtube.com/channel/UCAQcBsP3h6p5yXgFap4LEGA/search?query=feedzy): don’t like reading? We’ve created some YouTube tutorials to help you get started with the FEEDZY RSS Aggregator plugin step by step.
* 🦸 [Support forum](https://wordpress.org/support/plugin/feedzy-rss-feeds/): we offer support to free version user here and try to reply within one business day.
* 🦸 Support: free version users can ask us from the **Help** button in the Feedzy dashboard or in our [support forum](https://wordpress.org/support/plugin/feedzy-rss-feeds/). We try to reply within one business day.
* 🌟 [Premium support](https://themeisle.com/contact/): We offer priority support for Developer license customers and live chat support for Agency license customers.

If you have any feedback or feature suggestions for the FEEDZY RSS Aggregator, don’t hesitate to tell us. We read all feedback and ideas.
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Unlock all these premium features with [Feedzy PRO!](https://themeisle.com/plugi

* 📚 [Knowledge Base](https://docs.themeisle.com/category/712-feedzy): we’ve created a complete documentation library and we’re still constantly updating with new tutorials.
* 📽️ [Youtube tutorials](https://www.youtube.com/channel/UCAQcBsP3h6p5yXgFap4LEGA/search?query=feedzy): don’t like reading? We’ve created some YouTube tutorials to help you get started with the FEEDZY RSS Aggregator plugin step by step.
* 🦸 [Support forum](https://wordpress.org/support/plugin/feedzy-rss-feeds/): we offer support to free version user here and try to reply within one business day.
* 🦸 Support: free version users can ask us from the **Help** button in the Feedzy dashboard or in our [support forum](https://wordpress.org/support/plugin/feedzy-rss-feeds/). We try to reply within one business day.
* 🌟 [Premium support](https://themeisle.com/contact/): We offer priority support for Developer license customers and live chat support for Agency license customers.

If you have any feedback or feature suggestions for the FEEDZY RSS Aggregator, don’t hesitate to tell us. We read all feedback and ideas.
Expand Down
14 changes: 14 additions & 0 deletions tests/e2e/mu-plugins/feedzy-e2e-hide-support-hub.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
/**
* Plugin Name: Feedzy E2E Hide Support Hub
* Description: Hides the SDK Support Hub on requests with the feedzy_e2e_hide_support_hub query argument, so e2e tests can check screens without its Help panel.
*
* @package feedzy-rss-feeds
*/

add_filter(
'themeisle_sdk_hide_support_hub',
function ( $hide ) {
return $hide || isset( $_GET['feedzy_e2e_hide_support_hub'] ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
}
);
31 changes: 31 additions & 0 deletions tests/e2e/specs/docs-links.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,34 @@ test.describe('Docs links', () => {
);
});
});

test.describe('Need help box', () => {
test('free Help tab offers the Help panel and the community forum', async ({
page,
}) => {
await openPage(page, 'page=feedzy-support&tab=help');

await expect(
page.getByRole('link', { name: 'Contact Support' })
).toHaveAttribute('data-ti-support', 'support-page');
await expect(
page.getByRole('link', { name: 'Community Forum' })
).toBeVisible();
});

test('Help tab keeps only the community forum when the Support Hub is hidden', async ({
page,
}) => {
await openPage(
page,
'page=feedzy-support&tab=help&feedzy_e2e_hide_support_hub=1'
);

await expect(
page.getByRole('link', { name: 'Community Forum' })
).toBeVisible();
await expect(
page.getByRole('link', { name: 'Contact Support' })
).toHaveCount(0);
});
});
Loading