Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto open only_db #12158

Closed
rrsach opened this issue Apr 5, 2016 · 9 comments
Closed

Auto open only_db #12158

rrsach opened this issue Apr 5, 2016 · 9 comments
Assignees
Labels
enhancement A feature request for improving phpMyAdmin hacktoberfest has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete newbie
Milestone

Comments

@rrsach
Copy link

rrsach commented Apr 5, 2016

It would be nice, if when only_db is set to only one Database or you just have access to one single database, if you would not have to select it first in the left panel but the tables are automatically displayed. I like to work with the only_db feature and it's a bit annoying to click on the database every time I access the server.

@ibennetch
Copy link
Member

Good idea, thanks for the suggestion.

@ibennetch ibennetch added enhancement A feature request for improving phpMyAdmin newbie labels Apr 5, 2016
@nijel
Copy link
Contributor

nijel commented Apr 6, 2016

See also #12102

@rrsach
Copy link
Author

rrsach commented Apr 6, 2016

This is a similar issue, however just opening it in the navigation panel is less intrusive and could be made the default, because what else would you do anyway in the navigation panel if you just have one database available. However opening a database by default would probably also open it in the main window, which may be undesirable. as you could not edit settings, permissions etc. directly.

@ibennetch
Copy link
Member

I wonder what should happen in the case that only_db is set to a list of databases, though. Should they all be expanded or should this only expand a single database when one is defined and continue with the existing behavior when only_db is set to an array of databases?

@rrsach
Copy link
Author

rrsach commented Apr 11, 2016

I think, that when there are multiple databases this feature should be disabled. As if you only have one database you certainly want to work with that database, if there is more than one, you probably only want to work with just one database.

@sohailrajdev97
Copy link

Is someone working on this ?

@ibennetch
Copy link
Member

No one else seems to be working on it; go ahead!

@Lkopo
Copy link
Contributor

Lkopo commented Oct 2, 2018

Hi, I am gonna try look into this issue and keep you updated.

@williamdes
Copy link
Member

williamdes commented Oct 2, 2018

@Lkopo go ahead :)

@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Oct 8, 2018
MauricioFauth pushed a commit that referenced this issue Oct 31, 2018
* Navigation menu automatically expands database if there is only one record
* Added a new configuration for auto-expanding navigation tree for single database

Signed-off-by: Eduard Karpiel <eduard@karpiel.sk>
@MauricioFauth MauricioFauth self-assigned this Oct 31, 2018
@MauricioFauth MauricioFauth added this to the 5.0.0 milestone Oct 31, 2018
MauricioFauth added a commit that referenced this issue Oct 31, 2018
[CI skip]

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement A feature request for improving phpMyAdmin hacktoberfest has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete newbie
Projects
None yet
Development

No branches or pull requests

7 participants