Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
Bye, Rouslan
Le 2012-07-14 09:00, Rouslan Placella a écrit :
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Hi Rouslan, here, what does Items mean? For example, using your repo, we can dig down to the column level in the navigation panel, so is column an item?
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
They are explained in Documentation.html (however there was a typo that I just fixed) but in short:
- you can have a db or table comment and these may appear as tooltips in the navi panel
- you can reverse the behavior (always show the comment in the navi panel, and the real name as a tooltip)
I'm not sure if there features are popular and I would not cry if they disappeared.
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
Sure.
Bye, Rouslan
Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
On 07/14/2012 02:47 PM, Marc Delisle wrote:
Le 2012-07-14 09:00, Rouslan Placella a écrit :
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Hi Rouslan, here, what does Items mean? For example, using your repo, we can dig down to the column level in the navigation panel, so is column an item?
Correct. The directive is for pagination of branches and all items that are displayed in the navigation, including columns like you said, are be affected.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
They are explained in Documentation.html (however there was a typo that I just fixed) but in short:
- you can have a db or table comment and these may appear as tooltips in
the navi panel
- you can reverse the behavior (always show the comment in the navi
panel, and the real name as a tooltip)
I'm not sure if there features are popular and I would not cry if they disappeared.
The comments are not displayed at all in my branch at the moment, so I'll fix that, but I don't really see the point of swapping the comments with the real name. So think that I'm in favour of dropping the above mentioned directives also.
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
Sure.
Bye, Rouslan
Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
2012/7/14 Rouslan Placella rouslan@placella.com:
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
Makes sense.
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Not sure about this one. I think 'NavigationItemsPerPage' can be useful, but if you have that one, why would you still need to lower the defaults of MaxDbList and MaxTableList? I suppose the smallest config value would get priority. 'MaxNavigationItems' would be a better name for 'NavigationItemsPerPage', it would be more similar to the two other 'Max***List' directives.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
There are also some config parameters that just start with "Left". That said, I think it makes sense to rename them. Also because the left frame is on the right for 'rtl' languages, so 'Navigation' prefix is more generic.
But we have to decide how this transition will go : 1) the 'Left' or 'LeftFrame' prefixes in the config options get renamed to 'Navigation', the old config options names are dropped, and a list is made to be added to the release notes, telling users which options are renamed. 2) the same as 1), but we also add a script to convert the renamed config option names. 3) the same as 1), but we mark the renamed config options as deprecated and allow both config options until the next major release.
I'm in favor of 2)
Kind regards,
Dieter
Le 2012-07-14 09:49, Dieter Adriaenssens a écrit :
2012/7/14 Rouslan Placella rouslan@placella.com:
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
Makes sense.
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Not sure about this one. I think 'NavigationItemsPerPage' can be useful, but if you have that one, why would you still need to lower the defaults of MaxDbList and MaxTableList? I suppose the smallest config value would get priority. 'MaxNavigationItems' would be a better name for 'NavigationItemsPerPage', it would be more similar to the two other 'Max***List' directives.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
There are also some config parameters that just start with "Left". That said, I think it makes sense to rename them. Also because the left frame is on the right for 'rtl' languages, so 'Navigation' prefix is more generic.
But we have to decide how this transition will go :
- the 'Left' or 'LeftFrame' prefixes in the config options get
renamed to 'Navigation', the old config options names are dropped, and a list is made to be added to the release notes, telling users which options are renamed. 2) the same as 1), but we also add a script to convert the renamed config option names. 3) the same as 1), but we mark the renamed config options as deprecated and allow both config options until the next major release.
I'm in favor of 2)
Dieter, do you mean a script that would run at the setup level, or manually, or at the user execution level?
2012/7/14 Marc Delisle marc@infomarc.info:
Le 2012-07-14 09:49, Dieter Adriaenssens a écrit :
2012/7/14 Rouslan Placella rouslan@placella.com:
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
Makes sense.
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Not sure about this one. I think 'NavigationItemsPerPage' can be useful, but if you have that one, why would you still need to lower the defaults of MaxDbList and MaxTableList? I suppose the smallest config value would get priority. 'MaxNavigationItems' would be a better name for 'NavigationItemsPerPage', it would be more similar to the two other 'Max***List' directives.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
There are also some config parameters that just start with "Left". That said, I think it makes sense to rename them. Also because the left frame is on the right for 'rtl' languages, so 'Navigation' prefix is more generic.
But we have to decide how this transition will go :
- the 'Left' or 'LeftFrame' prefixes in the config options get
renamed to 'Navigation', the old config options names are dropped, and a list is made to be added to the release notes, telling users which options are renamed. 2) the same as 1), but we also add a script to convert the renamed config option names. 3) the same as 1), but we mark the renamed config options as deprecated and allow both config options until the next major release.
I'm in favor of 2)
Dieter, do you mean a script that would run at the setup level, or manually, or at the user execution level?
I mean a script that is manually run once when upgrading from 3.5.* to 4.*. The script would replace all renamed config options in the config.inc.php file, using a sed command. (but this will not work on windows, so a different script would be needed for Windows) Or we could include this converter in the 'setup' script, that would work for all host systems. But I don't think most people run the setup when upgrading phpMyAdmin to a newer version.
-- Marc Delisle http://infomarc.info
Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Le 2012-07-14 10:07, Dieter Adriaenssens a écrit :
2012/7/14 Marc Delisle marc@infomarc.info:
Le 2012-07-14 09:49, Dieter Adriaenssens a écrit :
2012/7/14 Rouslan Placella rouslan@placella.com:
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
Makes sense.
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Not sure about this one. I think 'NavigationItemsPerPage' can be useful, but if you have that one, why would you still need to lower the defaults of MaxDbList and MaxTableList? I suppose the smallest config value would get priority. 'MaxNavigationItems' would be a better name for 'NavigationItemsPerPage', it would be more similar to the two other 'Max***List' directives.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
There are also some config parameters that just start with "Left". That said, I think it makes sense to rename them. Also because the left frame is on the right for 'rtl' languages, so 'Navigation' prefix is more generic.
But we have to decide how this transition will go :
- the 'Left' or 'LeftFrame' prefixes in the config options get
renamed to 'Navigation', the old config options names are dropped, and a list is made to be added to the release notes, telling users which options are renamed. 2) the same as 1), but we also add a script to convert the renamed config option names. 3) the same as 1), but we mark the renamed config options as deprecated and allow both config options until the next major release.
I'm in favor of 2)
Dieter, do you mean a script that would run at the setup level, or manually, or at the user execution level?
I mean a script that is manually run once when upgrading from 3.5.* to 4.*. The script would replace all renamed config options in the config.inc.php file, using a sed command. (but this will not work on windows, so a different script would be needed for Windows) Or we could include this converter in the 'setup' script, that would work for all host systems. But I don't think most people run the setup when upgrading phpMyAdmin to a newer version.
We also have to take into account the same directives, saved in User preferences.
I'm not sure it's worth the job for all this, so I'm in favor of your suggestion #1.
On 07/14/2012 03:23 PM, Marc Delisle wrote:
Le 2012-07-14 10:07, Dieter Adriaenssens a écrit :
2012/7/14 Marc Delisle marc@infomarc.info:
Le 2012-07-14 09:49, Dieter Adriaenssens a écrit :
2012/7/14 Rouslan Placella rouslan@placella.com:
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
Makes sense.
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Not sure about this one. I think 'NavigationItemsPerPage' can be useful, but if you have that one, why would you still need to lower the defaults of MaxDbList and MaxTableList? I suppose the smallest config value would get priority. 'MaxNavigationItems' would be a better name for 'NavigationItemsPerPage', it would be more similar to the two other 'Max***List' directives.
I think I got it wrong above, I meant that I would like to leave the existing directives unaffected and set the default value of the new directive MaxNavigationItems to 25.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
There are also some config parameters that just start with "Left". That said, I think it makes sense to rename them. Also because the left frame is on the right for 'rtl' languages, so 'Navigation' prefix is more generic.
Agreed
But we have to decide how this transition will go :
- the 'Left' or 'LeftFrame' prefixes in the config options get
renamed to 'Navigation', the old config options names are dropped, and a list is made to be added to the release notes, telling users which options are renamed. 2) the same as 1), but we also add a script to convert the renamed config option names. 3) the same as 1), but we mark the renamed config options as deprecated and allow both config options until the next major release.
I'm in favor of 2)
Dieter, do you mean a script that would run at the setup level, or manually, or at the user execution level?
I mean a script that is manually run once when upgrading from 3.5.* to 4.*. The script would replace all renamed config options in the config.inc.php file, using a sed command. (but this will not work on windows, so a different script would be needed for Windows) Or we could include this converter in the 'setup' script, that would work for all host systems. But I don't think most people run the setup when upgrading phpMyAdmin to a newer version.
We also have to take into account the same directives, saved in User preferences.
I'm not sure it's worth the job for all this, so I'm in favor of your suggestion #1.
I also vote for #1
2012/7/14 Rouslan Placella rouslan@placella.com:
On 07/14/2012 03:23 PM, Marc Delisle wrote:
Le 2012-07-14 10:07, Dieter Adriaenssens a écrit :
2012/7/14 Marc Delisle marc@infomarc.info:
Le 2012-07-14 09:49, Dieter Adriaenssens a écrit :
2012/7/14 Rouslan Placella rouslan@placella.com:
Hi all,
As I am currently reviewing the configuration directives that are related to the navigation system, I'd like to share what I've done so far and also seek some advice.
So far, I've dropped the following 3 directives, as they won't really make any sense in pma 4: * AllowThirdPartyFraming * LeftFrameLight * DisplayDatabasesList
Makes sense.
However I have a dilemma about some other directives. For example, the old navigation system used the MaxDbList and MaxTableList directives to decide how many items to render on a page. These directives are also used by other code to display lists of dbs and tables in the main frame. Anyway, I'd like to lower the default values for these directives from 100 and 250 respectively to 25. This is because the new navigation system has excellent pagination and filtering capabilities, and therefore I think that it would be better to save some vertical space. That said, I think that it would be better to introduce a new directive that will be only used in the navigation without affecting the display of items in the main frame. For example: $cfg['NavigationItemsPerPage'].
Not sure about this one. I think 'NavigationItemsPerPage' can be useful, but if you have that one, why would you still need to lower the defaults of MaxDbList and MaxTableList? I suppose the smallest config value would get priority. 'MaxNavigationItems' would be a better name for 'NavigationItemsPerPage', it would be more similar to the two other 'Max***List' directives.
I think I got it wrong above, I meant that I would like to leave the existing directives unaffected and set the default value of the new directive MaxNavigationItems to 25.
Sound good.
I also found the following two directives: ShowTooltipAliasDB and ShowTooltipAliasTB. These are currently unused in my branch as I'm not even sure what they do. Could someone please enlighten me on their purpose?
And as a last question: Many configuration directives that relate to the navigation start with "LeftFrame*", but as frames are being dropped is it better to rename them to "Navigation*"?
There are also some config parameters that just start with "Left". That said, I think it makes sense to rename them. Also because the left frame is on the right for 'rtl' languages, so 'Navigation' prefix is more generic.
Agreed
But we have to decide how this transition will go :
- the 'Left' or 'LeftFrame' prefixes in the config options get
renamed to 'Navigation', the old config options names are dropped, and a list is made to be added to the release notes, telling users which options are renamed. 2) the same as 1), but we also add a script to convert the renamed config option names. 3) the same as 1), but we mark the renamed config options as deprecated and allow both config options until the next major release.
I'm in favor of 2)
Dieter, do you mean a script that would run at the setup level, or manually, or at the user execution level?
I mean a script that is manually run once when upgrading from 3.5.* to 4.*. The script would replace all renamed config options in the config.inc.php file, using a sed command. (but this will not work on windows, so a different script would be needed for Windows) Or we could include this converter in the 'setup' script, that would work for all host systems. But I don't think most people run the setup when upgrading phpMyAdmin to a newer version.
We also have to take into account the same directives, saved in User preferences.
I'm not sure it's worth the job for all this, so I'm in favor of your suggestion #1.
I also vote for #1
So that makes :
#1 : 2 #2 : 1 #3 : 0
Any one else with an opinion on this? ;)
But I do agree that having to convert UserPreferences will be some kind of a hassle, for which option #3 is probably needed.
Hi
Dne Sun, 15 Jul 2012 19:41:29 +0200 Dieter Adriaenssens dieter.adriaenssens@gmail.com napsal(a):
So that makes :
#1 : 2 #2 : 1 #3 : 0
Any one else with an opinion on this? ;)
Count me for #1 as well :-).