kids-first / kf-uikit

🎨 Design System for Kids First
https://kf-uikit.netlify.com
Apache License 2.0
1 stars 1 forks source link

Kids First Identifier Badge #108

Open dankolbman opened 5 years ago

dankolbman commented 5 years ago

Screen Shot

Screen Shot 2019-04-09 at 12 37 10 PM

Quick mockup (needs revision) of a kf_id badge displaying the key properties: 1) Non-dominant typeface and display 2) Color unique to the entity type (pink, study file) 3) Ability to copy to clipboard with copy icon

Design

Because these identifiers are usually only needed when debugging or sharing, they do not need to hold much weight on the page and should not draw attention unless needed. Another aspect of identifiers is that they contain the type of entity for which they refer to. This may be used to differentiate each entity type visually for quick scanning of the types of entities which the ids refer to. Of course, these style differences should be consistent throughout all implementations (eg: orange always refers to patient ids).

Use Cases

Kids First identifiers provide an easy way to reference particular instances within Kids First. Having a way to quickly view and copy the kf_id of an object is important for debugging or communicating data within Kids First.

Variations

Each kf_id's type should be easily identifiable by either a distinct icon or color. For example, the below colors are unique to releases, task services, and tasks:

Screen Shot 2019-04-08 at 4 23 52 PM

Existing Implementations

Release Coordinator

Screen Shot 2019-04-09 at 12 25 30 PM

Data Tracker

Screen Shot 2019-04-09 at 12 29 03 PM
bdolly commented 5 years ago

@dankolbman I like this, however, at the moment we still need to establish color usage standards