vorta icon indicating copy to clipboard operation
vorta copied to clipboard

A file dialog for selecting `pre-backup` and `post-backup` scripts in the Schedule/Shell Commands section

Open SAMAD101 opened this issue 1 year ago • 4 comments
trafficstars

The problem

It's not very comfortable in the case of longer scripts.

Requested Solution

Addition of file selection dialog for selecting the shell script which could copy its contents to the pre_backup_cmd or post_backup_cmd Screenshot_20240225_155022-1 Like a button to do it at around the circled area.

Alternatives

One can write the shell in a text editor and copy the whole file in there as a work around. But having a little file selector to do that sounds like a basic feature to have.

SAMAD101 avatar Feb 25 '24 10:02 SAMAD101

Hi @SAMAD101 is this how you want the UI to look? Screenshot from 2024-02-28 14-14-00

shivansh02 avatar Feb 28 '24 08:02 shivansh02

@shivansh02 That looks decent, but ig a file/folder icon would suit better

SAMAD101 avatar Feb 28 '24 12:02 SAMAD101

Or a button to open a larger editing window/modal with mono-width font?

m3nu avatar Feb 28 '24 17:02 m3nu

Or a button to open a larger editing window/modal with mono-width font?

Sounds like an idea. But maybe it's an overkill for a simple feature (maybe I'm just imaging it).

I've made a PR, please check and see how that look.

SAMAD101 avatar Feb 28 '24 18:02 SAMAD101

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 30 '24 02:05 github-actions[bot]