Skip to content

Conversation

@caybro
Copy link
Member

@caybro caybro commented Jan 7, 2026

What does the PR do

Reduces visual clutter with banners

  • display the banners in appropriate context, and enable them on mobile
  • if (truly) offline, only display the offline banner (no 3rd party service would work at this point anyway)
  • fix the blank space that would sometimes be left behind closed banners, and fix the banners spacing (the spacer is moved to inside the banner, otherwise spaces between hidden banners would accumulate and create another blank gap)
  • fix date/time formatting in the banners
  • enable the Settings shortcut to work across all relevant sections
  • some minor fixes & cleanups

Fixes #12938
Fixes #18338
Fixes #19298
Fixes #19279

Affected areas

AppMain

Architecture compliance

Screencapture of the functionality

One banner:
image

No relevant banners:
image

Gap in the section layout; before:
Snímek obrazovky z 2025-11-14 17-20-34

After:
Snímek obrazovky z 2025-11-14 17-34-39

Impact on end user

Less distracting banners

How to test

  • go online/offline
  • try to test with the various 3rd party providers
  • switch sections

Risk

low

@caybro caybro force-pushed the feat/banners-sectionlayout-settingsshortcut branch from 782584e to 00c176d Compare January 7, 2026 13:14
@caybro caybro marked this pull request as ready for review January 7, 2026 13:15
@caybro caybro requested review from a team, alexjba, micieslak and noeliaSD as code owners January 7, 2026 13:15
@caybro caybro requested a review from jrainville January 7, 2026 13:15
duration: 500
duration: ThemeUtils.AnimationDuration.Slow
easing.type: Easing.OutCubic
alwaysRunToEnd: true
Copy link
Member Author

Choose a reason for hiding this comment

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

Do not leave ghost blank space if the animation gets interrupted

}

