Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#9210 closed defect (fixed)

Plugin admin PostgreSQLConnector

Reported by: Benn Owned by: Remy Blank
Priority: normal Milestone: 0.12.1
Component: admin/web Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Vanish web control(select, "+", and more..) when mouse click "+" of PostgreSQLConnector

Attachments (4)

postgres_backend-before-expansion.png (12.3 KB ) - added by Christian Boos 14 years ago.
admin_plugins.html before expansion
postgres_backend-after-expansion.png (12.5 KB ) - added by Christian Boos 14 years ago.
admin_plugins.html after expansion of a description containing a wiki pre block
t9210-Component-required-flag-r9447.diff (7.5 KB ) - added by Christian Boos 14 years ago.
Plugin admin: the currently selected db connector becomes a required component.
t9210-Component-required-flag-r9447.2.diff (7.4 KB ) - added by Christian Boos 14 years ago.
Plugin admin: the currently selected db connector becomes a required component (take 2: remove spurious required=True in sqlite connector constructor and add an extra clean-up)

Download all attachments as: .zip

Change History (14)

comment:1 by Remy Blank, 14 years ago

Keywords: needinfo added

Could you please describe the issue in more detail, and give us some context? I'm unfortunately unable to understand what and where the problem is, and how to reproduce it.

comment:2 by Benn, 14 years ago

Resolution: invalid
Status: newclosed

I was momentarily under the illusion that it was hidden in frame layer.

comment:3 by Christian Boos, 14 years ago

Resolution: invalid
Status: closedreopened

Well, I think it's a real problem.

The general layout issue we have with the admin panels (#8866) is again at work here.

Before expansion: admin_plugins.html before expansion

After clicking on the [+]: admin_plugins.html after expansion of a description containing a wiki pre block

As the list of trac.* component is long, it's too easy to miss the horizontal scrollbar.

Besides, allowing the currently in use connector component to be deselected makes it really easy to shoot yourself in the foot ;-)

by Christian Boos, 14 years ago

admin_plugins.html before expansion

by Christian Boos, 14 years ago

admin_plugins.html after expansion of a description containing a wiki pre block

by Christian Boos, 14 years ago

Plugin admin: the currently selected db connector becomes a required component.

by Christian Boos, 14 years ago

Plugin admin: the currently selected db connector becomes a required component (take 2: remove spurious required=True in sqlite connector constructor and add an extra clean-up)

comment:4 by Remy Blank, 14 years ago

Keywords: needinfo removed
Milestone: 0.12

Ok, thanks for the explanation. The horizontal scrollbar is a known issue (comment:12:ticket:8866) but we currently don't have a solution for that. The previous behavior was even worse (fixed in comment:7:ticket:8291). I know Christian did a few tests, but I can't find the ticket where he reported the results ATM.

I like the idea of marking required components as you did, and to make the database connector required, so I'll apply that patch shortly. Thanks!

comment:5 by Remy Blank, 14 years ago

Milestone: 0.12

Oops, sorry Christian, I didn't notice you were the author of the comments above :)

So yes, nice patch, please apply. About the layout, I still don't have a better idea.

in reply to:  5 ; comment:6 by Christian Boos, 14 years ago

Milestone: 0.12.1

Replying to rblank:

nice patch, please apply.

r9458

About the layout, I still don't have a better idea.

One step, specific to the problem reported here, would be to have the expand/collapse buttons at the left (using the traditional triangle icons).

in reply to:  6 comment:7 by Remy Blank, 14 years ago

Replying to cboos:

r9458

I'm a bit surprised that you used a try: except: block here. Isn't your style more like:

c = component 
if c in env and not issubclass(c, env.__class__):
    c = component(env)
required = getattr(c, 'required', False)

comment:8 by Christian Boos, 14 years ago

Good point ;-) This try/except survived from an intermediate stage, there's no justification for it anymore. And I didn't even think about the 3 arguments form, which indeed leads to simpler code. Updated in r9459.

comment:9 by Remy Blank, 14 years ago

Owner: set to Remy Blank
Status: reopenednew

in reply to:  6 comment:10 by Remy Blank, 14 years ago

Resolution: fixed
Status: newclosed

Replying to cboos:

One step, specific to the problem reported here, would be to have the expand/collapse buttons at the left (using the traditional triangle icons).

Done in [10018].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.