-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Replace head_title with Kicker #140
Conversation
@iFlameing thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment:
To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
@iFlameing I think we need to:
|
@davisagli I added the head title once again but I haven't tested it because I don't know how to test it. Also, it is a breaking change. where and how I should mention it? |
@iFlameing For starters, look at the result of the existing tests, which are failing. It looks like it is a problem to have 2 behavior registrations for the same interface, and here it is the same object even though it has an alias. To fix this, define IHeadTitle as a subclass of IKicker:
Next, test this change with our customer project. You can pip install this branch from github (https://pip.pypa.io/en/stable/topics/vcs-support/). If our backwards-compatibility efforts are successful, everything in that project should still work even if you don't change the content types to use the new behavior.
|
@iFlameing do you have time to look into this during the week? I would love to start using this for our different Plone distribution projects. |
@@ -38,8 +38,8 @@ msgid "Creates a default page for the site using slate blocks" | |||
msgstr "" | |||
|
|||
#: plone/volto/behaviors/configure.zcml:42 | |||
msgid "Head title field" | |||
msgstr "Kopftitel Feld" |
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.
I think we should keep the existing translations for "head title"; it's better than removing the translations.
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.
I think that it is automatically updated once we removed the text. Translation is automatically deleted.
@davisagli @tisto I have created a new pr in favour of this #163 |
@davisagli I don't know how to create an alias for headtitle. can you please take care of it?