Skip to content

Commit

Permalink
[ALS-5305] Add a alert for windows instances with studies
Browse files Browse the repository at this point in the history
  • Loading branch information
srpiatt authored Nov 14, 2023
1 parent 8419cee commit 237c435
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import { decorate, computed, action, runInAction, observable } from 'mobx';
import { observer, inject } from 'mobx-react';
import { withRouter } from 'react-router-dom';
import { Button, Table, List, Label } from 'semantic-ui-react';
import { Button, Table, List, Label, Message } from 'semantic-ui-react';

import { displayError } from '@aws-ee/base-ui/dist/helpers/notification';

Expand Down Expand Up @@ -178,11 +178,18 @@ class ScEnvironmentRdpConnectionRow extends React.Component {
const showPassword = this.showPassword;
const connectionId = this.connectionId;
const moreThanOne = _.size(interfaces) > 1;
const studies = this.environment?.studyIds || [];

return (
<>
<Table.Row key={`${item.id}__2`}>
<Table.Cell className="p3">
{studies.length > 0 && <Message warning>
<Message.Header>Study Syncing</Message.Header>
<p>Study sub-folders are located in the D drive of your Windows workspace and will begin syncing upon
system login. Please allow some time for this process to download all files. Please also allow for some
time before stopping your workspace to ensure any newly saved study data is synced to S3 properly.</p>
</Message>}
<b>
Your Windows workspace can be accessed via an RDP client by using the DNS host name and credentials
defined below.
Expand Down

0 comments on commit 237c435

Please sign in to comment.