You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The 'addSaveButtonOnHover' function that is supposed to add a save button when the user hovers over the code block is not working properly on Stack Overflow pages. It seems to be failing silently, and not giving any error messages.
Expected behavior:
When the user hovers over the code block, a save button should be added to allow them to save the code block.
Steps to reproduce:
Navigate to a Stack Overflow page with code blocks
Hover over a code block
The save button should appear, but it doesn't
Potential fix:
The 'addSaveButtonOnHover' function needs to be updated to work properly with Stack Overflow pages. It may require additional code to properly target the correct elements, or to handle any differences in the HTML structure between Stack Overflow and other sites.
Skills required: JavaScript, DOM manipulation, debugging.
Description:
The 'addSaveButtonOnHover' function that is supposed to add a save button when the user hovers over the code block is not working properly on Stack Overflow pages. It seems to be failing silently, and not giving any error messages.
Expected behavior:
When the user hovers over the code block, a save button should be added to allow them to save the code block.
Steps to reproduce:
Navigate to a Stack Overflow page with code blocks
Hover over a code block
The save button should appear, but it doesn't
Potential fix:
The 'addSaveButtonOnHover' function needs to be updated to work properly with Stack Overflow pages. It may require additional code to properly target the correct elements, or to handle any differences in the HTML structure between Stack Overflow and other sites.
Skills required: JavaScript, DOM manipulation, debugging.
Difficulty level: Easy
Code:
https://github.com/james-hinton/code-stash/blob/main/src/pages/Content/utils/utils.js#LL1
The text was updated successfully, but these errors were encountered: