Hi devs, I wanted to show you what work has been done until now on the Google Gadgets Integration, talk a bit about the next steps and ask for feedback. I put up the gadgets work on the incubator, so you can take a quick look.
Mostly I'm interested in the minimum subset of features and changes that I need to make in order to have something worth integrating in a future release. Macro Directory: (for all Wiki Macros and Java Macros) http://incubator.myxwiki.org/xwiki/bin/view/Macros/ Macro Description Page: http://incubator.myxwiki.org/xwiki/bin/view/Macros/Macro?id=wc99 Dashboard Macro Test: http://incubator.myxwiki.org/xwiki/bin/view/MacrosTest/DashboardTest The dashboard example contains 3 macros imported from Panels, like Last Members, My Recent Modifications and Blog Categories, and 1 macro imported from a Google Gadget: World Clocks. (I named it w99) Import Google Gadget as Macro Form: http://incubator.myxwiki.org/xwiki/bin/view/Macros/GoogleGadgetsImport WYSIWYG Integration: - easily edit all Google Gadget Macros parameters/user preferences (if inserted alone on the page) - if a macro is inside the Dashboard macro, you don't have access to editing its parameters. Ideally, in the future this kind of interaction would be nice to have: http://incubator.myxwiki.org/xwiki/bin/view/Mockups/GadgetsIntegrationProposal2#HInsertDashboardMacroWYSIWYGDialog (Test both of the above here: http://incubator.myxwiki.org/xwiki/bin/view/MacrosTest/DashboardTest) I'm planning to work next on: - AJAX requests to update dashboard state after each drag&drop action (modify the content of the dashboard to reflect the new order of the gadgets - Add Thumbnail and Screenshots support for Macros - Nice UI for Dashboard and Macros Directory (already asked Caty for help here) More work after that: - Add Macros(Gadgets) to a Dashboard (either from the Directory and/or through WYSIWYG editor) - Convert all Panels to Wiki Macros (Question here: What happens with the panel headers? Do I transform them into headings like in the Last Members, My Recent Modifications, Blog Categories examples? If so, how would they be placed on the side, in the empty shell containers to keep looking like they do now? ( http://incubator.myxwiki.org/xwiki/bin/view/Mockups/GadgetsIntegrationProposal1#HPanelWizard or http://incubator.myxwiki.org/xwiki/bin/view/Mockups/GadgetsIntegrationProposal2#HPanelsWizard ?) - Create types for Wiki Macro parameters: boolean, enum, (int), string (very inconvenient right now for enum types for gadgets with a lot of options -- e.g. see time zone parameters (up_tz1) for World Clock macro --> problem would be nicely solved with a Select) - Allow custom number of columns for Dashboard Questions: - Should dashboard cells have titles? If so, what happens to the titles of Panel origin Macros? (see discussion a little more above) - Is the current syntax of dashboards OK? {{dashboard}} 1 {{members/}} 1 {{myrecentmodifications/}} 2 {{blogcategories/}} 3 {{wc99 title='Another Clock Gadget' w='280' h='280' up_tz1name='Bucharest' up_tz2name='Paris' up_tz1='RO' up_tz2='FR'/}} {{/dashboard}} , where each line represents a cell, the first number being the column number, one blank space and the the content of the cell. For a given column, the order of appearance is important, being treated as a stack (one cell above another). * Keep in mind: - the lines need to be easily update by many AJAX requests issued at each Drag&Drop on the dashboard (both their order, and also the column numbers) - content available in wiki editor - currently does not allow multiple lines for one cell (would a lot more complicated for the AJAX updates) - currently has no title - do we need a title?? SVN: - https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-gadgets/ (Java Components) - https://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/gadgets/ (XAR) Thanks for the feedback, Anamaria _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

