Skip to content

Commit

Permalink
Remove the refence to the old FMN on the home page
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
  • Loading branch information
abompard committed Jan 5, 2024
1 parent ee39f18 commit eebb4c8
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions changelog.d/+old-fmn.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove the refence to the old FMN on the home page
1 change: 0 additions & 1 deletion frontend/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
VITE_API_URL=http://fmn.tinystage.test:8000
VITE_OIDC_PROVIDER_URL=https://auth.tinystage.test/idp
VITE_OIDC_CLIENT_ID=fmn-frontend
VITE_OLD_FMN=https://apps.fedoraproject.org/notifications-old
VITE_FAS=https://auth.tinystage.test/noggin
1 change: 0 additions & 1 deletion frontend/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
VITE_API_URL=https://fmn-api.apps.ocp.fedoraproject.org
VITE_OIDC_PROVIDER_URL=https://id.fedoraproject.org
VITE_OIDC_CLIENT_ID=fmn-frontend
VITE_OLD_FMN=https://apps.fedoraproject.org/notifications-old
VITE_FAS=https://accounts.fedoraproject.org
1 change: 0 additions & 1 deletion frontend/.env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
VITE_API_URL=https://fmn-api.apps.ocp.stg.fedoraproject.org
VITE_OIDC_PROVIDER_URL=https://id.stg.fedoraproject.org
VITE_OIDC_CLIENT_ID=fmn-frontend
VITE_OLD_FMN=https://apps.stg.fedoraproject.org/notifications-old
VITE_FAS=https://accounts.stg.fedoraproject.org
15 changes: 1 addition & 14 deletions frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,14 @@ SPDX-License-Identifier: MIT

<script setup lang="ts">
import { useRulesQuery } from "@/api/rules";
import {
CAlert,
CAlertHeading,
CAlertLink,
CSpinner,
} from "@coreui/bootstrap-vue";
import { CAlert, CSpinner } from "@coreui/bootstrap-vue";
import RulesList from "../components/RulesList.vue";
import { useUserStore } from "../stores/user";
const userStore = useUserStore();
// Getting rules
const { isLoading, isError, data, error } = useRulesQuery();
const oldFmn = import.meta.env.VITE_OLD_FMN;
</script>

<template>
Expand All @@ -41,12 +34,6 @@ const oldFmn = import.meta.env.VITE_OLD_FMN;
Centrally managed preferences for Fedora Infrastructure notifications
to your inbox, chat client, and mobile device.
</p>
<CAlert v-if="oldFmn" color="info" class="mt-5">
<CAlertHeading>This is the new FMN!</CAlertHeading>
If you are looking for the previous version of FMN, you'll find it
<CAlertLink :href="oldFmn">here</CAlertLink>. Please migrate your
rules to this new version as soon as you can!
</CAlert>
</div>
</div>
</template>
Expand Down

0 comments on commit eebb4c8

Please sign in to comment.