Skip to content

Commit

Permalink
setting new designing structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziithe committed Nov 5, 2024
1 parent c0b4fb4 commit ebe4fa6
Show file tree
Hide file tree
Showing 59 changed files with 75 additions and 402 deletions.
2 changes: 1 addition & 1 deletion content/en/building/reference/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Add icons to the `resources` folder, and include them by name in the `resources.
}
```

{{< see-also page="design/icons" title="Icon Library" >}}
{{< see-also page="design/interface" title="Interface" >}}

The folder and files structure would look like this:

Expand Down
2 changes: 1 addition & 1 deletion content/en/building/tutorials/form-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Create a `resources.json` *file* in your project folder and add key/value pairs
}
```

{{< see-also page="design/icons" title="Icon Library" >}}
{{< see-also page="design/interface" title="Interface" >}}

Add an `icon` key in the `assessment.properties.json` file. Pick the key of the icon you require from the `resources.json` file and add it as the `icon` value.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
title: "Component Library"
linkTitle: "Component Library"
weight: 3
title: "Interface"
linkTitle: "Interface"
weight: 2
description: >
The standard aspects of our core framework for reuse to encourage consistency when building new pages or components
Interface principles serve as guides that shape the design of the CHT and provide support in effective implementation.
---

The purpose of this guide is to document the standard aspects of our core framework and allow designers and developers to focus on solving challenges, rather than reinventing interface elements that are already in use. Changes to the styles in this document should go through product design and be implemented throughout the app before this document is updated.
The purpose of this guide is to document the standard aspects of the core framework and allow designers and developers to focus on solving challenges, rather than reinventing interface elements that are already in use.

## Colors
Color helps users interpret and interact with app content by establishing a hierarchy of information, highlighting actions, indicating states, and conveying meaning.
Expand Down Expand Up @@ -55,6 +55,11 @@ These are the status indication colors of the system. When necessary, use white

For more information on how these colors are applied in the app, see our [color variables file](https://github.com/medic/cht-core/blob/master/webapp/src/css/variables.less).

## Icons

Icons for use in CHT application based on our human centered design principles.

We believe in making our simple but strong visual iconography open and accessible to all. We have assembled and designed these icons for use with the Community Health Toolkit based on our human centered design principles.

## Typography

Expand All @@ -76,42 +81,49 @@ H5 is a smaller body text size that we use sparingly in places where space is ti

{{< codepen PoZObmY >}}

## Buttons
### Buttons
Primary buttons are used for actions, such as “Next” and “Submit”. Secondary buttons are the alternative to the primary action, such as "Previous". Text links are used for less important or less commonly used actions, such as “Cancel”.
{{< codepen WNrZKoz >}}

## Checkboxes
### Checkboxes
Use checkboxes to select multiple items within a form. When necessary, use a descriptive error state.
{{< codepen YzwrRRV >}}

## Radios
### Radios
Use radio buttons to select a single item within a form. When necessary, use a descriptive error state.
{{< codepen RwrLqqZ >}}

## Inputs
### Inputs
Use an input field as a basic text control to enable the user to type a small amount of text. The input size should reflect the amount of text a user is expected to enter. When necessary, use a descriptive error state.
{{< codepen KKVXrYE >}}

## Dropdowns
### Dropdowns
Dropdowns are used within forms that have 7 or more options and as filters within tabs.
{{< codepen xxZXJgK >}}

## Modals
### Modals
Use modals when a user is exiting a flow where information may be lost or for experiences outside the main user flows.
{{< codepen MWKEzbP >}}

## Condition Cards
### Condition Cards
Use these cards in contact summary pages to display an overview of tasks, people, reports, etc
{{< codepen MWKEzyq >}}

## Content Rows
### Content Rows
Content rows are used for tasks, messages, reports and people as an overview of the content name, description, date and/or priority.
{{< codepen zYrEMqX >}}

## Targets
### Targets
Targets include counts and percentages with and without goals.
{{< codepen wvMrxOx >}}

## Action Bars
### Action Bars
Use action bars to prompt new actions or workflows on relative pages.
{{< codepen YzwEqpB >}}


## UI Kit

Use these sample CHT screens and components as needed to test and validate new designs or workflows.

To ensure consistency with other Android apps and user experiences, please refer to and align with Material Design guidelines and standards when designing new components for the CHT.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "CES Surveys"
linkTitle: "CES Surveys"
weight: 4
description: >
Customer Effort Score surveys are used to quantitatively assess the ease of use of your CHT app.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Focus Group Discussions"
linkTitle: "Focus Group Discussions"
weight: 2
description: >
Focus group discussions are a quick and convenient way to collect data from several users simultaneously. Use focus group discussions to gain insight into what users think about a topic or shared experience in a group setting and to learn about opinions, attitudes and preferences.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Technical Working Sessions"
linkTitle: "Technical Working Sessions"
weight: 5
description: >
A Technical Working Session is a collaborative meeting where backend users of the CHT (such as app developers and data scientists) and Medic product managers, software engineers, and UX researchers come together to dive deeper into technical issues and develop potential solutions in real time.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Usability Testing"
linkTitle: "Usability Testing"
weight: 3
description: >
Usability testing is the practice of testing how easy or difficult a design solution is to use by observing how users interact with it.
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "User Interviews"
linkTitle: "User Interviews"
weight: 1
description: >
User interviews serve the purpose of uncovering opportunities for innovation and for illuminating solutions to problems.
---
7 changes: 7 additions & 0 deletions content/en/design/User Experience Research/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "User Experience Research"
linkTitle: "User Experience Research"
weight: 3
description: >
Conducting user experience research ensures that we are building a CHT that solves real user problems by speaking with users directly to understand their perspectives and pain points, and to test and gather feedback on design solutions.
---
4 changes: 2 additions & 2 deletions content/en/design/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Design System"
linkTitle: "Design System"
title: "Designing"
linkTitle: "Designing"
weight: 5
description: >
For developers and designers of digital health applications.
Expand Down
2 changes: 1 addition & 1 deletion content/en/design/best-practices/_index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Configuration Best Practices"
linkTitle: "Best Practices"
weight: 2
weight:
description: >
This document covers the configuration best practices of forms, tasks, targets, and contact profiles when building your own community health app.
---
Expand Down
18 changes: 0 additions & 18 deletions content/en/design/external-resources/_index.md

This file was deleted.

8 changes: 0 additions & 8 deletions content/en/design/guides/_index.md

This file was deleted.

119 changes: 0 additions & 119 deletions content/en/design/guides/designing-interviews.md

This file was deleted.

70 changes: 0 additions & 70 deletions content/en/design/guides/empathy-map.md

This file was deleted.

Binary file removed content/en/design/guides/empathy-map/empathy-map.png
Diff not rendered.
Loading

0 comments on commit ebe4fa6

Please sign in to comment.