Open NiklasRosenstein opened 7 years ago
Thanks to @gsantner we can just store the build script in the "overrides" directory (see #41), as well as additional files. A small file editor to upload & edit override files per repository would be nice. As a starter, just being able to edit the build script (or CI file when it is available, see #24) would be enough.
@tvrzna I will not close this issue yet as it describes a superset of your changes. :)
It will be a lot of work :)
There is still a lot of work ahead, but this is little sneak peek. File/Folder operations are unhandled, Upload/Download still missing and whole branch will be rebased after it is finished, but... :) https://github.com/NiklasRosenstein/flux-ci/compare/master...tvrzna:issue/31-overrides-ui
Repo detail
Overrides first visit view
Overrides Create new folder
Overrides Create new file
Overrides File editor
Overrides Folder list
Dude, you're a machine. 👏 Looks great!
Edit: would change to "Edit project" and maybe "fa-clone" icon gives some kind overlay/override association
@gsantner ok, I'll change it when I will continue.
This script would be stored in the database instead of the repository, of course.