Closed think-in-universe closed 2 months ago
@think-in-universe is attempting to deploy a commit to the Near Developer Console Team on Vercel.
A member of the Team first needs to authorize it.
@calebjacob Thanks Caleb! When do you think the change will be deployed if the PR is merged? We'd like to get some estimation since the release of NEAR Catalog is dependent on this change.
@think-in-universe I'll get it deployed right now 👍
Since NEAR Catalog, the BOS component behind the Applications page (https://dev.near.org/applications), is migrating to a new version (https://nearcatalog.xyz/) built with React, we need to update the BOS component source code with an embedded iframe that renders the https://nearcatalog.xyz/ page inside the component.
To make sure the URL query parameters are updated properly after clicking links inside the iframe, we'd like to expose the
setURLSearchParams
function to thenearcatalog.near/widget/Index
component. For example, when user clicks on Ref Finance project, the URL should be updated tohttps://dev.near.org/application?id=ref-finance
. But BOS VM doesn't allow updating URL query parameters programmatically, so we propose to add an additional function at gateway level.For better navigation inside the page, we also need the
scrollTo
function to be accessible in thenearcatalog.near/widget/Index
component.