oppia / oppia

A free, online learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
5.62k stars 3.78k forks source link

[BUG]: Conflicting Navigation Options on Screens Between 600px and 1000px #20190

Open hrshkshri opened 3 weeks ago

hrshkshri commented 3 weeks ago

Describe the bug

Users experience redundant navigation elements on screens between 600px and 1000px width. Both the mobile navigation and the top navbar are displayed simultaneously, creating a confusing and cluttered user experience.

URL of the page where the issue is observed.

https://www.oppiatestserver.org/topic_editor/

Steps To Reproduce

Expected Behavior

Only one navigation should be visible based on the screen size:

Screens < 600px: Mobile navigation only. Screens 600px - 1000px: Top navbar only/Mobile navigation only Screens > 1000px: Top navbar only.

Screenshots/Videos

Screenshot 2024-04-21 at 10 00 08 PM

Screenshot 2024-04-21 at 10 13 36 PM

What device are you using?

Desktop

Operating System

MacOS

What browsers are you seeing the problem on?

Chrome

Browser version

No response

Additional context

No response

Tips for developers

Before addressing the bug, please identify which PR caused the issue (you can follow the steps here). If you identify the PR, comment on the issue with a link to it. If not, mention the commit hash of the oldest commit you saw the bug on (and the month and year it was made in).

Then, please leave a comment with details of the approach that you plan to take to fix the issue (see example).

Note: If this is your first Oppia issue, please make sure to follow our guidelines for choosing an issue and setting things up. You will also need to show a demo of the fix working correctly on your local machine. Thanks!

ahmed-o-324 commented 2 weeks ago

Hey @hrshkshri , I'm working on this and tried to recreate this on localhost and the issue did not arise, also wasn't able to access these pages on an oppiatestserver. How can I access the admin pages on testserver?

hrshkshri commented 2 weeks ago

Hey @hrshkshri , I'm working on this and tried to recreate this on localhost and the issue did not arise, also wasn't able to access these pages on an oppiatestserver. How can I access the admin pages on testserver?

Hey @ahmed-o-324 Create an exploration to see the respective bug. (visit /creator-dashboard) Otherwise, you can go to the admin page (on your local server) -- give the role of the curriculum admin and visit /topics-and-skills-dashboard, create a new topic and see the bug again.

ahmed-o-324 commented 2 weeks ago

So I tried reproducing the issue in local and didn't see the simultaneous display of the navbar:

Screenshot 2024-04-29 173830

Perhaps this is just an issue in oppiatestserver and not local? If so, I don't see an option for admin page on oppiatestserver:

Screenshot 2024-04-29 174859

Let me know if I may have missed anything.

Also just out of curiosity/further understanding, (Newbie question incoming) what is the purpose of having an oppiatestserver?

Thanks!

hrshkshri commented 1 week ago

Hey @ahmed-o-324 Screenshot 2024-04-30 at 1 41 34 PM

Look at the red circle I have marked below.