-
Notifications
You must be signed in to change notification settings - Fork 201
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
Add a flag to search job with appended results #1514
Add a flag to search job with appended results #1514
Conversation
- Introduced a new configuration option `search_jobs.append_results` in cuegui.yaml to control job search behavior. - If `search_jobs.append_results` is set to true, search results will be appended to the current list of monitored jobs. - If `search_jobs.append_results` is set to false, the existing jobs will be cleared before displaying the search results. - Updated Constants.py to include the new configuration parameter. - Modified MonitorJobsPlugin.py to conditionally clear the job monitor based on the config setting.
df42953
to
5933a7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've suggested a new description for the new flag to make it clearer.
cuegui/cuegui/config/cuegui.yaml
Outdated
# A flag for search job with appended results | ||
# true to appended to the current list of monitored jobs, | ||
# false to clear the current job list and show only the new search results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# A flag for search job with appended results | |
# true to appended to the current list of monitored jobs, | |
# false to clear the current job list and show only the new search results | |
# Define whether or not new jobs should be appended to the current list of jobs on the JobMonitor widget | |
# - True: search result will append jobs to the current list of monitored jobs | |
# - False: repopulate the jobs table with the search result |
Done, thanks! |
388255c
into
AcademySoftwareFoundation:master
search_jobs.append_results
in cuegui.yaml to control job search behaviour.search_jobs.append_results
is set to true, search results will be appended to the current list of monitored jobs.search_jobs.append_results
is set to false, the existing jobs will be cleared before displaying the search results.