Skip to content

Commit

Permalink
Bump patch version number
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Sep 5, 2022
1 parent e615b9c commit 60bb45d
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 103 deletions.
59 changes: 30 additions & 29 deletions custom_components/browser_mod/browser_mod.js

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions custom_components/browser_mod/browser_mod_panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function e(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPro
display: flex;
align-items: center;
}
`}}e([ee()],he.prototype,"hass",void 0),e([te()],he.prototype,"_dashboards",void 0),e([te()],he.prototype,"_editSidebar",void 0),customElements.define("browser-mod-frontend-settings-card",he),(async()=>{var e,t,i,o,s,n,r,a,l,d,h,c,u,p,w;await customElements.whenDefined("partial-panel-resolver");const v=document.createElement("partial-panel-resolver").getRoutes([{component_name:"config",url_path:"a"}]);await(null===(i=null===(t=null===(e=null==v?void 0:v.routes)||void 0===e?void 0:e.a)||void 0===t?void 0:t.load)||void 0===i?void 0:i.call(t)),await customElements.whenDefined("ha-panel-config");const g=document.createElement("ha-panel-config");await(null===(r=null===(n=null===(s=null===(o=null==g?void 0:g.routerOptions)||void 0===o?void 0:o.routes)||void 0===s?void 0:s.dashboard)||void 0===n?void 0:n.load)||void 0===r?void 0:r.call(n)),await(null===(h=null===(d=null===(l=null===(a=null==g?void 0:g.routerOptions)||void 0===a?void 0:a.routes)||void 0===l?void 0:l.cloud)||void 0===d?void 0:d.load)||void 0===h?void 0:h.call(d)),await(null===(w=null===(p=null===(u=null===(c=null==g?void 0:g.routerOptions)||void 0===c?void 0:c.routes)||void 0===u?void 0:u.entities)||void 0===p?void 0:p.load)||void 0===w?void 0:w.call(p)),await customElements.whenDefined("ha-config-dashboard")})().then((()=>{class t extends Z{firstUpdated(){window.addEventListener("browser-mod-config-update",(()=>this.requestUpdate()))}render(){var e;return window.browser_mod?U`
`}}e([ee()],he.prototype,"hass",void 0),e([te()],he.prototype,"_dashboards",void 0),e([te()],he.prototype,"_editSidebar",void 0),customElements.define("browser-mod-frontend-settings-card",he);var ce="2.1.1";(async()=>{var e,t,i,o,s,n,r,a,l,d,h,c,u,p,w;await customElements.whenDefined("partial-panel-resolver");const v=document.createElement("partial-panel-resolver").getRoutes([{component_name:"config",url_path:"a"}]);await(null===(i=null===(t=null===(e=null==v?void 0:v.routes)||void 0===e?void 0:e.a)||void 0===t?void 0:t.load)||void 0===i?void 0:i.call(t)),await customElements.whenDefined("ha-panel-config");const g=document.createElement("ha-panel-config");await(null===(r=null===(n=null===(s=null===(o=null==g?void 0:g.routerOptions)||void 0===o?void 0:o.routes)||void 0===s?void 0:s.dashboard)||void 0===n?void 0:n.load)||void 0===r?void 0:r.call(n)),await(null===(h=null===(d=null===(l=null===(a=null==g?void 0:g.routerOptions)||void 0===a?void 0:a.routes)||void 0===l?void 0:l.cloud)||void 0===d?void 0:d.load)||void 0===h?void 0:h.call(d)),await(null===(w=null===(p=null===(u=null===(c=null==g?void 0:g.routerOptions)||void 0===c?void 0:c.routes)||void 0===u?void 0:u.entities)||void 0===p?void 0:p.load)||void 0===w?void 0:w.call(p)),await customElements.whenDefined("ha-config-dashboard")})().then((()=>{class t extends Z{firstUpdated(){window.addEventListener("browser-mod-config-update",(()=>this.requestUpdate()))}render(){var e;return window.browser_mod?U`
<ha-app-layout>
<app-header slot="header" fixed>
<app-toolbar>
Expand All @@ -371,12 +371,15 @@ function e(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPro
.narrow=${this.narrow}
></ha-menu-button>
<div main-title>Browser Mod Settings</div>
<a
href="https://github.com/thomasloven/hass-browser_mod/blob/master/README.md"
target="_blank"
>
<ha-icon class="icon" .icon=${"mdi:help"}></ha-icon>
</a>
<div>
(${ce})
<a
href="https://github.com/thomasloven/hass-browser_mod/blob/master/README.md"
target="_blank"
>
<ha-icon class="icon" .icon=${"mdi:help-circle"}></ha-icon>
</a>
</div>
</app-toolbar>
</app-header>
Expand Down
2 changes: 1 addition & 1 deletion custom_components/browser_mod/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dependencies": ["panel_custom", "websocket_api", "http", "frontend", "lovelace"],
"codeowners": [],
"requirements": [],
"version": "2.1.0",
"version": "2.1.1",
"iot_class": "local_push",
"config_flow": true
}
17 changes: 11 additions & 6 deletions js/config_panel/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import "./browser-settings-card";
import "./registered-browsers-card";
import "./frontend-settings-card";

