Skip to content

fix(share): Don't print twice the same text on emails - #49746

Merged
skjnldsv merged 1 commit into
masterfrom
printOnlyOnceText
Dec 11, 2024
Merged

fix(share): Don't print twice the same text on emails#49746
skjnldsv merged 1 commit into
masterfrom
printOnlyOnceText

Conversation

@solracsf

@solracsfsolracsf commented Dec 10, 2024

Copy link
Copy Markdown
Member

Summary

Don't print twice the same text on email.

Also removed those » « From DefaultShare as they are not printed on ShareByMail for consistency.

Before

image

After

image

Checklist

@solracsfsolracsf added this to the Nextcloud 31 milestone Dec 10, 2024
@solracsf
solracsfforce-pushed the printOnlyOnceText branch 2 times, most recently from ef76037 to 0d8e98dCompareDecember 10, 2024 09:16
@solracsf
solracsf marked this pull request as ready for review December 10, 2024 09:54
@solracsf
solracsf requested review from a team, come-nc and skjnldsvDecember 10, 2024 09:54
Comment threadapps/sharebymail/lib/ShareByMailProvider.php
@solracsfsolracsf changed the title fix(share): Don't print twice the same informationfix(share): Don't print twice the same information on emailsDec 10, 2024
@solracsfsolracsf changed the title fix(share): Don't print twice the same information on emailsfix(share): Don't print twice the same text on emailsDec 10, 2024
Comment threadlib/private/Share20/DefaultShareProvider.php Outdated
Comment threadapps/sharebymail/lib/ShareByMailProvider.php
@solracsf

Copy link
Copy Markdown
MemberAuthor

CI seems broken because of #49693 😢

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@skjnldsv

skjnldsv commented Dec 10, 2024

Copy link
Copy Markdown
Member

Rebased, cypress passes now

@solracsfsolracsf added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Dec 10, 2024
@skjnldsv
skjnldsv merged commit f476265 into masterDec 11, 2024
@skjnldsv
skjnldsv deleted the printOnlyOnceText branch December 11, 2024 07:36

@jancborchardtjancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice update! :) I would also suggest to remove the text "Click the button below to open it" as it’s a duplication of the button right below, and just creates more visual noise.

@solracsf in case you also would like to submit a pull request for that as it improves it even more? :)

@solracsf

Copy link
Copy Markdown
MemberAuthor

/backport to stable30

@solracsf

Copy link
Copy Markdown
MemberAuthor

/backport to stable29

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishfeature: emails

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@solracsf@skjnldsv@jancborchardt@artonge@come-nc