Commit Graph

28 Commits

Author SHA1 Message Date
Andreas Stöckel
ba92642c5b Added full drag-drop support to the egw action system 2011-03-24 17:06:44 +00:00
Andreas Stöckel
bbe645ee02 Added data property to egwAction, fixed bug in popup menu group generation 2011-03-23 20:08:33 +00:00
Andreas Stöckel
0b2168e924 Fixed bug in egwActionObject.selectAll function which caused the internal 'selectedChildren' array to be a reference to the children array and resulted in the children array being destroyed. 2011-03-23 14:36:25 +00:00
Andreas Stöckel
e0d40e649b Moved most code of the JS actionManager class to the action object itself, so that every action object might have child object if the action implementation allows that. Added support for sub-actions for actions representet as popup menus 2011-03-23 14:05:39 +00:00
Andreas Stöckel
afcf96a3cd Added egw_grid_columns class which is capable of managing the grid columns of a certain grid and to store, load and merge the user columns data into the default column set 2011-03-22 14:00:03 +00:00
Andreas Stöckel
0f5a354a12 Removed forgotten debug messages, added support for maximum column width to egw_grid_columns.js 2011-03-21 17:27:09 +00:00
Andreas Stöckel
67575e1cd1 Added move and copy multiple files functions to egw_vfs, implemented functions needed to reload subtrees of the egw_grid, fixed problems with data fetching in egw_grid_data.js 2011-03-21 16:12:28 +00:00
Andreas Stöckel
07daeda81e Fixed bugs in the grid component with resizing not working properly and column width being not in sync with header width. This has been done by using a dynamic stylesheet for the column properties instead of changing the properties for each element individually. 2011-03-18 18:04:56 +00:00
Andreas Stöckel
ebd6031ecf Small design improvements, fixed horz. scrollbar in grid with chrome, ie compatibility, enabled column selection, fixed prefetch code 2011-03-16 17:50:25 +00:00
Andreas Stöckel
fa12444ae7 Moved contents of egw_vfs_utils to egw_vfs, added 'egwGridViewFullRow' class to the egw_grid_view.js, which is capable of inserting a data row which spans all columns, added egwGridData.clearData method to egw_grid_data.js, which delets all data stored in the data row 2011-03-15 17:52:08 +00:00
Andreas Stöckel
e7bd5a4813 Modernized grid design a bit, added auto triggering of the default action to the popup action, added simple action-binding to the egwGrid 2011-03-14 20:11:08 +00:00
Andreas Stöckel
ece9ad4047 Removed test rule from the CSS 2011-03-14 12:45:28 +00:00
Andreas Stöckel
ae453db400 Fixed thumbnail generation for application folders, added egw_stylesheet.js, which allows the dynamic generation of a stylsheet. This is now used in the egw_grid_view.js to keep the row caption in the same distance from the icon - depending on the maximum icon width. 2011-03-14 12:42:59 +00:00
Andreas Stöckel
c77069d0af Reduced thumbnail filesize limit in egw_vfs_utils.inc.php which was increased for testing purposes, fixed bug with container position calculation in deeper levels in egw_grid_view.js, which affected inserting new grid rows 2011-03-14 09:36:59 +00:00
Andreas Stöckel
943f369cce Fixed bugs in the grid view js code (changes in the test_grid_view.html are for debugging purposes only), added class.egw_vfs_utils.inc.php which will contain high-level vfs functionality which was previously hidden inside etemplate and the filemanager, such as generating the thumbnail url for a file. 2011-03-13 20:54:16 +00:00
Andreas Stöckel
49909211f1 Added forgotten egw_grid_columns.js 2011-03-11 10:20:01 +00:00
Andreas Stöckel
57aaf6d756 Dynamic loading of content tested and optimized, resolved bugs, implemented support for data trees in the view classes. The whole progess can be seen in the test/test_grid_view.html file. 2011-03-10 20:58:35 +00:00
Andreas Stöckel
c7122b1006 Basic grid functionality including dynamic generation of grid rows is now working in all browsers
and performs quite well (just some non-objective data):

Lines    | IE 7/8     | FF        |  Chrome
---------------------------------------------
1000     | fast       | very fast | very fast
10000    | ok         | fast      | very fast
100000   | still ok   | ok        | fast

(Performance might still be optimized but this does not really help right now).

The code for dynamic data loading has been written but still has to be tested.

Work which still has to be done to have a fully functional grid view:
- Data columns have to be generated correctly
- Displaying trees has to be tested, but should work more or less out-of-the-box due to the design of
  the grid containers
- Client side manipulation of data (sorting/filtering...) - most functionality is already there but not
  yet used (will be tested alongside with the filemanager)
2011-03-09 22:16:41 +00:00
Andreas Stöckel
dd8a8eab45 Implemented framework for dynamically inserting grid rows into the DOM tree and a very simple test for it 2011-03-07 16:53:43 +00:00
Andreas Stöckel
ae7987264e - Added working egw_grid component including test and documentation, codebase will be used to replace the nextmatchWidget in etemplate2
- Improved egw_action.js:
	- Bugfixing regaring handling of egwActionObjects organized in trees (hasn't been tested before)
	- Improved egwActionObjectInterface interface and functionality: AOIs can now mark themselves as invisible/visible and request the action objects to reconnect the action implementations
	- Action objects do now automatically register the action implementations
	- Vastly improved speed when working with huge amounts (> 500) of objects organized in trees (as done in the grid test)
	- Improved egwActionObject functionality: Added new functions regarding selecting groups of objects
2011-03-02 21:18:20 +00:00
Andreas Stöckel
419c2af704 Added toggleSelectAll functions, improved egw_action_popup, tested, fixed some bugs 2011-02-26 20:40:27 +00:00
Andreas Stöckel
9e38d4e030 Added some forgotten files 2011-02-26 19:21:55 +00:00
Andreas Stöckel
1f751b452a Implemented egw_popup_action, tested, got it working with IE 2011-02-26 18:04:28 +00:00
Andreas Stöckel
49770971ce First test with egwActionObjectInterface for a listbox-like representation of egwActionObjects (test_action.html), fixed bugs in egw_action.js which occured during testing. 2011-02-24 21:39:05 +00:00
Andreas Stöckel
53a041c488 Finished implementation of the abstract egwAction interface - now going to test it 2011-02-24 19:00:47 +00:00
Andreas Stöckel
e416c61890 Backup of current development stage 2011-02-24 16:10:11 +00:00
Andreas Stöckel
1866dd1c43 (Hopefully) fixed broken SVN Id tags 2011-02-23 20:18:56 +00:00
Andreas Stöckel
e2c9cd49cc Initial commit of the current JS implementation of the egw_action system, which will later be used to create context sensitive menus and drag and drop capabilities. The egw_menu.js/egw_menu_dhtml.js files are fully functional (see test in the test dir), implementation of egw_action.js has just started and not even a single line of that has been tested yet. 2011-02-23 18:24:16 +00:00