Skip to content

Task Search UI - #890

Merged
ssalinas merged 97 commits into
task_searchfrom
search-tasks-react
Mar 14, 2016
Merged

Task Search UI#890
ssalinas merged 97 commits into
task_searchfrom
search-tasks-react

Conversation

@Calvinp

@Calvinp Calvinp commented Feb 9, 2016

Copy link
Copy Markdown
Contributor

This Implements the UI for the new global and request task search APIs.
It is written in React, which has only been used for one other Singularity component (the aggregate log tailer).
It allows viewing up to 50 tasks per page, clearing search parameters, modifying search order, paging through search options, and returning to request.
It also includes some components, in a 'common' folder, that may be useful for others using react later on.

Calvin Pomerantz added 29 commits January 28, 2016 12:54
…e that maybe should be held by the TaskSearch page instead
…k to the form page. Yay! Also some code organizational changes.
…k to the form page. Yay! Also some code organizational changes. And added files that weren't in the previous commit by accident
…change parameters, ability to jump to page
base += 'page=' + @page
anyParams = true
return '' if not anyParams
return base

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can build the params a bit cleaner here. Probably easier to build up an array of params (i.e. if @Attribute then add to array), then return paramsArray.join('&')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

an even better solution would be to build an Object of all the query params to set, and then use $.param() to convert the object into a legit query string

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

TIL... thanks @tpetr 😃

@ssalinas ssalinas added the hs_qa label Feb 26, 2016
ssalinas added a commit that referenced this pull request Mar 14, 2016
@ssalinas
ssalinas merged commit 31ca810 into task_search Mar 14, 2016
@ssalinas
ssalinas deleted the search-tasks-react branch March 14, 2016 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants