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

Fixes #4950: move node quicksearch to top-right of rudder #538

Conversation

fanf
Copy link
Member

@fanf fanf commented Jun 4, 2014

Move the node quicksearch field to top right of Rudder.
Take the occasion to clean the nodeSearch page: now, a node details is always displayed from an ajax call.
Also, that ajax call is ALWAYS triggered from the "on hashchange" event, which is now supported for a long time (IE8, Chrome 5, FF3.6, etc). That simplifies a lot the logic of the page.

The stilling was a little ****** to get right.

* It autocompletes on node hostname or id, and redirect
* to the search node page to display node details.
*/
class QuicksearchNode extends DispatchSnippet with Loggable {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it should read QuickSearchNode (as for the file name)

@ncharles
Copy link
Member

ncharles commented Jun 4, 2014

Francois, it's overall correct, but there are case issue, plus a seemingly unrelated changes

@@ -0,0 +1,104 @@
/*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you rename the file also ?

@ncharles
Copy link
Member

ncharles commented Jun 5, 2014

oh, you'll need to rebase this :/

@ncharles
Copy link
Member

ncharles commented Jun 5, 2014

looks good

ncharles added a commit that referenced this pull request Jun 5, 2014
…op_right_of_rudder

Fixes #4950: move node quicksearch to top-right of rudder
@ncharles ncharles merged commit 3b004b7 into Normation:branches/rudder/2.11 Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants