Skip to content

Conversation

hichamboushaba
Copy link
Member

Closes WOOMOB-1267

Description

This PR adds logic to hide the Product Stock card in the dashboard for CIAB sites.
We also need to hide the Blaze card, but this was already done in the previous PR #14618

Steps to reproduce

  1. Sign in using a CIAB site (Check this for creating a demo site pdpAdu-29A-p2)
  2. Open the app.
  3. Tap on the edit button (Pencil) in the dashboard.

Testing information

  • Confirm the Stock card is not shown.
  • Confirm Blaze is not shown.
  • Confirm there is no change for other sites.

The tests that have been performed

The above.

Images/gif

image
  • 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.

@hichamboushaba hichamboushaba added this to the 23.3 milestone Sep 17, 2025
@dangermattic
Copy link
Collaborator

dangermattic commented Sep 17, 2025

1 Warning
⚠️ This PR is assigned to the milestone 23.3. The due date for this milestone has already passed.
Please assign it to a milestone with a later deadline or check whether the release for this milestone has already been finished.

Generated by 🚫 Danger

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Sep 17, 2025

📲 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 Name WooCommerce-Wear Android
Platform⌚️ Wear OS
FlavorJalapeno
Build TypeDebug
Commited7dfe0
Direct Downloadwoocommerce-wear-prototype-build-pr14629-ed7dfe0.apk

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Sep 17, 2025

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

App Name WooCommerce Android
Platform📱 Mobile
FlavorJalapeno
Build TypeDebug
Commited7dfe0
Direct Downloadwoocommerce-prototype-build-pr14629-ed7dfe0.apk

@codecov-commenter
Copy link

codecov-commenter commented Sep 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.50%. Comparing base (c7472db) to head (ed7dfe0).
⚠️ Report is 90 commits behind head on trunk.

Additional details and impacted files
@@            Coverage Diff            @@
##              trunk   #14629   +/-   ##
=========================================
  Coverage     38.50%   38.50%           
- Complexity     9768     9769    +1     
=========================================
  Files          2061     2061           
  Lines        115396   115396           
  Branches      15363    15363           
=========================================
+ Hits          44430    44435    +5     
+ Misses        66851    66845    -6     
- Partials       4115     4116    +1     

☔ 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.

Copy link
Contributor

@AdamGrzybkowski AdamGrzybkowski left a comment

Choose a reason for hiding this comment

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

The Stock option is gone for the CIAB site but is still available for other sites ✅

@hichamboushaba hichamboushaba merged commit 3d6fd4f into trunk Sep 22, 2025
15 checks passed
@hichamboushaba hichamboushaba deleted the issue/WOOMOB-1267-ciab-hide-dashboard-cards branch September 22, 2025 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants