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

Subscribe to all events in the test dApp #2713

Merged
merged 4 commits into from
Nov 14, 2023
Merged

Conversation

ac10n
Copy link
Contributor

@ac10n ac10n commented Oct 25, 2023

Related to: #2707

Thank you for your contribution to Taquito.

Before submitting this PR, please make sure:

  • Your code builds cleanly without any errors or warnings
  • You have run the linter against the changes
  • You have added unit tests (if relevant/appropriate)
  • You have added integration tests (if relevant/appropriate)
  • All public methods or types have TypeDoc coverage with a complete description, and ideally an @example
  • You have added or updated corresponding documentation
  • If relevant, you have written a first draft summary describing the change for inclusion in Release Notes.

In this PR, please also make sure:

  • You have linked this PR to the issue by putting closes #TICKETNUMBER in the description box (when applicable)
  • You have added a concise description on your changes

Release Note Draft Snippet

In the test dApp, all beacon events are now subscribed to and shown in the UI

@netlify
Copy link

netlify bot commented Oct 25, 2023

Deploy Preview for taquito-test-dapp ready!

Name Link
🔨 Latest commit 34d6ba1
🔍 Latest deploy log https://app.netlify.com/sites/taquito-test-dapp/deploys/654e6385ec5ba500099f2499
😎 Deploy Preview https://deploy-preview-2713--taquito-test-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions
Copy link

github-actions bot commented Oct 25, 2023

New packages have been deployed to the preview repository at https://npm.preview.tezostaquito.io/.

Published packages:

npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/
npm i @taquito/[email protected] --registry https://npm.preview.tezostaquito.io/

@github-actions
Copy link

github-actions bot commented Oct 25, 2023

A new deploy preview is available on Netlify at https://86d4dd4--tezostaquito.netlify.app

@ac10n ac10n marked this pull request as ready for review November 7, 2023 17:10
@ac10n ac10n requested review from dsawali and hui-an-yang November 7, 2023 17:11
@ac10n ac10n force-pushed the beacon-events-in-test-dapp branch 2 times, most recently from 00f6cab to 248842b Compare November 8, 2023 22:53
@@ -29,6 +29,13 @@ export default ({ command }) => {
}/index.js`
// `../../node_modules/@airgap/beacon-dapp/dist/walletbeacon.dapp.min.js`
),
"@airgap/beacon-sdk": path.resolve(
path.resolve(),
// "./src/walletbeacon.dapp.min.js"
Copy link
Contributor

Choose a reason for hiding this comment

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

are these comments needed? If not then it's probably better to clean up these artifacts

@@ -1,6 +1,5 @@
<script lang="ts">
import Sidebar from "./lib/Sidebar.svelte";
import TaquitoLogo from "./lib/TaquitoLogo.svelte";
Copy link
Collaborator

Choose a reason for hiding this comment

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

possible to still have a static log somewhere in the background?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's OK to remove it for now. I've started a doc to improve the test dApp in notion

{#if $store.networkType === NetworkType.CUSTOM}
{shortenHash(opHash)}
{:else}
<a href={`${getTzKtUrl($store.networkType)}/${opHash}`} target="_blank" rel="noopener noreferrer">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Curious of the reason to change from better-call.dev to tzkt

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AFAIK TzKt is the newer, more feature rick, more actively developed successor to BCD.

@ac10n ac10n changed the title feat: subscribed to all events in the test dApp Subscribe to all events in the test dApp Nov 10, 2023
@ac10n ac10n merged commit 4f44dd7 into master Nov 14, 2023
11 of 12 checks passed
@ac10n ac10n deleted the beacon-events-in-test-dapp branch November 14, 2023 22:32
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.

3 participants