Skip to content

ui: workspace file filtering #211

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

Closed
tiborsimko opened this issue Jan 6, 2022 · 0 comments · Fixed by reanahub/reana-workflow-controller#427 or #212
Closed

ui: workspace file filtering #211

tiborsimko opened this issue Jan 6, 2022 · 0 comments · Fixed by reanahub/reana-workflow-controller#427 or #212
Assignees

Comments

@tiborsimko
Copy link
Member

Current behaviour

Some workflows can produce many files, e.g. reana-demo-cms-h4l:

$ reana-client ls -w h4l | wc -l
840

The CLI allows filtering only files I am interested in:

$ reana-client ls -w h4l --filter name=results
NAME                                           SIZE    LAST-MODIFIED
results/Higgs4L1file.root                      59770   2021-12-07T01:08:44
results/DoubleMuParked2012C_10000_Higgs.root   54181   2021-12-07T01:08:54
results/scramdone.txt                          0       2021-12-07T01:05:44
results/mass4l_combine_userlvl3.pdf            18141   2021-12-07T01:11:04

The web UI currently does not, and offers 56 paginated pages:

reana-web-ui-h4l

Therefore it may take a lot of time to locate desired file in the web UI if one does not use CLI in thiese kinds of situations.

Expected behaviour

It'll be useful to offer a text box where a user could type part of the file name and the web interface would output only those files that match the input pattern. Similarly to how list of workflows can be filtered:

reana-web-ui-search

Obviously, with an adapted UX design to fit the Workspace page style.

@mvidalgarcia mvidalgarcia self-assigned this Jan 6, 2022
mvidalgarcia added a commit to mvidalgarcia/reana-workflow-controller that referenced this issue Jan 11, 2022
mvidalgarcia added a commit to mvidalgarcia/reana-workflow-controller that referenced this issue Jan 12, 2022
mvidalgarcia added a commit to mvidalgarcia/reana-workflow-controller that referenced this issue Jan 12, 2022
- Typing
- Case insensitive search for better matching

closes reanahub/reana-ui#211
mvidalgarcia added a commit to mvidalgarcia/reana-ui that referenced this issue Jan 12, 2022
- Extract out common `Search` component
- Add search param to workspace endpoint

closes reanahub#211
mvidalgarcia added a commit to mvidalgarcia/reana-ui that referenced this issue Jan 12, 2022
- Extract out common `Search` component
- Add search param to workspace endpoint

closes reanahub#211
mvidalgarcia added a commit to mvidalgarcia/reana-ui that referenced this issue Jan 13, 2022
- Extract out common `Search` component
- Add search param to workspace endpoint

closes reanahub#211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants