Hi,
On 9 Mei 2011, at 19:04, Marc Delisle marc@infomarc.info wrote:
Ok. Even better would be to move the new code ("add recently used tables...") into a function because we already have too much code in the global scope.
I've wrapped the code in PMA_addRecentTable function.
Try this: in PHP, generate a span with class "hide" and some id, and put in it, the contents of $GLOBALS['cfg']['LeftDefaultTabTable']. Then from jQuery you can fetch this information and use it.
Tried the span and "hide", but there is no defined class "hide" in the theme_left.css.php. So, instead of adding the class "hide", I use <input type="hidden".
Feature documentation in Documentation.html also has been updated.
-- Aris Feryanto
On 10 Mei 2011, at 02:18, Aris Feryanto aris_feryanto@yahoo.com wrote:
Hi,
On 9 Mei 2011, at 19:04, Marc Delisle marc@infomarc.info wrote:
Ok. Even better would be to move the new code ("add recently used tables...") into a function because we already have too much code in the global scope.
I've wrapped the code in PMA_addRecentTable function.
Try this: in PHP, generate a span with class "hide" and some id, and put in it, the contents of $GLOBALS['cfg']['LeftDefaultTabTable']. Then from jQuery you can fetch this information and use it.
Tried the span and "hide", but there is no defined class "hide" in the theme_left.css.php. So, instead of adding the class "hide", I use <input type="hidden".
Feature documentation in Documentation.html also has been updated.
-- Aris Feryanto
For the feature documentation, I left release version in question mark.
What release version should we refer to when writing documentation for new feature? Maybe this will be needed by other GSoC-ers too.
-- Aris Feryanto
Aris Feryanto a écrit :
For the feature documentation, I left release version in question mark.
What release version should we refer to when writing documentation for new feature? Maybe this will be needed by other GSoC-ers too.
Target version is 3.5.0.
Aris Feryanto a écrit :
Hi,
On 9 Mei 2011, at 19:04, Marc Delisle <marc@infomarc.info mailto:marc@infomarc.info> wrote:
Ok. Even better would be to move the new code ("add recently used tables...") into a function because we already have too much code in the global scope.
I've wrapped the code in PMA_addRecentTable function.
Good. I'll have a look at the new code ASAP.
Try this: in PHP, generate a span with class "hide" and some id, and put in it, the contents of $GLOBALS['cfg']['LeftDefaultTabTable']. Then from jQuery you can fetch this information and use it.
Tried the span and "hide", but there is no defined class "hide" in the theme_left.css.php. So, instead of adding the class "hide", I use <input type="hidden".
OK. In the future we might need to add this class there too.
Feature documentation in Documentation.html also has been updated.
-- Aris Feryanto
WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Hi,
I've just got some comments from the feature tracker [0]:
===================================== The only problem I see is that each time I go to a new table, (within the same database) the left column refreshes. Is this to repopulate that list????
If it is, users will get very annoyed with that I fear for 2 reasons:
1. I work on 10Gig + databases, and it's can take a while for left frame to load, so if it tries to reload each time I change a table that will take forever
2. The flashing frame on reload for each table change will just be visually distracting.
Hopefully this is just happening on the Demo site to reloaded multi/users changes,
If it is reloading 'just to change the recent tables drop down', I would suggest either: 1. Try adding 'recent list' in it's own frame, for quick reload 2. Add 'recent table' as a tab (After Tracking tab) that uses a JavaScript hover to display recent tables, therefore it is repopulated on each new page, and the left frame does not need to reload each table change.
=====================================
I'll try to use ajax to refresh the drop-down list. It would be more convenient if users can still interact with the recent list (in case the user wrongly select the recent table), while the main frame is still loading.
Other comments and suggestions are welcome.
[0] https://sourceforge.net/tracker/?func=detail&atid=377411&aid=2098927... -- Aris Feryanto
Aris Feryanto a écrit :
Hi,
I've just got some comments from the feature tracker [0]:
===================================== The only problem I see is that each time I go to a new table, (within the same database) the left column refreshes. Is this to repopulate that list????
(...)
=====================================
I'll try to use ajax to refresh the drop-down list. It would be more convenient if users can still interact with the recent list (in case the user wrongly select the recent table), while the main frame is still loading.
Other comments and suggestions are welcome.
Indeed this is a valid objection to navigation panel reload, and Ajax is promising.
Aris Feryanto a écrit :
Hi,
On 9 Mei 2011, at 19:04, Marc Delisle <marc@infomarc.info mailto:marc@infomarc.info> wrote:
Ok. Even better would be to move the new code ("add recently used tables...") into a function because we already have too much code in the global scope.
I've wrapped the code in PMA_addRecentTable function.
OK.
Try this: in PHP, generate a span with class "hide" and some id, and put in it, the contents of $GLOBALS['cfg']['LeftDefaultTabTable']. Then from jQuery you can fetch this information and use it.
Tried the span and "hide", but there is no defined class "hide" in the theme_left.css.php. So, instead of adding the class "hide", I use <input type="hidden".
OK.
Feature documentation in Documentation.html also has been updated.
Ok. Instead of "Set this to 0 (zero) to disable the recent tables." I suggest "Set this to 0 (zero) to disable the listing of recent tables."
On 10 Mei 2011, at 23:40, Marc Delisle marc@infomarc.info wrote:
Ok. Instead of "Set this to 0 (zero) to disable the recent tables." I suggest "Set this to 0 (zero) to disable the listing of recent tables."
Ok. Changed for the next push.
-- Marc Delisle http://infomarc.info