Skip to content

fix: prefetch dapp metadata without status#1038

Merged
estebanmino merged 6 commits intomasterfrom
@esteban/removing-status-dapp-metadata
Oct 6, 2023
Merged

fix: prefetch dapp metadata without status#1038
estebanmino merged 6 commits intomasterfrom
@esteban/removing-status-dapp-metadata

Conversation

@estebanmino
Copy link
Contributor

@estebanmino estebanmino commented Oct 4, 2023

Fixes BX-####
Figma link (if any):

What changed (plus any additional context for devs)

Screen recordings / screenshots

What to test

@github-actions
Copy link
Contributor

github-actions bot commented Oct 4, 2023

Here's the packed extension for this build:
rainbowbx-fbc77de0dcdf00f86c5ddc3fd8579a880c816efc.zip

Comment on lines +120 to +123
this.backgroundMessenger?.send(
'rainbow_prefetchDappMetadata',
window.location.href,
);
Copy link
Contributor

Choose a reason for hiding this comment

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

reminder to check if this is hitting the local cache or spamming the api on every provider request

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thankss

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok i blocked prefetch if we already have the data to not trigger unnecessary requests, thanks for the catch

@github-actions
Copy link
Contributor

github-actions bot commented Oct 5, 2023

Here's the packed extension for this build:
node_modules.tar.gz
rainbowbx-e70a5257bc54b5b2d22d0e876961a54db8a10ed9.zip

Copy link
Contributor

@brunobar79 brunobar79 left a comment

Choose a reason for hiding this comment

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

🤝

@estebanmino estebanmino force-pushed the @esteban/removing-status-dapp-metadata branch from 0424073 to 599ffa4 Compare October 6, 2023 13:52
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

Here's the packed extension for this build:
node_modules.tar.gz
rainbowbx-b21d740aa3cebe328d430ededcb0071793926eb7.zip
screenshots

@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

Here's the packed extension for this build:
node_modules.tar.gz
rainbowbx-b21d740aa3cebe328d430ededcb0071793926eb7.zip
screenshots

@estebanmino estebanmino force-pushed the @esteban/removing-status-dapp-metadata branch from 7eee6d0 to 9e311b1 Compare October 6, 2023 16:56
@estebanmino estebanmino merged commit 0713198 into master Oct 6, 2023
@estebanmino estebanmino deleted the @esteban/removing-status-dapp-metadata branch October 6, 2023 17:14
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

Here's the packed extension for this build:
rainbowbx-071319884262f2d3c60513dbefa1cac82fbe3457.zip

@BrodyHughes BrodyHughes mentioned this pull request Oct 12, 2023
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