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:
Matthias de Baat 2022-03-23 04:51:35 +01:00 committed by GitHub
parent a7a347ed05
commit c0dce08e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 2 deletions

View File

@ -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",
}, },
]; ];

View File

@ -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>

View 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 arent demographic and dont 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.