[xwiki-devs] Integrating Office Importer in XWiki UI
Hi Devs, The office importer module has reached a point where it can be integrated into XWiki's UI: Currently there are two UI's provided by office importer: 1. The Wysiwyg plugin which should be integrated to Wysiwyg UI (obviously) : http://91.121.237.216/xwiki/bin/view/Main/ 2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/ We need to decide how we will allow users to discover the office importer application from the main UI. Following are some options: a) Add the "import" action to one of our existing menus Problem: I don't see any existing menus where "import" will fit in. b) Add a new menu named "Import" into the main menu bar. like { | Edit | show | print | import | actions | watch } Problem: existing menus and their menu items always refer to actions performed on the current document (wiki page) while importing is about importing an office document to a new wiki page. Possible solution : We can change the office importer slightly so that it overwrites the current wiki page with the imported document. Any other options ? Thanks. - Asiri
Asiri Rathnayake wrote:
2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/
Quick bug report: trying to upload an unsupported file format should display a nice message, and not a stack trace. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Hi Sergiu, On Mon, Jan 5, 2009 at 10:56 AM, Sergiu Dumitriu <[email protected]> wrote:
Asiri Rathnayake wrote:
2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/
Quick bug report: trying to upload an unsupported file format should display a nice message, and not a stack trace.
Yes, I need to fix this. I'm working on some integration tests and was thinking of addressing this issue (+ several other) once I'm done. Thanks. - Asiri
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Mon, Jan 5, 2009 at 11:00 AM, Asiri Rathnayake < [email protected]> wrote:
Hi Sergiu,
On Mon, Jan 5, 2009 at 10:56 AM, Sergiu Dumitriu <[email protected]> wrote:
Asiri Rathnayake wrote:
2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/
Quick bug report: trying to upload an unsupported file format should display a nice message, and not a stack trace.
Yes, I need to fix this. I'm working on some integration tests and was thinking of addressing this issue (+ several other) once I'm done.
PS: The same is true when you try to overwrite an existing documents. Basically, error reporting need to be improved a lot :)
Thanks.
- Asiri
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Asiri Rathnayake wrote:
Hi Devs,
The office importer module has reached a point where it can be integrated into XWiki's UI:
Currently there are two UI's provided by office importer:
1. The Wysiwyg plugin which should be integrated to Wysiwyg UI (obviously) : http://91.121.237.216/xwiki/bin/view/Main/
2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/
We need to decide how we will allow users to discover the office importer application from the main UI. Following are some options:
a) Add the "import" action to one of our existing menus
Problem: I don't see any existing menus where "import" will fit in.
b) Add a new menu named "Import" into the main menu bar. like { | Edit | show | print | import | actions | watch }
Problem: existing menus and their menu items always refer to actions performed on the current document (wiki page) while importing is about importing an office document to a new wiki page.
Exactly.
Possible solution : We can change the office importer slightly so that it overwrites the current wiki page with the imported document.
Any other options ?
c) Reorganize the menu into two areas: - current page actions (with what's currently in the left part of the menu) - wiki actions: Create, Import, Administration A draft UI proposal can be seen at http://incubator.myxwiki.org/xwiki/bin/download/Sandbox/sample/newUI.png -- Sergiu Dumitriu http://purl.org/net/sergiu/
Asiri Rathnayake wrote:
Hi Devs,
The office importer module has reached a point where it can be integrated into XWiki's UI:
Currently there are two UI's provided by office importer:
1. The Wysiwyg plugin which should be integrated to Wysiwyg UI (obviously) : http://91.121.237.216/xwiki/bin/view/Main/
2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/
We need to decide how we will allow users to discover the office importer application from the main UI. Following are some options:
a) Add the "import" action to one of our existing menus
Problem: I don't see any existing menus where "import" will fit in.
Why not add the Import menu in the "Action" menu.. It seems a right fit to me in the current UI. It's true that Import not a "Page" level menu item, but since we don't have a general menu at this point it is the best fit. Ludovic
b) Add a new menu named "Import" into the main menu bar. like { | Edit | show | print | import | actions | watch }
Problem: existing menus and their menu items always refer to actions performed on the current document (wiki page) while importing is about importing an office document to a new wiki page.
Possible solution : We can change the office importer slightly so that it overwrites the current wiki page with the imported document.
Any other options ?
Thanks.
- Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
On Jan 5, 2009, at 9:18 AM, Ludovic Dubost wrote:
Asiri Rathnayake wrote:
Hi Devs,
The office importer module has reached a point where it can be integrated into XWiki's UI:
Currently there are two UI's provided by office importer:
1. The Wysiwyg plugin which should be integrated to Wysiwyg UI (obviously) : http://91.121.237.216/xwiki/bin/view/Main/
2. The office importer application : http://91.121.237.216/xwiki/bin/view/Import/
We need to decide how we will allow users to discover the office importer application from the main UI. Following are some options:
a) Add the "import" action to one of our existing menus
Problem: I don't see any existing menus where "import" will fit in.
Why not add the Import menu in the "Action" menu.. It seems a right fit to me in the current UI.
It's true that Import not a "Page" level menu item, but since we don't have a general menu at this point it is the best fit.
+1 I agree this is it the choice right now. +1 to do that quickly before 1.8M1 and we can think of reorganizing the menus for 1.8M2 and later. I'd add a horizontal line separator between Delete, Rename, Copy and the new "Import Office Document" Thanks -Vincent
Ludovic
b) Add a new menu named "Import" into the main menu bar. like { | Edit | show | print | import | actions | watch }
Problem: existing menus and their menu items always refer to actions performed on the current document (wiki page) while importing is about importing an office document to a new wiki page.
Possible solution : We can change the office importer slightly so that it overwrites the current wiki page with the imported document.
Any other options ?
Thanks.
- Asiri
Hi,
It's true that Import not a "Page" level menu item, but since we don't
have a general menu at this point it is the best fit.
+1 I agree this is it the choice right now. +1 to do that quickly before 1.8M1 and we can think of reorganizing the menus for 1.8M2 and later.
+1 - Asiri
participants (4)
-
Asiri Rathnayake -
Ludovic Dubost -
Sergiu Dumitriu -
Vincent Massol