Commit da394c11 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

News button renamed to Beta + dialog text update

parent 3d7fd8f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ class ConfirmDeleteAppDialog extends Component {
        cydata={DLG_CONFIRM_DELETE_APP}
      >

        <p>Are you sure you want to delete the selected MEC Application instances?</p>
        <p>Are you sure you want to delete the selected MEC Application instance?</p>

      </BasicDialog>
    );
+1 −7
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ class HelpGettingStartedDialog extends Component {
        onSubmit={this.props.onClose}
        submitLabel = {'Ok'}
      >
        <div style={styles.text}>
        <div>
          <Typography use="body1">
            To help getting started, here's a small guide.
          </Typography>
@@ -99,12 +99,6 @@ class HelpGettingStartedDialog extends Component {
  }
}

const styles = {
  text: {
    color: 'black'
  }
};

const mapStateToProps = state => {
  return {
    helpOnSignIn: state.ui.helpOnSignIn
+22 −11
Original line number Diff line number Diff line
@@ -5,6 +5,10 @@
import React, { Component } from 'react';
import BasicDialog from './basic-dialog';
import { Typography } from '@rmwc/typography';
import {
  WIKI_HELP_URL,
  WIKI_DISCUSSION_BOARD_URL
} from '../../app-constants';

class NewsDialog extends Component {
  constructor(props) {
@@ -22,20 +26,25 @@ class NewsDialog extends Component {
      >
        <div style={styles.text}>
          <Typography theme="primary" use="body1">
            <p><b>2021/09/30: v1.5 Release (Beta)</b></p>
            <p><b>October 2021</b></p>
          </Typography>
          <Typography use="body1">
            <p style={styles.paragraph}>
              Support for the following ETSI MEC APIs:
            <p>
              The following APIs are supported as Beta features:
              <ul>
                <li>MEC011 - Edge Platform Application Enablement (v2.1.1)</li>
                <li>MEC021 - Application Mobility Service API (v2.1.1)</li>
              </ul>
              New MEC Sandbox controls:
              <ul>
                <li>Configuration controls to create & delete user MEC Application instance IDs</li>
                <li>MEC Service API controls to enable & disable platform MEC application instances</li>
              </ul>
            </p>
            <p>
              Usage details are available in the <a href={WIKI_HELP_URL} target="_blank">MEC Sandbox Wiki</a><br/>
              Questions & feedback are appreciated on the <a href={WIKI_DISCUSSION_BOARD_URL} target="_blank">Slack Discussion Board</a>
            </p>
            <p>
              Thank you in advance for your collaboration in trying out these new features.
            </p>
            <p style={styles.signature}>
              The MEC Sandbox Team
            </p>
          </Typography>
        </div>
@@ -47,10 +56,12 @@ class NewsDialog extends Component {

const styles = {
  text: {
    color: 'black'
    // color: 'black',
    marginLeft: 10,
    marginRight: 15
  },
  paragraph: {
    marginLeft: 0
  signature: {
    textAlign: 'right'
  }
};

+1 −1
Original line number Diff line number Diff line
@@ -1213,7 +1213,7 @@ class AppContainer extends Component {
          mepNames={this.props.mepList.meps}
        />
        <NewsDialog
          title='MEC Sandbox News'
          title='MEC Sandbox Beta Features'
          open={this.props.currentDialog === DIALOG_NEWS}
          onClose={() => {
            this.closeDialog();
+5 −4
Original line number Diff line number Diff line
@@ -239,12 +239,12 @@ class TopBarContainer extends Component {

                    <Button
                      style={styles.btnNews}
                      outlined
                      raised
                      onClick={() => {
                        this.props.changeCurrentDialog(DIALOG_NEWS);
                      }}
                    >
                      News!
                      Beta
                    </Button>

                  </div>
@@ -326,8 +326,9 @@ const styles = {
  btnNews: {
    margin: 6,
    marginLeft: 16,
    color: '#02488d',
    borderRadius: 10
    // color: 'white',
    fontWeight: 'bold',
    borderRadius: 20
  },
  listBtn: {
    margin: 6,