-
Notifications
You must be signed in to change notification settings - Fork 1
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
Adds board saving to localStorage #1
base: main
Are you sure you want to change the base?
Conversation
Allows for tracking board stats (items gained, rarity, type, tickets used) in a JSON object.
position: relative; | ||
} | ||
|
||
.mh-spooky-shuffle-card-front { | ||
opacity: .75; | ||
} | ||
|
||
.mh-spooky-shuffle-card-name { | ||
text-align: center; | ||
position: absolute; | ||
bottom: 5px; | ||
width: 100px; | ||
background-color: #ffcdcf; | ||
border-radius: 5px; | ||
box-shadow: 0px 1px 2px 1px #970707; | ||
padding: 5px 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you removing the styles?
Looks like there's some issues with this PR. Mind taking a look and making sure the lint passes? |
Looks like linting is still failing. |
tbh i have no idea what that is or how to run it locally |
…-attempts another attempt at lint:fix
i just spent way too long trying to figure it out and not really making any progress so giving up for now. script works for me 🤷 |
found an important missing chunk of code
damn lint giving me bad suggestions to break my code instead of fixing it
Fixes to board saving code to block duplicates and formatting changes suggested by online lint tools
add functions for summary stat output in console
@PersonalPalimpsest Merged #2, so you should be able to pull main, but just watch out for conflicts. |
@bradp Resolving conflicts was difficult, but I took some of the suggestions and implemented them into the latest commit. Some of the suggested changes broke parts of the script so they needed some fixing but it's back to working overall for me now. None of the other online linting tools I've tried were so aggressive about removing the debug/console.log stuff, not sure why there's a need to remove those as I've found them really helpful for whenever an update breaks things. |
untested as I'm out of tickets
Changed some console.log msgs to toast notifications
I’m going to get this merged in before the event 🙏 |
I’m going to get this merged in |
Also some minor changes to comments and logging for clarity
doesn't seem like the board saving stuff was merged in so i did it myself |
Allows for tracking board stats (items gained, rarity, type, tickets used) in a JSON object.