From 1273536f0c08222ed5955ef1e182abe09af231d1 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 1 Sep 2023 16:13:21 -0700 Subject: [PATCH] Add notes to update log --- components/about/UpdatesPage/index.module.scss | 17 ++++++++--------- components/about/UpdatesPage/index.tsx | 17 +++++++++++++++++ public/locales/en/updates.json | 10 ++++++++++ public/locales/ja/updates.json | 10 ++++++++++ 4 files changed, 45 insertions(+), 9 deletions(-) diff --git a/components/about/UpdatesPage/index.module.scss b/components/about/UpdatesPage/index.module.scss index c17bda4b..853daba3 100644 --- a/components/about/UpdatesPage/index.module.scss +++ b/components/about/UpdatesPage/index.module.scss @@ -4,7 +4,6 @@ .version { display: flex; flex-direction: column; - gap: $unit-2x; &.content { .header h3 { @@ -12,6 +11,14 @@ } } + .bugs { + display: flex; + flex-direction: column; + list-style-type: disc; + gap: $unit-half; + padding-left: $unit-2x; + } + .contents { display: flex; flex-direction: column; @@ -121,14 +128,6 @@ margin: 0; } } - - .Bugs { - display: flex; - flex-direction: column; - list-style-type: disc; - gap: $unit-half; - padding-left: $unit-2x; - } } } } diff --git a/components/about/UpdatesPage/index.tsx b/components/about/UpdatesPage/index.tsx index ae902e73..47c606e4 100644 --- a/components/about/UpdatesPage/index.tsx +++ b/components/about/UpdatesPage/index.tsx @@ -52,6 +52,9 @@ const UpdatesPage = () => { '202302U2': { updates: 1, }, + '1.2.1': { + bugs: 5, + }, } function image( @@ -75,6 +78,20 @@ const UpdatesPage = () => { return (

{common('about.segmented_control.updates')}

+
+
+

1.2.1

+ +
+

Bug fixes

+
    + {[...Array(versionUpdates['1.2.1'].bugs)].map((e, i) => ( +
  • + {updates(`versions.1.2.1.bugs.${i}`)} +
  • + ))} +
+