From ceb724cfc695c7678ad3ee5c889164e6dc56360e Mon Sep 17 00:00:00 2001 From: Frikky Date: Fri, 20 Dec 2024 17:26:41 +0200 Subject: [PATCH] Cloud synced --- frontend/src/components/CacheView.jsx | 4 +- frontend/src/components/Files.jsx | 54 ++++++----- frontend/src/components/LicencePopup.jsx | 13 ++- frontend/src/components/NewHeader.jsx | 44 ++++++++- frontend/src/views/AngularWorkflow.jsx | 87 ++++++++++-------- frontend/src/views/Apps2.jsx | 69 ++++++++++---- frontend/src/views/Workflows2.jsx | 110 ++++++++++++++++++----- 7 files changed, 272 insertions(+), 109 deletions(-) diff --git a/frontend/src/components/CacheView.jsx b/frontend/src/components/CacheView.jsx index 636509eb..7929a7ab 100644 --- a/frontend/src/components/CacheView.jsx +++ b/frontend/src/components/CacheView.jsx @@ -303,7 +303,7 @@ const CacheView = memo((props) => { Key { { Repository URL (supported: github, gitlab, bitbucket) { Branch (default value is "main"): { Folder (can use / for subfolders): {
{ fullWidth /> { {fileDownloadModal}
-

Files

+

Files

Files from Workflows are a way to store as well as edit files.{" "} { style={{ marginTop: 20, marginBottom: 20, - backgroundColor: theme.palette.inputColor, + backgroundColor: theme.palette.textFieldStyle.backgroundColor, }} />}
{ export default memo(Files); -const DownloadFileIcon = memo(({ setLoadFileModalOpen, isSelectedFiles, }) => { - - const { leftSideBarOpenByClick } = useContext(Context) - - return( - - setLoadFileModalOpen(true)} - > - - +const DownloadFileIcon = memo(({ setLoadFileModalOpen, isSelectedFiles }) => { + + return ( + + setLoadFileModalOpen(true)} + sx={{ + position: "absolute", + right: 0, + top: isSelectedFiles ? null : 0, + left: isSelectedFiles + ? "93%" + : null, + transition: "left 0.3s ease", + width: 48, + height: 48, + borderRadius: "50%", + }} + > + + - ) -}) + ); +}); diff --git a/frontend/src/components/LicencePopup.jsx b/frontend/src/components/LicencePopup.jsx index 5812cc09..b8d009a3 100644 --- a/frontend/src/components/LicencePopup.jsx +++ b/frontend/src/components/LicencePopup.jsx @@ -93,7 +93,7 @@ const LicencePopup = (props) => { const paperStyle = { padding: 20, borderRadius: theme.palette?.borderRadius, - height: "100%", + height: "100%" } billingInfo.subscription = { @@ -596,7 +596,8 @@ const LicencePopup = (props) => {
: null}
- + ) : null}