Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Oct 5, 2022

Fix #34431

  • Fix usage of system primary colour
  • Added color picker
  • Fixed checkbox color on background/colors

image

@skjnldsv skjnldsv added this to the Nextcloud 26 milestone Oct 5, 2022
@skjnldsv skjnldsv requested review from a team, Pytal, jancborchardt and szaimen October 5, 2022 10:15
@skjnldsv skjnldsv self-assigned this Oct 5, 2022
@skjnldsv skjnldsv requested review from PVince81 and nimishavijay and removed request for a team October 5, 2022 10:15
@skjnldsv
Copy link
Member Author

skjnldsv commented Oct 5, 2022

I think we still need a system config forbidding any user-custom primary/background.
@jancborchardt can we take the "login image" from the admin theming as the default background image if enforced?
image

I can definitely imagine a lot of customers would like to block their users from customizing their cloud instances.
Meaning we should let them the opportunity to specify/change the background and enforce it on all users. This seems like a good source

@szaimen
Copy link
Contributor

szaimen commented Oct 5, 2022

I think we still need a system config forbidding any user-custom primary/background. @jancborchardt can we take the "login image" from the admin theming as the default background image if enforced? image

I can definitely imagine a lot of customers would like to block their users from customizing their cloud instances. Meaning we should let them the opportunity to specify/change the background and enforce it on all users. This seems like a good source

Makes sense to me and sounds good!

@skjnldsv skjnldsv force-pushed the feat/theming-default-system-value branch from ce7d8be to a8d6143 Compare October 5, 2022 11:05
@skjnldsv
Copy link
Member Author

skjnldsv commented Oct 5, 2022

Added tests and use-cases + fixed existing testing

@skjnldsv skjnldsv force-pushed the feat/theming-default-system-value branch from a8d6143 to 07cf994 Compare October 5, 2022 11:15
@skjnldsv
Copy link
Member Author

skjnldsv commented Oct 5, 2022

Fixing acceptance...

@skjnldsv skjnldsv force-pushed the feat/theming-default-system-value branch from 07cf994 to 9014a25 Compare October 5, 2022 12:40
@blizzz
Copy link
Member

blizzz commented Oct 5, 2022

also some node trouble

@szaimen
Copy link
Contributor

szaimen commented Oct 5, 2022

Fixing acceptance...

Didnt work completely yet

@szaimen
Copy link
Contributor

szaimen commented Oct 5, 2022

Ill try to test it this evening btw!

@skjnldsv
Copy link
Member Author

skjnldsv commented Oct 5, 2022

also some node trouble

I didn't compiled to avoid conflicts

Didnt work completely yet

Weird, it passes locally
EDIT/ ah no, it just does not run tests at all...

@skjnldsv skjnldsv force-pushed the feat/theming-default-system-value branch from 9014a25 to 0d8a803 Compare October 5, 2022 16:48
@skjnldsv

This comment was marked as resolved.

@nextcloud-command nextcloud-command force-pushed the feat/theming-default-system-value branch from 0d8a803 to b8e236e Compare October 5, 2022 17:09
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the custom color that is delivered with the backgrounds does no longer get correctly applied (the frame around the picture should have a nother color, afaik. The same seems to be true for all other primary elements:
image
image


choosing a custom background, selecting a custom color removed the background again and enables the default theme again.

Also not sure if the custom color should be selectable at all?
image
(don't we already cover all options with the other fileds? At least selecting custom color should not remove any other background picture, no?

@blizzz blizzz dismissed their stale review October 11, 2022 15:21

discussed

@szaimen
Copy link
Contributor

szaimen commented Oct 11, 2022

@skjnldsv #34473 was merged. Please fix conflicts :)

@szaimen
Copy link
Contributor

szaimen commented Oct 12, 2022

rebased and fixed the conflicts

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
@skjnldsv
Copy link
Member Author

Resolving conflicts

@skjnldsv skjnldsv force-pushed the feat/theming-default-system-value branch from 1c631cd to f85b30b Compare October 13, 2022 10:15
@szaimen szaimen added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 13, 2022
@skjnldsv
Copy link
Member Author

/compile amend /

@szaimen szaimen enabled auto-merge October 13, 2022 14:21
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@PVince81
Copy link
Member

stable25 to save some time hopefully: #34588

@szaimen szaimen merged commit b28757f into master Oct 13, 2022
@szaimen szaimen deleted the feat/theming-default-system-value branch October 13, 2022 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: theming high regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User theming changes original primary colour

8 participants