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

feat: speed run photo uploader #289

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

feat: speed run photo uploader #289

wants to merge 6 commits into from

Conversation

travis
Copy link
Member

@travis travis commented Jan 21, 2023

very ugly, but a demonstration of the simplest possible photo upload app, implemented in 5 minutes:

photo-uploader-speedrun.mp4

rather than doing this in the headless component, do it in the provider so that hook users also
get a page of results
weird timing issues occur when you try to do this in the provider - move it to the hook to get around them
very ugly, but a demonstration of the simplest possible photo upload app, implemented in 5 minutes
@jchris
Copy link
Contributor

jchris commented Jan 21, 2023

it would be cool to refine this app to stay basically as simple but leverage styling etc where possible, and then put it in the repo as an example of good code, but also have a 5 min speed run building it. None of this is urgent if what we have here is enough to unblock @gobengo's research.

@travis travis marked this pull request as draft January 21, 2023 00:32
I think it's better to have this in the provider so that anyone using this context gets a page of results

previously I thought this wouldn't work, but that was just because I wasn't doing a good job with dependency management - now that it's configured to re-run the load any time the space or agent change, it seems to work as expected
@codesandbox-ci
Copy link

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 74941b8:

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

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.

2 participants