Skip to content

Commit

Permalink
Explain where the destinations come from
Browse files Browse the repository at this point in the history
Fixes: #892
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
  • Loading branch information
abompard committed Dec 15, 2023
1 parent 73ff7d9 commit 77f4f00
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/892.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Explain where the destinations come from
1 change: 1 addition & 0 deletions frontend/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,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: 1 addition & 0 deletions frontend/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,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: 1 addition & 0 deletions frontend/.env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,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
1 change: 1 addition & 0 deletions frontend/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
VITE_API_URL=https://api.test
VITE_OIDC_PROVIDER_URL=https://ipsilon.test/idp/openidc
VITE_OIDC_CLIENT_ID=testing
VITE_FAS=https://noggin.test
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const getDestinations = async () => {
});
return result;
};
const FAS_URL = `${import.meta.env.VITE_FAS}/user/${
userStore.username
}/settings/profile/`;
</script>

<template>
Expand All @@ -69,6 +72,13 @@ const getDestinations = async () => {
validation="required"
:errors="errors"
:disabled="errors.length > 0"
/>
>
<template #help>
<small class="text-secondary">
The destinations can be configured in the
<a target="_blank" :href="FAS_URL">Fedora Account System</a>.
</small>
</template>
</FormKit>
</div>
</template>

0 comments on commit 77f4f00

Please sign in to comment.