Skip to content

Conversation

@irfano
Copy link
Contributor

@irfano irfano commented Jan 9, 2026

Closes WOOMOB-1921

Description

Adds a new "Never miss a new order" dashboard card that prompts users to connect their store to WordPress.com for push notifications. The card is implemented as a configurable widget that can be hidden and reordered via the Customize screen.

The card is currently gated behind FeatureFlag.WOO_PUSH_NOTIFICATIONS_SYSTEM and will be shown when the flag is enabled. The onClick action is currently a no-op and will be implemented in a follow-up PR.

Test Steps

  1. Enable WOO_PUSH_NOTIFICATIONS_SYSTEM feature flag in FeatureFlag.kt Enable_WOO_PUSH_NOTIFICATIONS_SYSTEM_feature_flag_in_debug_builds.patch
  2. Build and run the app
  3. Navigate to My Store tab
  4. Verify the push notifications card appears with wp_woo icon, title, and description.
  5. Tap the 3-dot menu and verify "Hide" option works
  6. Go to Customize screen and verify the card can be reordered.

Images/gif

Screenshot_20260109_153453 Screenshot_20260109_153457 Screenshot_20260109_161648 Screenshot_20260109_161657
  • I have considered if this change warrants release notes and have added them to RELEASE-NOTES.txt if necessary. Use the "[Internal]" label for non-user-facing changes.

@irfano irfano added this to the 24.0 milestone Jan 9, 2026
@irfano irfano added the feature: notifications Related to notifications or notifs. label Jan 9, 2026
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 9, 2026

📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
App NameWooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commitac84fc3
Direct Downloadwoocommerce-wear-prototype-build-pr15180-ac84fc3.apk

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 9, 2026

📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.

App NameWooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commitac84fc3
Direct Downloadwoocommerce-prototype-build-pr15180-ac84fc3.apk

import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.MaterialTheme

Check warning

Code scanning / Android Lint

material and material3 are separate, incompatible design system libraries Warning

Using a material import while also using the material3 library
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text

Check warning

Code scanning / Android Lint

material and material3 are separate, incompatible design system libraries Warning

Using a material import while also using the material3 library
@codecov-commenter
Copy link

codecov-commenter commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 14.06250% with 55 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.66%. Comparing base (b1ac077) to head (ac84fc3).

Files with missing lines Patch % Lines
...ushnotifications/DashboardPushNotificationsCard.kt 0.00% 45 Missing ⚠️
...board/data/ObservePushNotificationsWidgetStatus.kt 0.00% 6 Missing ⚠️
...ommerce/android/ui/dashboard/DashboardContainer.kt 0.00% 3 Missing ⚠️
...e/android/ui/dashboard/data/DashboardRepository.kt 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              trunk   #15180      +/-   ##
============================================
- Coverage     38.68%   38.66%   -0.02%     
  Complexity    10546    10546              
============================================
  Files          2195     2197       +2     
  Lines        124922   124983      +61     
  Branches      17283    17292       +9     
============================================
+ Hits          48322    48328       +6     
- Misses        71711    71766      +55     
  Partials       4889     4889              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@irfano irfano marked this pull request as ready for review January 14, 2026 11:44
@irfano irfano requested review from JorgeMucientes and removed request for JorgeMucientes January 14, 2026 11:44
@irfano irfano marked this pull request as draft January 15, 2026 12:31
Base automatically changed from issue/woomob-1909-add-new-local-feature-flag-for-woo-notifications-disabled-by to trunk January 16, 2026 16:54
@dangermattic
Copy link
Collaborator

1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@wpmobilebot wpmobilebot modified the milestones: 24.0, 24.1 Jan 23, 2026
@wpmobilebot
Copy link
Collaborator

Version 24.0 has now entered code-freeze, so the milestone of this PR has been updated to 24.1.

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

Labels

feature: notifications Related to notifications or notifs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants