pharo-smalltalk icon indicating copy to clipboard operation
pharo-smalltalk copied to clipboard

Add UI menu option to fetch currently selected exercise

Open samWson opened this issue 6 years ago • 3 comments

This is a small UI improvement suggestion.

I had not done any of the exercises in a long time. When I downloaded a new image to start doing exercises I fetched hello-world and got an error saying that some meta data was missing and I needed to upgrade the exercise in Exercism to the latest version and fetch the exercise again. This all worked without fault.

I had to type hello-world into the fetch dialogue again even though I had right clicked on that exact exercise to fetch it. To make this smoother I suggest that if you right click on an exercise package there should be a menu item to fetch that selected exercise of the same name. The image below shows what I mean: fetch-exercise-improvement

The new menu item is to re-fetch or refresh the exercise package that is selected.

samWson avatar Apr 19 '19 05:04 samWson

A "Re-fetch" option sounds useful, but including the exercise name may be awkward for any longer exercise names.

bencoman avatar Apr 19 '19 06:04 bencoman

Its a good idea (and I had actually thought of a similar idea to fetch the next exercise - and somehow generate what the next exercise would be in the TestCase meta data). However I came to the conclusion that we probably want people to go to the website to see progress/news badges etc, so wasn't sure it was worth the effort for fetch next. For re-fetch, we do have the data, but it is quite rare to need to do it (admittedly @samWson was testing early and so much had changed).

Lets keep this around, if more people mention it, its quite easy to do. In fact we possibly could populate the current name in the download box... except ... did you know that you can use the "copy" instructions button from the site (it parses out the track name). It's written in the installation instructions, but I notice not the readme for each exercise.

macta avatar Apr 20 '19 06:04 macta

did you know that you can use the "copy" instructions button from the site (it parses out the track name)

I saw that trick and I think it was a cool idea.

I flag this issue as a low priority for now and we can leave it on the back burner.

samWson avatar Apr 21 '19 04:04 samWson