TelegramMessenger / TelegramMessenger/Telegram-iOS

[Suggestion] Display media type in hidden notification previews, and fix the latter for secret chats

Open
#275 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

With notification previews hidden, alongside group, channel, contact, or other private chat names, a text saying "Message" is displayed regardless of the contents of a message, which may be a GIF, a sticker, audio, a video, a location, or an image; and when a message from a secret chat gets received, the default "Notification" text placeholder, without the name of a sender, is shown.

Please follow Apple's Human Interface Guidelines:

Based on the user's settings, notification previews may be hidden for privacy. In this case, (...) To provide the user with sufficient context, your app should provide custom text that succinctly describes notification content, like Friend Request, New Comment, Reminder, or Shipment.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies hidden notification previews and secret-chat notifications as the entry points, but names no files or tests. Start by tracing where preview placeholder text is selected for ordinary and secret-chat messages, then check handling for GIFs, stickers, audio, video, locations, and images. Done means previews describe the media type and secret-chat notifications include the sender name without exposing message contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.