Coder Social home page Coder Social logo

youssefsoli / bettermaplewood Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 1.72 MB

BetterMaplewood, a chrome extension to make your maplewood experience better

License: MIT License

JavaScript 94.59% HTML 5.41%
maplewood chrome-extension gpa gpa-calculator better-maple-wood better-maplewood bettermaplewood

bettermaplewood's Introduction

๐Ÿ‘‹

bettermaplewood's People

Contributors

dependabot[bot] avatar xuchef avatar youssefsoli avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

bettermaplewood's Issues

Bug: Multiple markbooks handling

Maplewood's feature of multiple markbooks for a course is producing undesired behaviour.

In this case, one is used for regular marks, and the other is for the final exam.

Screen Shot 2021-06-21 at 3 59 12 PM

The final exam markbook is (sometimes) the first HTML element, so when the extension fetches the data for the mark preview, the final exam is used, rather than the proper markbook. Note that for some odd reason, the ordering of the elements is inconsistent, so this bug only appears occasionally.

To achieve the expected behaviour, the extension must only fetch the regular markbook.

Luckily, this can be achieved easily by referring to the title attribute of the element:

<a title="Final Exam">Jun 21</a>
<a title="Mark">Jun 21</a>

The multiple markbooks feature also results in a confusing, poor user-experience, as the only visual difference between the two link buttons is a very slow-loading tooltip.

Screen Shot 2021-06-21 at 4 03 37 PM

To address this problem, the proper markbook will always appear first, and with the original date text. Any additional markbooks will appear after, each on a different line, with their title as the text. For instance, the final exam markbook alongside the regular markbook will appear as follows:

Screen Shot 2021-06-21 at 4 19 58 PM

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.