Skip to content

Interactive task type #286

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

Draft
wants to merge 22 commits into
base: develop
Choose a base branch
from
Draft

Interactive task type #286

wants to merge 22 commits into from

Conversation

ilicfilip
Copy link
Collaborator

Context

Implementation of https://github.com/ProgressPlanner/progress-planner-pro/issues/86

This PR adds example of interactive task, when clicking on a task user gets a popover which let him tests if sending emails is working on his site. If user confirms that sending email is working task will be celebrated, if not user gets an instruction on how to fix it.

Technically, idea is to add interactive part as a custom web component so we can change it any way we want without touching the rest of the code base.

The PHP class for this task type should also contain all relevant code, in this case it is a AJAX callback which sends an email.

Summary

Added task for checking if sending emails is working.

Quality assurance

  • I have tested this code to the best of my abilities.
  • I have added unit tests to verify the code works as intended.
  • I have checked that the base branch is correctly set.

Copy link
Contributor

github-actions bot commented Feb 21, 2025

Test on Playground
Test this pull request on the Playground or download the zip.

@ilicfilip
Copy link
Collaborator Author

@Mijke , @tacoverdo here is the screen recording of the current state of the Interactive task (checking if email sending is working):

Screen.Recording.2025-04-17.at.15.12.55.mov

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.

2 participants