Klurifixus / butikado

före projectet
0 stars 2 forks source link

Indicate User Login Status on 'My Account' Icon #18

Closed Klurifixus closed 5 months ago

Klurifixus commented 5 months ago

Issue Description Problem: Currently, the "My Account" icon on the "Earn Shop" website does not visually indicate whether a user is logged in or not, which may lead to confusion or a less intuitive user experience. Scope: This issue involves implementing a visual indicator on the "My Account" icon to show users their login status. Acceptance Criteria: A clear visual change on the "My Account" icon should indicate whether the user is logged in or not. The indicator should be intuitive (e.g., color change, icon change, badge addition) and align with the overall design of the site. The functionality of the "My Account" icon (e.g., linking to the user's account or login page) should remain unaffected. User Story Title: As a user, I want to easily see my login status on the 'My Account' icon for better navigation and assurance.

Narrative:

As a: user I want: to see a visual indication on the 'My Account' icon So that: I can immediately know if I am logged in or not without having to click or navigate elsewhere. Acceptance Criteria:

When I am logged in, the "My Account" icon should show a clear visual indication of my login status. When I am not logged in, the icon should have a distinctly different appearance. The visual change should be consistent with the website's design theme and intuitive to understand. This feature should not affect the icon’s primary functionality. Implementation Notes: Front-End Development: This feature requires front-end development, likely involving both HTML and CSS, and possibly JavaScript if dynamic changes are needed based on the user's login status. Design Considerations: Decide on the type of visual indicator (e.g., color change, badge, altered icon design) and ensure it is subtle yet clear. Integration with Authentication: Ensure the visual change is accurately reflecting the user's authentication status. This might involve integrating with Django's authentication system or any other system you're using. Testing: Test this feature thoroughly to ensure it works correctly for different scenarios (logged in, not logged in) and across different devices and browsers.

Klurifixus commented 5 months ago

The icon changes to a crown when logged in and the text from Login to My account