Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect Footer Navigation on Mobile After Following Specific Links in Bonus Unit #171

Open
aovabo opened this issue Feb 18, 2025 · 0 comments

Comments

@aovabo
Copy link

aovabo commented Feb 18, 2025

Describe the bug

On mobile, the footer displays incorrect links after following specific links within the Bonus Unit. The footer should display links related to the "Agents" course, but instead displays links related to the "NLP" course after following the problematic links. This issue does not occur if those specific links are not clicked.

Steps to reproduce the behavior:

  1. Go to the Bonus Unit 1 page on a mobile device. https://huggingface.co/learn/agents-course/bonus-unit1/introduction
  2. Scroll down to the section titled "Best way for you to be able to follow this Bonus Unit is".
  3. Click on either of the following links:
    Image
  4. Return to the Bonus Unit page.
  5. Scroll to the bottom of the page and observe the footer links. They will be incorrect (related to NLP).
    Image
  6. Without clicking either of the links in step 3, refresh the Bonus Unit page.
  7. Scroll to the bottom and observe the footer links. They will be correct (related to Agents).
    Expected behavior
    The footer links should always be related to the agents course, regardless of if the "check this" documentation links were visited

Device Information:

  • Device: Google Pixel 9 Pro
  • Operating System: Android 15
  • Browser: Chrome

Additional context

This issue appears to be specific to the mobile view. The desktop view functions correctly. The links in step 3 above might be incorrectly setting a session variable or cookie that affects the footer rendering.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant