Skip to content

Commit

Permalink
refactor: remove banner for redirect rtm (#2202)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertJulio authored Feb 20, 2025
1 parent 835ecb2 commit 30e1436
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
30 changes: 1 addition & 29 deletions src/views/Home/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
import DialogOnboardingScheduling from '@/templates/dialogs-block/dialog-onboarding-scheduling.vue'
import CreateFormBlock from '@/templates/create-form-block'
import { useLayout } from '@/composables/use-layout'
import InlineMessage from 'primevue/inlinemessage'
import { getStaticUrlsByEnvironment } from '@/helpers'
/**@type {import('@/plugins/analytics/AnalyticsTrackerAdapter').AnalyticsTrackerAdapter} */
const tracker = inject('tracker')
Expand Down Expand Up @@ -42,7 +39,7 @@
const router = useRouter()
const route = useRoute()
const dialog = useDialog()
const { accountData, isBannerVisible } = useAccountStore()
const { accountData } = useAccountStore()
const user = accountData
const teams = ref([])
Expand Down Expand Up @@ -116,12 +113,6 @@
}
}
const openRTM = async () => {
const urlEOL = getStaticUrlsByEnvironment('managerEOL')
await tracker.product.clickedTo({ target: 'RTM' }).track()
window.location.href = `${urlEOL}?disableRedirect=true`
}
onMounted(async () => {
teams.value = await props.listTeamsService()
showOnboardingSchedulingDialog()
Expand All @@ -135,25 +126,6 @@
<ContentBlock>
<template #content>
<section class="w-full flex flex-col gap-6 lg:gap-8">
<InlineMessage
v-if="isBannerVisible"
class="p-3 gap-1"
severity="info"
data-testid="message-deprecation"
>
Azion Console is now the primary way to access Azion's platform.
<PrimeButton
label="Real-Time Manager (RTM)"
@click="openRTM"
iconPos="right"
class="p-0"
size="small"
link
/>
will be deprecated soon, and access will only be available for a limited time through this
link.
</InlineMessage>

<div
v-if="showExperimental"
class="w-full p-3 surface-border border rounded-md flex flex-col gap-4 justify-between items-center sm:flex-row sm:p-8 lg:gap-10"
Expand Down
6 changes: 0 additions & 6 deletions vulcan.config.js

This file was deleted.

0 comments on commit 30e1436

Please sign in to comment.