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

Improvements to Task Search #1165

Merged
merged 4 commits into from Jul 26, 2016

Conversation

Projects
None yet
4 participants
@Calvinp
Contributor

Calvinp commented Jul 21, 2016

Makes the following improvements to Task Search:

  • Changes the URL from /taskSearch to /task-search to be more in line with URLs in the rest of the UI.
  • Changes the header from (Global) Historical Tasks to Task Search.
  • Adds labels for the current search parameters so that it's possible to see current search terms (even if the fields have changed).
  • Removes the JSON button.
  • Changes the log button to be a file glyphicon rather than .... This is also changed in the Task History table in the request detail page.
  • Fixes a bug that caused the table to not update when a new search is performed that returns 0 results.
  • Preemptively fixes the bug that occurred in the deployDetail page - contributed to by making api calls in componentWillMount().
@Calvinp

This comment has been minimized.

Show comment
Hide comment
@Calvinp

Calvinp Jul 25, 2016

Contributor

Did it again... Forgot to cc @tpetr @kwm4385 @wolfd

Contributor

Calvinp commented Jul 25, 2016

Did it again... Forgot to cc @tpetr @kwm4385 @wolfd

Show outdated Hide outdated SingularityUI/app/components/taskSearch/TaskSearch.jsx
let firstLoad = true;
function refresh(props) {
if (!firstLoad) {

This comment has been minimized.

@kwm4385

kwm4385 Jul 26, 2016

Contributor

If you only want refresh called when the page is first loaded and not again in an interval, just set the optional refreshInterval bool in rootComponent to false. RequestDetail does this https://github.com/HubSpot/Singularity/blob/decaf/SingularityUI/app/components/requestDetail/RequestDetailPage.jsx#L103

@kwm4385

kwm4385 Jul 26, 2016

Contributor

If you only want refresh called when the page is first loaded and not again in an interval, just set the optional refreshInterval bool in rootComponent to false. RequestDetail does this https://github.com/HubSpot/Singularity/blob/decaf/SingularityUI/app/components/requestDetail/RequestDetailPage.jsx#L103

@kwm4385

This comment has been minimized.

Show comment
Hide comment
@kwm4385

kwm4385 Jul 26, 2016

Contributor

LGTM

Contributor

kwm4385 commented Jul 26, 2016

LGTM

@wolfd

This comment has been minimized.

Show comment
Hide comment
@wolfd

wolfd Jul 26, 2016

Contributor

LGTM

Contributor

wolfd commented Jul 26, 2016

LGTM

@Calvinp Calvinp merged commit 2256348 into decaf Jul 26, 2016

0 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/travis-ci/push The Travis CI build could not complete due to an error
Details

@Calvinp Calvinp deleted the task_search_improvements_round_2 branch Jul 26, 2016

@ssalinas ssalinas modified the milestones: 0.11.0, 0.10.0 Aug 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment