Closed markzakharyan closed 2 years ago
I'd be happy to help.
A few troubleshooting tips:
1) Are you hitting our link (pwnagerobotics.github.io/ScoutingPass) or yours (markzakharyan.github.io/ScoutingPass)?
It appears you haven't set up your repository to enable GitHub Pages. Instructions here https://pages.github.com/. Short version. Settings -> Pages -> Source Branch: Main -> Click Save. It should pop up a box with your URL to use for your own version of the website with your configuration changes.
2) You have your URL, click it. Does it show anything?
If it doesn't look like it should there is most likely an error in your config file. Usually, a missing bracket or comma is the problem. If you're not a JSON programmer let me know and I can take a quick look and find it for you.
If those aren't the problem, give me a link to the webpage and I will take a look at it.
Scott Scouting/Programming Mentor Team 2451 - PWNAGE
Thanks for the help!
GH Pages doesn't seem to be the issue (url: https://markzakharyan.github.io/ScoutingPASS)
I ran the json through an online json validator and it seems like it's valid json so I don't think that's the issue either
The website is the same as before, even after updating the config file. I used a different device in case the website was being cached. And the publicly hosted json is what I changed so it's not an issue with my changes not being propagated on GH Pages.
Ok. I found it. The three boolean fields that you entered have "type":"boolean" it should be "type":"bool".
I admit, not the best decision we made. I'll probably put in a ticket to support both bool and boolean in the next release.
If that fixes your issue, please close this ticket.
It looks like you know your way around a web page. If you look at the console for the web page you'll see this message:
Unrecognized type: boolean
That's a clue that some field had a wrong type.
We will be improving our error handling in the next off-season.
Thanks for using ScoutingPASS!
Alright, this was definitely my bad. I should've checked the console.
Thanks for the help!
I'll also contribute to this project soon, my team likes using Google Sheets instead of excel so I wrote up an AppScript macro that can be used for sheets users to parse the QR code.
Hi, after updating the config json for 2022, the changes that I made aren't propagating. I've checked to make sure that I've updated the right file, of course.
I'm updating /2022/RR_config.js
Is there anything that I'm doing wrong? I've checked to make sure that the json is valid, and no errors are being thrown. The app just looks the same as before.
Thanks for the help, Team 6560, Charging Champions
This is the updated file: