GithubHelp home page GithubHelp logo

xzebra / unizar-calendar Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 9.85 MB

Schedule generator for Unizar classes

Home Page: https://xzebra.github.io/unizar-calendar/

License: MIT License

Go 50.65% HTML 2.84% JavaScript 43.86% CSS 2.65%
calendar calendario unizar unizar-calendar

unizar-calendar's People

Contributors

xzebra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unizar-calendar's Issues

Unsafe map indexing

In exports/gcal.org:

for class, times := range s.Merged {
	name := s.Classes[class].Name
	desc := s.Classes[class].Desc
...

If you delete all rows you can't create more

In web version, if you delete all rows you can't create a new one, so you would need to refresh the page.

A possible solution is to check whether it is the last row which is beign deleted. If it is the last row, add a default empty row after deleting it.

Export to ICS format

ICS format supports RDATE field. This would in theory allow users to modify easily the events descriptions in Google Calendar, as they would belong to only one event.

With the current implementation in CSV, it is required to generate another calendar in order to change all the descriptions or names of the same event, because CSV treats them as separate events.

Differentiate between normal classes and practical ones

The actual implementation uses the wildcard days as an indicator of normal classes, as they happen weekly. This could lead to a lot of problems as practical classes can occur weekly too (and users may use the wildcard day).

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.