Skip to content

Commit

Permalink
Merge pull request Ferlab-Ste-Justine#435 from Ferlab-Ste-Justine/fea…
Browse files Browse the repository at this point in the history
…t/SJIP-806/analytics

fix(cavatica): SJIP-758 keep modal open
  • Loading branch information
lflangis authored Apr 18, 2024
2 parents cb13e5d + 59b8163 commit 773a26f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
3 changes: 3 additions & 0 deletions packages/ui/Release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 9.14.1 2024-04-17
- fix: SJIP-758 keep analyse modal open when copying file

### 9.14.0 2024-04-17
- feat: SJIP-758 Add loading state for copy cavatica file

Expand Down
4 changes: 2 additions & 2 deletions packages/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ferlab/ui",
"version": "9.14.0",
"version": "9.14.1",
"description": "Core components for scientific research data portals",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ const CavaticaAnalyse = ({
handleFilesAndFolders={handleFilesAndFolders}
handleSubmit={(value: ICavaticaTreeNode) => {
handleImportBulkData(value);
onResetModal();
}}
onCancel={onResetModal}
open={modalState === ModalState.analyse}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ const CavaticaAnalyseModal = ({
onOk={() => {
if (selectedTreeNode) {
handleSubmit(selectedTreeNode);
setSelectedTreeNode(undefined);
}
}}
title={dictionary?.title}
Expand Down
5 changes: 5 additions & 0 deletions packages/ui/src/components/Widgets/Cavatica/type.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
export enum CavaticaAnalyticsAction {
ANALYSE = 'ANALYSE',
PROJECT_CREATED = 'PROJECT_CREATED',
}

export enum PASSPORT_AUTHENTIFICATION_STATUS {
connected = 'connected',
disconnected = 'disconnected',
Expand Down

0 comments on commit 773a26f

Please sign in to comment.