Skip to content

Handled missing Tagify method - #1306

Open
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/1305
Open

Handled missing Tagify method#1306
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/1305

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Summary

Handled the missing clearPersistedData method in the ActionPopup component. The code now checks whether the method exists before calling it; if it doesn't, it calls the fallback method setPersistedData with an empty array to clear the persisted data.

Check before Pull Request is ready:

Closes #1305

@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Aug 5, 2026
@pirate-bot

pirate-bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Plugin build for 3863b7f is ready 🛎️!

Note

You can preview the changes in the Playground

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds compatibility handling for Tagify instances lacking clearPersistedData.

Changes:

  • Adds a persistence-clearing fallback using setPersistedData.
  • Adds an E2E regression test for featured-image action saving.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
js/ActionPopup/index.js Adds and uses the Tagify compatibility helper.
tests/e2e/specs/import.spec.js Tests saving when persistence methods are unavailable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/e2e/specs/import.spec.js Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants