taustation-fan / university

Machine-readable data of University courses
https://education.tauguide.de/
3 stars 8 forks source link

Filter out courses I have already taken #4

Closed moritz closed 6 years ago

moritz commented 6 years ago

I'd like the site to be even more useful for planning courses.

Thus I'd like to have a text area where I can copy&paste the courses list from the character page. When I do that, the following should happen:

I have already tried to implement that, but the problem with my naive approach is that dynatable doesn't seem to like dynamically added content (the irony...), and removes the contents of extra columns that I add after dynatable has been loaded. (Maybe this can be worked around by adding the column at the start, and simply hiding it, or accepting an initially useless column? Dunno). My attempt so far is in the branch issue-4-failed, from which you can likely salvage the logic to parse the pasted course list.

I'm also fine with getting rid of dynatable if that makes things easier, as long as we have some way to do filtering and sorting in the browser.

moritz commented 6 years ago

I've started the tablesorter branch, which is now in production. It uses tablesorter jquery plugin instead of dynatable. Maybe that'll make things easier.