Giter Site home page Giter Site logo

dotkom / glowing-fortnight Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 8.0 185.08 MB

The next generation of the Online Splash!

Home Page: https://online.ntnu.no/splash/

License: MIT License

JavaScript 49.73% SCSS 29.83% Dockerfile 0.99% TypeScript 19.45%
hacktoberfest

glowing-fortnight's People

Contributors

andersrobstad avatar aslakhol avatar carlofholy avatar clausbugge avatar dependabot[bot] avatar duvholt avatar henrikhorluck avatar juliangra avatar kharann avatar mathisfo avatar mikaelbr avatar myth avatar njaalsoerland avatar oleast avatar plusk avatar robinlundsadun avatar s0lvang avatar sklirg avatar terbau avatar thomhas avatar tmn avatar tor0405 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glowing-fortnight's Issues

Display "faddergruppe" highscores

Describe the solution you'd like
Implement a Google Sheet that the appropriate groups can use to update the scores for different "faddergrupper"

Additional context
Uses 'googleapis' package for Node.js and authentication via S3

Fix background-color of date on mobile

Describe the bug
The background color of the date is correct on larger display. When the screen gets below 720px, it uses another background color (primary).

Expected behavior
It should use the same color as the larger screen does (primaryDarken45)

Screenshots
error

Partners are not center aligned

This is due to this rule, which is used to space the partner logos. This affects the main partner logo, but the row underneath is also shifted slightly due to the last partner having a margin that isn't needed.
You could write up a fix, but I'd suggest maybe looking into rewriting the component with flexbox in mind.

image

Entire content of events in calendar is clickable

The event description is currently rendered as a clickable for toggling expansion of the event, which makes it impossible to mark text in some browsers, or possibly also to click markdown-parsed urls.

Update for 2020

We need to do the 2020 update, below is a list.

Sjekkliste:

  • Lese igjennom ny på informatikk
  • Oppdatere ITEX linken
  • Legge inn startdato for fadderukene (kommer i #66)
  • Lage og linke til 2020 infoside (lenke kommer i #66)
  • Lage fadderuke-events i OW
  • Oppdatere API_EVENTS_URL (kommer i #66)
  • Lese igjennom ditt liv som Onliner
  • Oppdatere komitesøknadsfristen
  • Oppdatere sponsorlogoer
  • Coronainfo ?
  • Vurdere om man skal gjøre andre endringer
  • Glede seg til fadderuka

Dynamic dates and logos

To avoid manual labor every year we can consider extending the API a bit.

Changes required each year are:

  • Updating API URL to only fetch events after a set date
    A potential fix for this is to only consider events for the current year instead.
  • Fadderuke start date
    Can be added to API and set by velkom.
  • Committee application deadline
    Can be added to API and set by velkom.
  • Theme logo
    Can be added to API and set by velkom. If the logo has not been set a generic one is used instead.
  • Partner logos
    Can be added to API and set by velkom. However, this can be a bit more tricky as manual adjustments are sometimes needed.

Events can't span over midnight

Unfortunately the current calendar logic doesn't allow for events to span over midnight. It makes the event jump over to the next day from what I can gleam. It's not a huge issue, as we just prompt velkom to make events that end at 23:59 the day they start, but it would be swell to include this.

Previous days are shuffled into preDays at 02:00, not 00:00

This is due to timey wimey zone stuff. The if-statement that guards the preDays.push evaluates as false for two hours between midnight and 02:00 when we want it to evaluate to true. The cause seems to be that the two Dates that are compared aren't in the same timezone (?).

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.