Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Provide filter for jobs list table #302

Closed
fanyangCS opened this issue Feb 5, 2018 · 5 comments
Closed

Provide filter for jobs list table #302

fanyangCS opened this issue Feb 5, 2018 · 5 comments
Assignees
Milestone

Comments

@fanyangCS
Copy link
Contributor

No description provided.

@fanyangCS fanyangCS changed the title list jobs by user list jobs by user name or a string filter Feb 5, 2018
@scarlett2018
Copy link
Member

cleaning old issues, @fanyangCS please help to evaluate whether this is still an issue, thanks.

@fanyangCS fanyangCS added restserver Issue or feature relative to restserver need_triage and removed review needed labels Jul 15, 2018
@squirrelsc
Copy link
Member

As there may be a lot of jobs in job list, a filter is helpful to find interested one. Currently, there is a search box, and can search in any column. But it's not so intuitive, and friendly. It's better to provide some filters, like My jobs, Running, Failed as so on. So that user can get them with one click.

@fanyangCS
Copy link
Contributor Author

#2111

@scarlett2018 scarlett2018 changed the title list jobs by user name or a string filter Provide filter in jobs page Feb 26, 2019
@scarlett2018 scarlett2018 added this to the 0.11.0 milestone Feb 26, 2019
@Gerhut
Copy link
Member

Gerhut commented Mar 4, 2019

Artboards

web 1920 1
web 1920 2
web 1920 3
web 1920 4
web 1920 5
web 1920 6
web 1920 7
web 1920 8
web 1920 9

@scarlett2018 scarlett2018 changed the title Provide filter in jobs page Provide filter for jobs list table Mar 13, 2019
@Gerhut
Copy link
Member

Gerhut commented Mar 22, 2019

Test case:

  1. Job lists rendered fine, could go into details page
  2. Paginator works fine
  3. Filters
    a. All filters works fine
    b. Filtered label displayed in the label, with (+n) when multiple
    c. Change the filters will reset the pagination
    d. Clear filter (cross icon at the right of the filter bar)
  4. Ordered by Name / Date Modified / User / Duration / Vrtual Cluster / Status
  5. "Stop" button
    a. For simple job, right of the row.
    b. For multiple jobs at the top bar.
  6. "New" button, linked to submit job page.
  7. The filter state will persist after browser close and open.
  8. The initial filter:�to recover the initial filter: run window.localStorage.removeItem("pai-job-filter") in console.
    a. If user is admin, default no filtered.
    b. If not, default filtered user's jobs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants