Skip to content

Commit 34f9078

Browse files
AntonyRafaelgustavosbarreto
authored andcommitted
ui: remove gitter aside chat
Redirect user to github issues template, while the gitter aside chat don't have support to the new version with matrix.
1 parent 43f6777 commit 34f9078

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

ui/src/components/AppBar/AppBar.vue

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,27 @@
88

99
<v-spacer />
1010

11-
<v-btn
11+
<!-- <v-btn
1212
:size="defaultSize"
1313
class="ml-1 mr-1 js-gitter-toggle-chat-button"
1414
color="primary"
1515
aria-label="gitter-help-icon"
1616
icon="mdi-help-circle"
17-
/>
17+
/> -->
18+
<v-tooltip location="bottom" class="text-center">
19+
<template v-slot:activator="{ props }">
20+
<v-btn
21+
v-bind="props"
22+
:size="defaultSize"
23+
class="ml-1 mr-1"
24+
color="primary"
25+
aria-label="community-help-icon"
26+
icon="mdi-help-circle"
27+
@click="openShellhubHelp()"
28+
/>
29+
</template>
30+
<span>Report an issue or make a question for the shellhub team</span>
31+
</v-tooltip>
1832

1933
<Notification data-test="notification-component" />
2034

@@ -141,6 +155,13 @@ export default defineComponent({
141155
store.dispatch("layout/setStatusNavigationDrawer", true);
142156
};
143157
158+
const openShellhubHelp = () => {
159+
window.open(
160+
"https://github.com/shellhub-io/shellhub/issues/new/choose",
161+
"_blank",
162+
);
163+
};
164+
144165
onMounted(async () => {
145166
chat.value = await new GitterSidecar({
146167
room: "shellhub-io/community",
@@ -174,6 +195,7 @@ export default defineComponent({
174195
defaultSize,
175196
toggleDarkMode,
176197
updateDrawer,
198+
openShellhubHelp,
177199
};
178200
},
179201
components: {

0 commit comments

Comments
 (0)