-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix design and layout of notification mails #20380
Conversation
@jancborchardt I think it looks much better then before but I would center-align the activity notification if there is only one. It would look then something like this: |
Sure – but let’s do it in a follow-up, already touched this beast enough for now. :) There’s plenty of other stuff to fix as well still. |
|
So do I need to manually copy all the changes to:
Or is there a simpler way? |
Logo needs a lot of space now. For me it's to much present. That email should be about the activity and not the instance logo. |
I can reduce the padding a bit. Do you know something regarding my question on fixing the tests? :) |
The tests compare the generated html with the one saved at |
Ok, so as asked I need to just manually copy it over into these files?
Or is there a simpler way? As for the layout bug, I will remove that box-shadow – thanks for catching it! |
Bump |
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
… own Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
b43a96b
to
d582315
Compare
Rebased, removed the box-shadow, and fixed the tests. @georgehrke @kesselb @ChristophWurst |
19faf4a
to
d679b4b
Compare
The test |
@jancborchardt |
How can I run this test locally? Sorry for the stupid questions, but the documentation was not very clear or gave me commands that didn’t work, and it’s not very obvious how to run the tests. (Also I’m a designer, not dev. ;) |
Good question. I think the same command as for the other test should work. The test is located here: apps/settings/tests/Mailer/NewUserMailHelperTest.php |
Yeah, |
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
d679b4b
to
e981669
Compare
Aaand all tests fixed now! :) That is, both of these:
|
Also is a step towards simplifying the email template as per #9119
Just a question: How best to trigger the mails for testing? So far I did it inline in the browser.
Before
When reading notifications mails with the Mail app, you have to scroll down to see any content:
New