Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

調査協力のお願いの画面を追加 #1160

Merged
1 commit merged into from
Sep 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Covid19Radar/Covid19Radar/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ protected override void RegisterTypes(IContainerRegistry containerRegistry)
containerRegistry.RegisterForNavigation<EndOfServicePage>();
containerRegistry.RegisterForNavigation<TerminationOfUsePage>();
containerRegistry.RegisterForNavigation<TerminationOfUseCompletePage>();
containerRegistry.RegisterForNavigation<SurveyRequestPage>();
}

private static void RegisterCommonTypes(IContainer container)
Expand Down
99 changes: 99 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1565,4 +1565,49 @@ COCOAのソースコードは次のURLから入手できます。</comment>
<value>利用終了手続きへ</value>
<comment>利用終了手続きへ</comment>
</data>

<data name="SurveyRequestPageTitle" xml:space="preserve">
<value>調査協力のお願い</value>
<comment>調査協力のお願い</comment>
</data>
<data name="SurveyRequestPageRequestCooperationTitle" xml:space="preserve">
<value>COCOA利用調査協力のお願い</value>
<comment>COCOA利用調査協力のお願い</comment>
</data>
<data name="SurveyRequestPageRequestCooperationDescription1" xml:space="preserve">
<value>接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。</value>
<comment>接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。</comment>
</data>
<data name="SurveyRequestPagePurposeTitle" xml:space="preserve">
<value>調査目的</value>
<comment>調査目的</comment>
</data>
<data name="SurveyRequestPagePurposeDescription1" xml:space="preserve">
<value>~~~~~~~~~~~~~~</value>
<comment>~~~~~~~~~~~~~~</comment>
</data>
<data name="SurveyRequestPageBulletedList1" xml:space="preserve">
<value>・送信される情報は全て匿名です。</value>
<comment>・送信される情報は全て匿名です。</comment>
</data>
<data name="SurveyRequestPageBulletedList2" xml:space="preserve">
<value>・送信内容に、個人を特定可能な情報を含みません。</value>
<comment>・送信内容に、個人を特定可能な情報を含みません。</comment>
</data>
<data name="SurveyRequestPageBulletedList3" xml:space="preserve">
<value>・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。</value>
<comment>・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。</comment>
</data>
<data name="SurveyRequestPageBulletedList4" xml:space="preserve">
<value>・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。</value>
<comment>・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。</comment>
</data>
<data name="SurveyRequestPageToAnswerButton" xml:space="preserve">
<value>回答画面へ</value>
<comment>回答画面へ</comment>
</data>
<data name="SurveyRequestPageSkipAnswerButton" xml:space="preserve">
<value>調査協力をスキップする</value>
<comment>調査協力をスキップする</comment>
</data>
</root>
45 changes: 45 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1671,4 +1671,49 @@ By collecting the number of notifications, we can use it to understand how many
<value>TODO</value>
<comment>利用終了手続きへ</comment>
</data>

<data name="SurveyRequestPageTitle" xml:space="preserve">
<value>TODO</value>
<comment>調査協力のお願い</comment>
</data>
<data name="SurveyRequestPageRequestCooperationTitle" xml:space="preserve">
<value>TODO</value>
<comment>COCOA利用調査協力のお願い</comment>
</data>
<data name="SurveyRequestPageRequestCooperationDescription1" xml:space="preserve">
<value>TODO</value>
<comment>接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。</comment>
</data>
<data name="SurveyRequestPagePurposeTitle" xml:space="preserve">
<value>TODO</value>
<comment>調査目的</comment>
</data>
<data name="SurveyRequestPagePurposeDescription1" xml:space="preserve">
<value>TODO</value>
<comment>~~~~~~~~~~~~~~</comment>
</data>
<data name="SurveyRequestPageBulletedList1" xml:space="preserve">
<value>TODO</value>
<comment>・送信される情報は全て匿名です。</comment>
</data>
<data name="SurveyRequestPageBulletedList2" xml:space="preserve">
<value>TODO</value>
<comment>・送信内容に、個人を特定可能な情報を含みません。</comment>
</data>
<data name="SurveyRequestPageBulletedList3" xml:space="preserve">
<value>TODO</value>
<comment>・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。</comment>
</data>
<data name="SurveyRequestPageBulletedList4" xml:space="preserve">
<value>TODO</value>
<comment>・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。</comment>
</data>
<data name="SurveyRequestPageToAnswerButton" xml:space="preserve">
<value>TODO</value>
<comment>回答画面へ</comment>
</data>
<data name="SurveyRequestPageSkipAnswerButton" xml:space="preserve">
<value>TODO</value>
<comment>調査協力をスキップする</comment>
</data>
</root>
45 changes: 45 additions & 0 deletions Covid19Radar/Covid19Radar/Resources/AppResources.zh-Hans.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1568,4 +1568,49 @@ COCOAのソースコードは次のURLから入手できます。</comment>
<value>TODO</value>
<comment>利用終了手続きへ</comment>
</data>

