-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix automatic slug update on sbs form #2842
Conversation
Code Climate has analyzed commit 4c34720 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 83.3%. View more on Code Climate. |
cfea3b7
to
cd23bd9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR 👍
Hmm, it would be cool if slugify_ajax()
could be used here too instead of building another function 🤔 Having two different functions, we probably forget to update one of them if the logic changes in the future.
@MizukiTemma wouldn't using the slugify_ajax() method mean that the slug is only updated when saving the form (backend)? |
@theresantonie
|
@MizukiTemma If this works the same, it is probably better to use an existing function. 👍 |
|
Yes, in |
a27c364
to
695c778
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 🎉 Thank you 😸
☝️ Only release note is left 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ec880a6
to
5750540
Compare
60fa805
to
d7f918f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! :)
Just one more thing
f6ac47a
to
fa5b7c4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super sorry for the lonf turnaround time with this review :(
This looks great now, thank you! 😄 🎉 I only have one nitpick left (see below), but will already approve this, since it's very minor.
fa5b7c4
to
5b9ecbd
Compare
5b9ecbd
to
4c34720
Compare
Short description
Currently the sbs form slug of the target language is not updated after the title change. It should be updated after the title of the page changes.
Proposed changes
Side effects
Resolved issues
Fixes: #2797
Pull Request Review Guidelines