epam / epam/cloud-pipeline

[Versioned Storages] Allow to select which files to commit when saving via GUI

Open
#2,467 0 comments 0 reactions 1 assignee Claimed by @rodichenko View on GitHub
goal/charlie :fish: goal/wombat :mount_fuji: kind/enhancement state/verify sys/vcs
Dominant language
Java
Stars
163
Forks
65
Avg merge
11h 46m
Merged PRs (30d)
29

Description

### Background

Due to #1807, users can access to the Versioned Storage(s) during the run - similarly as to the folder of any mounted storage. And also users can write data to such Versioned Storage(s) exactly from inside the run.
But when user wants to save the changed files to the storage from the run (by creating a new revision) - all changed files will be saved simultaneously. It can be inconvenient, in some cases, users may want to save in a revision only certain files from all changed scope.
We should add the ability to select which files to commit when saving via GUI.

### Approach
1. Add the ability to select manually files in list to commit (saving form) from the run:
- by default, all files should be select
- there should be abilities to clear all selection and vice versa select all files - by separate buttons
- any changed file can be selected/unselected independent on the change type
- if no files are selected - the **Commit** button should be disabled
![image](https://user-images.githubusercontent.com/45459424/149922335-13eee1c0-5fc7-4fc8-8805-fd6c624f69db.png)
2. To the commit (and a new revision), only selected files shall be included. After the commit:
- buttons **Diff** and **Save** in the _VERSIONED STORAGE_ context menu from the run should stay available
- unselected files should remain unsaved and shall appear in the "Commit" pop-up again if user will try to commit data later

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.