Skip to content

Commit

Permalink
Clean up About page just a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
cwhitten committed May 14, 2020
1 parent 6153361 commit 05b414f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Composer/packages/client/config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ function getClientEnvironment(publicUrl) {
GIT_SHA: getGitSha()
.toString()
.replace('\n', ''),
SDK_PACKAGE_VERSION: '4.7.0-preview-191208-1', // TODO: change this when Composer supports custom schema/custom runtime
COMPOSER_VERSION: 'Preview 2.0',
SDK_PACKAGE_VERSION: '4.9.0', // TODO: change this when Composer supports custom schema/custom runtime
COMPOSER_VERSION: '0.0.4',
LOCAL_PUBLISH_PATH:
process.env.LOCAL_PUBLISH_PATH || path.resolve(process.cwd(), '../../plugins/localPublish/hostedBots'),
}
Expand Down
16 changes: 2 additions & 14 deletions Composer/packages/client/src/pages/about/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const About: React.FC<RouteComponentProps> = () => {
{formatMessage(`Bot Framework Composer enables teams working to create bots to build all kinds of conversational experiences that use the
latest components from the Bot Framework: SDK, LG, LU, and declarative file formats, all without writing code.`)}
<Link
href={'https://github.com/microsoft/BotFramework-Composer/blob/stable/toc.md'}
href={'https://docs.microsoft.com/en-us/composer/'}
target={'_blank'}
style={{ marginLeft: '5px', textDecoration: 'underline' }}
>
Expand All @@ -36,23 +36,11 @@ export const About: React.FC<RouteComponentProps> = () => {
</p>
</div>
<div css={about.DiagnosticsInfo}>
<div css={about.DiagnosticsInfoText}>
<div css={about.DiagnosticsInfoTextAlignLeft}>{formatMessage(`Application SHA`)}</div>
<div css={about.DiagnosticsInfoTextAlignLeft}>
<Link
href={`https://github.com/microsoft/BotFramework-Composer/commit/${process.env.GIT_SHA}`}
target={'_blank'}
style={{ marginLeft: '5px', textDecoration: 'underline' }}
>
{process.env.GIT_SHA || 'Unknown'}
</Link>
</div>
</div>
<div css={about.DiagnosticsInfoText}>
<div css={about.DiagnosticsInfoTextAlignLeft}>{formatMessage(`SDK runtime packages`)}</div>
<div css={about.DiagnosticsInfoTextAlignLeft}>
<Link
href={`https://botbuilder.myget.org/feed/botbuilder-v4-dotnet-daily/package/nuget/Microsoft.Bot.Builder.Dialogs.Adaptive/${process.env.SDK_PACKAGE_VERSION}`}
href={`https://www.nuget.org/packages/Microsoft.Bot.Builder/${process.env.SDK_PACKAGE_VERSION}`}
target={'_blank'}
style={{ marginLeft: '5px', textDecoration: 'underline' }}
>
Expand Down

0 comments on commit 05b414f

Please sign in to comment.