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

Update/deactivation survey event #15

Merged
merged 5 commits into from
Jun 18, 2024
Merged

Conversation

circlecube
Copy link
Member

Proposed changes

This updates the event input value to show the input text if it exists in all cases, or (Skipped) if the skip button is used and the input is blank, or (No Input) if the input is empty.

It also updates the logic to ensure the event submission is successful before proceeding to deactivate the plugin by returning the promise and deactivating in then.

See: PRESS0-1417

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

this sends (No Input) or (Skipped) if the input field is blank so we can distinguish between them
@circlecube circlecube self-assigned this Jun 5, 2024
* main:
  Added Drop down for temporary deactivation options in deactivation popup

# Conflicts:
#	static/js/deactivation-survey.js
@circlecube
Copy link
Member Author

After merging the duration select field, I cleaned this up again.

I'm not sure that we should send these as multiple events though, I wonder if we combine into one? @wpscholar

* main:
  require the newfold-features script and only display enabled features
@wpalani wpalani merged commit ee3f0be into main Jun 18, 2024
1 of 6 checks passed
@wpalani wpalani deleted the update/deactivation-survey-event branch June 18, 2024 18:07
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.

3 participants