www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - New forum view mode "narrow-index" is now available

reply Ahmet Sait <nightmarex1337 hotmail.com> writes:
Hi everyone,
There is a new view mode you can check out under settings, 
designed to be more usable for narrow screens (such as smart 
phones).
This setting is stored client side as a cookie which means you 
can use it on your phone without affecting your desktop settings.

Please report any issues you might be having.

Feedback welcome!
Jun 30
next sibling parent user1234 <user1234 12.de> writes:
On Thursday, 30 June 2022 at 07:09:36 UTC, Ahmet Sait wrote:
 Hi everyone,
 There is a new view mode you can check out under settings, 
 designed to be more usable for narrow screens (such as smart 
 phones).
 This setting is stored client side as a cookie which means you 
 can use it on your phone without affecting your desktop 
 settings.

 Please report any issues you might be having.

 Feedback welcome!
Nice, I like it, even on a UHD monitor ;)
Jun 30
prev sibling next sibling parent reply bauss <jj_1337 live.dk> writes:
On Thursday, 30 June 2022 at 07:09:36 UTC, Ahmet Sait wrote:
 Hi everyone,
 There is a new view mode you can check out under settings, 
 designed to be more usable for narrow screens (such as smart 
 phones).
 This setting is stored client side as a cookie which means you 
 can use it on your phone without affecting your desktop 
 settings.

 Please report any issues you might be having.

 Feedback welcome!
Is it possible to have it stored as local storage instead of a cookie?
Jun 30
parent reply Ahmet Sait <nightmarex1337 hotmail.com> writes:
On Thursday, 30 June 2022 at 08:15:05 UTC, bauss wrote:
 Is it possible to have it stored as local storage instead of a 
 cookie?
I'm not mainly a web dev but what I could gather from this page https://stackoverflow.com/questions/3220660/local-storage-vs-cookies it is accessible from client side JavaScript and not transmitted to the server by default, which is necessary for server to respond with the correct view mode HTML.
Jun 30
parent reply bauss <jj_1337 live.dk> writes:
On Thursday, 30 June 2022 at 08:38:42 UTC, Ahmet Sait wrote:
 On Thursday, 30 June 2022 at 08:15:05 UTC, bauss wrote:
 Is it possible to have it stored as local storage instead of a 
 cookie?
I'm not mainly a web dev but what I could gather from this page https://stackoverflow.com/questions/3220660/local-storage-vs-cookies it is accessible from client side JavaScript and not transmitted to the server by default, which is necessary for server to respond with the correct view mode HTML.
Oh, I thought it was just a value that the page reacted upon. The reason why I think local storage would have been better is because some people might have cookies disabled etc. but local storage is generally always enabled.
Jun 30
parent bauss <jj_1337 live.dk> writes:
On Thursday, 30 June 2022 at 09:59:36 UTC, bauss wrote:
 On Thursday, 30 June 2022 at 08:38:42 UTC, Ahmet Sait wrote:
 On Thursday, 30 June 2022 at 08:15:05 UTC, bauss wrote:
 Is it possible to have it stored as local storage instead of 
 a cookie?
I'm not mainly a web dev but what I could gather from this page https://stackoverflow.com/questions/3220660/local-storage-vs-cookies it is accessible from client side JavaScript and not transmitted to the server by default, which is necessary for server to respond with the correct view mode HTML.
Oh, I thought it was just a value that the page reacted upon. The reason why I think local storage would have been better is because some people might have cookies disabled etc. but local storage is generally always enabled.
Cookies also expires and you may override the expiration put and it might be controlled by organizations etc. Local storage does not expire.
Jun 30
prev sibling parent Andrej Mitrovic <andrej.mitrovich gmail.com> writes:
On Thursday, 30 June 2022 at 07:09:36 UTC, Ahmet Sait wrote:
 Feedback welcome!
Love it! Thank you to everyone involved~
Jun 30