Giter Site home page Giter Site logo

trulyresponsivepowerapps's Introduction

Truly Responsive

About

Truly Responsive is a framework to build PowerApps that present different UXs, based on the device they are running on. This in contast to "stretchy designs" where UI elements just stretch to fill in avaialble space. Included in the package are a demo app and a resuable component that enables Makers create their own Truly Responsive designs.

Demo App

The has 4 UXs, covering: Phones, Portrait Tablets, Landscape Tablets and Desktops.

All UX elements are real and there's data associated with tables and charts. The data is either embedded or imported from Excel, you can find the spreasheet used in this repo.

Devices sizes are defined in App.SizeBreakpoints, it's therefore possible to adjust the transfomration threshold to your needs.

Get the demo app from this repo: https://github.com/Feincraft/TrulyResponsive/raw/main/TrulyResponsive.msapp How to import PowerApp from .msapp file: https://carldesouza.com/how-to-export-and-import-canvas-apps-msapp-and-zip-formats/

Build your own apps with The Watcher

The Watcher is a resusable PowerApps component that lets Makers define which screens should be shown at which device size.

Makers would still need to accomodate different device sizes in the same category by stretching UX elements. For example: 5" phones and 6" phones are different in size and can have different resolutions, but not so much so that an entirely new UX is needed. Stretching tables and panels is perfectly fine. However, if we start the same app on a 10"-11" tablet, we'll need a different UX to take advantage of the space and just make the app usable.

How it works

The Watcher can work in two modes: Fixed Screen and Adaptive. In Fixed Screen mode we expect our app to run on different screen size but without them changing the app window on the fly. These can be regular phones and tablets. In Adaptive mode, The Watcher will actively monitor the app state and will change the UX when needed. This can be used in foldables (variable geometry phones, tablets, laptops) and desktops.

Select the option right for your app by swithing the Fixed Screen property.

Considerations

  • The Watcher component needs to be present on every screen for Adaptive apps and only on the starting screen of Fixed Screen apps.

  • It's recommended to make the starting screen blank, to avoid flickering on initial UX switching.

  • When building apps with The Watcher, select the Tablet option:

Don't worry the app will run perfectly on any device.

  • The Watcher takes breakpoint values from App.SizeBreakpoints. You can see the value and change the in your app or enable Debug Mode in The Watcher to see current values.

Start building with The Watcher component: https://github.com/Feincraft/TrulyResponsive/raw/main/TheWatcher.msapp

How to import components? You click "Import Components" ๐Ÿ˜‰

trulyresponsivepowerapps's People

Contributors

feincraft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.