Skip to content

Commit 8930074

Browse files
jamakasegl-pix
authored andcommitted
Add update button (#4809)
1 parent 0ebb913 commit 8930074

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

airbyte-webapp/src/config/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ declare global {
1616
type Config = {
1717
ui: {
1818
helpLink: string;
19+
updateLink: string;
1920
slackLink: string;
2021
docsLink: string;
2122
configurationArchiveLink: string;
@@ -44,6 +45,7 @@ const config: Config = {
4445
ui: {
4546
technicalSupport: `${BASE_DOCS_LINK}/troubleshooting/on-deploying`,
4647
helpLink: "https://airbyte.io/community",
48+
updateLink: "https://docs.airbyte.io/upgrading-airbyte",
4749
slackLink: "https://slack.airbyte.io",
4850
docsLink: "https://docs.airbyte.io",
4951
configurationArchiveLink: `${BASE_DOCS_LINK}/tutorials/upgrading-airbyte`,

airbyte-webapp/src/locales/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"sidebar.slack": "Slack",
1111
"sidebar.connections": "Connections",
1212
"sidebar.settings": "Settings",
13+
"sidebar.update": "Update",
1314

1415
"form.continue": "Continue",
1516
"form.yourEmail": "Your email",

airbyte-webapp/src/views/layout/SideBar/SideBar.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import styled from "styled-components";
33
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
4-
import { faLifeRing, faBook, faCog } from "@fortawesome/free-solid-svg-icons";
4+
import { faRocket, faBook, faCog } from "@fortawesome/free-solid-svg-icons";
55
import { faSlack } from "@fortawesome/free-brands-svg-icons";
66
import { FormattedMessage } from "react-intl";
77
import { NavLink } from "react-router-dom";
@@ -161,19 +161,19 @@ const SideBar: React.FC = () => {
161161
</div>
162162
<Menu>
163163
<li>
164-
<MenuLinkItem href={config.ui.slackLink} target="_blank">
165-
{/*@ts-ignore slack icon fails here*/}
166-
<HelpIcon icon={faSlack} />
164+
<MenuLinkItem href={config.ui.updateLink} target="_blank">
165+
<HelpIcon icon={faRocket} />
167166
<Text>
168-
<FormattedMessage id="sidebar.slack" />
167+
<FormattedMessage id="sidebar.update" />
169168
</Text>
170169
</MenuLinkItem>
171170
</li>
172171
<li>
173-
<MenuLinkItem href={config.ui.helpLink} target="_blank">
174-
<HelpIcon icon={faLifeRing} />
172+
<MenuLinkItem href={config.ui.slackLink} target="_blank">
173+
{/*@ts-ignore slack icon fails here*/}
174+
<HelpIcon icon={faSlack} />
175175
<Text>
176-
<FormattedMessage id="sidebar.help" />
176+
<FormattedMessage id="sidebar.slack" />
177177
</Text>
178178
</MenuLinkItem>
179179
</li>

0 commit comments

Comments
 (0)