17:00:23 now that the website is nearing completion, what do we think about the theme toggle? 17:03:34 @redsh4de:matrix.org: js-less? 17:03:44 and accessible 17:04:08 accessible, but does use javascript - 9 lines to be exact 17:04:27 https://mrelay.p2pool.observer/p/qdCK9OEKYkJDTUFa/1.txt (code snippet, 16 lines) 17:04:33 does website use any js on client? 17:05:18 no - this would be the only client side javascript, and the toggle would be hidden if the user has javascript disabled (Tor, etc) 17:05:52 there is no pratical way to make it js-less without having to render double the pages - persistence required fetching a flag from the browsers local storage and responding to theme preference changes 17:06:02 s/required/requires 17:06:07 nah, if we introduced any js elements, then we would also do so for more important UX parts like menus etc 17:06:52 this was already implemented btw as a preview, on a seperate fork - we had a discussion about it a few weeks back 17:07:09 the theme toggle? 17:07:18 yep 17:07:31 it is uselss imo comapred to menus 17:08:06 our menus work quite well even without JavaScript 17:08:30 I literally never use theme toggle as it always detect it from prefers-color-scheme 17:08:54 @redsh4de:matrix.org: the issues we dicussed before 17:09:29 right, the dropdown being the only one - but that is solved with anchor css. granted we can only implement it somewhere in July this year when ESR adds it 17:09:43 pinging @syntheticbird:monero.social 17:11:16 @basses:matrix.org: the only usecase for it is for Mullvad browser and Tor browser (on safest) as prefers-color-scheme is blocked 17:11:28 so they change theme manually by using the toggle 17:11:52 beginning of the topic if u wanna read up on the discussion > <@redsh4de:matrix.org> can def do that, just not sure how strict the "no JavaScript" requirement is 17:12:11 @basses:matrix.org: yea, but isn't it kinda useless even there due to NoScript? 17:12:22 at least on Tor 17:13:35 @redsh4de:matrix.org: https://www.privacyguides.org/en/basics/why-privacy-matters/ toggle here works without triggering any Noscript warnings 17:13:59 safest mode 17:14:08 safer* 17:14:37 yea it would work on safer as it allows JS on HTTPs sites 17:14:47 safest blocks all JS 17:14:53 would be the same thing here 17:15:13 yes ^ > <@basses:matrix.org> the only usecase for it is for Mullvad browser and Tor browser (on safest) as prefers-color-scheme is blocked 17:15:23 misread 17:15:28 np 17:42:28 wat > <@redsh4de:matrix.org> pinging @syntheticbird:monero.social 17:42:31 whats going on 17:43:10 brought up le js toggle as im basically done with website 17:43:11 huh no? > <@basses:matrix.org> nah, if we introduced any js elements, then we would also do so for more important UX parts like menus etc 17:44:09 @redsh4de:matrix.org: https://mrelay.p2pool.observer/m/monero.social/YJVknTpWwpDePtXwzBnyJiyj.gif (luigi-chad.gif) 17:47:45 👍