Giter VIP home page Giter VIP logo

epic-reservations's People

Contributors

dangothemango avatar youyanggu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

epic-reservations's Issues

Error When Running Script

VM674:81 Uncaught (in promise) TypeError: Illegal invocation
at changeMountain (:81:26)
at doTheWork (:205:8)
at start (:220:2)
at :1:1

Hi Dan! I am getting the above error when attempting to run, here are the values I input. LMK if I am doing something wrong. Thanks!

desiredDay = "20"
mountains = ['14']
people = ['timothy reuber']
delay = 2000

Add support for multiple days

replace the desiredDay variable with a list of days, the script should check each of these days for availability in order and reserve the first one it finds

for mountain in mountains:
    for day in days:
        if (canReserveDay(day)):
            reserveDay(day)

Setup handling of session timeouts

After a certain amount of time, a popup appears that says your session will timeout in 10 minutes. A simple click event does not suffice for dismissing this popup. Figure out a way to extend the session using react events

Add error handling for failures with passholder checkboxes

sometimes when a passholder checkbox is clicked an error appears. this error can be something like (the passholder already has a reservation on that day) Make it so this doesnt break the script and it can continue to other passholders in the list or other mountains/days

Question: which script is better to use?

Hello, I'm interested in using these scripts (thank you for coding them up!). Is there a benefit for using one script over the other? The timeout seems simplest (at least to understand code-wise), but not sure if the other one is better to use for a specific scenario? Thanks!

Add support for days in future months

change the format of desiredDay(s) to be 'mm/dd' if the day is in a month that is not the current month, automatically move the calendar to the specified month.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.