Giter Site home page Giter Site logo

smartly's People

Contributors

ealtman-mpc avatar ezeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

loverso-hubitat

smartly's Issues

Ability to remove or resize the dashboard banner

Ability to remove or resize the dashboard banner, I use old smartphones around the house to display dashboards and the banner takes up around 1/6 of the display with no real benefit (see my Lounge DB below)
-mhutchy

smartly-helper inputJSON form field color hints

One more visual cue I was thinking of, while the textfield for pasting the code is ready for input, it should be some other color than grey, grey means disabled for most users. Grey is great for when you should not be pasting content.

allow 'skin' css delimiter

smartly_parse_css() uses explicit preg_split result indexes to determine base and user CSS. In order to allow overlay skins, we need to preg_match through those results with the specific delimiter for that section. recommend foreach through the preg_split result array and distribute based on finding the delimiter string of each section.

tile-editor only saving icon replacements to most recent edit

I think I just found a "bug" where the custom icons are concerned in the Smartly Tile Editor. If I assign different sets of custom icons to the two different motion sensor tiles as seen in the screen shots above, only the most recently changed icons will stick. The other motion sensor icons revert back to blank (so the Hubitat default icons are used.) I tried a number of times and can confirm this behavior regardless of the order of making changes to the tiles. I suspect it may have to do with editing icons for tiles of the same Capability?

-veeceeoh

add ability to force 1 to 1 initial dash update, all 2x1 square tiles

JasonJoel

I don't think so / I think it is the nature of the beast in its current form. It tries to make everything as space efficient as possible, not convert sizing 1-for-1. As such the layout will often be different for tiles it can "shrink" in size.

It would be interesting long term if there were an option to leave all tile sizing as-is and only apply the looks/theme though. That would be handy for those that want the look/feel of the theme, but don't care about/aren't going for max space utilization.

unable to click lower buttons on thermostat tile type

Possible bug - Is it just me or is there 2x1 tile impossible to click anything but the up/down arrows? If I use my finger on my tablets, or my mouse on PC. I cannot make that screen appear on a 2x1 tile.
-Techmedx

icon value is not persistent when re-editing other fields

joehuntley

I did find a bug (unless I'm not using it right). When changing the icon for a particular device, the icon doesn't persist if you go back to the tile editor at a later time.

Example:

I replaced the icon for a specific tile, generate the new JSON
Decide to to change the title. Go back to the same device in the tile editor and change the title only. Generate new JSON.
End result is that it 'forgets' the icon. The icon does show as selected during the second time around but the search text bar does not. If I re-select the icon explicit while changing the title, then it retains the original icon. if i forget, then i have to go back and find the icon I used all over again.

tag-based device input for 'device calibration' generated media queries

create am updatable json containing the pretty name, machine_name, viewport width and column preference to be auto-complete/tag-based searched and added to an input field within smartly, most likely in an 'Advanced' collapsed fieldset to the right of the preview grid. these preferences will be retrieved and saved to 'smartly_data' as a global option, and the media queries will be rebuilt each update based on current settings.

blank line added to top of custom CSS each time updated

BorrisTheCat

noticed something else, not sure if its a bug and it doesn't seem to cause a issue. Each time you save the jason a spaced gets added to the bottom of this above the media line. after a while the space gets big

'start over' functionality broken

"Start Over" bug

I am working today with two dashboards. When I c/p dash one into smartly it works great. Then I click "start over" and c/p dash #18. For some odd reason I am missing everything in the middle of that dash. I click Shift refresh, c/p again and everything is fine.

Before and afters below.

It has happened to me a few times now, and I tried it with FF and Chrome, same result consistently.

not right after "start over"

allow 'force 2 columns wide' calibration for all devices selectively

assets/data/device_cals.json

{ "value": "microsoft_lumia-1520", "text": "Microsoft Lumia 1520" , "width": 432 , "height": 768 , "pwidth": 2 },

Replace the last unused key 'pwidth' with 'allow2col', use boolean value and alter conditional tag input filter to limit by allow2col boolean instead of maximum device width.

index.html:948

var cal_devices_mobile = new Bloodhound({
  datumTokenizer: Bloodhound.tokenizers.obj.whitespace('text'),
  queryTokenizer: Bloodhound.tokenizers.whitespace,
//  prefetch: 'https://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/assets/cities.json',
  prefetch: {
    url: 'assets/data/device_cals.json',
    cache: false,
    filter: function(devices) {
      return $.map(devices, function(device) { 
-        if (device.width < 420) {
+       if (device.allow2col == true) { 
         return device;
        //return { value: 'one', text: 'One', width: 111, height: 222, pwidth: 2 }; });
        }
      });
    }
  }
});

auto-convert tiles to 2x height on first update

on initial update of a stock or otherwise NOT SMARTLY updated dashboard, we should adjust all tiles to be 2x height so that the user sees roughly the same tile placement as before the update. previously every tile would be converted to half-height and they would need to do a bunch of manual work to adjust tiles around eachothert

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.