Bug: The SocratiQ URL does not work on Chrome or Edge #259

Closed
opened 2026-03-22 15:34:14 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @hpssjellis on GitHub (Nov 28, 2024).

Originally assigned to: @kai4avaya on GitHub.

The button to turn SocratiQ on or off works fine, but for me on Chrome and Edge the URL

To activate: https://mlsysbook.ai/?socratiq=true
To deactivate: https://mlsysbook.ai/?socratiq=false

Does not change the button from on to off etc or change the state of socratiQ on the page. I tried the following without any improvement

https://mlsysbook.ai/?socratiQ=true

image

In the code the part that responds to the cookie is here

9799fab061/contents/ai/socratiq.qmd (L62-L71)

Possibly the problem is that when the toggle button is turned off, the cookie socratiq is deleted instead of being turned to false, then when the URL is used there is no cookie to update. This theory doesn't work for why the url doesn't shut off socratiq but at least it is a start.

image

Originally created by @hpssjellis on GitHub (Nov 28, 2024). Originally assigned to: @kai4avaya on GitHub. The button to turn SocratiQ on or off works fine, but for me on Chrome and Edge the URL ``` To activate: https://mlsysbook.ai/?socratiq=true To deactivate: https://mlsysbook.ai/?socratiq=false ``` Does not change the button from on to off etc or change the state of socratiQ on the page. I tried the following without any improvement ``` https://mlsysbook.ai/?socratiQ=true ``` ![image](https://github.com/user-attachments/assets/e3ad8c68-278a-4270-a723-aea13eb09602) In the code the part that responds to the cookie is here https://github.com/harvard-edge/cs249r_book/blob/9799fab0619b7ff2b372ebd50e5da0988803bd01/contents/ai/socratiq.qmd#L62-L71 Possibly the problem is that when the toggle button is turned off, the cookie socratiq is deleted instead of being turned to false, then when the URL is used there is no cookie to update. This theory doesn't work for why the url doesn't shut off socratiq but at least it is a start. ![image](https://github.com/user-attachments/assets/149b8923-213f-4243-9292-da36b97d26ff)
GiteaMirror added the area: socratiq label 2026-03-22 15:34:14 -05:00
Author
Owner

@profvjreddi commented on GitHub (Nov 30, 2024):

Thanks for filing these issues @hpssjellis, I've tagged @kai4avaya on these to take a look.

@profvjreddi commented on GitHub (Nov 30, 2024): Thanks for filing these issues @hpssjellis, I've tagged @kai4avaya on these to take a look.
Author
Owner

@kai4avaya commented on GitHub (Dec 14, 2024):

Hi @hpssjellis Great catch! This should be fixed in the next update. The code is tracking this url parameter: widget_access but not socratiq

@kai4avaya commented on GitHub (Dec 14, 2024): Hi @hpssjellis Great catch! This should be fixed in the next update. The code is tracking this url parameter: `widget_access` but not `socratiq`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#259