DevPath icon indicating copy to clipboard operation
DevPath copied to clipboard

Bug: Broken Theme Toggle, Duplicate Navbar Icons, and SyntaxError in script.js

Open ShaktiShrey-01 opened this issue 6 months ago • 4 comments

What happened?

Bug Description: There are multiple interconnected bugs affecting the client-side logic and layout of the application, most noticeably breaking the dark mode/light mode functionality. Broken Theme Toggle: On PC devices, there are two distinct theme toggles visible in the navbar. One works, while the other does nothing. Mobile View Bug: The non-working duplicate toggle leaks into the mobile view, overlapping with the intended mobile toggle and causing the theme changing feature to break on smaller devices. Fatal JavaScript Error: In the browser console, there is a fatal execution error: Uncaught SyntaxError: Unexpected end of input script.js:1194, preventing any dynamic scripts from running reliably. Root Cause: HTML Duplication: In templates/index.html, the {% include 'partials/theme_toggle.html' %} was placed directly next to the explicit inline

Thank you for opening your first issue in DevPath.

Please make sure to:

  • Read CONTRIBUTING.md
  • Wait for assignment before starting work
  • Follow repository guidelines carefully

Happy contributing.

github-actions[bot] avatar Jun 03 '26 03:06 github-actions[bot]

Sorry @kabirumarkhan-stack since I have detected this bug so this issue will be assigned to me

ShaktiShrey-01 avatar Jun 03 '26 13:06 ShaktiShrey-01

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Nov 19 '26 08:11 github-actions[bot]

This issue was closed because it has been inactive for an extended period. If this issue is still relevant, feel free to reopen it or create a new one.

github-actions[bot] avatar Nov 26 '26 09:11 github-actions[bot]