- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
feat!: add a convenient way to add an openBIS cloud storage #3238
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
feat!: add a convenient way to add an openBIS cloud storage #3238
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR! Can't wait to try it with a working backend :)
I added a couple of comments inline.
| hide?: boolean; | ||
| prefix: string; // ? weird naming; it's the machine readable name | ||
| position?: number; | ||
| convenientMode?: boolean; // ? Disables the advanced mode | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should include this; even if it makes little sense for users to mess with the config directly, they might still want to copy/paste the configuration string to pass it to other users to simplify setting up a working solution. I think we should remove it.
        
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | @olloz26 Sorry for the delay; I'll review this soon. P.S. It would be great if you could resolve the conflicts | 
| @olloz26 any update on this? | 
a6d93d4    to
    5116b0e      
    Compare
  
    | You can access the deployment of this PR at https://renku-ci-ui-3238.dev.renku.ch | 
| Discussed changes: 
 | 
BREAKING CHANGE: requires changes in the renku-data-services and renku-notebooks repositories
5116b0e    to
    101004e      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice changes! I added some inline comments to either optimize the code or remove unnecessary elements.
        
          
                client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/CloudStorageModal.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/dataConnectorsV2/components/DataConnectorModal/DataConnectorModalFooter.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/dataConnectorsV2/components/DataConnectorModal/DataConnectorModalFooter.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice!
Just a final change on rendering React functions as React components instead of pure JavaScript functions (MyComponent() vs <MyComponent />) before merging 👍
        
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                client/src/features/project/components/cloudStorage/AddOrEditCloudStorage.tsx
              
                Outdated
          
            Show resolved
            Hide resolved
        
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The UI side works well. Great to see this feature getting ready for the release 🙌
As discussed, let's merge into a feature branch (I've already changed the base) and keep it there until the backend is ready as well.
P.S. when you merge, please squash all the commits into a single commit -- the text looks good already in the title 👍
2daa452
      into
      
  
    olloz26/openbis-data-connectors
  
    | Tearing down the temporary RenkuLab deplyoment for this PR. | 
/deploy renku-data-services=pitch/connect-renkulab-and-openbis-datasets-resolve-conflicts-2