Skip to content

Document import cancellation notification#777

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/import-cancel-notification-7.2
Open

Document import cancellation notification#777
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/import-cancel-notification-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Adds a "How to cancel an import" section to the Import Contacts page, documenting the Cancel button on the import progress page and the new warning notification routed to the import's owner (naming the canceling User when someone else cancels). Targets the 7.2 user docs branch per LTC branch-targeting for mautic/mautic 7.x. Documents mautic/mautic#15380.

Trigger Events


Tip: Tag @Promptless in GitHub PR comments to guide documentation changes during code review 🐙

Add a 'How to cancel an import' section covering the Cancel button on
the import progress page and the notification routed to the import's
owner (mautic/mautic#15380).

While an import runs in the browser, the progress page shows a **Cancel** button next to the option to continue importing in the background. Click **Cancel** to stop the import. Mautic stops the import, cleans up the import process, and removes the uploaded CSV file.

When you cancel an import, Mautic sends a notification to the notification area of the User who created it. If you cancel an import that another User started, that User gets the notification, and the message identifies you as the person who canceled it.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Documented the cancellation notification behavior from ImportController::cancelAction, which calls addNotification(..., 'warning', ...) routed to the import owner via getImportNotificationUser. The new messages.ini strings mautic.lead.import.canceled.with_id and mautic.lead.import.canceled.with_id_and_user confirm the owner is notified and the canceling User is named when a different User cancels.

Source: mautic/mautic#15380

How to cancel an import
=======================

While an import runs in the browser, the progress page shows a **Cancel** button next to the option to continue importing in the background. Click **Cancel** to stop the import. Mautic stops the import, cleans up the import process, and removes the uploaded CSV file.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Verified the Cancel button access pattern: progress.html.twig renders the mautic.core.form.cancel button (linking to objectAction: 'cancel') on the in-browser import progress page, alongside the background-queue button — confirming cancellation is reached from the progress page, not the Import History toggle.

Source: https://github.com/mautic/mautic/blob/7.x/app/bundles/LeadBundle/Resources/views/Import/progress.html.twig

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.

1 participant