momander / wheel-spinner Goto Github PK
View Code? Open in Web Editor NEWWeb app where you enter names, they show up on a wheel, and you spin to get a random winner.
License: Apache License 2.0
Web app where you enter names, they show up on a wheel, and you spin to get a random winner.
License: Apache License 2.0
Hi,
A lot of repo that are normally large/fun projects have a link to the website creation is the about section. I think it will be a good idea if you added the web link. Here are the steps :
Hello π
Thanks for the great work!
Is it possible to shuffle the names above the wheel in plain text?
Because when we add +200 name, you won't be able to read the names from the wheel.
https://youtu.be/yL5clbrvmyY?t=480
Thanks
Hi,
Firstly, thanks for this wheel, my mother who's a kindergarten teacher, uses it often now that many children stay home.
I entered a custom text to replace "the winner is... " with 100 characters and noticed that the h5 runs out of the modal. If the modal-card-title class had a width: 100%, the problem would be solved.
Could you find time to fix this? Would really appreciate. :-)
Thanks again!
It adds some fun to our meetings.
Hey I am new to coding and don't really know what i'm doing I needed a wheel of names for my. project that i've been working on how exactly do I use this with raw html and css
Hi, I would like to host your wheel-spinner on my localhost and extend wheel to update names via API requests. Something like when I click the button i get all of the names from my local API. Is this possible to set up this app without firebase stuff etc. ?
I just want to say thank you so much, you have built an amazing tool for teachers and students, I am using it heavily in my classes.
I made a macro keyboard (Pi Pico + CircuitPython) with a single button outputting "CTRL+ENTER" to spin the wheel, however inside the wheel spinner app it will not accept this input. I have confirmed the macro is outputting correctly via showkey, and it works on other pages in chromium. In the wheel spinner app, it does not take any input at all, even on the list entry for the wheel. Any clue why this might be happening? I would really like to set up a single button to initiate the wheel spin.
Thanks,
James
I'd like to be able to save a wheel with my customizations and then set the default choices by passing in a URL parameter:
https://wheelofnames.com/jmj-a7b?choices=Leo,Fred,Monica,Jane
This would set up the wheel with the following choices:
Leo
Fred
Monica
Jane
After building and running the project on firebase I get the following error
Error: This operation is restricted to administrators only.
when I try to create a shareable link.
Here is the response I get
{
"error": {
"code": 400,
"message": "ADMIN_ONLY_OPERATION",
"errors": [
{
"message": "ADMIN_ONLY_OPERATION",
"domain": "global",
"reason": "invalid"
}
]
}
}
The call that is being made https://www.googleapis.com/identitytoolkit/v3/relyingparty/signupNewUser?key=apiKey
When I run ./deploy_test.sh
I get the following output
=== Deploying to 'wheelxyz-test'...
i deploying firestore, functions, hosting
i firestore: reading indexes from firestore.indexes.json...
i cloud.firestore: checking firestore.rules for compilation errors...
β cloud.firestore: rules file firestore.rules compiled successfully
i functions: preparing codebase default for deployment
i functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i functions: ensuring required API cloudbuild.googleapis.com is enabled...
i artifactregistry: ensuring required API artifactregistry.googleapis.com is enabled...
β artifactregistry: required API artifactregistry.googleapis.com is enabled
β functions: required API cloudfunctions.googleapis.com is enabled
β functions: required API cloudbuild.googleapis.com is enabled
β functions: package.json indicates an outdated version of firebase-functions. Please upgrade using npm install --save firebase-functions@latest in your functions directory.
β functions: Please note that there will be breaking changes when you upgrade.
i functions: preparing functions directory for uploading...
i functions: packaged /Users/user.name/Projects/github/wheel-spinner/functions (117.18 KB) for uploading
β firestore: deployed indexes in firestore.indexes.json successfully
i firestore: latest version of firestore.rules already up to date, skipping upload...
i hosting[wheelxyz-test]: beginning deploy...
i hosting[wheelxyz-test]: found 115 files in dist
β hosting[wheelxyz-test]: file upload complete
β firestore: released rules firestore.rules to cloud.firestore
i functions: Skipping the deploy of unchanged functions with experimental support for skipdeployingnoopfunctions
β functions[createSharedWheel2(us-central1)] Skipped (No changes detected)
β functions[createSharedWheel3(us-central1)] Skipped (No changes detected)
β functions[getSharedWheel2(us-central1)] Skipped (No changes detected)
β functions[getSharedWheels(us-central1)] Skipped (No changes detected)
β functions[deleteSharedWheel(us-central1)] Skipped (No changes detected)
β functions[logSharedWheelRead(us-central1)] Skipped (No changes detected)
β functions[getTwitterUserNames2(us-central1)] Skipped (No changes detected)
β functions[convertAccount(us-central1)] Skipped (No changes detected)
β functions[deleteAccount(us-central1)] Skipped (No changes detected)
β functions[deleteInactiveAccounts(us-central1)] Skipped (No changes detected)
β functions[deleteUnusedSharedWheels(us-central1)] Skipped (No changes detected)
β functions[deleteUsedSharedWheels(us-central1)] Skipped (No changes detected)
β functions[deleteOldWheelsFromReviewQueue(us-central1)] Skipped (No changes detected)
β functions[translate(us-central1)] Skipped (No changes detected)
β functions[backupFirestore(us-central1)] Skipped (No changes detected)
β functions[loadBigQuery(us-central1)] Skipped (No changes detected)
β functions[getCarousels(us-central1)] Skipped (No changes detected)
β functions[getSpinStats(us-central1)] Skipped (No changes detected)
β functions[userIsAdmin(us-central1)] Skipped (No changes detected)
β functions[processSharedWheelReads(us-central1)] Skipped (No changes detected)
β functions[getNumberOfWheelsInReviewQueue(us-central1)] Skipped (No changes detected)
i functions: cleaning up build files...
i hosting[wheelxyz-test]: finalizing version...
β hosting[wheelxyz-test]: version finalized
i hosting[wheelxyz-test]: releasing new version...
β hosting[wheelxyz-test]: release complete
β Deploy complete!
Im not sure why I am seeing the error message when I try to create a sharable link Error: This operation is restricted to administrators only.
when finally I run build_and_serve_local.sh
the command give me
cannot remove 'dist/* No such
and when I execute the link it gives me CANNOT GET /
Can you please push the latest code to this repo?
Hi, how do i make it land on one specefic name everytime?
-WarrierMan
I've been trying to enable google analytics but noticed the README description is outdated.
I can see a file called gaId.vue
with a property id: '?'
. To enable google analytics, do I just replace ?
with MEASUREMENT ID
instead of the Tracking Id
?
I updated id: '?'
to id: 'G-XXXXXXXXXX'
in file gaId.vue
and it does not work. Google Analytics is not being registered.
According the the four color theorem, it should always be possible to arrange the four colors on this wheel in such a way that two of the same colors are never adjacent. Would be great to see if this can be implemented in this project!
I've been trying to add google adsense with no look. How do you add google adsense similar to how it's done on https://wheelofnames.com
?
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.