client settings

  • 3
  • Idea
  • Updated 2 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 mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 Points 20k badge 2x thumb

Posted 2 years ago

  • 3
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 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,802 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 mB Pat Vachon

mB Pat Vachon, Champion

  • 42,674 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,160 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.