gallexi / comp-checkin Goto Github PK
View Code? Open in Web Editor NEWAn app for checking in dancers at ballroom competitions, from O2CM data
Home Page: https://salty-river-54692.herokuapp.com/
An app for checking in dancers at ballroom competitions, from O2CM data
Home Page: https://salty-river-54692.herokuapp.com/
Here's the line that is supposed to update the dancer's checkedin
value in the DB:
https://github.com/galantlex/comp-checkin/blob/fe7b7ef268c7b72780b4dd81acfc5eb9223a646b/server.js#L79
But it's just simply...not. I know I have the correct dancer
s in each situation, so I think I'm just calling this function wrong somehow. Any thoughts?
I want the .find
call to return every record whose studio
or fullname
non-case-sensitively includes the user's input of studio
or fullname
. This is my attempt, but right now it's returning every record in my database:
https://github.com/galantlex/comp-checkin/blob/fe7b7ef268c7b72780b4dd81acfc5eb9223a646b/server.js#L45-L46
I think somehow the regex is just too accepting, but I'm not really sure what's going wrong.
I want to have a button to "start over" and reset the state of my form after a user has completed the workflow, so that the next user can come along and use essentially a fresh app.
Here is the button:
https://github.com/galantlex/comp-checkin/blob/fe7b7ef268c7b72780b4dd81acfc5eb9223a646b/src/selectform.js#L71
And here is the function that I thought would work:
https://github.com/galantlex/comp-checkin/blob/fe7b7ef268c7b72780b4dd81acfc5eb9223a646b/src/forms.js#L18-L20
Here's where I call the form in question:
https://github.com/galantlex/comp-checkin/blob/fe7b7ef268c7b72780b4dd81acfc5eb9223a646b/src/forms.js#L30
Right now the "Start Over" button does nothing at all on click, and I have yet to figure out why.
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.