Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015661Openbravo ERPA. Platformpublic2011-01-14 14:502011-03-10 00:00
johnfandl 
agaldos 
highminorN/A
closedfixed 
5
3.0RC3 
pi 
My Openbravo Tab
No
0015661: Need attribution for widgets! Add "Standard About Box" to Openbravo 3 Widgets
Due to the high visibility of Openbravo Workspace (it is the first screen you see after logon), widgets are a great opportunity for Openbravo 3 module authors to get strong visibility. Openbravo will include the best 3rd-party open source widgets in the distribution, and will feature them in the online demo.
The problem is that we don't have an easy to use, standard mechanism for widget authors to identify themselves to users, and for users to discover who is behind the great widget they have been using.

We don't want each widget module author to have to invent this for themselves, it must be built into the platform!
1. When you define a widget, capture two additional pieces of information:

 - About Widget Name (also add this attribute to the Widget Translation Tab)
 - About Widget URL

Both are optional.

2. Add an "About" Menu option to the widget menu (that is invoked from the upper right of the widget), if the About Widget Name has a value. It should be the LAST menu item in the list.

3. When the "About" Menu option is selected, display the "About Widget Name", which should be clickable (if a URL has been specified)

4. When the About Widget URL is clicked, open up a new browser tab

So, the widget module author can optionally identify himself or his company, and provide a link back to his own web site or to an Openbravo Exchange listing.
No tags attached.
png module-details.png (120,066) 2011-02-02 11:04
https://issues.openbravo.com/file_download.php?file_id=3562&type=bug
png

zip AboutWidget.zip (486,576) 2011-02-06 20:49
https://issues.openbravo.com/file_download.php?file_id=3569&type=bug
Issue History
2011-01-14 14:50johnfandlNew Issue
2011-01-14 14:50johnfandlAssigned To => alostale
2011-01-14 14:50johnfandlModules => Core
2011-01-14 15:10rgorisModulesCore => My Openbravo Tab
2011-01-14 15:10rgorisStatusnew => acknowledged
2011-01-14 15:27rgorisFile Added: AboutItem.png
2011-01-14 15:27rgorisFile Added: Credits.png
2011-01-14 15:27rgorisFile Added: Translate.png
2011-01-14 15:33rgorisFile Added: Pop.png
2011-01-14 15:34rgorisNote Added: 0033651
2011-01-14 15:40johnfandlNote Added: 0033652
2011-01-16 14:37rgorisIssue Monitored: rgoris
2011-01-17 07:43alostaleAssigned Toalostale => iperdomo
2011-01-27 09:57iperdomoStatusacknowledged => scheduled
2011-01-27 09:57iperdomoAssigned Toiperdomo => agaldos
2011-01-27 09:57iperdomofix_in_branch => pi
2011-02-02 11:04rgorisFile Added: module-details.png
2011-02-02 11:05rgorisNote Added: 0034007
2011-02-06 20:46rgorisFile Deleted: AboutItem.png
2011-02-06 20:46rgorisFile Deleted: Credits.png
2011-02-06 20:46rgorisFile Deleted: Translate.png
2011-02-06 20:46rgorisFile Deleted: Pop.png
2011-02-06 20:49rgorisFile Added: AboutWidget.zip
2011-02-06 20:49rgorisNote Added: 0034061
2011-02-11 17:39hgbotCheckin
2011-02-11 17:39hgbotNote Added: 0034155
2011-02-11 17:39hgbotStatusscheduled => resolved
2011-02-11 17:39hgbotResolutionopen => fixed
2011-02-11 17:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b27c0dca8315005aa496f98497da4678f1748f12 [^]
2011-03-09 10:57rgorisStatusresolved => closed
2011-03-09 10:57rgorisFixed in Version => pi
2011-03-10 00:00anonymoussf_bug_id0 => 3204737

Notes
(0033651)
rgoris   
2011-01-14 15:34   
I have added some ideas
(0033652)
johnfandl   
2011-01-14 15:40   
Rob, good point about also adding the URL to the Translation tab. You may indeed want a separate URL by language!
(0034007)
rgoris   
2011-02-02 11:05   
as discussed with Asier and Ivan:

Since one module can contain n widgets, we should always display Module Details. Then, per widget, optionally, widget specific info (text + URL)
Sso if the author chooses not to define the widget specific info (text+url) , you will only see the module details.

I will upload a final mockup here in the next few days.
(0034061)
rgoris   
2011-02-06 20:49   
Uploaded final mockup. Asier, go ahead & contact me if you have any questions. Thanks! Rob
(0034155)
hgbot   
2011-02-11 17:39   
Repository: erp/devel/pi
Changeset: b27c0dca8315005aa496f98497da4678f1748f12
Author: Asier Galdos <asier.galdos <at> almis.com>
Date: Fri Feb 11 15:15:02 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b27c0dca8315005aa496f98497da4678f1748f12 [^]

Fixes issue 0015661. Standard About Box added to Openbravo 3 Widgets.

---
M modules/org.openbravo.client.myob/src-db/database/model/tables/OBKMO_WIDGET_CLASS.xml
M modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_COLUMN.xml
M modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_ELEMENT.xml
M modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_FIELD.xml
M modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponentProvider.java
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/WidgetProvider.java
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js
M modules/org.openbravo.client.myob/web/org.openbravo.userinterface.smartclient/openbravo/skins/3.00/org.openbravo.client.myob/ob-widget-styles.css
---