mirror of
				https://github.com/home-assistant/frontend.git
				synced 2025-10-31 14:39:38 +00:00 
			
		
		
		
	Compare commits
	
		
			3 Commits
		
	
	
		
			20230301.0
			...
			Move-Devel
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 728ea265e2 | ||
|   | d859b61365 | ||
|   | 50bf69860f | 
| @@ -8,7 +8,6 @@ import { | |||||||
|   mdiClose, |   mdiClose, | ||||||
|   mdiCog, |   mdiCog, | ||||||
|   mdiFormatListBulletedType, |   mdiFormatListBulletedType, | ||||||
|   mdiHammer, |  | ||||||
|   mdiLightningBolt, |   mdiLightningBolt, | ||||||
|   mdiMenu, |   mdiMenu, | ||||||
|   mdiMenuOpen, |   mdiMenuOpen, | ||||||
| @@ -57,7 +56,7 @@ import "./ha-menu-button"; | |||||||
| import "./ha-svg-icon"; | import "./ha-svg-icon"; | ||||||
| import "./user/ha-user-badge"; | import "./user/ha-user-badge"; | ||||||
|  |  | ||||||
| const SHOW_AFTER_SPACER = ["config", "developer-tools"]; | const SHOW_AFTER_SPACER = ["config"]; | ||||||
|  |  | ||||||
| const SUPPORT_SCROLL_IF_NEEDED = "scrollIntoViewIfNeeded" in document.body; | const SUPPORT_SCROLL_IF_NEEDED = "scrollIntoViewIfNeeded" in document.body; | ||||||
|  |  | ||||||
| @@ -66,14 +65,12 @@ const SORT_VALUE_URL_PATHS = { | |||||||
|   map: 2, |   map: 2, | ||||||
|   logbook: 3, |   logbook: 3, | ||||||
|   history: 4, |   history: 4, | ||||||
|   "developer-tools": 9, |  | ||||||
|   config: 11, |   config: 11, | ||||||
| }; | }; | ||||||
|  |  | ||||||
| const PANEL_ICONS = { | const PANEL_ICONS = { | ||||||
|   calendar: mdiCalendar, |   calendar: mdiCalendar, | ||||||
|   config: mdiCog, |   config: mdiCog, | ||||||
|   "developer-tools": mdiHammer, |  | ||||||
|   energy: mdiLightningBolt, |   energy: mdiLightningBolt, | ||||||
|   history: mdiChartBox, |   history: mdiChartBox, | ||||||
|   logbook: mdiFormatListBulletedType, |   logbook: mdiFormatListBulletedType, | ||||||
| @@ -1033,19 +1030,6 @@ class HaSidebar extends LitElement { | |||||||
|           white-space: nowrap; |           white-space: nowrap; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         .dev-tools { |  | ||||||
|           display: flex; |  | ||||||
|           flex-direction: row; |  | ||||||
|           justify-content: space-between; |  | ||||||
|           padding: 0 8px; |  | ||||||
|           width: 256px; |  | ||||||
|           box-sizing: border-box; |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         .dev-tools a { |  | ||||||
|           color: var(--sidebar-icon-color); |  | ||||||
|         } |  | ||||||
|  |  | ||||||
|         .tooltip { |         .tooltip { | ||||||
|           display: none; |           display: none; | ||||||
|           position: absolute; |           position: absolute; | ||||||
|   | |||||||
| @@ -4,6 +4,7 @@ import { | |||||||
|   mdiCellphoneCog, |   mdiCellphoneCog, | ||||||
|   mdiCog, |   mdiCog, | ||||||
|   mdiDevices, |   mdiDevices, | ||||||
|  |   mdiHammer, | ||||||
|   mdiHomeAssistant, |   mdiHomeAssistant, | ||||||
|   mdiInformation, |   mdiInformation, | ||||||
|   mdiLightningBolt, |   mdiLightningBolt, | ||||||
| @@ -72,7 +73,7 @@ export const configSections: { [name: string]: PageNavigation[] } = { | |||||||
|       path: "/hassio", |       path: "/hassio", | ||||||
|       translationKey: "supervisor", |       translationKey: "supervisor", | ||||||
|       iconPath: mdiHomeAssistant, |       iconPath: mdiHomeAssistant, | ||||||
|       iconColor: "#4084CD", |       iconColor: "#F1C447", | ||||||
|       component: "hassio", |       component: "hassio", | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
| @@ -116,6 +117,12 @@ export const configSections: { [name: string]: PageNavigation[] } = { | |||||||
|       iconColor: "#4A5963", |       iconColor: "#4A5963", | ||||||
|       core: true, |       core: true, | ||||||
|     }, |     }, | ||||||
|  |     { | ||||||
|  |       path: "/developer-tools", | ||||||
|  |       translationKey: "developer_tools", | ||||||
|  |       iconPath: mdiHammer, | ||||||
|  |       iconColor: "#4084CD", | ||||||
|  |     }, | ||||||
|   ], |   ], | ||||||
|   devices: [ |   devices: [ | ||||||
|     { |     { | ||||||
|   | |||||||
| @@ -987,6 +987,10 @@ | |||||||
|           "settings": { |           "settings": { | ||||||
|             "title": "Settings", |             "title": "Settings", | ||||||
|             "description": "Basic settings, server controls, logs and info" |             "description": "Basic settings, server controls, logs and info" | ||||||
|  |           }, | ||||||
|  |           "developer_tools": { | ||||||
|  |             "title": "Developer Tools", | ||||||
|  |             "description": "Tools to help create automations and scripts" | ||||||
|           } |           } | ||||||
|         }, |         }, | ||||||
|         "common": { |         "common": { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user