Uh oh!
There was an error while loading. Please reload this page.
background image for background in top of sidebar - #213
Conversation
AndyScherzinger
commented
Aug 14, 2016
please review @tobiasKaminsky @nextcloud/designers |
MariusBluem
commented
Aug 14, 2016
How complicated would it be to fetch the picture from the theming app 😁 |
@Mar1u5 if the server side offers an interface for it, it is technically possible. As discussed in #54 we can't support launcher icons and coloring would be a problem here and there but for the background image here, it would be possible, yes. I which version of Nc server would this feature/api be available? We could start with this and in an "iteration 2" support theming set background images but we should then open a new issue for that imho. |
Bugsbane
commented
Aug 14, 2016
This is a good step forward, but as @Mar1u5 suggested, it really should use the theming app image to be consistent. |
MariusBluem
commented
Aug 14, 2016
I think @juliushaertl is the right person to give Information about the APIs 😁 |
juliusknorr
commented
Aug 15, 2016
@Mar1u5@AndyScherzinger By now there is no public api for getting theming values, but that shouldn't be much work. I guess such an API would absolutely make sense, as other external apps might use theming values as well. |
tobiasKaminsky
commented
Aug 16, 2016
This PR is 👍 |
MorrisJobke
commented
Aug 17, 2016
You rock! This is amazing :) I like it 👍 |
Looks slick as hell! 🎉 Now we only need to add it to the connection screen as well @AndyScherzinger ;) Wanna play around with that too? |
AndyScherzinger
commented
Aug 17, 2016
@jancborchardt Connection screen as in the login screen? Do we really want to do this? I do like the simplicity of the uni-colored background and not having the image. How would we design it? simply putting in the image isn't enough since all the input fields are "just lines" (as in lovely native!) |
AndyScherzinger
commented
Aug 17, 2016
@jancborchardt please see the screenshots, as before strongly advising against it...
@nextcloud/android please say NO - you can do it |
I'll say YES actually. Anyone else? Maybe just make the background a bit darker? |
AndyScherzinger
commented
Aug 17, 2016
@enoch85 Did you open the image on an actual phone or just on a PC? |
@AndyScherzinger Just looked at the pics here in this PR, on a PC, |
Please look at it on an Android phone (totally different thing). Imho this is really far away from a material design experience. |
To me it seems that if the admin has chosen to theme their install by replacing the Nextcloud mountains image, that we shouldn't still be pushing that image on them anywhere. If we're concerned about readability issues though, like what happens if they choose an image that's almost all white, then possibly we could opt to go with the chosen theme background colour instead of the theme image? We've already talked elsewhere about limiting the theme colour to only the darker colours so we don't make the web header unreadable (although personally I'd prefer that we just automatically flip text colour from white to black if the chosen background colour is too light). |
jancborchardt
commented
Aug 18, 2016
@AndyScherzinger yeah, good point. It just looks very off in this case, and distracts from simply logging in. Let’s not do it. :) |
AndyScherzinger
commented
Aug 18, 2016
That is the point (or one point)... we can't because that would mean (while technically possible) we would have to do a color analysis of the background image being used and we will run into large problems with no solution yet which is the next demand that will come up which is the logo... And the transparency issue is yet unresolved, like with PNG avatars, we simply calculate a background color (white), so no transparency here!
❤️ ❤️ ❤️ ❤️ ❤️ ❤️ |
tobiasKaminsky
commented
Aug 18, 2016
We should discuss this in a new issue ;) |
Bugsbane
commented
Aug 29, 2016
I wasn't suggesting Nextcloud automatically uses background colour where the image is nearly all white. I was suggesting using the users chosen background colour, period, and thus avoiding problems such as when their image is almost all white. Using their chosen background colour instead of image, ensures that we're using their theme, not ours, while still keeping things readable (if we only allow darker colours to be chosen, anyway) |
As mentioned by tobias, let's discuss this in a new issue while being aware that the theming capabilities are targeting the web interface not native mobile interfaces (!). that being that the theming on Nc server doesn't have a input field for a system bar coloring present on Lollipop and later, plus you cannot change the color of the folder icons nor the check boxes nor the radio buttons at the moment, at least not consistently. This will be possible at some point (as soon as Google get vector support right and backwards compatible). So...
|


added the background image to the drawer header as requested in #210