Little poll : what about setting "Structure" as default tab when displaying db_details or tbl_properties on the first time? I guess the people using PMA are not using the SQL tab very often... :) (and I have always having to click on structure every time :)
Olivier
On Sun, 23 Jun 2002, Olivier M. wrote:
Little poll : what about setting "Structure" as default tab when displaying db_details or tbl_properties on the first time? I guess the people using PMA are not using the SQL tab very often... :) (and I have always having to click on structure every time :)
It's about 50/50 for me. Rather than hardcoding it, could we perhaps make it a configuration variable?
As: $cfg['DefaultTab']['Table'] $cfg['DefaultTab']['Database']
I'd set the Database one to Structure by default, and the Table one to SQL.
Some other notes about Tabs: Of the table tabs, Empty should be next to Drop, and Red as well. Of the database tabs, Query-By-Example seems a very long title, maybe we shorten it to 'QBE', or change it somehow to make it all go on one line. The QBE page also doesn't have the tabs at the top like the other db pages
On Sat, Jun 22, 2002 at 03:24:24PM -0700, Robin Johnson wrote:
On Sun, 23 Jun 2002, Olivier M. wrote:
Little poll : what about setting "Structure" as default tab when displaying db_details or tbl_properties on the first time? I guess the people using PMA are not using the SQL tab very often... :) (and I have always having to click on structure every time :)
It's about 50/50 for me.
sure, but you're more than a "basic" user... :)
Rather than hardcoding it, could we perhaps make it a configuration variable?
yes, would be nice.
Some other notes about Tabs: Of the table tabs, Empty should be next to Drop, and Red as well. Of the database tabs, Query-By-Example seems a very long title, maybe we shorten it to 'QBE', or change it somehow to make it all go on one line.
why not 'Query' ? or QBE, yes...
The QBE page also doesn't have the tabs at the top like the other db pages
looks like a bug which should be fixed for rc2.
Will try to fix some of the things right now... 'till later, Olivier
[ auto-answer :) ]
On Sun, Jun 23, 2002 at 12:59:07AM +0200, Olivier M. wrote:
Rather than hardcoding it, could we perhaps make it a configuration variable?
yes, would be nice.
so, I wanted to do that tonight, but I saw it would take a bit more work than I first imagined: the default tab is actually hard coded in index.php and left.php. So it would require 2 arrays like 'SQL' -> 'db_details.php3' 'Structure' -> 'db_details_structure.php3', ... etc. ... somewhere, with some checks if the parameters are valid (and display a default tab if it not the case), and documentation: too much for me that night (must work tomorrow :/).
Some other notes about Tabs: Of the table tabs, Empty should be next to Drop, and Red as well.
done.
Of the database tabs, Query-By-Example seems a very long title, maybe we shorten it to 'QBE', or change it somehow to make it all go on one line.
done (for french and english).
The QBE page also doesn't have the tabs at the top like the other db pages
looks like a bug which should be fixed for rc2.
also something a bit more difficult than a 2-minutes work :)
Displaying the tabs while browsing would maybe also be nice? (in sql.php) would look more consistant...
regards & good nite, Olivier
On Wed, Jun 26, 2002 at 02:04:36PM -0400, Marc Delisle wrote:
Displaying the tabs while browsing would maybe also be nice? (in sql.php) would look more consistant...
Done (I hope I did not break anything :)
yep, looks good, thanks :-) so now the only place without menu-bar is the QBE page, and the Insert page.
BTW, I implemented some counters directely on the http://www.phpmyadmin.net/ page: it's interesing to see "live" which version are downloaded. I'll add 2 scripts to reset the counters later. (hey, 1.1 Million downloads in 10 months... :)
Bonne soirée, Olivier
Olivier M. wrote:
On Wed, Jun 26, 2002 at 02:04:36PM -0400, Marc Delisle wrote:
Displaying the tabs while browsing would maybe also be nice? (in sql.php) would look more consistant...
Done (I hope I did not break anything :)
yep, looks good, thanks :-) so now the only place without menu-bar is the QBE page, and the Insert page.
QBE page is problematic, because you usually use more than one table in such a query, and the links are planned only for one table (browse link only active if the table has records, etc).
I added a comment in sql.php3 because it extracts the first table name from the query, which is not right on a multi-table query. The new parser will give us more possibilities, however in this case I wonder what kind of links we should display.
For Insert, I will try to do it.
----- Original Message ----- From: "Marc Delisle" Delislma@CollegeSherbrooke.qc.ca
I added a comment in sql.php3 because it extracts the first table name from the query, which is not right on a multi-table query. The new parser will give us more possibilities, however in this case I wonder what kind of links we should display.
If only one table is affected => display links of this table If more or no tables are affected => display links of the db
btw, table-independant queries, like SELECT VERSION(); don't seem to work anymore! Could you check this?
Alexander
Rabus wrote:
----- Original Message -----
btw, table-independant queries, like SELECT VERSION(); don't seem to work anymore! Could you check this?
Confirmed! and it was working in 2.3.0-rc1. I will try to see if I am the one who broke it :)
Marc Delisle wrote:
Rabus wrote:
----- Original Message -----
btw, table-independant queries, like SELECT VERSION(); don't seem to work anymore! Could you check this?
Confirmed! and it was working in 2.3.0-rc1. I will try to see if I am the one who broke it :)
I broke it :)
I added a call to tbl_properties_common from sql.php3 and tbl_properties_common goes to db_detail if $table is empty. Let's think about the problem...
Marc Delisle wrote:
Marc Delisle wrote:
Rabus wrote:
btw, table-independant queries, like SELECT VERSION(); don't seem to work anymore! Could you check this?
Confirmed! and it was working in 2.3.0-rc1. I will try to see if I am the one who broke it :)
I broke it :)
I added a call to tbl_properties_common from sql.php3 and tbl_properties_common goes to db_detail if $table is empty. Let's think about the problem...
Should be fixed now.
Marc
Olivier M. wrote:
BTW, I implemented some counters directely on the http://www.phpmyadmin.net/ page: it's interesing to see "live" which version are downloaded. I'll add 2 scripts to reset the counters later. (hey, 1.1 Million downloads in 10 months... :)
Olivier, we really need the big total counter on the main page :)
On Wed, Jun 26, 2002 at 02:39:35PM -0400, Marc Delisle wrote:
Olivier M. wrote:
to reset the counters later. (hey, 1.1 Million downloads in 10 months... :)
Olivier, we really need the big total counter on the main page :)
comme ca? :-) Olivier
Olivier M. wrote:
On Wed, Jun 26, 2002 at 02:39:35PM -0400, Marc Delisle wrote:
Olivier M. wrote:
to reset the counters later. (hey, 1.1 Million downloads in 10 months... :)
Olivier, we really need the big total counter on the main page :)
comme ca? :-) Olivier
Exactely :)
Olivier M. wrote:
BTW, I implemented some counters directely on the http://www.phpmyadmin.net/ page: it's interesing to see "live" which version are downloaded. I'll add 2 scripts to reset the counters later. (hey, 1.1 Million downloads in 10 months... :)
Ok, those are counters of downloads only from phpmyadmin.net. The total counters from sourceforge are more spectacular:
phpMyAdmin-2.3.0-rc1-php.tar.bz 1290 phpMyAdmin-2.3.0-rc1-php.tar.gz 5136 phpMyAdmin-2.3.0-rc1-php.zip 10092 phpMyAdmin-2.3.0-rc1-php3.tar.bz2 136 phpMyAdmin-2.3.0-rc1-php3.tar.gz 515 phpMyAdmin-2.3.0-rc1-php3.zip 1500
On Wed, Jun 26, 2002 at 02:45:42PM -0400, Marc Delisle wrote:
Ok, those are counters of downloads only from phpmyadmin.net. The total counters from sourceforge are more spectacular:
sure, the one of the homepage are running since about 2-3 hours only ... :)
Olivier
I didnt want the structure tab as default coz im having a table with a lot of fields and it always takes a lot of time before the whole table struc is being displayed ...
i would even vote vor a bigger sql editbox maybe maybe as large as the screen allows on 800x600 or even higher !?!?
thomas
At 00:07 23.06.2002 +0200, you wrote:
Little poll : what about setting "Structure" as default tab when displaying db_details or tbl_properties on the first time? I guess the people using PMA are not using the SQL tab very often... :) (and I have always having to click on structure every time :)
Olivier
Olivier Mueller - om@8304.ch - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch
Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
On Tue, Jun 25, 2002 at 03:44:39PM +0200, "Thomas Bähr [Office]" wrote:
I didnt want the structure tab as default coz im having a table with a lot of fields and it always takes a lot of time before the whole table struc is being displayed ...
ok, this is a good argument :) default tab will come in the config file as soon as I or somebody else finds time to implement it (at least before 2.3 release I hope)
i would even vote vor a bigger sql editbox maybe maybe as large as the screen allows on 800x600 or even higher !?!?
wouldn't hurt... but isn't that already in the config file?
greetings, Olivier