import pjson from "../../package.json";

const bmWindow = window as any;

loadConfigDashboard().then(() => {
Expand All @@ -31,12 +33,15 @@ loadConfigDashboard().then(() => {
.narrow=${this.narrow}
></ha-menu-button>
<div main-title>Browser Mod Settings</div>
<a
href="https://github.com/thomasloven/hass-browser_mod/blob/master/README.md"
target="_blank"
>
<ha-icon class="icon" .icon=${"mdi:help-circle"}></ha-icon>
</a>
<div>
(${pjson.version})
<a
href="https://github.com/thomasloven/hass-browser_mod/blob/master/README.md"
target="_blank"
>
<ha-icon class="icon" .icon=${"mdi:help-circle"}></ha-icon>
</a>
</div>
</app-toolbar>
</app-header>
Expand Down
59 changes: 0 additions & 59 deletions js/plugin/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,65 +16,6 @@ import "./popup-card";
import { AutoSettingsMixin } from "./frontend-settings";
import { BrowserIDMixin } from "./browserID";

/*
TODO:
- More pictures for documentation
x Fix nomenclature
x Command -> Service
x Device -> Browser
- Popups
X Basic popups
x Styling
X Timeout
X Fullscreen
x Popup-card
x Auto-close
x Forms that are forwarded to service calls
x Motion/occupancy tracker
x Information about interaction requirement
x Information about fullykiosk
- Commands
x Change targets from the frontend
x Send browser ID to the backend in service calls?
x Rename browser_mod commands to browser_mod services
x Framework
x ll-custom handling
- Commands
x popup
x close_popup
x more-info
x navigate
o lovelace-reload?
o Not needed
x window-reload
o screensaver ?
o Refer to automations instead
x sequence
x delay
x javascript eval
o toast?
o Replaced with popups with timeout
x Redesign services to target devices
x frontend editor for popup cards
o also screensavers
x Saved frontend settings
X Framework
x Save sidebar
x Kiosk mode
x Default dashboard
o Screensaver?
x Favicon templates
x Title templates
- Tweaks
- Quickbar tweaks (ctrl+enter)?
x Card-mod preload
x Video player
x Media_seek
o Screensavers
x IMPORTANT: FIX DEFAULT HIDING OF ENTITIES
o NOFIX. Home Assistant bug
X Check functionality with CAST - may need to add frontend part as a lovelace resource
*/
export class BrowserMod extends ServicesMixin(
PopupMixin(
ActivityMixin(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "browser_mod",
"private": true,
"version": "2.1.0",
"version": "2.1.1",
"description": "",
"scripts": {
"build": "rollup -c",
Expand Down

0 comments on commit 60bb45d

Please sign in to comment.