mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Create user types page and rename the category (#12089)
Co-authored-by: Zack Barett <zackbarett@hey.com> Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
a7a347ed05
commit
c0dce08e19
@ -42,10 +42,11 @@ module.exports = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
category: "user-test",
|
category: "user-test",
|
||||||
header: "User Tests",
|
header: "Users",
|
||||||
|
pages: ["user-types", "configuration-menu"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
category: "design.home-assistant.io",
|
category: "design.home-assistant.io",
|
||||||
header: "Design Documentation",
|
header: "About",
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@ -45,6 +45,10 @@ class HaGallery extends LitElement {
|
|||||||
for (const page of group.pages!) {
|
for (const page of group.pages!) {
|
||||||
const key = `${group.category}/${page}`;
|
const key = `${group.category}/${page}`;
|
||||||
const active = this._page === key;
|
const active = this._page === key;
|
||||||
|
if (!(key in PAGES)) {
|
||||||
|
console.error("Undefined page referenced in sidebar.js:", key);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
const title = PAGES[key].metadata.title || page;
|
const title = PAGES[key].metadata.title || page;
|
||||||
links.push(html`
|
links.push(html`
|
||||||
<a ?active=${active} href=${`#${group.category}/${page}`}>${title}</a>
|
<a ?active=${active} href=${`#${group.category}/${page}`}>${title}</a>
|
||||||
|
17
gallery/src/pages/user-test/user-types.markdown
Normal file
17
gallery/src/pages/user-test/user-types.markdown
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
title: "User types"
|
||||||
|
---
|
||||||
|
|
||||||
|
We have defined three user types for Home Assistant. They are a lean segmentation of users that helps us make decisions throughout the product. User types differ from traditional personas in that the segmentation criteria aren’t demographic and don’t personify a group into a single character with a fictitious background story.
|
||||||
|
|
||||||
|
# Outgrowers
|
||||||
|
|
||||||
|
Users that outgrow big tech smart home solutions. It just needs to work with easy setup via an app.
|
||||||
|
|
||||||
|
# Tinkerers
|
||||||
|
|
||||||
|
Technoid users in home networking and development that know how to code.
|
||||||
|
|
||||||
|
# Questioner
|
||||||
|
|
||||||
|
Users who want more advanced home automation, but need support to make it work.
|
Loading…
x
Reference in New Issue
Block a user