exercism / gui

MIT License
22 stars 13 forks source link

Allow to fetch several or all problems for a track #27

Closed holandes22 closed 8 years ago

holandes22 commented 8 years ago

Ground work for this was done at ticket #8 so implementation should be fairly easy.

The reason to add this is explained in this ticket at the cli project https://github.com/exercism/cli/issues/335

Problem is that API does not support batch request for now so this requires making N request (one for each problem)

Tonkpils commented 8 years ago

I would love to tackle this if that's ok. Been wanting to do some work with Ember and Electron.

holandes22 commented 8 years ago

Sure thing, that would be great!

Give it a try and send a PR when you are ready, was about to start on this after closing #28 but I'll hold off on it so you can tinker on it.

Some pointers to get you started:

This is basically the same as the fetch route but with several problems instead of one. Take a look at:

To start we can just fetch all the problems within a track, later on we can enhance it by giving the user the option to select which problems to fetch.

holandes22 commented 8 years ago

@Tonkpils just a heads up, if you start working on this. I just opened a ticket to do a refactor to the exercism service (see #31 and the branch ember-data-api for more details.) Those changes will affect this ticket (I'll probably close #31 before the weekend)