[5.x] Warn if the title is a duplicate #10566
Closed
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.
Warn if the title is a duplicate
Backports PR #10321
Commit 1:
Warn if the title is a duplicate
Commit 2:
warn when copyOnSave is checked. add a test
Commit 3:
update message
Commit 4:
fix tests
Commit 5:
Fix issues with substring matching
add more tests.
Commit 6:
make case insensitive and return matching title
Commit 7:
Fix bug caused by subtle difference between this.type and type
Add a comment and rename one of the variables to make the distinction
clearer.
Commit 8:
add debug messages.
Commit 9:
fix tests again
Commit 10:
uncomment out tests
Commit 11:
more debug messages
Commit 12:
save more screenshots
Commit 13:
Need to wait till save finishes or the page may redirect the url after the page has navigated away
Commit 14:
address code review comments