Giter Club home page Giter Club logo

berzan's Introduction

Berzan.js

Introduction

Berzan.js is a specialised frontend for Skola24's schedule viewer and skolmaten.se's lunch viewer.

As I don't have a lot of use for this personally any more I primarily fix bugs and add features per request. I do, however, intend to keep it functioning as long as there is interest in it doing so.

Features

  • Schedule viewer
  • Lunch viewer
  • Ability to set default class for schedule viewer
  • User interface adapts to whatever device you're using

Related sources

Code used for proxying API calls: https://gitlab.com/libredu/eduprox

Guide to branches

  • master
    • Improvements/bugfixes land here first, but are not guaranteed to be of quality.
    • If you are interested in contributing to Berzan.js, this is the branch you should base your code on.
    • Hosted on berzan.netlify.com
      • Note that this is not recommended for daily usage, and due to Berzan.js' caching strategy you may end up only getting updates when a version bump is performed regardless.
  • gh-pages (meaning GitHub pages)
    • Code from master is merged in here when I consider it good enough. Code here should always be reliable
    • Hosted on berzan.js.org (recommended for daily usage)
  • ie11-experiment
    • At one point I had the goal to get Berzan.js working in Internet Explorer 11. I didn't want to sacrifice some things code-wise, so I decided to make make a separate branch to determine how drastic the changes would have to be to support IE. Turns out Internet Explorer 11 did not only dislike my JavaScript, but also my CSS, so I gave up considering how bad this browser is overall and the limitations I would have to impose to support it. Kept for future reference.
    • Anyway, this branch contains the code that makes the JavaScript work in Internet Explorer 11. CSS does not render correctly.
  • serviceworker-improvements
    • This was a branch I used when working on improving the broken hackjob that was my old service worker implementation.

Third party code used

  • Slideout.js
  • Bootstrap's Reboot was used as base for the stylesheet.

License

Berzan.js is licensed under the Mozilla Public License Version 2. This license both imposes certain restrictions and gives you certain freedoms in regards to how you are allowed to use the code. See the file LICENSE or this for more information.

berzan's People

Contributors

newbytee avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

berzan's Issues

Berzan.js schedule not working

When trying to view the schedules for a class an error message stating "TypeError: Cannot read properties of null (reading 'boxList')" pops up. No schedule is shown. This error is only shown on weeks there are lessons.

To reproduce:

  1. Go to schedule at berzan.js
  2. Enter any valid class ID and a week with lessons

First launch instruction text does not wrap nicely on narrow screens

Describe the bug
On narrow screens the text telling you to pick a class currently has a ridiculous amount of space between the wrapped lines. See screenshot.

To Reproduce
Steps to reproduce the behavior:

  1. Open Berzan.js without a default class set
  2. Make sure your window is narrow
  3. Observe that the text doesn't wrap properly

Expected behavior
Text wraps with reasonable spacing between the lines.

Screenshots
image

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.