-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add config for editor return label #1232
Conversation
OK. I'm not worried about my "zum Video", but I'm not sure institutions are automatically using the "system name" towards their customers, so "Opencast" or "Tobira" are not known by every user. |
It doesn't have to be the "system name" (which is configurable, at least in Tobira), it's just how this is intended to be used. If institutions want to use another name, the challenge for them is finding some text that fits the editor template of "Back to ..." and ideally works in all languages supported by the editor. So far we (on our test deployment) have used the configured site title in Tobira, but I'm not against providing more flexibility (which this PR would do). Though as mentioned this is somewhat constrained by the template that editor provides. |
This pull request has conflicts ☹ |
@dagraf we didn't have time to talk about this in our latest meeting. I just wanted to get your opinion on this (which may very well be that you don't have any opinion on this). My stance remains that while having this configurable doesn't really hurt, it may lead to awkward situations as I tried to explain in my comments above. So to prevent that, we might just not want to allow it in the first place. I'm also interested in @LukasKalbertodt's opinion since he would ultimately need to decide if we merge this or not. |
Thanks, @owi92. An additional question for my understanding: If we were to stick to "Return"/"Zurück", wouldn't this allow everyone to add anything? Not sure where to put the space though.
|
@oas777 the "Return to" / "Zurück zu" part is set in stone by editor, we can't change that anyhow in Tobira. Right now (without this PR), Tobira will always pass the configured site title (i.e. "Tobira Test Deployment" on our test deployment, "Videoportal Universität Bern (Tobira)" for Bern or "Videoportal" for the ETH). This pull request would add an additional configuration option with which you could pass a label to editor that won't be used anywhere else, allowing you to configure something like "Video", so editor would say "Return to Video" / "Zurück zu Video" without changing Tobira's page title. But this comes with the constraints I layed out in #1232 (comment), particularly this part:
|
43103e7
to
edc26ab
Compare
315906b
to
a348e83
Compare
a348e83
to
4e4e631
Compare
4e4e631
to
8beec74
Compare
8beec74
to
2e8e7a8
Compare
I feel like you explained this before so I guess I'm currently too dumb to add anything valuable to this. Over and out. |
Well it could also be that it is me who is too dumb to explain this So coming back to your examples:
(a) is currently possible. Maybe it's best if we just put aside 5 minutes of our next meeting to briefly talk about this. |
Yeah, I wish we could talk to the guy who baked "Return to " / "Zurück zu " into the Editor ... |
Sorry for the delay in commenting on this thread. I would not add a configuration for this in Tobira, I think using the configured site title is fine. In my opinion, we should should change the editor to put quotes around the passed label (or even a border or something like that). That would clearly mark it as "name" or "named entity" and not as part of the sentence starting with "back to".
We can still run into the problem of Tobira passing the German label to the editor, while the editor is in Englisch. But for one, that's rare (both apps use the same logic to decide the language, users would have to manually change only one). And further, due to the separation given by the quotes it's not that bad. |
I'm not so happy about these expressions and you probably aren't either, but let's table this here. Or should we talk about German vs. quotation marks? |
I was afraid you'd mention that 😬 I think it's not as bad with names of entities (which is the case here) than with quotes of natural language. But either way, this can also be solved differently in the editor (e.g. background, border, ...). So do we all agree to close this PR and instead open an issue at the editor repository? |
+1 |
I opened an editor issue for Lukas' suggestion: opencast/opencast-editor#1466. |
This adds a config option to set a return label for the editor.
For context:
The editor can be configured to show a "return-to-origin" button that says "Return to {...}"/"Zurück zu {...}".
This is intended to use the name of the system that the editor was opened from, for example Opencast or Tobira.
@oas777 wants this to say "Zurück zum Video", which is slightly problematic for a few reasons:
I would strongly suggest to stick with what is possible now: passing the system name.
Otherwise you should open an issue in https://github.com/opencast/opencast-editor/ (I can also do that if you want me to).
Related to https://gitlab.elan-ev.de/opencast/eth/tobira/-/issues/49