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

Add proxy connection to WhatsApp #238

Merged
merged 6 commits into from
Oct 30, 2024
Merged

Conversation

GewoonJaap
Copy link
Member

@GewoonJaap GewoonJaap commented Oct 30, 2024

Fixes #229

Implement a proxy connection to WhatsApp using the provided URL.

  • ConnectButton Component

    • Add a function to navigate to the provided proxy URL.
    • Update the button's on:click event to call the new function.
  • ProxyEntry Component

    • Import the ConnectButton component.
    • Add the ConnectButton component to the table row.
    • Pass the proxyEntry prop to the ConnectButton component.

For more details, open the Copilot Workspace session.

Fixes #229

Implement a proxy connection to WhatsApp using the provided URL.

* **ConnectButton Component**
  - Add a function to navigate to the provided proxy URL.
  - Update the button's `on:click` event to call the new function.

* **ProxyEntry Component**
  - Import the `ConnectButton` component.
  - Add the `ConnectButton` component to the table row.
  - Pass the `proxyEntry` prop to the `ConnectButton` component.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/WhatsApp-Proxy/whatsapp-proxies-web/issues/229?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link

cloudflare-workers-and-pages bot commented Oct 30, 2024

Deploying whatsapp-proxies-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 83d1eab
Status: ✅  Deploy successful!
Preview URL: https://823dff28.whatsapp-proxies-web.pages.dev
Branch Preview URL: https://gewoonjaap-add-proxy-connect.whatsapp-proxies-web.pages.dev

View logs

* Change button background color to match WhatsApp's style (#25D366)
* Add transition for transform and box-shadow properties
* Add hover effect to create a 3D shadow effect
* Add click effect to create a 3D shadow effect
…elte`

* Add a function to navigate to the provided proxy URL
* Update the button's `on:click` event to call the new function
* Update the button's style to match WhatsApp's style
* Add a hover effect to the button to create a 3D shadow effect
* Change the button text color to black for better contrast

Import and use `ConnectButton` component in `proxyEntry.svelte`

* Import the `ConnectButton` component
* Add the `ConnectButton` component to the table row
* Pass the `proxyEntry` prop to the `ConnectButton` component

Add `lastChecked` property to `ProxyType` interface in `proxyType.ts`
…tton style

* Change function to navigate to WhatsApp proxy URL using `proxyEntry` properties
* Update button's `on:click` event to call the new function
* Change button's style to match WhatsApp's style
* Add hover effect to button to create 3D shadow effect
* Change button text color to black for better contrast

Add `lastChecked` property to `ProxyServerApi` interface in `proxyApiReponse.ts`
@GewoonJaap GewoonJaap merged commit 4b25aac into main Oct 30, 2024
2 checks passed
@GewoonJaap GewoonJaap deleted the GewoonJaap/add-proxy-connection branch October 30, 2024 12:53
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.

Proxy WhatsApp
1 participant