All Projects → zsarnett → Custom-Grid-View

zsarnett / Custom-Grid-View

Licence: MIT license
Custom Drag and Drop Grid for Home Assistant

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Custom-Grid-View

recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+20.39%)
Mutual labels:  view, drag-and-drop
Uilibrary
平时项目开发中写的自定义Drawable、View和Shape
Stars: ✭ 260 (+152.43%)
Mutual labels:  view, custom-view
SkeletonPlaceholderView
A library for creating dynamic skeleton view
Stars: ✭ 25 (-75.73%)
Mutual labels:  view, custom-view
DraggableTreeView
TreeView with drag and drop (n-th level)
Stars: ✭ 95 (-7.77%)
Mutual labels:  drag-and-drop, custom-view
Iconswitch
🍭 Custom Android Switch widget
Stars: ✭ 874 (+748.54%)
Mutual labels:  view, custom-view
Freepager
ViewPagers library for Android
Stars: ✭ 461 (+347.57%)
Mutual labels:  view, custom-view
auto-fill-edit-text
This custom EditText can suggest and fill text defined before.
Stars: ✭ 26 (-74.76%)
Mutual labels:  view, custom-view
Mkloader
Beautiful and smooth custom loading views
Stars: ✭ 1,377 (+1236.89%)
Mutual labels:  view, custom-view
Creditcardview
💳 CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card.
Stars: ✭ 744 (+622.33%)
Mutual labels:  view, custom-view
Easysignseekbar
本库主要提供一个漂亮而强大的自定义SeekBar,进度变化由提示牌 (sign)展示,具有强大的属性设置,支持设置section(节点)、mark(标记)、track(轨迹)、thumb(拖动块)、progress(进度)、sign(提示框)等功能
Stars: ✭ 629 (+510.68%)
Mutual labels:  view, custom-view
Meter Number Picker
The android library that provides a simple and customizable NumberPicker styled as meter.
Stars: ✭ 96 (-6.8%)
Mutual labels:  view, custom-view
ProgressableImageView
Change your users progress capability with ProgressableImageView
Stars: ✭ 86 (-16.5%)
Mutual labels:  view, custom-view
shtm
No description or website provided.
Stars: ✭ 21 (-79.61%)
Mutual labels:  view
lovelace-fan-xiaomi
Xiaomi Smartmi Fan Lovelace card with CSS fan animation
Stars: ✭ 60 (-41.75%)
Mutual labels:  lovelace
dolphinnext
A graphical user interface for distributed data processing of high throughput genomics
Stars: ✭ 92 (-10.68%)
Mutual labels:  drag-and-drop
ngx-drag-and-drop-lists
Angular drag and drop component for lists
Stars: ✭ 47 (-54.37%)
Mutual labels:  drag-and-drop
LovelyView
🔗A view that combines pictures and texts.(一个组合图片和文本的view).
Stars: ✭ 68 (-33.98%)
Mutual labels:  view
SwiftyWave
Siri Waves View in Swift
Stars: ✭ 66 (-35.92%)
Mutual labels:  view
crab
JavaScript library for building user interfaces with Custom Elements, Shadow DOM and React like API
Stars: ✭ 22 (-78.64%)
Mutual labels:  view
ng2-gridstack
A gridstack component for Angular2+
Stars: ✭ 12 (-88.35%)
Mutual labels:  drag-and-drop

Drag and Drop Grid Custom View (@zsarnett)

A testing ground and usable version of the Drag and Drop Grid that is being developed for Home Assistant Core Frontend.

Consider Subscribing to my YouTube Channel for updates on the Grid View: https://www.youtube.com/c/ZackBarett

Installation

⚠️ The 2020.12 Release is recommended. Extra code for this was added to this release to make Drag and Drop better!

Installation with hacs

  1. Make sure the HACS component is installed and working.

  2. Add https://github.com/zsarnett/Custom-Grid-View as a custom repository

  3. Add the configuration to your ui-lovelace.yaml

    resources:
      - url: /hacsfiles/Custom-Grid-View/grid-view.js
        type: module
  4. Refresh home-assistant.

Manual Installation

  1. Download the grid-view.js file Custom Drag and Drop Grid View

  2. Place the file in your config/www folder

  3. Add a resource to your Lovelace Dashboard

    title: Home
    resources:
      - url: /local/grid-view.js
        type: module

How to use

To change the view to use Drag and Drop Grid, update the Lovelace YAML for that view and add

type: custom:grid-dnd

Example

path: default_view
type: 'custom:grid-dnd'
title: Home
cards: []

⚠️ I recommend copying your view and modifying the copy instead of modifying your existing dashboard

⚠️ Users using YAML mode only will not have a good time :)

Notes

  • This is not the finished version

  • This version is not the best version

  • This view is bound to change and have breaking changes

  • This will add a large amount of YAML to your view. layout: {}

  • This will add a key to every card.

  • Again its not perfect and I will try to update this version as I find better ways.

  • I have built the everything that this code is using. ie. Lit-Grid-Layout

    • This means I have complete control over the changes which is good
    • This also means it may not be the best yet. I am still learning even after 2 years of working with Home Assistant. I will try to perfect the code as you all and myself test this view

** PLEASE BE PATIENT WITH ME ON THIS 😄 **

Add any bugs that you find as issues in this repo.

THANK YOU!

Consider Sponsoring me as this helps me find the time to develop this! Thank you: https://github.com/sponsors/zsarnett

Known Issues:

  • You can not have empty space between cards
  • Sometimes the place holder isn't aligned correctly
  • Some Cards do not support resizing
  • Not Mobile Friendly
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].