// divider
Rectangle {
Copy link
Member Author

Choose a reason for hiding this comment

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

Internal "divider" between banners

item.hide()
return
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated logic to show banners, based on relevance and/or online status

id: headerBackgroundSlot
anchors.top: parent.top
// Needed cause I see a gap otherwise
anchors.topMargin: -3
Copy link
Member Author

Choose a reason for hiding this comment

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

Gaps gone but this wasn't the reason :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Also noticed @Khushboo-dev-cpp already fixed the gap at the top, thanks 👍

anchors.top: statusToolBar.bottom
anchors.bottom: footerSlot.top
anchors.bottomMargin: footerSlot.visible ? 8 : 0
anchors.bottomMargin: !!root.footer ? Theme.halfPadding : 0
Copy link
Member Author

Choose a reason for hiding this comment

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

Only add the space/gap if the footer is present

@caybro caybro requested review from Khushboo-dev-cpp and removed request for a team January 7, 2026 13:22
@status-im-auto
Copy link
Member

status-im-auto commented Jan 7, 2026

Jenkins Builds

Click to see older builds (33)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 00c176d #2 2026-01-07 13:26:40 ~11 min tests/nim 📄log
✔️ 00c176d #2 2026-01-07 13:26:44 ~11 min android/arm64 🤖apk 📲
00c176d #2 2026-01-07 13:30:24 ~15 min tests/ui 📄log
✔️ 00c176d #2 2026-01-07 13:32:29 ~17 min ios/aarch64 📱ipa 📲
✔️ 00c176d #2 2026-01-07 13:35:40 ~20 min linux/x86_64 📦tgz
00c176d #2 2026-01-07 13:35:55 ~20 min macos/aarch64-nwaku 📄log
✔️ 00c176d #2 2026-01-07 13:36:52 ~21 min macos/aarch64 🍎dmg
✔️ 00c176d #2 2026-01-07 13:37:05 ~21 min linux/x86_64-nwaku 📦tgz
✔️ 00c176d #2 2026-01-07 13:42:50 ~27 min windows/x86_64 💿exe
✔️ 00c176d pr19670 2026-01-07 13:53:30 ~17 min tests/e2e 📊rpt
✖️ 00c176d PR19670 2026-01-07 14:03:46 ~20 min tests/e2e-windows 📊rpt
✔️ ea9d292 #3 2026-01-07 14:50:09 ~9 min tests/nim 📄log
✔️ ea9d292 #3 2026-01-07 14:58:14 ~17 min ios/aarch64 📱ipa 📲
✔️ ea9d292 #3 2026-01-07 15:01:07 ~20 min linux/x86_64-nwaku 📦tgz
✔️ ea9d292 #3 2026-01-07 15:01:08 ~20 min linux/x86_64 📦tgz
ea9d292 #3 2026-01-07 15:02:10 ~21 min macos/aarch64-nwaku 📄log
✔️ ea9d292 #3 2026-01-07 15:02:48 ~22 min macos/aarch64 🍎dmg
✔️ ea9d292 #3 2026-01-07 15:14:09 ~33 min windows/x86_64 💿exe
✔️ ea9d292 pr19670 2026-01-07 15:18:21 ~17 min tests/e2e 📊rpt
✔️ ea9d292 #6 2026-01-07 15:29:09 ~11 min android/arm64 🤖apk 📲
✖️ ea9d292 PR19670 2026-01-07 15:29:48 ~15 min tests/e2e-windows 📊rpt
✔️ ea9d292 #7 2026-01-07 15:31:53 ~14 min tests/ui 📄log
✔️ 1159439 #4 2026-01-08 16:28:54 ~10 min tests/nim 📄log
✔️ 1159439 #7 2026-01-08 16:30:29 ~11 min android/arm64 🤖apk 📲
✔️ 1159439 #8 2026-01-08 16:32:39 ~13 min tests/ui 📄log
✔️ 1159439 #4 2026-01-08 16:35:46 ~17 min ios/aarch64 📱ipa 📲
1159439 #4 2026-01-08 16:39:12 ~20 min macos/aarch64-nwaku 📄log
✔️ 1159439 #4 2026-01-08 16:40:04 ~21 min linux/x86_64-nwaku 📦tgz
✔️ 1159439 #4 2026-01-08 16:40:10 ~21 min macos/aarch64 🍎dmg
✔️ 1159439 #4 2026-01-08 16:40:23 ~21 min linux/x86_64 📦tgz
✔️ 1159439 #4 2026-01-08 16:53:27 ~34 min windows/x86_64 💿exe
✔️ 1159439 pr19670 2026-01-08 16:56:52 ~16 min tests/e2e 📊rpt
✖️ 1159439 PR19670 2026-01-08 17:11:38 ~18 min tests/e2e-windows 📊rpt
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 2e5018c6 #8 2026-01-09 05:31:36 ~13 min android/arm64 🤖apk 📲
✔️ df9c1252 #9 2026-01-10 05:31:37 ~13 min android/arm64 🤖apk 📲

@caybro caybro force-pushed the feat/banners-sectionlayout-settingsshortcut branch from 00c176d to ea9d292 Compare January 7, 2026 14:40
Copy link
Member

@jrainville jrainville left a comment

Choose a reason for hiding this comment

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

Nice!

- display the banners in appropriate context, and enable them on mobile
- if (truly) offline, only display the offline banner (no 3rd party
service would work at this point anyway)
- fix the blank space that would sometimes be left behind closed
banners, and fix the banners spacing (the spacer is moved to inside the
banner, otherwise spaces between hidden banners would accumulate and
create another blank gap)
- fix date/time formatting in the banners
- enable the Settings shortcut to work across all relevant sections
- some minor fixes & cleanups

Fixes #12938
Fixes #18338
Fixes #19298
Fixes #19279
@caybro caybro force-pushed the feat/banners-sectionlayout-settingsshortcut branch from ea9d292 to 1159439 Compare January 8, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants