nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.75k stars 4k forks source link

Update & Improve Design of Nextcloud Mail Templates #48095

Open sorbaugh opened 2 days ago

sorbaugh commented 2 days ago

How to use GitHub

Currently there has been nice design updates on Nextcloud as a whole, but it seems that the mail templates have been straggling a lot. There are some style aspects that could be improved, such as the spacing and font, and maybe there are other creative aspects that could be included which I'd leave to Nextcloud's awesome design team.

Technical aspects:

One example (Password-forgotten email):

Bildschirmfoto 2024-09-16 um 16 25 54

Anyway, maybe something that could be improved overall to make the NC mail templates feel nice and professional :) What do you think!

skjnldsv commented 2 days ago

We could list all the various emails we have, so it's easier to know what the design team is working with :)

EDIT: or even better, the way our template work. So you know what our backend supports and what we're epected to be able to adjust Goal is to do a design change, not a backend API change :warning:

The API is here, it's easy to understand what we support: https://github.com/nextcloud/server/blob/af6de04e9e141466dc229e444ff3f146f4a34765/lib/public/Mail/IEMailTemplate.php

skjnldsv commented 2 days ago

Example pictures: image and image

We support:

addHeading

image

addBodyText

image

addBodyListItem

image

addBodyButtonGroup

image

addBodyButton

image

image

skjnldsv commented 16 hours ago

Related bug: https://github.com/nextcloud/server/issues/37966