diff --git a/package.json b/package.json
index f976fc1..2057515 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "death-notifier",
- "version": "0.19.5", "_comment_version": "Also update version in `composer.json`!",
+ "version": "0.19.6", "_comment_version": "Also update version in `composer.json`!",
"description": "Get notified when a famous person dies.",
"author": "Florine W. Dekker",
"browser": "dist/bundle.js",
diff --git a/src/main/config.default.ini.php b/src/main/config.default.ini.php
index a7f0769..c33641e 100644
--- a/src/main/config.default.ini.php
+++ b/src/main/config.default.ini.php
@@ -1,7 +1,5 @@
;
-# TODO: Add i18n
-
[admin]
# bcrypt hash of password to use the CLI of `api.php`. If set to its default value, or if empty, the CLI is disabled.
cli_password = REPLACE THIS WITH A SECRET VALUE
diff --git a/src/main/css/main.css b/src/main/css/main.css
index 44b5867..3b9447f 100644
--- a/src/main/css/main.css
+++ b/src/main/css/main.css
@@ -32,7 +32,8 @@ a.red-link {
/* Messages */
#global-message,
-#shared-status-card {
+#shared-status-card,
+#about-part {
margin-bottom: 0;
}
diff --git a/src/main/index.html b/src/main/index.html
index 4f80b68..3a61ce5 100644
--- a/src/main/index.html
+++ b/src/main/index.html
@@ -56,10 +56,28 @@
Click here to return to the main page.
+
+
+
+ About
+ What is Death Notifier?
+
+
+
+ Wikipedia's editors are
+ infamous
+ for the speed at which they update the encyclopedia if someone has died.
+ What if you could harness this power for yourself?
+
+
+
+ Add the famous people that are important to you, and Death Notifier will automatically email you if
+ they have passed away (according to some random editor).
+
+
+
-
-
Log in
diff --git a/src/main/js/Main.ts b/src/main/js/Main.ts
index bccc180..6c3fdfa 100644
--- a/src/main/js/Main.ts
+++ b/src/main/js/Main.ts
@@ -287,17 +287,23 @@ doAfterLoad(() => {
refreshUserData();
refreshTrackings();
+ $("#about-part").classList.add("hidden");
$("#welcome-part").classList.add("hidden");
$("#tracking-part").classList.remove("hidden");
$("#settings-part").classList.remove("hidden");
+
+ window.scrollTo(0, 0);
});
logoutHandler.addListener(() => {
clearMessageStatus(sharedMessageElement);
+ $("#about-part").classList.remove("hidden");
$("#welcome-part").classList.remove("hidden");
$("#tracking-part").classList.add("hidden");
$("#settings-part").classList.add("hidden");
$("#login-email").focus();
+
+ window.scrollTo(0, 0);
});
// Password visibility toggling
diff --git a/src/main/php/com/fwdekker/deathnotifier/tracking/UpdateTrackingsAction.php b/src/main/php/com/fwdekker/deathnotifier/tracking/UpdateTrackingsAction.php
index e9be73c..77d9ef9 100644
--- a/src/main/php/com/fwdekker/deathnotifier/tracking/UpdateTrackingsAction.php
+++ b/src/main/php/com/fwdekker/deathnotifier/tracking/UpdateTrackingsAction.php
@@ -104,6 +104,7 @@ class UpdateTrackingsAction extends Action
// Send mails, log events
// TODO: Restrict number of notifications to 1 per hour (excluding "oops we're not sure" message)
+ // TODO: Wait for some time after person has been marked as dead before sending the email
$logger = LoggerUtil::with_name($this::class);
$emails = [];