<data name="SurveyRequestPageTitle" xml:space="preserve">
<value>TODO</value>
<comment>調査協力のお願い</comment>
</data>
<data name="SurveyRequestPageRequestCooperationTitle" xml:space="preserve">
<value>TODO</value>
<comment>COCOA利用調査協力のお願い</comment>
</data>
<data name="SurveyRequestPageRequestCooperationDescription1" xml:space="preserve">
<value>TODO</value>
<comment>接触確認アプリ『COCOA』利用終了のアンケート、および接触情報の提供にご協力ください。</comment>
</data>
<data name="SurveyRequestPagePurposeTitle" xml:space="preserve">
<value>TODO</value>
<comment>調査目的</comment>
</data>
<data name="SurveyRequestPagePurposeDescription1" xml:space="preserve">
<value>TODO</value>
<comment>~~~~~~~~~~~~~~</comment>
</data>
<data name="SurveyRequestPageBulletedList1" xml:space="preserve">
<value>TODO</value>
<comment>・送信される情報は全て匿名です。</comment>
</data>
<data name="SurveyRequestPageBulletedList2" xml:space="preserve">
<value>TODO</value>
<comment>・送信内容に、個人を特定可能な情報を含みません。</comment>
</data>
<data name="SurveyRequestPageBulletedList3" xml:space="preserve">
<value>TODO</value>
<comment>・送信内容に、あなたやあなたと接触した陽性登録者を個人として特定可能な情報は含みません。</comment>
</data>
<data name="SurveyRequestPageBulletedList4" xml:space="preserve">
<value>TODO</value>
<comment>・公衆衛生の改善に寄与するため、匿名情報を集計して公開する場合があります。</comment>
</data>
<data name="SurveyRequestPageToAnswerButton" xml:space="preserve">
<value>TODO</value>
<comment>回答画面へ</comment>
</data>
<data name="SurveyRequestPageSkipAnswerButton" xml:space="preserve">
<value>TODO</value>
<comment>調査協力をスキップする</comment>
</data>
</root>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
using System;
using Covid19Radar.Resources;
using Prism.Navigation;

namespace Covid19Radar.ViewModels.EndOfService
{
public class SurveyRequestPageViewModel : ViewModelBase
{
public string SkipAnswerButtonReadText => $"{AppResources.SurveyRequestPageSkipAnswerButton} {AppResources.Button}";

public SurveyRequestPageViewModel(
INavigationService navigationService
) : base(navigationService)
{
}
}
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
xmlns:resources="clr-namespace:Covid19Radar.Resources;assembly=Covid19Radar"
xmlns:prism="http://prismlibrary.com"
xmlns:endofservice="clr-namespace:Covid19Radar.ViewModels.EndOfService"
x:Class="Covid19Radar.Views.EndOfService.SurveyRequestPage"
x:DataType="endofservice:SurveyRequestPageViewModel"
Title="{x:Static resources:AppResources.SurveyRequestPageTitle}"
ios:Page.UseSafeArea="true"
Style="{StaticResource DefaultPageStyle}"
Visual="Material">
<ContentView>
<ScrollView>
<StackLayout
Spacing="20"
Padding="20">
<StackLayout
Spacing="5">
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabelBold}"
Text="{x:Static resources:AppResources.SurveyRequestPageRequestCooperationTitle}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabel}"
Text="{x:Static resources:AppResources.SurveyRequestPageRequestCooperationDescription1}" />
</StackLayout>
<StackLayout
Spacing="5">
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabelBold}"
Text="{x:Static resources:AppResources.SurveyRequestPagePurposeTitle}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabel}"
Text="{x:Static resources:AppResources.SurveyRequestPagePurposeDescription1}" />
</StackLayout>
<StackLayout
Spacing="5">
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabelSmall}"
Text="{x:Static resources:AppResources.SurveyRequestPageBulletedList1}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabelSmall}"
Text="{x:Static resources:AppResources.SurveyRequestPageBulletedList2}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabelSmall}"
Text="{x:Static resources:AppResources.SurveyRequestPageBulletedList3}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultLabelSmall}"
Text="{x:Static resources:AppResources.SurveyRequestPageBulletedList4}" />
</StackLayout>
<Button
AutomationProperties.IsInAccessibleTree="True"
Style="{StaticResource DefaultButton}"
Text="{x:Static resources:AppResources.SurveyRequestPageToAnswerButton}" />
<Label
AutomationProperties.IsInAccessibleTree="True"
AutomationProperties.Name="{Binding SkipAnswerButtonReadText}"
HorizontalOptions="Center"
Style="{StaticResource LinkLabelStyleMedium}"
Text="{x:Static resources:AppResources.SurveyRequestPageSkipAnswerButton}">
<Label.GestureRecognizers>
<TapGestureRecognizer Command="{prism:NavigateTo 'TerminationOfUsePage'}" />
</Label.GestureRecognizers>
</Label>
</StackLayout>
</ScrollView>
</ContentView>
</ContentPage>

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;

using Xamarin.Forms;

namespace Covid19Radar.Views.EndOfService
{
public partial class SurveyRequestPage : ContentPage
{
public SurveyRequestPage()
{
InitializeComponent();
}
}
}

4 changes: 4 additions & 0 deletions Covid19Radar/Covid19Radar/Views/Settings/DebugPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,10 @@
Command="{prism:NavigateTo 'TerminationOfUsePage'}"
Style="{StaticResource DefaultButton}"
Text="TerminationOfUsePage" />
<Button
Command="{prism:NavigateTo 'SurveyRequestPage'}"
Style="{StaticResource DefaultButton}"
Text="SurveyRequestPage" />
</StackLayout>
</Frame>
</StackLayout>
Expand Down