Skip to content

Commit

Permalink
Update version number, add version changelog (to be updated with the …
Browse files Browse the repository at this point in the history
…changes that will be included in this update)
  • Loading branch information
downiec committed Jan 8, 2025
1 parent ee28ed0 commit 0eebd81
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "1.2.1",
"version": "1.2.2",
"private": true,
"scripts": {
"build:local": "env-cmd -f .envs/.react react-scripts build",
Expand Down
3 changes: 3 additions & 0 deletions frontend/public/changelog/v1.2.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Summary

1. Minor bugfixes.
2 changes: 1 addition & 1 deletion frontend/public/messages/metagrid_messages.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Welcome to the Metagrid Release v1.2.0
# Welcome to the Metagrid Release v1.2.x

To view the latest documentation and FAQ, please visit this page:
[https://esgf.github.io/esgf-user-support/metagrid.html](https://esgf.github.io/esgf-user-support/metagrid.html)
Expand Down
12 changes: 11 additions & 1 deletion frontend/src/components/Messaging/messageDisplayData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export const rightDrawerMessages: MarkdownMessage[] = [
];

export const rightDrawerChanges: MarkdownMessage[] = [
{ title: 'V1.2.2', fileName: 'changelog/v1.2.2.md' },
{ title: 'V1.2.1', fileName: 'changelog/v1.2.1.md' },
{ title: 'V1.2.0', fileName: 'changelog/v1.2.0.md' },
{ title: 'V1.1.3-pre', fileName: 'changelog/v1.1.3-pre.md' },
Expand All @@ -17,9 +18,18 @@ export const rightDrawerChanges: MarkdownMessage[] = [
];

const startupMessages: StartPopupData = {
messageToShow: 'v1.2.1', // This is the version number that appears in the footer
messageToShow: 'v1.2.2', // This is the version number that appears in the footer
defaultMessageId: 'welcome',
messageData: [
{
messageId: 'v1.2.2',
template: MessageTemplates.ChangeLog,
style: { minWidth: '700px' },
data: {
changesFile: 'changelog/v1.2.2.md',
version: '1.2.2',
},
},
{
messageId: 'v1.2.1',
template: MessageTemplates.ChangeLog,
Expand Down

0 comments on commit 0eebd81

Please sign in to comment.