iitc-project / ingress-intel-total-conversion

ingress.com/intel total conversion user script with some new features. Should allow easier extension of the intel map.
http://iitc.jonatkins.com/
ISC License
991 stars 552 forks source link

Idea: Plugin Grouping #358

Closed tb52s7 closed 11 years ago

tb52s7 commented 11 years ago

With the way desktop IITC works, this idea is more suited for IITC Mobile. Well, there's getting to be a lot of plugins, and more are getting added all the time, so perhaps we could make the list less cluttered through grouping?

For example, all the highlight plugins would have their own group, and all the info screen enhancement plugins would have their own group, and all the additional map base layer plugins would have their own group, and all the other map display plugins would have their own group (e.g. draw and zoom slider), etc.

This way the user will be less intimidated by the number of plugins available and perhaps will be more inclined to try ones he/she may not have considered. Then there exists the possibility of enabling/disabling an entire group at a time (although that one may or may not be a good idea). Furthermore, if some sort of contextual information were provided describing what the plugins do, that would be really helpful for the user.

As for the desktop version, this grouping could be implemented on the download page, so the plugins available don't display as one long list.

leCradle commented 11 years ago

I think this is a great idea! I started working on it. Here is my first suggestion (it uses subpreferences):

screenshot_2013-06-08-15-16-26 screenshot_2013-06-08-15-16-52

This would require a new key in the plugins header. I choosed "@category" for testing purposes.

What do you think @jonatkins ?

leCradle commented 11 years ago

Ah if no category is given, it will be merged to the "Misc" category to prevent crashes. A big advantage of using subpreferences is that we can print the plugin descreption. The commit is ready and it seems to work. Will commit it, when @jonatkins gives his go regarding the "@category" key.

jonatkins commented 11 years ago

@category seems as good as anything - it doesn't clash with the existing userscript metadata items either.

leCradle commented 11 years ago

Allright here we go. Feel free to modify the categories. All plugins listed in "Misc" doesn't have a category yet.

tb52s7 commented 11 years ago

The test build truncates plugin names to one line. I suggest allowing plugin titles to wrap to new line as needed, if possible.

leCradle commented 11 years ago

@tb527 good point!

tb52s7 commented 11 years ago

A day later, it's already awesome, and I love being able to read what the plugins do. Great job guys!