client settings

  • 3
  • Idea
  • Updated 3 years ago
Now that the composer is for both desktop and mobile, it would be beneficial to have the ability to use the knowledge of knowing what OS is pulling down the page. ie. if mobile, then use set max records to 10 vs 100. That kind of thing.
Photo of Pat Vachon

Pat Vachon, Champion

  • 45,026 Points 20k badge 2x thumb

Posted 3 years ago

  • 3
Photo of Matt Sones

Matt Sones, Champion

  • 32,248 Points 20k badge 2x thumb
On a related note, will `!!skuid.mobile` still work in brooklyn as a javascript check for whether the page is built in the mobile builder?
Photo of mB Roman Melnik

mB Roman Melnik

  • 2,822 Points 2k badge 2x thumb
Pat, I'm pretty we could integrate mobile detection into a Skuid Page using something like mobile-detect.js . Also, https://github.com/serbanghita/Mobile-Detect
(Edited)
Photo of Pat Vachon

Pat Vachon, Champion

  • 45,026 Points 20k badge 2x thumb
*sure*

Yes, but preferably it's something they have in their js already and can therefore leverage without us having to add additional js for download. Really want to push for page performance. So adding additional would counter the goal of this idea to a certain extent. ;)
Photo of Don Souza

Don Souza, Employee

  • 1,180 Points 1k badge 2x thumb
I'll pass device detection to the  product team. @ Roman: Your approach should work. Let me know how it goes. Thanks.