This is the list of all the things that should be done on the multi-dataset branch before merging it to master.
[x] For all activities with dataset, by default have ALL datasets activated.
This is needed to make it optional for users to have to go and select datasets.
Fixed in commit afff20d1d0b0404a603a8d0aa5cfa36e96b174ef
[] In the menu activity list, on each activity, show the Difficulty level (stars) of the lowest and highest difficulty dataset activated.
This means, if lowest/highest are different, showing two icons instead of one as we do currently, with a separator inbetween, but that should fit easily.
If lowest/highest are the same, show only one icon.
[] Link the Difficulty filter in main settings page to dataset selection
This means, when changing the min/max Difficulty filter and closing the main settings page:
-activate all the datasets in the selected range for each activity with datasets
-update the stars icons on the activity entries in the menu accordingly
-filter the activities not in the selected range, and grey them out; when clicking on them, show a pop-up notification that a Difficulty filter is active
-grey out the filtered datasets to prevent them from being selected, and when clicking on them display a notification that a Difficulty filter is active
[] Port all the activities with options but no datasets to use the new Settings button instead of the old options button.
Fix the various new bug/issues, like:
[] the overlapping options in Simple letters settings
[] remove configuration file, if you run an activity with config and combobox, it's not filled with a default value (for example, traffic has an empty box)
[x] --when changing some options from the Options part of the Activity Settings pages, those options are not applied directly after clicking "Save" or "Save and start" (instead, it keeps using the last options that were there when opening the Settings page... so any option change needs to open the Settings page a second time to be applied).--
Fixed in commit 3b7a4b1b3dfea3565e8bcc10f8db8fcef5cf5c49 ; note: in Activities DialogChooseLevel, in onStartActivity, we need both background.stop() and background.start() , and in onSaveActivity we don't need anymore the background.stop() and background.start() .
[x] in the Activity Settings pages, scroll-to-top the main area when clicking on Dataset or Options (for examble, in algebra activities, the list of dataset is very long; if it's scrolled down, when switching to Options part it is still scrolled down and options are not visible directly... The opposite could happen too in other activities, so make sure to do it for both case).
Fixed in commit 65de635b13548367eb551133adbbdae1f01b3a4f
[] When changing Dataset selection and clicking on Cancel, the selection doesn't reset to previous state in the dialog.
[x] --in Gletters Activity Settings, if changing Speed value and clicking Cancel, it doesn't reset to previous state in the dialog (but all other options do it properly).--
Fixed in commit c10b3e0ef4f9cce4b315f6dbd18a9242207e61a0