-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[confluence] Chapter foward always hidden by broken condition #6115
Conversation
I dont understand this condition nor why the button is always hidden when a file has chapters. Further makes no sense whatsoever because chapter back is possible/visible but not chapter forward which actually makes sense if we hiding buttons conditionally then hide correct ones.
if the "next" button also works for chapters it is a mistake on my side, I thaught that vis condition would only trigger for additional playlist items. |
Yes the next button works for chapters always has its what I have always used it for. This should fix that and I have actually tested this PR before forwarding it here. |
yeah uNiversaI, we all know how clever you are and how much better your PRs are than mine. good to know. |
That is a mean comment and uncalled for. I am merely pointing out and fixing the issue best I can! Clearly you take offence where none was intended in first place. |
i've never used chapters before, so i just had to test it. |
Thx ronie. Do you want to use this PR or should i put up a new one which hides that button when both no next track in playlist available + no next chapter available? |
If you going to hide buttons via condition then please hide previous/next chapters not just next Absolutely no point in leaving previous chapter visible if none exists in that case. and only if no chapters exist in file/source does that scenario work. |
not totally comparable. previous track can be used all the time to "restart" a playlist item, "next track" can have the same functionality as stop button depending on actual situation. In that case it makes sense to hide / disable it in my opinion because it gives a visual indication then that nothing comes after the actual playing track / chapter. |
let's say the user is using the next button to skip to the last chapter. |
it does not have to disappear, it could also get half-transparent and de-activated. losing focus could be avoided with an additional conditional < onclick >. If that is not wanted behaviour though then just pull this PR, it reverts to old behaviour. I´m just not a fan of redundant buttons and I dont see a point in a next button when starting a single movie from library (which is probably the most used case) if that movie does not have any chapters. :) |
tbh I dont mind if a better solution is proposed and merged instead of this! Maybe its best if @phil65 solution are proposed in another PR and tested to see how it works then? |
nah, i think i prefer to keep things simple & stupid for our default skin. |
[confluence] Chapter foward always hidden by broken condition
[confluence] Chapter foward always hidden by broken condition
I dont understand this condition nor why the chapter forward button is always hidden even when a file has chapters.
Further makes no sense whatsoever because chapter back is possible/visible but not chapter forward.
If we hiding buttons conditionally then hide correct ones properly.