Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Releases: maykar/custom-header

1.2.2

22 Jan 15:27
Compare
Choose a tag to compare

New Exception Conditions:

  • is_admin : Set to true or false to match admin or not
  • is_owner : Set to true or false to match owner or not
  • tab : Can be a single tab or comma separated list of tabs. Accepts ranges, paths, and titles.
  • template: Accepts a Jinja template that returns true or false.

Also added the ability to use a user's ID number in the user: condition.

New Template Variables:

  • deviceID : This uses card-tools device ID implementation, but doesn't require card-tools.
  • isAdmin : Returns true or false if user is an admin
  • isOwner : Returns true or false if user is the owner
  • userID : User's unique ID number
  • userAgent : Full user agent string
  • viewTitle : Title of the current view
  • viewPath : Path of the current view
  • viewIndex : Index number of the current view
  • url : Full current URL

Fixes:

  • Tabs not hiding while in kiosk mode (fixes swipe-navigation swiping to hidden tabs as well).
  • Respects new app-header theme variables for header text and background.
  • Extra space on bottom of view in kiosk mode causing scrollbar to always be visible.

1.2.1

12 Jan 12:32
Compare
Choose a tag to compare
  • Fix for panel view styling
  • Fix for button text orientation

1.2.0

10 Jan 12:23
Compare
Choose a tag to compare
  • Fix hide/show tabs after ranges
  • Fix edit mode styling

1.1.9

08 Jan 16:13
Compare
Choose a tag to compare
1.1.9 Pre-release
Pre-release

Fix editor after babel introduction

1.1.8

08 Jan 15:09
Compare
Choose a tag to compare
1.1.8 Pre-release
Pre-release

Important note: Editor is not functional in this pre-release.

This one is marked as a pre-release since I've now got babel converting everything (need to "show beta" in HACS to install). I have tested to the best of my ability, but this has the potential to cause some issues. If you're having issues then report the issue and downgrade if necessary.

  • Use Babel to hopefully support some of the less common browsers
  • Fix button text justification
  • Fix for view names containing the letters "to" being detected as a range
  • Fix for boolean reporting in test_template:
  • Fix for notification dot color
  • Fix for cards overlapping in split mode and footer mode

1.1.7

28 Dec 22:14
Compare
Choose a tag to compare
  • Work on default_tab issues

1.1.6

28 Dec 19:42
ccf6b5e
Compare
Choose a tag to compare
  • adds default_tab_on_refresh option
  • adjusts panel view styling
  • fixes animated shadow

1.1.5

24 Dec 15:51
Compare
Choose a tag to compare
  • Removes a console.log test

1.1.4

24 Dec 14:26
Compare
Choose a tag to compare
  • Uses default HA header text as default for header_text
  • Adds shadow to header can be toggled with shadow: true or shadow: false
  • Adds split mode to split header into a header and footer, flip order with footer_mode.
  • Listens for theme changes and updates accordingly

1.1.3

20 Dec 23:01
Compare
Choose a tag to compare
  • Fix hidden tab redirect