Reference Story: Accessing My Profile Options
As a user, I want to access my profile options from the options menu in the room page or Q&A forum, so that I can manage my profile settings and preferences.
Acceptance Criteria:
- The options menu must include an item called "My Profile".
- When the user clicks on "My Profile", a submenu with four options should appear: "My Bonus Stars", "Email notification for new posts", "Pseudonym in the forum", and "Self description for ChatGPT".
- Clicking on each of the sub-options should open the corresponding dialogue as implemented.
- If the user is not registered and clicks on "Email notification for new posts" or "Self description for ChatGPT", the system should prompt the user to register before proceeding.
- The "Self description for ChatGPT" option should open a dialogue where the user can write a self-description, and this dialogue should have been implemented from scratch.
- The user's profile settings and preferences should be saved and persist across sessions.
Example Scenario:
- John is a user and is logged in to the Q&A forum.
- He opens the options menu and sees the "My Profile" item.
- He clicks on "My Profile" and sees the submenu with four options: "My Bonus Stars", "Email notification for new posts", "Pseudonym in the forum", and "Self description for ChatGPT".
- He clicks on "My Bonus Stars" and sees a dialogue that shows his current bonus stars.
- He clicks on "Email notification for new posts" and sees a dialogue that allows him to enable or disable email notifications for new posts. He chooses to enable them.
- He clicks on "Pseudonym in the forum" and sees a dialogue that allows him to change his pseudonym. He changes it to "JohnDoe".
- He clicks on "Self description for ChatGPT" and sees a new dialogue that prompts him to write a self-description. He writes "I am a software engineer from California and love to help others with their coding problems."
- He saves his changes and closes the dialogue.
- He logs out and closes the browser.
- The next time he logs in, he sees that his profile settings and preferences have been saved and persist across sessions.
Edited by Klaus-Dieter Quibeldey-Cirkel