Add some TODOs here and there

This commit is contained in:
Florine W. Dekker 2022-12-14 23:23:47 +01:00
parent bcf595dfa5
commit 78d95252ed
Signed by: FWDekker
GPG Key ID: D3DCFAA8A4560BE0
3 changed files with 5 additions and 3 deletions

BIN
package-lock.json generated

Binary file not shown.

View File

@ -1,6 +1,6 @@
{
"name": "death-notifier",
"version": "0.19.6", "_comment_version": "Also update version in `composer.json`!",
"version": "0.19.7", "_comment_version": "Also update version in `composer.json`!",
"description": "Get notified when a famous person dies.",
"author": "Florine W. Dekker",
"browser": "dist/bundle.js",
@ -29,8 +29,8 @@
"grunt-text-replace": "^0.4.0",
"grunt-webpack": "^5.0.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.3",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.0"
"webpack-cli": "^5.0.1"
}
}

View File

@ -395,6 +395,7 @@ doAfterLoad(() => {
sendPasswordResetForm,
() => {
sendPasswordResetForm.reset();
// TODO: Clarify that email will be sent soon; don't say it has already been sent!
showMessageSuccess(sendPasswordResetForm, "Password reset email sent successfully!");
}
);
@ -460,6 +461,7 @@ doAfterLoad(() => {
event.preventDefault();
const actual_email = $("#delete-email").value;
// TODO: Replace with modal dialog
const entered_email = window.prompt(
`Are you sure you want to delete your account? ` +
`This action cannot be undone. ` +