Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation and gulp deps #2

Merged
merged 14 commits into from
Nov 30, 2022
Merged

Documentation and gulp deps #2

merged 14 commits into from
Nov 30, 2022

Conversation

pramodjodhani
Copy link
Collaborator

@pramodjodhani pramodjodhani commented May 12, 2022

Video

General working

wds-google-calendar.mp4

Fixes #1

  1. Add a settings link here to the "Integration" tab:

This is done.

image

  1. We may want to make the integrations tab have subtabs (in the future) so more integrations can be added without bloating that tab?

Not done yet, I have added an issue here: iconicwp/WordPress-Settings-Framework#80

  1. We could do with some guidance on the Integrations tab. I think we coded a way to add doc links to a setting in the settings framework? If not, we should - make it possible to add an outbound link to a doc with guidance on how to get the api keys etc.

This is also done. We will also need to merge this PR for this to work: iconicwp/WordPress-Settings-Framework#79

image

@pramodjodhani pramodjodhani changed the title fix issue #1 [update] Documentation May 13, 2022
@pramodjodhani pramodjodhani requested a review from jamesckemp May 13, 2022 07:25
@jamesckemp
Copy link
Contributor

@pramodjodhani Please can you add some screenshots/video for what this PR is doing?

@pramodjodhani
Copy link
Collaborator Author

@jamesckemp Done.

Copy link
Contributor

@jamesckemp jamesckemp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was unable to test because after compiling the plugin using gulp compile I got this error. Is the composer vendor folder required?

Warning: require_once(/chroot/home/4yS2nPI8/vivaciouspanther.build067.wpsandbox.app/html/wp-content/plugins/iconic-wds-google-calendar/vendor/autoload.php): failed to open stream: No such file or directory in /chroot/home/4yS2nPI8/vivaciouspanther.build067.wpsandbox.app/html/wp-content/plugins/iconic-wds-google-calendar/iconic-wds-google-calendar.php on line 121 Fatal error: require_once(): Failed opening required '/chroot/home/4yS2nPI8/vivaciouspanther.build067.wpsandbox.app/html/wp-content/plugins/iconic-wds-google-calendar/vendor/autoload.php' (include_path='.:/opt/remi/php74/root/usr/share/pear:/opt/remi/php74/root/usr/share/php:/usr/share/pear:/usr/share/php') in /chroot/home/4yS2nPI8/vivaciouspanther.build067.wpsandbox.app/html/wp-content/plugins/iconic-wds-google-calendar/iconic-wds-google-calendar.php on line 121 Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/) for more information. (This message was added in version 3.1.0.) in /chroot/home/4yS2nPI8/vivaciouspanther.build067.wpsandbox.app/html/wp-includes/functions.php on line 5831 Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see [Debugging in WordPress](https://wordpress.org/support/article/debugging-in-wordpress/) for more information. (This message was added in version 3.1.0.) in /chroot/home/4yS2nPI8/vivaciouspanther.build067.wpsandbox.app/html/wp-includes/functions.php on line 5831

@jamesckemp
Copy link
Contributor

FYI, I updated this to use the Gulp 4 branch. You may need to clear node_modules and rerun npm

@pramodjodhani
Copy link
Collaborator Author

@jamesckemp It should be fixed now. Please feel free to check.

@pramodjodhani pramodjodhani changed the title [update] Documentation Documentation and gulp deps Oct 14, 2022
@jamesckemp
Copy link
Contributor

Can we fix the alignment here?
CleanShot 2022-10-25 at 14 29 30@2x

What happens if the addon is activated and Delivery Slots is not? Do we add a notice about requiring the core plugin?

}
?>
<div class="notice notice-error is-dismissible">
<p><?php esc_html_e( 'Google Calendar Addon for WooCommerce Delivery Slots requires the WooCommerce Delivery Slots to be installed and activated.' ); ?></p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should link to the plugin with UTMs as well

source = iconic
medium = plugin
campaign = iconic-wds-gcal

You also need textdomain here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure @jamesckemp. This is done.

For the alignment issue of the link icon, please can you check this PR? iconicwp/WordPress-Settings-Framework#89

@jamesckemp
Copy link
Contributor

@pramodjodhani The notice is dismissable, but it isn't persistent. We should just make it not dismissable.

@pramodjodhani
Copy link
Collaborator Author

Sure @jamesckemp , this is done.

@jamesckemp
Copy link
Contributor

Pending a docs update so I can test 😓

@pramodjodhani
Copy link
Collaborator Author

@jamesckemp I have updated the doc. Please feel free to test again.

@jamesckemp
Copy link
Contributor

Yep, works perfectly!

@jamesckemp
Copy link
Contributor

I'll leave the merge to you.

@pramodjodhani pramodjodhani merged commit e25bb7c into master Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feedback Round 1
2 participants