Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React/Core: added Whatsapp Catalog component to Botonic #2954

Open
wants to merge 5 commits into
base: master-lts
Choose a base branch
from

Conversation

AlbertGom
Copy link
Contributor

@AlbertGom AlbertGom commented Dec 23, 2024

Description

Added Whatsapp Catalog component to Botonic

Context

Component used to send the Whatsapp Catalog linked to the bot's phone number.

Approach taken / Explain the design

To document / Usage example

  render() {
    return (
      <WhatsappCatalog
        body='Catalog sent from the bot'
        thumbnailProductId='p6ng7fghmh'
        footer="Catalog footer!!!"
      />
    )
  }

Captura de pantalla de 2025-01-14 09-40-59

Testing

The pull request...

  • has unit tests

@AlbertGom AlbertGom marked this pull request as draft December 23, 2024 15:48
@AlbertGom AlbertGom marked this pull request as ready for review January 14, 2025 08:34
@AlbertGom AlbertGom changed the title Feature/blt 1308 whatsapp catalog Core and React: added Whatsapp Catalog component to Botonic Jan 14, 2025
@AlbertGom AlbertGom force-pushed the feature/blt-1308-whatsapp-catalog branch from 58bd239 to c33b77e Compare January 14, 2025 08:43
@AlbertGom AlbertGom changed the title Core and React: added Whatsapp Catalog component to Botonic React/Core: added Whatsapp Catalog component to Botonic Jan 14, 2025
AlbertGom and others added 5 commits January 28, 2025 13:34
<!-- _Set as [Draft
PR](https://github.blog/2019-02-14-introducing-draft-pull-requests/) if
it's not ready to be merged_.

[PR best practices
Reference](https://blog.codeminer42.com/on-writing-a-great-pull-request-37c60ce6f31d/)
-->

## Description
Added [Whatsapp
Product](https://developers.facebook.com/docs/whatsapp/cloud-api/guides/sell-products-and-services/share-products/)
component to Botonic
<!--
- Must be clear and concise (2-3 lines).
- Don't make reviewers think. The description should explain what has
been implemented or what it's used for. If a pull request is not
descriptive, people will be lazy or not willing to spend much time on
it.
- Be explicit with the names (don't abbreviate and don't use acronyms
that can lead to misleading understanding).
- If you consider it appropriate, include the steps to try the new
features.
-->

## Context
Component used to sent one product of the WhatsApp catalog.
<!--
- What problem is trying to solve this pull request?
- What are the reasons or business goals of this implementation?
- Can I provide visual resources or links to understand better the
situation?
-->

## Approach taken / Explain the design

<!--
- Explain what the code does.
- If it's a complex solution, try to provide a sketch.
-->

## To document / Usage example
```
  render() {
    return (
      <WhatsappProduct
        body='Product sent from the bot'
        catalogId='891387976146180'
        productId='p6ng7fghmh'
      />
    )
  }
```
![Captura de pantalla de 2025-01-14
09-55-55](https://github.com/user-attachments/assets/eb41b6cb-e150-42f6-82f3-d201fbc3068e)


<!--
- How this is used?
- If possible, provide a snippet of code with a usage example.
-->

## Testing

The pull request...

- has unit tests
@AlbertGom AlbertGom force-pushed the feature/blt-1308-whatsapp-catalog branch from bea36c4 to 1dba0bf Compare January 28, 2025 12:45
Copy link

github-actions bot commented Jan 28, 2025

Test Results

30 tests  ±0   30 ✅ ±0   4m 46s ⏱️ +4s
 6 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 1dba0bf. ± Comparison against base commit 599bd82.

♻️ This comment has been updated with latest results.

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.

3 participants