Merged PR 910: メール文面修正&ユーザー一括登録のテンプレートファイル修正
## 概要 [Task4190: メール文面修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/4190) [Task4191: ユーザー一括登録のテンプレートファイル修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/4191) - ユーザー一括追加時に送信するメールの内容を修正 - SCVとなっていたところをCSVに修正 - ユーザー一括追加用のエクセルの項目名を画面上の項目名と合わせる - auto_renewとなっていたところをauto_assignに修正 ## レビューポイント - 修正内容の認識は合っているか ## UIの変更 - Before/Afterのスクショなど - スクショ置き場 ## 動作確認状況 - ローカルで確認 - 行った修正がデグレを発生させていないことを確認できるか - 具体的にどのような確認をしたか - CSV変換のテストが通ることを確認 - メール内容はdev動作確認で確認 ## 補足 - 相談、参考資料などがあれば
This commit is contained in:
parent
4f7d65f0e8
commit
6b1650a634
@ -13,7 +13,7 @@ describe("parse", () => {
|
||||
email: "sample@example.com",
|
||||
role: 1,
|
||||
author_id: "HOGE",
|
||||
auto_renew: 1,
|
||||
auto_assign: 1,
|
||||
notification: 1,
|
||||
encryption: 1,
|
||||
encryption_password: "abcd",
|
||||
@ -58,7 +58,7 @@ describe("parse", () => {
|
||||
email: "sample@example.com",
|
||||
role: 1,
|
||||
author_id: null,
|
||||
auto_renew: 1,
|
||||
auto_assign: 1,
|
||||
notification: 1,
|
||||
encryption: 1,
|
||||
encryption_password: "abcd",
|
||||
@ -76,7 +76,7 @@ describe("parse", () => {
|
||||
email: "sample@example.com",
|
||||
role: null,
|
||||
author_id: "HOGE",
|
||||
auto_renew: 1,
|
||||
auto_assign: 1,
|
||||
notification: 1,
|
||||
encryption: 1,
|
||||
encryption_password: "abcd",
|
||||
@ -94,7 +94,7 @@ describe("parse", () => {
|
||||
email: "sample@example.com",
|
||||
role: 1,
|
||||
author_id: "HOGE",
|
||||
auto_renew: 1,
|
||||
auto_assign: 1,
|
||||
notification: 1,
|
||||
encryption: 1,
|
||||
encryption_password: "abcd",
|
||||
@ -105,7 +105,7 @@ describe("parse", () => {
|
||||
email: "sample2@example.com",
|
||||
role: 1,
|
||||
author_id: "HOGE2",
|
||||
auto_renew: 1,
|
||||
auto_assign: 1,
|
||||
notification: 1,
|
||||
encryption: 1,
|
||||
encryption_password: "abcd2",
|
||||
@ -119,7 +119,7 @@ describe("parse", () => {
|
||||
const actualValue = actualData[i];
|
||||
const expectValue = expectData[i];
|
||||
expect(actualValue.author_id).toEqual(expectValue.author_id);
|
||||
expect(actualValue.auto_renew).toEqual(expectValue.auto_renew);
|
||||
expect(actualValue.auto_assign).toEqual(expectValue.auto_assign);
|
||||
expect(actualValue.email).toEqual(expectValue.email);
|
||||
expect(actualValue.encryption).toEqual(expectValue.encryption);
|
||||
expect(actualValue.encryption_password).toEqual(
|
||||
@ -141,7 +141,7 @@ describe("parse", () => {
|
||||
email: "sample@example.com",
|
||||
role: 1,
|
||||
author_id: "1111",
|
||||
auto_renew: 1,
|
||||
auto_assign: 1,
|
||||
notification: 1,
|
||||
encryption: 1,
|
||||
encryption_password: "222222",
|
||||
|
||||
@ -6,7 +6,7 @@ export type CSVType = {
|
||||
email: string | null;
|
||||
role: number | null;
|
||||
author_id: string | null;
|
||||
auto_renew: number | null;
|
||||
auto_assign: number | null;
|
||||
notification: number;
|
||||
encryption: number | null;
|
||||
encryption_password: string | null;
|
||||
@ -19,7 +19,7 @@ const CSVTypeFields: (keyof CSVType)[] = [
|
||||
"email",
|
||||
"role",
|
||||
"author_id",
|
||||
"auto_renew",
|
||||
"auto_assign",
|
||||
"notification",
|
||||
"encryption",
|
||||
"encryption_password",
|
||||
@ -45,7 +45,7 @@ export const parseCSV = async (csvString: string): Promise<CSVType[]> =>
|
||||
dynamicTyping: {
|
||||
// author_id, encryption_passwordは数値のみの場合、numberに変換されたくないためdynamicTypingをtrueにしない
|
||||
role: true,
|
||||
auto_renew: true,
|
||||
auto_assign: true,
|
||||
notification: true,
|
||||
encryption: true,
|
||||
prompt: true,
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
name,email,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,email,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,"HOGE",1,1,1,abcd,0
|
||||
|
@ -1,2 +1,2 @@
|
||||
name,email,role,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,email,role,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,"HOGE",1,1,1,abcd,0
|
||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
@ -1,2 +1,2 @@
|
||||
name,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,"HOGE",1,1,1,abcd,0
|
||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
@ -1,2 +1,2 @@
|
||||
name,emeil,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,emeil,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,"HOGE",1,1,1,abcd,0
|
||||
|
@ -1,2 +1,2 @@
|
||||
name,email,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,email,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,,1,1,1,abcd,0
|
||||
|
@ -1,2 +1,2 @@
|
||||
name,email,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,email,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,,"HOGE",1,1,1,abcd,0
|
||||
|
@ -1,3 +1,3 @@
|
||||
name,email,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,email,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,"HOGE",1,1,1,abcd,0,x
|
||||
hoge2,sample2@example.com,1,"HOGE2",1,1,1,abcd2,0,1,32,4,aa
|
||||
|
Can't render this file because it has a wrong number of fields in line 2.
|
@ -1,2 +1,2 @@
|
||||
name,email,role,author_id,auto_renew,notification,encryption,encryption_password,prompt
|
||||
name,email,role,author_id,auto_assign,notification,encryption,encryption_password,prompt
|
||||
hoge,sample@example.com,1,1111,1,1,1,222222,0
|
||||
|
@ -534,7 +534,7 @@ export const importUsersAsync = createAsyncThunk<
|
||||
email: user.email ?? "",
|
||||
role: user.role ?? 0,
|
||||
authorId: user.author_id ?? undefined,
|
||||
autoRenew: user.auto_renew ?? 0,
|
||||
autoRenew: user.auto_assign ?? 0,
|
||||
notification: user.notification ?? 0,
|
||||
encryption: user.encryption ?? undefined,
|
||||
encryptionPassword: user.encryption_password ?? undefined,
|
||||
|
||||
@ -493,8 +493,8 @@ export const selectImportValidationErrors = (state: RootState) => {
|
||||
}
|
||||
}
|
||||
|
||||
// auto_renew
|
||||
if (csvUser.auto_renew === null || ![0, 1].includes(csvUser.auto_renew)) {
|
||||
// auto_assign
|
||||
if (csvUser.auto_assign === null || ![0, 1].includes(csvUser.auto_assign)) {
|
||||
invalidInput.push(rowNumber);
|
||||
// eslint-disable-next-line no-continue
|
||||
continue;
|
||||
|
||||
@ -52,7 +52,7 @@ export const ImportPopup: React.FC<UserAddPopupProps> = (props) => {
|
||||
"email",
|
||||
"role",
|
||||
"author_id",
|
||||
"auto_renew",
|
||||
"auto_assign",
|
||||
"notification",
|
||||
"encryption",
|
||||
"encryption_password",
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<p>
|
||||
We have received your bulk user registration request. <br />
|
||||
- Date and time: $REQUEST_TIME$<br />
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Please wait until the registration is complete. This may take a few minutes to process.<br />
|
||||
@ -36,7 +36,7 @@
|
||||
<p>
|
||||
Wir haben Ihre Anfrage zur Massenbenutzerregistrierung erhalten.<br />
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$<br />
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Bitte warten Sie, bis die Registrierung abgeschlossen ist. Die Bearbeitung kann einige Minuten dauern.<br />
|
||||
@ -59,7 +59,7 @@
|
||||
<p>
|
||||
Nous avons reçu votre demande d'enregistrement groupé d'utilisateur.<br />
|
||||
- Date et heure : $REQUEST_TIME$<br />
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Veuillez attendre que l'inscription soit terminée. Le traitement peut prendre quelques minutes.<br />
|
||||
|
||||
@ -4,7 +4,7 @@ Dear $CUSTOMER_NAME$,
|
||||
|
||||
We have received your bulk user registration request.
|
||||
- Date and time: $REQUEST_TIME$
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
|
||||
・Please wait until the registration is complete. This may take a few minutes to process.
|
||||
・Notification will be sent separately upon completion.
|
||||
@ -21,7 +21,7 @@ Sehr geehrte(r) $CUSTOMER_NAME$,
|
||||
|
||||
Wir haben Ihre Anfrage zur Massenbenutzerregistrierung erhalten.
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
|
||||
・Bitte warten Sie, bis die Registrierung abgeschlossen ist. Die Bearbeitung kann einige Minuten dauern.
|
||||
・Eine Benachrichtigung wird nach Abschluss separat verschickt.
|
||||
@ -38,7 +38,7 @@ Chère/Cher $CUSTOMER_NAME$,
|
||||
|
||||
Nous avons reçu votre demande d'enregistrement groupé d'utilisateur.
|
||||
- Date et heure : $REQUEST_TIME$
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
|
||||
・Veuillez attendre que l'inscription soit terminée. Le traitement peut prendre quelques minutes.
|
||||
・Une notification sera envoyée séparément une fois terminée.
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
<p>
|
||||
We have received your bulk user registration request. <br />
|
||||
- Date and time: $REQUEST_TIME$<br />
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Please wait until the registration is complete. This may take a few minutes to process.<br />
|
||||
@ -33,7 +33,7 @@
|
||||
<p>
|
||||
Wir haben Ihre Anfrage zur Massenbenutzerregistrierung erhalten.<br />
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$<br />
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Bitte warten Sie, bis die Registrierung abgeschlossen ist. Die Bearbeitung kann einige Minuten dauern.<br />
|
||||
@ -53,7 +53,7 @@
|
||||
<p>
|
||||
Nous avons reçu votre demande d'enregistrement groupé d'utilisateur.<br />
|
||||
- Date et heure : $REQUEST_TIME$<br />
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Veuillez attendre que l'inscription soit terminée. Le traitement peut prendre quelques minutes.<br />
|
||||
|
||||
@ -4,7 +4,7 @@ Dear $CUSTOMER_NAME$,
|
||||
|
||||
We have received your bulk user registration request.
|
||||
- Date and time: $REQUEST_TIME$
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
|
||||
・Please wait until the registration is complete. This may take a few minutes to process.
|
||||
・Notification will be sent separately upon completion.
|
||||
@ -19,7 +19,7 @@ Sehr geehrte(r) $CUSTOMER_NAME$,
|
||||
|
||||
Wir haben Ihre Anfrage zur Massenbenutzerregistrierung erhalten.
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
|
||||
・Bitte warten Sie, bis die Registrierung abgeschlossen ist. Die Bearbeitung kann einige Minuten dauern.
|
||||
・Eine Benachrichtigung wird nach Abschluss separat verschickt.
|
||||
@ -34,7 +34,7 @@ Chère/Cher $CUSTOMER_NAME$,
|
||||
|
||||
Nous avons reçu votre demande d'enregistrement groupé d'utilisateur.
|
||||
- Date et heure : $REQUEST_TIME$
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
|
||||
・Veuillez attendre que l'inscription soit terminée. Le traitement peut prendre quelques minutes.
|
||||
・Une notification sera envoyée séparément une fois terminée.
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<p>
|
||||
Bulk user registration using the CSV file has been completed.<br />
|
||||
- Date and time: $REQUEST_TIME$<br />
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・User Registration Notification [U-114] will be sent to the registered users.<br />
|
||||
@ -33,7 +33,7 @@
|
||||
<p>
|
||||
Die Massenbenutzerregistrierung mithilfe der CSV-Datei wurde abgeschlossen.<br />
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$<br />
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Die Benutzerregistrierungsbenachrichtigung [U-114] wird an die registrierten Benutzer gesendet.<br />
|
||||
@ -57,7 +57,7 @@
|
||||
<p>
|
||||
L'enregistrement groupé des utilisateurs à l'aide du fichier CSV est terminé.<br />
|
||||
- Date et heure : $REQUEST_TIME$<br />
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・La notification d'enregistrement de l'utilisateur [U-114] sera envoyée aux utilisateurs enregistrés.<br />
|
||||
|
||||
@ -4,7 +4,7 @@ Dear $CUSTOMER_NAME$,
|
||||
|
||||
Bulk user registration using the CSV file has been completed.
|
||||
- Date and time: $REQUEST_TIME$
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
|
||||
・User Registration Notification [U-114] will be sent to the registered users.
|
||||
・Registration will not be completed unless the user verifies their email address.
|
||||
@ -21,7 +21,7 @@ Sehr geehrte(r) $CUSTOMER_NAME$,
|
||||
|
||||
Die Massenbenutzerregistrierung mithilfe der CSV-Datei wurde abgeschlossen.
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
|
||||
・Die Benutzerregistrierungsbenachrichtigung [U-114] wird an die registrierten Benutzer gesendet.
|
||||
・Die Registrierung wird erst abgeschlossen, wenn der Benutzer seine E-Mail-Adresse bestätigt.
|
||||
@ -38,7 +38,7 @@ Chère/Cher $CUSTOMER_NAME$,
|
||||
|
||||
L'enregistrement groupé des utilisateurs à l'aide du fichier CSV est terminé.
|
||||
- Date et heure : $REQUEST_TIME$
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
|
||||
・La notification d'enregistrement de l'utilisateur [U-114] sera envoyée aux utilisateurs enregistrés.
|
||||
・L'inscription ne sera complétée que si l'utilisateur vérifie son adresse e-mail.
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
<p>
|
||||
Bulk user registration using the CSV file has been completed.<br />
|
||||
- Date and time: $REQUEST_TIME$<br />
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・User Registration Notification [U-114] will be sent to the registered users.<br />
|
||||
@ -30,7 +30,7 @@
|
||||
<p>
|
||||
Die Massenbenutzerregistrierung mithilfe der CSV-Datei wurde abgeschlossen.<br />
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$<br />
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・Die Benutzerregistrierungsbenachrichtigung [U-114] wird an die registrierten Benutzer gesendet.<br />
|
||||
@ -51,7 +51,7 @@
|
||||
<p>
|
||||
L'enregistrement groupé des utilisateurs à l'aide du fichier CSV est terminé.<br />
|
||||
- Date et heure : $REQUEST_TIME$<br />
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
</p>
|
||||
<p>
|
||||
・La notification d'enregistrement de l'utilisateur [U-114] sera envoyée aux utilisateurs enregistrés.<br />
|
||||
|
||||
@ -4,7 +4,7 @@ Dear $CUSTOMER_NAME$,
|
||||
|
||||
Bulk user registration using the CSV file has been completed.
|
||||
- Date and time: $REQUEST_TIME$
|
||||
- SCV file name: $FILE_NAME$
|
||||
- CSV file name: $FILE_NAME$
|
||||
|
||||
・User Registration Notification [U-114] will be sent to the registered users.
|
||||
・Registration will not be completed unless the user verifies their email address.
|
||||
@ -19,7 +19,7 @@ Sehr geehrte(r) $CUSTOMER_NAME$,
|
||||
|
||||
Die Massenbenutzerregistrierung mithilfe der CSV-Datei wurde abgeschlossen.
|
||||
- Datum und Uhrzeit: $REQUEST_TIME$
|
||||
- SCV-Dateiname: $FILE_NAME$
|
||||
- CSV-Dateiname: $FILE_NAME$
|
||||
|
||||
・Die Benutzerregistrierungsbenachrichtigung [U-114] wird an die registrierten Benutzer gesendet.
|
||||
・Die Registrierung wird erst abgeschlossen, wenn der Benutzer seine E-Mail-Adresse bestätigt.
|
||||
@ -34,7 +34,7 @@ Chère/Cher $CUSTOMER_NAME$,
|
||||
|
||||
L'enregistrement groupé des utilisateurs à l'aide du fichier CSV est terminé.
|
||||
- Date et heure : $REQUEST_TIME$
|
||||
- Nom du fichier SCV : $FILE_NAME$
|
||||
- Nom du fichier CSV : $FILE_NAME$
|
||||
|
||||
・La notification d'enregistrement de l'utilisateur [U-114] sera envoyée aux utilisateurs enregistrés.
|
||||
・L'inscription ne sera complétée que si l'utilisateur vérifie son adresse e-mail.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user