Skip to content

Conversation

@caybro
Copy link
Member

@caybro caybro commented Nov 21, 2025

What does the PR do

  • use Locale.ShortFormat in AppSearch and PinnedMessagesPopup
  • fixes message headers overflowing on mobile

Fixes #19334

BACKPORT_TO: 2.36

Affected areas

AppSearch and PinnedMessagesPopup

Architecture compliance

Screencapture of the functionality

AppSearch:
Snímek obrazovky z 2025-11-21 17-09-22

PinnedMessagesPopup:
Snímek obrazovky z 2025-11-21 17-08-05

Impact on end user

Better UX on mobile

- use `Locale.ShortFormat` in AppSearch and PinnedMessagesPopup
- fixes message headers overflowing on mobile

Fixes #19334
required property string communityName
required property string communityColor
required property int type // Possible values [OwnershipState]
property bool showFullTimestamp: false
Copy link
Member Author

Choose a reason for hiding this comment

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

Unused

onClicked: (sender) => root.senderNameClicked(sender)
onResendClicked: root.resendClicked()
timestamp: root.timestamp
showFullTimestamp: root.isInPinnedPopup
Copy link
Member Author

Choose a reason for hiding this comment

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

Fixes the PinnedMessagesPopup

searchResults: root.store.resultModel
formatTimestampFn: function (ts) {
return LocaleUtils.formatDateTime(parseInt(ts, 10))
return LocaleUtils.formatDateTime(parseInt(ts, 10), Locale.ShortFormat)
Copy link
Member Author

Choose a reason for hiding this comment

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

Fixes the AppSearch popup

@status-im-auto
Copy link
Member

status-im-auto commented Nov 21, 2025

Jenkins Builds

Click to see older builds (11)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ e63a783 #1 2025-11-21 16:24:01 ~8 min tests/nim 📄log
✔️ e63a783 #1 2025-11-21 16:25:26 ~9 min android/arm64 🤖apk 📲
✔️ e63a783 #1 2025-11-21 16:28:48 ~13 min macos/aarch64 🍎dmg
✔️ e63a783 #1 2025-11-21 16:29:44 ~13 min tests/ui 📄log
✔️ e63a783 #1 2025-11-21 16:32:26 ~16 min ios/aarch64 📱ipa
✔️ e63a783 #1 2025-11-21 16:33:02 ~17 min linux/x86_64 📦tgz
✔️ e63a783 #1 2025-11-21 16:35:39 ~19 min macos/aarch64-nwaku 🍎dmg
✔️ e63a783 #1 2025-11-21 16:38:10 ~22 min linux/x86_64-nwaku 📦tgz
✔️ e63a783 #1 2025-11-21 16:46:01 ~30 min windows/x86_64 💿exe
✔️ e63a783 pr19338 2025-11-21 16:48:43 ~15 min tests/e2e 📊rpt
✖️ e63a783 PR19338 2025-11-21 17:08:45 ~22 min tests/e2e-windows 📊rpt
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 3234672c #2 2025-11-21 17:26:41 ~11 min android/arm64 🤖apk 📲
✔️ ff3a789e #3 2025-11-22 17:26:50 ~11 min android/arm64 🤖apk 📲

Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

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

Nice!

@caybro caybro merged commit 4180aa2 into master Nov 24, 2025
12 of 13 checks passed
@caybro caybro deleted the 19334-chat-fix-misaligned-message-header-ui-expanded-date-format-pinned-search-messages branch November 24, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Chat] Fix misaligned message header UI / expanded date format (Pinned & Search messages)

4 participants