Skip to content

[stack] feat(sharebymail): use the new email blocks for share notifications - #65195

Merged
skjnldsv merged 1 commit into
masterfrom
feature/sharebymail-mail-blocks
Oct 7, 2026
Merged

skjnldsv merged 1 commit into
masterfrom
feature/sharebymail-mail-blocks

Conversation

@skjnldsv

@skjnldsv skjnldsv commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Builds on #65194. Share-by-mail notifications now show who shared, their note, and a card with the file, its expiry date and whether a password is needed. The sharer's email is only shown when replies go to them.

New strings: "Note from %s", "Valid until", "Password", "Required".

Before After (light) After (dark) Mobile
Share notification before-share-light-700 share-light-700 share-dark-700 share-light-375

Browser renders with sample data, after includes the restyle from #65194.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests are included
  • Screenshots before/after for front-end changes
  • Documentation has been updated or is not required
  • Backports requested where applicable
  • Labels added where applicable
  • Milestone added for target branch/version

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

@skjnldsv skjnldsv added this to the Nextcloud 36 milestone Oct 6, 2026
@skjnldsv skjnldsv self-assigned this Oct 6, 2026
@skjnldsv
skjnldsv added this pull request to stack #65196 October 6, 2026 14:56
@skjnldsv skjnldsv changed the title feat(sharebymail): use the new email blocks for share notifications [stack] feat(sharebymail): use the new email blocks for share notifications Oct 6, 2026
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from 818f4dd to bd7358d Compare October 6, 2026 14:58
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from bd7358d to abfb3ab Compare October 6, 2026 15:59
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from abfb3ab to d0e4767 Compare October 6, 2026 16:51
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from d0e4767 to 44e508e Compare October 6, 2026 18:15
@skjnldsv
skjnldsv removed this pull request from stack #65196 October 6, 2026 18:15
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from 44e508e to d574efb Compare October 6, 2026 18:23
@skjnldsv
skjnldsv added this pull request to stack #65223 October 6, 2026 18:34
@skjnldsv
skjnldsv marked this pull request as ready for review October 6, 2026 18:35
@skjnldsv
skjnldsv requested a review from a team as a code owner October 6, 2026 18:35
@skjnldsv skjnldsv removed the 2. developing Work in progress label Oct 6, 2026
@skjnldsv
skjnldsv removed the request for review from a team October 6, 2026 18:35
@skjnldsv skjnldsv added the 3. to review Waiting for reviews label Oct 6, 2026
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from d574efb to fb182a2 Compare October 6, 2026 20:27
Base automatically changed from feature/mail-template-restyle to master October 7, 2026 08:25
The share notification now shows the sharer with their initials, the
note in a quote box and a details card with the shared item, its
expiration date and whether a password is required. The sharer's email
address is only shown when replies are sent to them.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv
skjnldsv force-pushed the feature/sharebymail-mail-blocks branch from fb182a2 to 7e7357c Compare October 7, 2026 08:25

@jancborchardt jancborchardt 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.

Looks very nice! :) One thing only: On mobile, is the white stripe above the blue actually there in the mail body or is it a screenshot artifact (status bar)? Cause if it’s in the mail body, it could be removed on mobile?

@skjnldsv

skjnldsv commented Oct 7, 2026

Copy link
Copy Markdown
Member Author

Cause if it’s in the mail body, it could be removed on mobile?

Fair enough, will adjust as a followup 👍

@skjnldsv
skjnldsv merged commit 5cbe364 into master Oct 7, 2026
150 of 151 checks passed
@skjnldsv
skjnldsv deleted the feature/sharebymail-mail-blocks branch October 7, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants