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

wip: first pass at adding a space selector to w3console #266

Closed
wants to merge 6 commits into from

Conversation

travis
Copy link
Member

@travis travis commented Jan 18, 2023

this displays 42 spaces on my localhost, which makes sense... I guess? but I'm getting an error calling setCurrentSpace:

agent.js:361 Uncaught (in promise) Error: Agent has no proofs for [object Object].
    at _Agent.setCurrentSpace (agent.js:361:13)
    at setCurrentSpace (Keyring.tsx:92:17)

Screen Shot 2023-01-17 at 9 44 26 PM

@olizilla handing the baton to you! next steps (I think? feel free to add):

  • get this working
  • extract into components and headless components
  • make it pretty (could come earlier)

this displays 42 spaces on my localhost, which makes sense... I guess? but I'm getting an error calling setCurrentSpace:

```
agent.js:361 Uncaught (in promise) Error: Agent has no proofs for [object Object].
    at _Agent.setCurrentSpace (agent.js:361:13)
    at setCurrentSpace (Keyring.tsx:92:17)
```

@olizilla handing the baton to you!
@travis travis requested a review from olizilla January 18, 2023 05:46
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 18, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3d93a88:

Sandbox Source
@w3ui/example-react-file-upload Configuration
@w3ui/example-react-sign-up-in Configuration
@w3ui/example-react-uploads-list Configuration
@w3ui/example-solid-file-upload Configuration
@w3ui/example-solid-sign-up-in Configuration
@w3ui/example-solid-uploads-list Configuration
@w3ui/example-vue-file-upload Configuration
@w3ui/example-vue-sign-up-in Configuration
@w3ui/example-vue-uploads-list Configuration

Sometimes a space fails to register - before this patch if you
clicked on one of those spaces it would look like you logged
out.

With these changes we now give the user an opportunity to
register the space so that they can start uploading files to it.
take a slightly different approach from the other stories - wrap
SpaceList in a component specifically made for StoryBook testing
that passes values to a Context Provider and renders the component
under test inside the Provider.

This lets us craft an interface in StoryBook that will make sense
to designers and other folks.
@travis
Copy link
Member Author

travis commented Jan 19, 2023

this has been incorporated into #268, closing

@travis travis closed this Jan 19, 2023
travis added a commit that referenced this pull request Jan 19, 2023
Riffing on #266 

- add a space-finder combobox based on
https://headlessui.com/react/combobox
- updates w3console layout to look fancy


![w3console](https://user-images.githubusercontent.com/58871/213501204-ef2432f3-c52e-46ed-ac9b-9702771c4259.gif)

Signed-off-by: Oli Evans <[email protected]>
Co-authored-by: Travis Vachon <[email protected]>
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.

1 participant