Skip to content

Conversation

martakam
Copy link
Member

@martakam martakam commented Nov 25, 2026 •

This adds an example user that can be used by reviewers and examinators.
I have disabled the usage of all settings for the user, so the name, bio and password does not get changed. This is also secured on the backend/server.
The user has been manually created on our deployed version.

Some of the code in this PR has been created with the assistance of AI.

Closes #163

@martakam martakam requested a review from a team as a code owner November 25, 2026 22:27
@martakam martakam self-assigned this Nov 25, 2026
@martakam martakam added the enhancement New feature or request label Nov 25, 2026
@martakam martakam added this to the Final Deliverable milestone Nov 25, 2026
Copy link
Member

@hestro hestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to have this sorted!

The info text on the profile settings is an important and helpful addition. However, I feel the text on the login screen might be unnecessary, since it only states the email and password of the user. Users see credentials they will never use every time they log in. This might be better documented in the README.md. We could also copy the text from the profile settings into the README.

I also think the "Continue without an account" link should still be present on the login screen.

One question: currently the hardcoded password "password" makes Chrome show the "change password" popup warning (which usually appears when Chrome finds the password in a list of leaked or weak passwords). This might give a bad impression. We could probably use a stronger password to avoid this?

@martakam
Copy link
Member Author

The "Continue without an account" link is back. Made it redirect immediately to /books, since going back to the homepage makes less sense in my opinion - you want to see the books.

The password has also been changed and is in sync with our deployment on the VM.

The info text from the login card has been moved into the README.

@martakam martakam requested a review from hestro November 26, 2026 15:01
Copy link
Member

@hestro hestro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me now, nice work!

@martakam martakam merged commit 7bfe9c3 into main Nov 26, 2026
8 checks passed
@martakam martakam deleted the feat/example-user branch November 26, 2026 17:21
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add test user with example data for evaluators
2 participants