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

Filter spoke fixes and improvements #87

Closed
wants to merge 8 commits into from

Conversation

dashea
Copy link
Contributor

@dashea dashea commented Apr 23, 2015

I'd also like to port at least the first 6 to rhel7-branch

This alphabetizes the properties, removes some properties that are equal
to the default value, adds some empty placeholders, and adds the
internal selection child for a tree view.
This makes the combo box usage not dependent on the combo box order and
makes it all look a little less mysterious.
Search by Port / Target / LUN was usually returning an empty list since
the port test was failing to compare a string to an int. Beyond that, do
not return entries with no port when a port is selected, and do not
return iscsi entries when a non-integer LUN is entered.

Add an empty entry to all of the filter combo boxes so that the combo
box criterion can be cleared.

Replace a builder.get_object call with the already gotten object
reference.
Set no_show_all=True, can_focus=False, and show_border=False for each of
the search type notebooks. Set headers_clickable=False on the
otherTreeView.

Replace the stock gtk-find button on the other tab with a regularly
labelled button. Add a translation context to the refresh button.

Set a spacing of 5 in one of the boxes to 6.

Fix the mnemonic_widget for the multipath filter label. Add a
mnemonic_widget to the zFCP filter label.

Remove an extra er from otherIDRenderer.
Two of the vendor columns had the diskMutable column set to yalign,
which was probably doing something pretty weird.
Move the scrolled window on each filter page to be a parent of the
TreeView instead of the parent of the whole page. This way the placement
of the search widgets does not depend on the width of the tree view, and
the TreeView can handle scrolling better without the intermediate
viewport. Replace the grid on each page with nested boxes so that the
various expansion rules make more sense.
Just search as the search parameters change. Use timed_action with a
largeish delay to allow someone to finish typing or set several
parameters at a time before running the search. Don't set busy_cursor
since it doesn't switch back until the animation has done a full
revolution, and the search is usually finished well before then.
@vpodzime
Copy link
Contributor

These all look good to me.

@vpodzime vpodzime added the ACK label Apr 24, 2015
@dashea dashea closed this May 5, 2015
@dashea dashea deleted the filter-spoke branch May 5, 2015 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants