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

"View" button on Discover Page for Things & Types is broken #85

Open
flowscience opened this issue Jan 31, 2024 · 0 comments
Open

"View" button on Discover Page for Things & Types is broken #85

flowscience opened this issue Jan 31, 2024 · 0 comments

Comments

@flowscience
Copy link

Where?

https://everything.dev/?page=discover

What?

  1. When browsing Things, the "View" link loads https://everything.dev/every.near/widget/every.thing.view?path={$PATH}, which renders a 404 error.
  2. When browsing Types, the "View" link loads https://everything.dev/bos.dapplets.near/widget/ContextActionsGroup, which renders a blank page.

Suggestion

Replace both broken widgets being loaded with a fork of https://near.org/mob.near/widget/Explorer and pass in the default path via props from efiz.near/widget/every.thing.edit

return (
  <Widget
    src={"efiz.near/widget/creator"}
    props={{
      data: thing.data,
      type: type,
      template: thing.template?.src,
      thingId: parts[2],
    }}
  />
);
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

No branches or pull requests

1 participant