Skip to content

Enhance filtering in Analysis tab #2154

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChrisPaulBennett
Copy link
Contributor

In some feedback from users. They would like a more powerful filtering mechanism.
This change allows for multiple terms to be filtered for. The Analysis view will display all jobs that match any of the terms. Terms are separated by a space. A tool tip has been added to the filtering box to help inform users this can be done
Unit tests do not need to be updated

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • [x ] Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • Changelog entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

Comment on lines +33 to +41
<v-text-field
id="c-analysis-filter-task-name"
clearable
placeholder="Filter by task name"
v-model.trim="tasksFilter.name"
ref="filterNameInput"
:disabled="chartType === 'timeSeries'"
v-bind="props"
/>
Copy link
Member

Choose a reason for hiding this comment

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

We should be able to make the space separated bit a little more intuitive.

Check out the Vuetify Combobox component, it has a multiple option that allows multiple values to be specified (note you don't have to pre-populate suggestions to a combox). It can place each item in a "chip" and allow each item to be individually clearable. It should also take care of the /\s/ stuff.

@oliver-sanders oliver-sanders added this to the 2.8.0 milestone May 6, 2025
@oliver-sanders oliver-sanders added small data workflows team Work pertaining to the analysis/gantt/etc views labels May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data workflows team Work pertaining to the analysis/gantt/etc views small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants