Skip to content

Reset template import status on request failure - #529

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

Reset template import status on request failure#529
girishpanchal30 wants to merge 2 commits into
developmentfrom
bugfix/527

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Summary

Reset the import UI after a failed import, so the user can retry without reloading the page.

Check before Pull Request is ready:

Closes #527

@girishpanchal30
girishpanchal30 requested a review from Copilot July 22, 2026 06:59
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label Jul 22, 2026
@pirate-bot pirate-bot added pr-checklist-complete The Pull Request checklist is complete. (automatic label) labels Jul 22, 2026
@pirate-bot

pirate-bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Plugin build for 82a968a is ready 🛎️!

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

Resets template import controls after AJAX or parsing failures, allowing retries without reloading.

Changes:

  • Returns the import request promise to propagate failures.
  • Centralizes UI recovery for settings and wizard imports.
  • Rejects unsuccessful JSON responses.

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

Comment thread assets/js/scripts-admin.js
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) pr-checklist-skip Allow this Pull Request to skip checklist.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants