Document unique stage weight requirement and validation#758
Open
promptless-for-oss wants to merge 1 commit into
Open
Document unique stage weight requirement and validation#758promptless-for-oss wants to merge 1 commit into
promptless-for-oss wants to merge 1 commit into
Conversation
Adds documentation for the new stage weight conflict checking feature introduced in mautic/mautic#15404: - Each stage must have a unique weight - Reference table shows existing stages and weights - Validation error displays when duplicate weight is entered
| **Description** - To help you and other Users easily identify what qualifies a Contact for that Stage, it's recommended to add a description. | ||
|
|
||
| **Weight** - Used to decide the progression of your Stages. The greater the Stage weight number, the further along in the funnel a Contact is. Contacts can't move backwards to Stages with lower weights. | ||
| **Weight** - Determines the progression of your Stages. The higher the weight number, the further along in the funnel a Contact is. Contacts can't move backwards to Stages with lower weights. Each Stage must have a unique weight. When creating or editing a Stage, a reference table shows existing Stages and their weights to help you choose an available value. If you enter a weight that's already in use, Mautic displays a validation error. |
Author
There was a problem hiding this comment.
Added unique weight requirement and validation error message based on PR #15404 which adds UniqueEntity constraint on Stage.weight and client-side conflict checking via Mautic.initStageWeightConflictCheck() in stage.js.
Source: mautic/mautic#15404
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Open this suggestion in Promptless to view citations and reasoning process
Updates the Weight field documentation to explain that each stage must have a unique weight, and describes the new validation behavior including the reference table and error message.
Trigger Events
Tip: Send Promptless a meeting transcript in Slack to generate doc updates 📝