-
Notifications
You must be signed in to change notification settings - Fork 40
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
[UX] Change Front page
to Home page
in core
#2162
Comments
Initial PR changes only the Site information form. (saving here so it won't get lost) |
Oooor... some search & replace 😄 ...lets see what the test bot things about that. PS: I didn't touch |
Only 1 test failure is not bad for a 46-file PR 😅 ...but as I said, it was mostly string changes. The remaining failure seems to be because of #3794 (although not 100% sure). |
...I have closed and reopened the PR, and this time all tests passed. So by this search/replace, we sort this issue for most of the places, and tick most of the checkboxes in the issue summary: I think that we should leave |
I don't think we can change those at all without potentially breaking lots of sites. |
We can't change <front>, and we should keep it for bc, but we can change
the UI so nobody needs to see it. A checkbox/radio/drop-down would be
better everywhere it's used. See how we changed the block title settings
(to remove <none>) as an example.
…On Sun, Jun 9, 2019, 7:23 AM Herb ***@***.***> wrote:
I think that we should leave <front> placeholder and 'site_frontpage' in
system.core config for separate PRs.
I don't think we can change those at all without potentially breaking lots
of sites.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2162?email_source=notifications&email_token=AADBER46UPNCYACDQUXU5VLPZUG6ZA5CNFSM4CPJM6XKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXILA5Y#issuecomment-500215927>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBER4JEGXFIKKGXRHZ6OLPZUG6ZANCNFSM4CPJM6XA>
.
|
I tested the PR via the sandbox site, and all looks good. I marked off the checkboxes above that were covered by this PR. I crossed off the Browsed the code in the PR and that looks good too. |
Why is site_frontpage not possible? It's just an update hook, isn't it?
…On Thu, Aug 6, 2020, 5:27 AM Peter Anderson ***@***.***> wrote:
I tested the PR via the sandbox site, and all looks good. I marked off the
checkboxes above that were covered by this PR. I crossed off the
site_frontpage config one since that's not possible, and left the <front>
one unchecked as I believe that deserves its own issue.
Browsed the code in the PR and that looks good too.
RTBC from me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2162 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADBER7EUQF54THMT7PPPQDR7KOULANCNFSM4CPJM6XA>
.
|
@jenlampton this may be used in contrib and custom code. Perhaps if they used |
Well I haven't heard any opposition to the proposal, but I feel like it should probably be rationalized regardless:
|
I understand the concern about translations, but isn't a bit late to be holding this up because of that?
I don't feel very strongly about this change. However, I agree with @herbdool and the observation that this decision seems to have been made. We already use the term "home" in most places in the UI. This PR seems to be mostly updating code comments and code to reflect this (although it does make some user facing changes). Are those objecting to this PR suggesting
It seems to me that at this point, it is probably best to follow through and complete a change that seems like it has been happening for a while. |
Added the |
Thanks, I think this is helpful. But, what does this mean practically for this issue? Has there been any changes from "front" to "home" already that have effected translations OR is this the first PR that requires a change to translations. I suppose I understand the very real concerns about translations, but what I don't yet understand is the implication for this issue (which seems like it is part of a larger change that has been happening for a while). Does this just mean that we need to make sure that all translations are updated before we make this change to core? Would moving back to "front" be less work on the translation front? |
Since we already have instances of both "Front" and "Home" in core, there should already be translations for both those words. The real issue would be for the supportive text, where the word appears in the middle of a sentence. In those cases the whole sentence would not translate anymore, since we changed the string it was matching against.
When we added the home page layout, it was necessary to add new translations for "Home page".
It happens the other way around, after we update core, we will need to update translations to match the new string included in core (we don't want to do it before the change is in, in case the string changes again)
Probably not, since we've already started making this change. |
Thanks for answering the questions, @jenlampton!
FYI a few examples (for a more complete list search on the translation server):
|
This issue was RTBC, but some people have raised concerns, which seem to be blocking this issue right now. It seems to me that there are three paths forward (as I described before).
It seems to me that current concerns about option #3 risk leaving us with option #1, which I think is the worst possible choice. While, I support this change to home page, I would rather revert to using front page over the status quo. Currently, every time I comment on a front/home page issue - I'm not sure which is the commonly accepted term and/or which one I should be using. I think it would be helpful if those who have raised objections to this PR are clear about their preferred path forward. @indigoxela and @BWPanda have both expressed concerns, but it's not clear to me if the intend is to simply encourage us to be cautious about these kinds of changes in the future with translation implications, stick with the status quo, or to revert previous changes from front page to home page? @olafgrabienski - Your comments seem to suggest that you are ok with this change as long as we do our best to make the necessary updates to translations, do I have this correct? |
I've never opposed this PR/issue. I re-read my comments above, and the point I was making was that I prefer consistency (i.e. everything being the same) over the current situation where we use both words in different places. So I'm ok with this moving forward as 'home page' (option 3 from @stpaultim's comment above) (since that seems to be the most popular term, based on the Google Trends screenshot above). Failing that, I'm happy to move everything to 'front page' (option 2 from @stpaultim's comment). What I don't want is the current situation to remain (option 1). |
@stpaultim I never understood the need for the renaming, but silently accepted that it will happen anyway. My concerns were about all the required translation changes, but I also accepted that these will happen. So I'm not blocking this issue in any way, I just don't put any effort in getting it done - which isn't quite the same as blocking. 😉 |
Sorry for the misunderstanding @BWPanda, glad to clear that up. Thanks for the clarification @indigoxela, your position is very reasonable. This issue has never been a priority for me, but I don't like the state we are in now and think it's a good idea to finish what we have started (to the extent that we are able). I am also interested in this issue, because we have other technical and/or documentation issues that would benefit from resolving this issue. I very much understand the concern about translations and encourage us to be careful about making text changes that effect translations (certainly to keep the issue of translations in mind). Unfortunately, I don't work with translations enough that I think about this issue as much as I should. I'll try to pay more attention to how changes in core terminology effect translations in the future. It seems to me that we have pretty good consensus that the current state is the least optimal option (between going back to We discussed this issue at the DEV meeting today. It was suggested that if this issue is really stuck, we might need to elevate it to the PMC. However, I'm not really sure that we have sufficient disagreement to require that. Since this had the RTBC label and it was removed due to a lack of consensus AND because it seems to me that we have at least some consensus that moving forward is better than doing nothing, I'm going to give it the RTBC label again and see if we can get this issue moving and resolved. If anyone wants to object, now is the time. |
As a core committer, if I see an issue with a label 'RTBC' then I think, "Ooh, I can merge something!" But in September I came here and saw the back-and-forth comments and so decided to remove the RTBC label just to give people a chance to discuss and come to a decision before a core committer went ahead a merged it. Based on the discussion/comments since then, I feel @stpaultim has done the right thing by adding RTBC back and that we can commit this and standardise the terminology we use for the home/front page. I'll merge this PR next week unless someone else beats me to it. |
@BWPanda - For the record, I think you made the right call to remove the RTBC label at the time. Hopefully we've moved on since then. If not, we'll find out in the next few days. ;-) |
+1 to get it done. |
By @klonos, @jenlampton & @BWPanda.
By @klonos, @jenlampton & @BWPanda.
Thanks @klonos for the PR, and @jenlampton for opening this issue originally. Thanks also to everyone who participated in the discussion. I've merged backdrop/backdrop#2729 into 1.x and 1.17.x. |
By @klonos, @jenlampton & @BWPanda.
We have a lot of places in core that refer to the home page of the site as a
Front page
. This is a bit of a drupalism and I would love to see us move to calling it theHome page
consistently. That, however, will be a lot of work. Here are some of the places we need to update:<front>
placeholder[site:url]
descriptionThe API-level config variableconfig_get('system.core', 'site_frontpage');
Spun off from #1042 (comment)
PR by @jenlampton: backdrop/backdrop#1544PR by @klonos: backdrop/backdrop#2729 (excludes
system.admin.inc
, which is done in #3855 / backdrop/backdrop#2728)The text was updated successfully, but these errors were encountered: