Hi Anamaria,
Thanks for this email to let us know about the status!
See below
On Mar 23, 2010, at 1:37 PM, Anamaria Stoica wrote:
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.
some feedback.
Macro Directory: (for all Wiki Macros and Java Macros) http://incubator.myxwiki.org/xwiki/bin/view/Macros/
I think it would be better displayed as a livetable with several columns: - Description - Category - Action column
Not sure we need the type displayed. However I think that for Wiki macro the action column should propose to edit/delete the macro.
Question: Where should this macro directory be displayed in the wiki? In AllDocs as a new tab? Somewhere else? Only for admins in the admin page?
I think it should not be in the AllDocs UI. Linked from the QuickLinks as "Macro Directory" maybe? Possibly from the WYSIWYG insert macro dialog UI, with a open in new window link, WDYT ?
Macro Description Page: http://incubator.myxwiki.org/xwiki/bin/view/Macros/Macro?id=wc99
I wonder if both the macro directory and this description page pages should be located in the wiki macro application.
The description page should be IMO the macro page itself as much as possible (with a MacroClassSheet) That's the XWiki way of applications and it allows to have the edit button which brings the macro in inline edition mode. For non-wiki macros, we can either say there is no such page - or use a generic page with a parameter like you did with Macro?id=XXX. Jerome. There's already a
I'll send another email later on to try to provide feedback on the stuff below.
Thanks -Vincent
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/GadgetsIntegrationPropos... (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/GadgetsIntegrationPropos... or http://incubator.myxwiki.org/xwiki/bin/view/Mockups/GadgetsIntegrationPropos... ?) - 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