oetspoker / mpei-plugin

Automatically exported from code.google.com/p/mpei-plugin
0 stars 0 forks source link

Enable option to jump to Update View (if update is available) #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What feature would you like to add?
Currently you can add 'Command' buttons for:
MPEIUPDATE - update to the latest version the specified extension 
MPEISHOWCHANGELOG - show the changelog of the latest update version 
MPEIINSTALL - install the specified extension 
MPEIUNINSTALL - uninstall the specified extension 
MPEICONFIGURE - configure the extension (if this is supported)
see: http://code.google.com/p/mpei-plugin/wiki/SkinProperties

However, now that MP supports 'open plugin with parameter' it would be easier 
to just be able to link to the Extensions plugin View - most often the Updates 
view - since then all functions (including cancel a queue operation) are 
available. 

How it would work?
Example: Skins could add a New Version button visible with:
<visible>string.equals(#mpei.<Extension ID>.haveupdate,true)</visible> that 
hyperlinks to Extensions Update View rather than executes the update.  A 
notification Icon could be used to display on screen whenever an update is 
available (similar to record icon). Define codes could list all extension ids 
supported by the skin. (in references.xml for global defines, or a sep define 
code in each xml with a window id) Sadly you cannot import a file of define 
codes AFAIK.

What version of the product are you using? On what operating system?
1.0.1 in MP 1.2.0 RC

Please provide any additional information below.
Can't select issue type for enhancement, sorry!

Original issue reported on code.google.com by Dade...@gmail.com on 14 Sep 2011 at 5:51

GoogleCodeExporter commented 8 years ago
Instead of checking for each plugin guid if an update is available, how about a 
global update property which is true if atleast one plugin/skin has an update 
available?

Original comment by damien.haynes@gmail.com on 15 Sep 2011 at 4:10

GoogleCodeExporter commented 8 years ago
Much easier to implement in skin as well :). I assume it jumps to Updates View 
with the list of all extensions with updates? 

Some skins might want a separate update button for their skin, but I assume 
they can still use the current method for that with GUID?

Original comment by Dade...@gmail.com on 15 Sep 2011 at 10:53

GoogleCodeExporter commented 8 years ago
Done, you can specify a view name in the hyperlinkParameter e.g. view:updates

You can also conditional make this button visible by using the #mpei.updates 
property by checking if its not empty.

Original comment by damien.haynes@gmail.com on 17 Sep 2011 at 1:07

GoogleCodeExporter commented 8 years ago

Original comment by damien.haynes@gmail.com on 17 Sep 2011 at 1:08