Settings page of pluggin inproved

This commit is contained in:
Olaf
2026-08-25 08:03:44 +02:00
parent 315a89380f
commit f6077f0063
6 changed files with 86 additions and 1 deletions
+6
View File
@@ -433,3 +433,9 @@ How come when te container starts after docker compose down -v the database is s
### Assistant outcome
Inspected the active container and confirmed it uses `/app/backend/data/linklog.db` from the Compose volume `linklog_linklog_data`, containing 230 links. The current Compose project maps logical `linklog_data` to that prefixed volume. `docker compose down` preserves it; only `docker compose down -v` from the same project removes it. A different directory/project, an external volume, or stopping without `-v` can therefore preserve the data.
### User
Refine the Plugins Settings page. When the user is logged in it shows all "<user> logged in at <url>" and a sign-out button. If the user is not logged in it shows the form as is now.
### Assistant outcome
Updated the Firefox extension settings page to restore valid stored sessions, show `<username> logged in at <backend URL>` with a sign-out button, and show the original login form when signed out or when token validation fails. Sign-out revokes the token when possible, clears stored credentials, and returns to the form. Extension and backend validation passed.