freddydumont / green-list-redwood Goto Github PK
View Code? Open in Web Editor NEWWeb app to match Vipassana centers' needs to people wanting to volunteer their time and skills
License: MIT License
Web app to match Vipassana centers' needs to people wanting to volunteer their time and skills
License: MIT License
Finish the sign up form and integrate with backend
Reuse types from previous codebase and convert new code
A field should be added to the user profile that corresponds to data understood by the selected date picker library
The query string should be updated to match
Right now, the locales are loaded with the i18next-xhr-backend
package and React Suspense as suggested by this guide.
This approach breaks when some other data is fetched and takes precedence. This data's spinner will display, then a with flash from <Suspense fallback={null}>
while it loads the locales:
It should present the user with their current information and a way to change them.
Fuzzy search for all fields
Create a GraphQL mutation for form submission. It should:
Everything related to session management
A sub menu of the user dashboard should allow them to change their calendar availability.
The email should contain a magic link to authenticate and update calendar availabilities
The staging database should be seeded with a number of users, with randomized:
Issues related to content or translation.
Page for authenticated users to manage their calendar availabilities
Email field -> magic link -> open link in browser -> auth complete -> redirection to /admin (ADMIN) or /profile (USER)
Issues relating to the Database and API
The id
s for skills, categories and availabilities are hard coded into the validation schema.
The validation schema should be generated after the GraphQL query runs: generateValidationSchema(ids)
.
Obtain the final list of skills to be seeded in the database
When logging in, all that's needed is an email. If we can avoid a potentially pricy auth provider that'd be the best solution.
Redwood is actively working on integrating Netlify Identity and Auth0.
Auth0 would be much more advantageous for us thanks to its generous free tier (7k free users). We could start with that, and roll out our own solution in the future if we ever reach the 7k limit.
Simple box with email field for passwordless auth
The form is a SPA, so going back using the browser will lead to potentially unexpected results.
We should warn the user that data will be lost before they attempt navigation.
formMachine.js
has a guard called warnBeforeExit
that can be used for that purpose. The issue is in triggering it via back button detection.
adminNotes
model in database schemaWhen a user initially selects their availability or updates them, it should be reflected in the database. We can use prisma's upsert
in a graphql mutation.
Warn user, clear the form state and go back to the home page
Individual pages are validated on the front end. When the user submits the form, the submitted data should also be validated before writing to the database.
i18next.t('form:validation.firstname')
) in the validation schemasuse a date picker library
It overwrites the files and eliminates dynamically generated ids.
All content must be validated and translated into French by stakeholders. This can be started when the form is mostly complete.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.