Title: [Feature] Save the mute state/preferences for the user just like theme. · Issue #33 · SnowScriptWinterOfCode/Notes-App · GitHub
Open Graph Title: [Feature] Save the mute state/preferences for the user just like theme. · Issue #33 · SnowScriptWinterOfCode/Notes-App
X Title: [Feature] Save the mute state/preferences for the user just like theme. · Issue #33 · SnowScriptWinterOfCode/Notes-App
Description: In the previous code, there was no feature to save the previous mute preferences for the user, i.e., each time the website loaded, the sounds were un-muted, but after this feature, the mute state/preference will be saved in the local sto...
Open Graph Description: In the previous code, there was no feature to save the previous mute preferences for the user, i.e., each time the website loaded, the sounds were un-muted, but after this feature, the mute state/p...
X Description: In the previous code, there was no feature to save the previous mute preferences for the user, i.e., each time the website loaded, the sounds were un-muted, but after this feature, the mute state/p...
Opengraph URL: https://github.com/SnowScriptWinterOfCode/Notes-App/issues/33
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature] Save the mute state/preferences for the user just like theme.","articleBody":"In the previous code, there was no feature to save the previous mute preferences for the user, i.e., each time the website loaded, the sounds were un-muted, but after this feature, the mute state/preference will be saved in the local storage, and will be retrieved same as the initial theme properties(props). \r\nCode changes: -\r\nHad to create a new initialMuteState.js file. After that, I created another isMuted variable to get the initial state of the mute preferences inside the getInitialProps.js file, to know if the website is muted already or not. And then created initialMuteState.js file to add respective class to the volume button in each case and added this script using the defer attribute inside the head tag. I had to remove the initial volume-fa-up class from the \u003ci> tag of the volume icon.\r\n\r\nScreenshots:-\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nVideo to demonstrate the changes :-\r\n\r\n\r\n\r\nhttps://github.com/SnowScriptWinterOfCode/Notes-App/assets/108251751/b669fb54-4938-4573-896b-d8d4c9c1ca4d\r\n\r\nI'd like to work on the issue if it gets approved.\r\n","author":{"url":"https://github.com/rajneesh069","@type":"Person","name":"rajneesh069"},"datePublished":"2024-01-01T07:03:17Z","url":"https://github.com/SnowScriptWinterOfCode/Notes-App/issues/33"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2271c7e2-664f-9a41-7813-bfa26bbbbcec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9854:2A0045:204E6FB:29C5720:6AFFDC38 |
| html-safe-nonce | 14b4e8d53d55935bd4c097766deaba27a5e227132156d8e38f3785f6be3839c8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODU0OjJBMDA0NToyMDRFNkZCOjI5QzU3MjA6NkFGRkRDMzgiLCJ2aXNpdG9yX2lkIjoiNDY5MzY2MTUwNTQ5NTc1MTczNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3de32bf3d3ac3f69bf93b5f730f3c0fcb1ccaaa38c135eae33a8c2a89749d1d2 |
| hovercard-subject-tag | issue:2061371275 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/SnowScriptWinterOfCode/Notes-App/33/issue_layout |
| twitter:image | https://opengraph.githubassets.com/245cb772632efac66d77044db618b3573f6817c2abec244bfe7582ed432a9820/SnowScriptWinterOfCode/Notes-App/issues/33 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/245cb772632efac66d77044db618b3573f6817c2abec244bfe7582ed432a9820/SnowScriptWinterOfCode/Notes-App/issues/33 |
| og:image:alt | In the previous code, there was no feature to save the previous mute preferences for the user, i.e., each time the website loaded, the sounds were un-muted, but after this feature, the mute state/p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajneesh069 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-preview |
| go-import | github.com/SnowScriptWinterOfCode/Notes-App git https://github.com/SnowScriptWinterOfCode/Notes-App.git |
| octolytics-dimension-user_id | 154897622 |
| octolytics-dimension-user_login | SnowScriptWinterOfCode |
| octolytics-dimension-repository_id | 735944319 |
| octolytics-dimension-repository_nwo | SnowScriptWinterOfCode/Notes-App |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 735944319 |
| octolytics-dimension-repository_network_root_nwo | SnowScriptWinterOfCode/Notes-App |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width