Git Product home page Git Product logo

zpf-backstage-tv's People

Contributors

danielschenk avatar dependabot[bot] avatar

Watchers

 avatar

zpf-backstage-tv's Issues

Replace unique classes by custom attributes, or use `this` in events

In the template, unique classes are defined (like: class="act-{{ key }}") which are used by the JavaScript to select all inputs which belong to a certain act. This is obviously not an intended use case of classes.

These should all be replaced by HTML5 custom data attributes, like:

<input data-act="{{ key }}" ...

This is already partly done for the free field inputs.

Alternatively, look into passing this in event handlers which could in some cases be sufficient to find the object needed (eg. as parent or sibling of).

Smoke tests in CI/CD

It would be nice to have automated tests which:

  • run the Docker image
  • do the most important requests on it

This makes it much less work to take in eg. Dependabot PRs, because successful PR runs prove that the important functionality still works.

Scraper: make sure show times are fetched if details fail

For each of the 4 days, the schedule is fetched first, and subsequently, all act pages are fetched to get descriptions. If one of these fail (eg. due to a bad connection or HTML parsing error) the rest of the days' schedules are not fetched anymore in that cycle.

As show times are a critical part of the system, make sure that an error in getting details doesn't stop updating the show times alone.

Override show times

Nice to have for #67, so that when an event is changed and doesn't match the festival web site anymore, reminders can be corrected

Occasionally, a day can't be selected

Mostly happens after initial load. It seems the button for the day before the actual day doesn't respond. After selecting a different day everything works again. Maybe something related to the active hash and onhashchange not triggering.

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.