Skip to content

Commit fd8ff76

Browse files
authored
Merge pull request #1413 from microbiomedata/1412-add-banner-to-production-data-portal-via-vuejs-code-change
Add banner announcing upcoming maintenance events (October 15-16)
2 parents b6574ef + 795798d commit fd8ff76

File tree

7 files changed

+24
-19
lines changed

7 files changed

+24
-19
lines changed

web/src/components/AppBanner.vue

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@
55
icon="mdi-information"
66
class="ma-4"
77
>
8-
<span
8+
<p
99
class="title"
10-
style="line-height: inherit"
1110
>
12-
Announcement:
13-
</span>
14-
During the week of May 13, 2024, the NMDC will be replacing legacy identifiers with
15-
<a href="https://microbiomedata.github.io/nmdc-schema/identifiers/#ids-minted-for-use-within-nmdc">
16-
NMDC persistent identifiers</a> for studies,
17-
samples, analysis workflows, and files. Additionally, annotation will be reprocessed for legacy metagenomes
18-
and metatranscriptomes, along with binning for metagenomes. Legacy metaproteomics datasets will be reprocessed
19-
using the new metagenome annotations. For information on mapping between old and new identifiers, please refer
20-
to
21-
<a href="https://microbiomedata.github.io/nmdc-schema/identifiers/#reuse-vs-minting-new-ids">
22-
this documentation</a>. If you have questions, please contact [email protected].
11+
Upcoming maintenance (October 15-16)
12+
</p>
13+
<p>
14+
On Tuesday, October 15, 2024, from 9 AM to 9 PM PDT, the NMDC Data Portal, Submission Portal, and API will be
15+
unavailable for scheduled software upgrades.
16+
</p>
17+
<p>
18+
On Wednesday, October 16, 2024, from 9 AM to 9 PM PDT, the data download functionality
19+
of the Data Portal will be unavailable for system maintenance. All other features of the Data Portal will remain
20+
available during that time.
21+
</p>
2322
</v-banner>
2423
</template>

web/src/views/IndividualResults/SamplePage.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export default defineComponent({
3636

3737
<template>
3838
<v-main v-if="result.id">
39-
<AppBanner v-if="false" />
39+
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
40+
<AppBanner v-if="true" />
4041
<v-container fluid>
4142
<IndividualTitle :item="result" />
4243
<AttributeList

web/src/views/IndividualResults/StudyPage.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,8 @@ export default defineComponent({
235235
<template>
236236
<v-container fluid>
237237
<v-main v-if="item !== null">
238-
<AppBanner v-if="false" />
238+
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
239+
<AppBanner v-if="true" />
239240
<v-row :class="{'flex-column': $vuetify.breakpoint.xs}">
240241
<v-col
241242
cols="12"

web/src/views/Search/SearchLayout.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@ export default defineComponent({
215215
background-opacity="0"
216216
style="position: fixed; top: 64; z-index: 2;"
217217
/>
218-
<AppBanner v-if="false" />
218+
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
219+
<AppBanner v-if="true" />
219220
<v-container
220221
fluid
221222
class="py-0"

web/src/views/SubmissionPortal/SubmissionView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ export default defineComponent({
5555

5656
<template>
5757
<v-main>
58-
<AppBanner v-if="false" />
58+
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
59+
<AppBanner v-if="true" />
5960
<v-container
6061
v-if="!stateRefs.user.value && !req.loading.value"
6162
>

web/src/views/User/UserDetailPage.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export default defineComponent({
6161

6262
<template>
6363
<v-main>
64-
<AppBanner v-if="false" />
64+
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
65+
<AppBanner v-if="true" />
6566
<v-container>
6667
<div v-if="userLoading">
6768
Loading...

web/src/views/User/UserPage.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ export default defineComponent({
4848

4949
<template>
5050
<v-main>
51-
<AppBanner v-if="false" />
51+
<!-- TODO: Reference a boolean variable defined elsewhere (TBD). -->
52+
<AppBanner v-if="true" />
5253
<v-container>
5354
<v-card flat>
5455
<v-card-title class="text-h4">

0 commit comments

Comments
 (0)