@canonical/design-system 0.44.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/apps/component/file_tree.ttl +1 -1
- package/data/apps/component/inline_panel.ttl +17 -0
- package/data/apps/{subcomponent → component}/log.ttl +1 -1
- package/data/apps/component/navigation.ttl +1 -1
- package/data/apps/component/notification.ttl +1 -1
- package/data/apps/component/side_navigation.ttl +50 -6
- package/data/apps/group/notifications.ttl +1 -1
- package/data/apps/layout/application_layout.ttl +1 -1
- package/data/apps/layout/content_layout.ttl +2 -3
- package/data/apps/layout/empty_layout.ttl +1 -1
- package/data/apps/layout/empty_state.ttl +1 -1
- package/data/apps/layout/login_layout.ttl +12 -0
- package/data/apps/layout/side_panel_form_layout.ttl +13 -0
- package/data/apps/pattern/action_bar.ttl +2 -2
- package/data/apps/pattern/code_diff.ttl +1 -1
- package/data/apps/pattern/data_views.ttl +85 -0
- package/data/apps/pattern/datatable.ttl +20 -91
- package/data/apps/pattern/destructive_modal.ttl +1 -1
- package/data/apps/pattern/drawer.ttl +1 -1
- package/data/apps/pattern/notification_center.ttl +2 -2
- package/data/apps/pattern/page_header.ttl +58 -0
- package/data/apps/pattern/side_panel.ttl +258 -10
- package/data/apps/subcomponent/data_table-action_bar.ttl +8 -8
- package/data/apps/subcomponent/data_table-body_cell.ttl +26 -26
- package/data/apps/subcomponent/data_table-group_header_row.ttl +8 -8
- package/data/apps/subcomponent/data_table-header_cell.ttl +13 -13
- package/data/apps/subcomponent/data_table-pagination_bar.ttl +11 -11
- package/data/apps/subcomponent/data_table-persistent_selection.ttl +10 -10
- package/data/apps/subcomponent/data_table-settings_menu.ttl +15 -15
- package/data/apps/subcomponent/data_views-filters.ttl +13 -0
- package/data/apps/subcomponent/data_views-saved_views.ttl +13 -0
- package/data/apps/subcomponent/data_views-sort_panel.ttl +13 -0
- package/data/apps/subcomponent/drawer-content.ttl +1 -1
- package/data/apps/subcomponent/drawer-footer.ttl +1 -1
- package/data/apps/subcomponent/drawer-header.ttl +1 -1
- package/data/apps/subcomponent/side_navigation-content.ttl +13 -0
- package/data/apps/subcomponent/side_navigation-context_switcher.ttl +53 -0
- package/data/apps/subcomponent/side_navigation-item.ttl +80 -0
- package/data/apps/subcomponent/side_navigation-item_group.ttl +13 -0
- package/data/apps/subcomponent/side_panel-content.ttl +2 -2
- package/data/apps/subcomponent/side_panel-footer.ttl +196 -3
- package/data/apps/subcomponent/side_panel-header.ttl +212 -3
- package/data/apps_anbox/component/theme_switcher.ttl +1 -1
- package/data/apps_anbox/pattern/side_menu.ttl +0 -1
- package/data/{tagcategory/lpupstream.ttl → apps_identity.ttl} +2 -2
- package/data/apps_landscape/component/checkbox_group.ttl +24 -24
- package/data/apps_landscape/component/code_editor.ttl +35 -35
- package/data/apps_landscape/component/cron_schedule.ttl +4 -4
- package/data/apps_landscape/component/expandable_radio_group.ttl +47 -47
- package/data/apps_landscape/component/expandable_truncation.ttl +20 -20
- package/data/apps_landscape/component/form_section.ttl +4 -4
- package/data/apps_landscape/component/gpg_key_field.ttl +27 -27
- package/data/apps_landscape/component/grouped_select.ttl +25 -25
- package/data/apps_landscape/component/loading_state.ttl +8 -8
- package/data/apps_landscape/component/managed_file_input.ttl +18 -18
- package/data/apps_landscape/component/multi_select_field.ttl +50 -50
- package/data/apps_landscape/component/password_constraints.ttl +1 -1
- package/data/apps_landscape/component/progress_bar.ttl +20 -20
- package/data/apps_landscape/component/read_only_field.ttl +15 -15
- package/data/apps_landscape/component/search_help_popup.ttl +10 -10
- package/data/apps_landscape/component/search_query_editor.ttl +33 -33
- package/data/apps_landscape/component/tag_multi_select.ttl +9 -9
- package/data/apps_landscape/pattern/content_blocks.ttl +20 -20
- package/data/apps_landscape/pattern/dashboard_page_composition.ttl +37 -37
- package/data/apps_landscape/pattern/delivery_scheduling.ttl +6 -6
- package/data/apps_landscape/pattern/form_field_help.ttl +28 -28
- package/data/apps_landscape/pattern/header_search_controls.ttl +41 -41
- package/data/apps_landscape/pattern/ignorable_notification.ttl +16 -16
- package/data/apps_landscape/pattern/information_grid.ttl +14 -14
- package/data/apps_landscape/pattern/instance_association.ttl +5 -5
- package/data/apps_landscape/pattern/process_flow.ttl +11 -11
- package/data/apps_landscape/pattern/progressively_expandable_table.ttl +32 -32
- package/data/apps_landscape/pattern/recurring_schedule.ttl +3 -3
- package/data/apps_landscape/pattern/responsive_action_group.ttl +12 -12
- package/data/apps_landscape/pattern/responsive_header_actions.ttl +14 -14
- package/data/apps_landscape/pattern/responsive_table_filters.ttl +11 -11
- package/data/apps_landscape/pattern/side_panel_form_actions.ttl +40 -40
- package/data/apps_landscape/pattern/sortable_list.ttl +14 -14
- package/data/apps_landscape/pattern/table_filter.ttl +57 -57
- package/data/apps_landscape/pattern/table_filter_chips.ttl +67 -67
- package/data/apps_landscape/pattern/table_pagination.ttl +63 -63
- package/data/apps_landscape/pattern/typed_confirmation_modal.ttl +22 -22
- package/data/apps_landscape/subcomponent/bold_substring.ttl +4 -4
- package/data/apps_landscape/subcomponent/inline_cell_input.ttl +8 -8
- package/data/apps_landscape/subcomponent/label_with_description.ttl +14 -14
- package/data/apps_landscape/subcomponent/nested_dropdown_item.ttl +8 -8
- package/data/apps_landscape/subcomponent/pluralized_bold_count.ttl +7 -7
- package/data/apps_landscape/subcomponent/select_all_results_prompt.ttl +12 -12
- package/data/apps_launchpad/component/avatar.ttl +2 -2
- package/data/apps_launchpad/component/badge.ttl +2 -2
- package/data/apps_launchpad/component/breadcrumbs.ttl +1 -1
- package/data/apps_launchpad/component/button.ttl +2 -2
- package/data/apps_launchpad/component/checkbox_input.ttl +4 -4
- package/data/apps_launchpad/component/combobox.ttl +2 -2
- package/data/apps_launchpad/component/drawer.ttl +4 -4
- package/data/apps_launchpad/component/modal.ttl +4 -12
- package/data/apps_launchpad/component/radio_input.ttl +5 -5
- package/data/apps_launchpad/component/select_input.ttl +1 -1
- package/data/apps_launchpad/component/switch.ttl +5 -5
- package/data/apps_launchpad/component/text_input.ttl +8 -8
- package/data/apps_launchpad/component/textarea_input.ttl +10 -10
- package/data/apps_launchpad/component/tooltip.ttl +3 -3
- package/data/apps_launchpad/subcomponent/combobox-loading.ttl +2 -2
- package/data/apps_launchpad/subcomponent/combobox-search.ttl +4 -4
- package/data/apps_launchpad/subcomponent/description_list-item.ttl +1 -1
- package/data/apps_launchpad/subcomponent/modal-content.ttl +2 -2
- package/data/apps_lxd/component/back_link.ttl +1 -1
- package/data/apps_lxd/component/code_snippet_with_copy_button.ttl +1 -1
- package/data/apps_lxd/component/doc_link.ttl +2 -2
- package/data/apps_lxd/component/meter.ttl +5 -5
- package/data/apps_lxd/component/output_field.ttl +2 -3
- package/data/apps_lxd/component/rename_header.ttl +15 -15
- package/data/apps_lxd/component/tab_links.ttl +4 -4
- package/data/apps_lxd/subcomponent/copy_to_clipboard.ttl +2 -2
- package/data/apps_lxd/view/network_topology.ttl +3 -4
- package/data/apps_portal/layout/details_view.ttl +0 -1
- package/data/{apps_workplaceengineering → apps_workplace}/component/complex_multi_select.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/component/label-highlight.ttl +5 -6
- package/data/apps_workplace/component/org_chart.ttl +12 -0
- package/data/{apps_workplaceengineering → apps_workplace}/component/rule.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/skip_link.ttl +2 -2
- package/data/{apps_workplaceengineering → apps_workplace}/component/theme_switcher.ttl +3 -3
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/callout_numbers_card.ttl +4 -4
- package/data/{apps_workplaceengineering → apps_workplace}/pattern/confirmation_modal.ttl +2 -2
- package/data/apps_workplace/pattern/org_event_card.ttl +12 -0
- package/data/apps_workplace/subcomponent/multi_select_input.ttl +12 -0
- package/data/{apps_workplaceengineering.ttl → apps_workplace.ttl} +2 -2
- package/data/concept/Accessibility.ttl +9 -0
- package/data/concept/Breakpoints.ttl +9 -0
- package/data/concept/Design-tokens-Overview.ttl +10 -0
- package/data/concept/Filtering-patterns.ttl +10 -0
- package/data/concept/Foundations-Baseline.ttl +0 -1
- package/data/concept/Foundations-Color.ttl +10 -0
- package/data/concept/Foundations-Density--the-form-channel.ttl +0 -1
- package/data/concept/Foundations-Grid--Layout.ttl +2 -3
- package/data/concept/Foundations-Spacing/-Element-vs-container-owned.ttl +0 -1
- package/data/concept/Foundations-Spacing.ttl +0 -1
- package/data/concept/Foundations-Surfaces.ttl +1 -2
- package/data/concept/Foundations-Typography.ttl +1 -2
- package/data/concept/How-to-choose-between-question-mark-and-information-icon.ttl +10 -0
- package/data/concept/How-to-differentiate-types-of-UI-blocks-.ttl +3 -4
- package/data/concept/How-to-indicate-required-fields-in-forms.ttl +1 -2
- package/data/concept/How-to-support-modifiers-in-a-component.ttl +0 -1
- package/data/concept/Intentional-friction.ttl +0 -1
- package/data/concept/Overflow.ttl +10 -0
- package/data/concept/Understanding-the-modifier-contract.ttl +0 -1
- package/data/documentation/layout/content_page_layout.ttl +13 -0
- package/data/documentation/layout/documentation_layout.ttl +2 -1
- package/data/documentation/layout/library_layout.ttl +13 -0
- package/data/documentation/layout/search_page_layout.ttl +13 -0
- package/data/documentation/pattern/library_side_navigation.ttl +4 -4
- package/data/global/component/accordion.ttl +5 -184
- package/data/global/component/announcement.ttl +4 -4
- package/data/global/component/avatar.ttl +1 -1
- package/data/global/component/badge.ttl +7 -9
- package/data/global/component/breadcrumbs.ttl +8 -7
- package/data/global/component/button.ttl +7 -25
- package/data/global/component/button_link.ttl +1 -1
- package/data/global/component/card.ttl +3 -12
- package/data/global/component/checkbox_field.ttl +1 -1
- package/data/global/component/chip.ttl +5 -6
- package/data/global/component/choices_field.ttl +11 -3
- package/data/global/component/code_snippet.ttl +1 -2
- package/data/global/component/color_field.ttl +1 -1
- package/data/global/component/combobox_field.ttl +2 -18
- package/data/global/component/contextual_menu.ttl +4 -6
- package/data/global/component/date_field.ttl +1 -1
- package/data/global/component/date_time_field.ttl +1 -1
- package/data/global/component/drag_and_drop_list.ttl +3 -3
- package/data/global/component/dropdown_button.ttl +2 -3
- package/data/global/component/file_upload_field.ttl +509 -60
- package/data/global/component/heading.ttl +4 -4
- package/data/global/component/hidden_field.ttl +1 -1
- package/data/global/component/icon.ttl +3 -3
- package/data/global/component/icon_button.ttl +35 -0
- package/data/global/component/icon_in_container.ttl +7 -2
- package/data/global/component/inline_code.ttl +1 -1
- package/data/{apps → global}/component/key_value_pair.ttl +3 -3
- package/data/global/component/keyboard_key.ttl +1 -1
- package/data/global/{pattern/navigation.ttl → component/link.ttl} +3 -3
- package/data/global/component/links.ttl +12 -0
- package/data/global/component/markdown_editor_field.ttl +13 -0
- package/data/global/component/mode_switcher.ttl +2 -2
- package/data/global/component/notification_toast.ttl +1 -1
- package/data/global/component/number_field.ttl +1 -1
- package/data/global/component/pagination.ttl +2 -2
- package/data/global/component/password_field.ttl +1 -1
- package/data/global/component/phone_field.ttl +1 -1
- package/data/global/component/popover.ttl +1 -1
- package/data/global/component/query_builder.ttl +12 -0
- package/data/global/component/range_field.ttl +1 -81
- package/data/global/component/rating_field.ttl +1 -1
- package/data/global/component/relative_timestamp.ttl +2 -1
- package/data/global/component/rich_choices_field.ttl +1 -1
- package/data/global/component/rich_text_editor.ttl +12 -0
- package/data/global/component/rich_text_field.ttl +1 -1
- package/data/global/component/search_field.ttl +1 -1
- package/data/global/{subcomponent/markdown_input.ttl → component/segmented_control.ttl} +3 -3
- package/data/global/component/segmented_control_field.ttl +1 -1
- package/data/global/component/select_field.ttl +1 -1
- package/data/global/component/switch_field.ttl +1 -1
- package/data/global/component/table.ttl +4 -4
- package/data/global/component/tabs.ttl +1 -1
- package/data/global/component/tag.ttl +2 -2
- package/data/global/component/text_field.ttl +1 -1
- package/data/global/component/textarea_field.ttl +1 -1
- package/data/global/component/tile.ttl +2 -5
- package/data/global/component/time_field.ttl +1 -1
- package/data/global/component/timestamp.ttl +2 -1
- package/data/global/component/tooltip.ttl +78 -120
- package/data/global/component/{data_tooltip.ttl → tooltip_data.ttl} +31 -23
- package/data/global/component/tooltip_wrapper.ttl +71 -15
- package/data/global/group/buttons.ttl +1 -8
- package/data/global/group/cards.ttl +2 -6
- package/data/global/group/code_snippets.ttl +1 -1
- package/data/{apps → global}/group/key_value_pairs.ttl +3 -3
- package/data/global/group/keyboard_keys.ttl +1 -1
- package/data/global/group/tiles.ttl +1 -1
- package/data/global/modifier/constructive.ttl +1 -1
- package/data/global/modifier/elevated.ttl +1 -1
- package/data/global/modifier/information.ttl +1 -1
- package/data/global/modifier_family/_emphasis.ttl +1 -2
- package/data/global/modifier_family/_other.ttl +1 -2
- package/data/global/modifier_family/surface.ttl +1 -1
- package/data/global/pattern/description_list.ttl +1 -1
- package/data/global/pattern/field.ttl +1 -1
- package/data/global/{component/markdown_field.ttl → pattern/filter.ttl} +3 -3
- package/data/global/pattern/form_login.ttl +1 -1
- package/data/global/pattern/modal.ttl +5 -21
- package/data/global/pattern/stepper.ttl +1 -1
- package/data/global/pattern/table_of_contents.ttl +1 -1
- package/data/global/pattern/timeline.ttl +14 -19
- package/data/global/pattern/top_navigation.ttl +13 -0
- package/data/global/subcomponent/accordion-item.ttl +3 -156
- package/data/global/subcomponent/card-content.ttl +1 -1
- package/data/global/subcomponent/card-footer.ttl +1 -1
- package/data/global/subcomponent/card-header.ttl +1 -1
- package/data/global/subcomponent/card-image.ttl +2 -2
- package/data/global/subcomponent/card-thumbnail.ttl +1 -1
- package/data/global/subcomponent/chart_legend.ttl +1 -1
- package/data/global/subcomponent/chart_legend_item.ttl +1 -1
- package/data/global/subcomponent/checkbox_input.ttl +1 -1
- package/data/global/subcomponent/color_input.ttl +1 -1
- package/data/global/subcomponent/combobox_input.ttl +2 -18
- package/data/global/subcomponent/date_input.ttl +1 -1
- package/data/global/subcomponent/date_time_input.ttl +1 -1
- package/data/global/subcomponent/field-description.ttl +1 -1
- package/data/global/subcomponent/field-label.ttl +1 -1
- package/data/global/subcomponent/file_upload_input.ttl +503 -50
- package/data/global/subcomponent/hidden_input.ttl +1 -1
- package/data/global/subcomponent/markdown_editor_input.ttl +13 -0
- package/data/global/subcomponent/modal-content.ttl +1 -1
- package/data/global/subcomponent/modal-footer.ttl +3 -19
- package/data/global/subcomponent/modal-header.ttl +5 -21
- package/data/global/subcomponent/number_input.ttl +1 -1
- package/data/global/subcomponent/password_input.ttl +1 -1
- package/data/global/subcomponent/phone_input.ttl +1 -1
- package/data/global/subcomponent/radio_input.ttl +1 -1
- package/data/global/subcomponent/range_input.ttl +3 -84
- package/data/global/subcomponent/rating_input.ttl +1 -1
- package/data/global/subcomponent/rich_text_input.ttl +1 -1
- package/data/global/subcomponent/search_input.ttl +3 -4
- package/data/global/subcomponent/segmented_control_input.ttl +1 -1
- package/data/global/subcomponent/select_input.ttl +1 -1
- package/data/global/subcomponent/spinner.ttl +2 -2
- package/data/global/subcomponent/switch_input.ttl +1 -1
- package/data/global/{layout/form_layout.ttl → subcomponent/text_editor_input.ttl} +2 -2
- package/data/global/subcomponent/text_input.ttl +1 -1
- package/data/global/subcomponent/textarea_input.ttl +1 -1
- package/data/global/subcomponent/tile-content.ttl +1 -1
- package/data/global/subcomponent/time_input.ttl +1 -1
- package/data/global/subcomponent/timeline-content.ttl +2 -2
- package/data/global/subcomponent/timeline-event.ttl +5 -5
- package/data/global/subcomponent/timeline-expansion_indicator.ttl +1 -1
- package/data/global/subcomponent/timeline-header.ttl +1 -1
- package/data/global/variant/tooltip_dense.ttl +87 -6
- package/data/global_dataviews/component/filter_button.ttl +487 -0
- package/data/global_dataviews/component/query_bar.ttl +1639 -0
- package/data/global_dataviews/component/query_chip.ttl +605 -0
- package/data/global_dataviews/group/query_chips.ttl +565 -0
- package/data/global_dataviews/modifier/exclusion.ttl +8 -0
- package/data/global_dataviews/modifier/inclusion.ttl +8 -0
- package/data/global_dataviews/modifier/match.ttl +8 -0
- package/data/global_dataviews/modifier/presence.ttl +8 -0
- package/data/global_dataviews/modifier/range.ttl +8 -0
- package/data/global_dataviews/modifier_family/condition.ttl +9 -0
- package/data/global_dataviews/subcomponent/query_chip-entry.ttl +186 -0
- package/data/global_dataviews/subcomponent/query_chip-segment.ttl +241 -0
- package/data/global_dataviews/subcomponent/query_input.ttl +1287 -0
- package/data/{tagcategory/documentation-stage.ttl → global_dataviews.ttl} +2 -2
- package/data/sites/component/store_card.ttl +92 -0
- package/data/sites/pattern/hero.ttl +295 -4
- package/data/{stores.ttl → sites_stores.ttl} +2 -2
- package/data/tag/designin-progress.ttl +9 -0
- package/data/tag/devbatch1.ttl +1 -1
- package/data/tag/devbatch2.ttl +1 -1
- package/data/tag/devbatch3.ttl +1 -1
- package/data/tag/{wpetriageupstream-and-deprecate.ttl → devdone.ttl} +3 -2
- package/data/tag/devin-progress.ttl +9 -0
- package/data/tag/{stylesready.ttl → devin-review.ttl} +3 -3
- package/data/tag/devpre-approved.ttl +9 -0
- package/data/tag/{devreactapproved.ttl → devreactdone.ttl} +3 -3
- package/data/tag/devreactpreapproved.ttl +1 -1
- package/data/tag/{wpeinital-implementation.ttl → devsveltepreapproved.ttl} +3 -3
- package/data/tag/divergent.ttl +1 -1
- package/data/tag/docscomplete.ttl +1 -1
- package/data/tag/global-docs-missing.ttl +1 -1
- package/data/tag/has-no-global-entry.ttl +1 -1
- package/data/tag/implementationcomplete.ttl +9 -0
- package/data/tag/lpto-be-upstreamed.ttl +1 -1
- package/data/tag/lptriageblocked-reqs-design.ttl +1 -1
- package/data/tag/lptriageno-upstream.ttl +1 -1
- package/data/tag/lptriagereimplement-and-deprecate.ttl +1 -1
- package/data/tag/lptriagereimplement-and-keep.ttl +1 -1
- package/data/tag/lptriageupstream-and-deprecate.ttl +1 -1
- package/data/tag/{needsdefinition.ttl → needscoredocumentation.ttl} +3 -3
- package/data/tag/needsdesign.ttl +9 -0
- package/data/tag/{needsdocumentation.ttl → needsfulldocumentation.ttl} +3 -3
- package/data/tag/needsimplementation.ttl +9 -0
- package/data/tag/needstriage.ttl +1 -1
- package/data/tag/specialadoption-docs.ttl +1 -1
- package/data/tag/triagedbacklog.ttl +2 -2
- package/data/tag/triagedrejected.ttl +2 -2
- package/data/tag/upstream-candidate.ttl +1 -1
- package/data/tag/upstream-compliant.ttl +1 -1
- package/data/tag/waiting-for-delta-review.ttl +1 -1
- package/data/tag/workplaceinitial-implementation.ttl +9 -0
- package/data/tag/workplacetriageupstream-and-deprecate.ttl +9 -0
- package/data/tagcategory/design--documentation-status.ttl +6 -0
- package/data/tagcategory/implementationnotes.ttl +6 -0
- package/data/tagcategory/implementationstatus.ttl +6 -0
- package/data/tagcategory/implementationworkflow.ttl +6 -0
- package/definitions/ontology.ttl +8 -2
- package/package.json +6 -6
- package/skills/adoption-a1-styles/SKILL.md +48 -7
- package/skills/adoption-a2-components/SKILL.md +125 -5
- package/skills/anatomy-author/SKILL.md +302 -95
- package/skills/anatomy-author/clarification-guidelines.md +150 -0
- package/skills/anatomy-author/completeness-checklist.md +224 -0
- package/skills/implement-component/SKILL.md +2 -2
- package/skills/map-journeys/SKILL.md +395 -0
- package/skills/map-journeys/journey-graph.example.html +298 -0
- package/skills/model-domains/SKILL.md +502 -0
- package/data/apps_workplaceengineering/pattern/event_timeline.ttl +0 -13
- package/data/apps_workplaceengineering/pattern/group_card.ttl +0 -13
- package/data/apps_workplaceengineering/pattern/travel_provider_card.ttl +0 -14
- package/data/apps_workplaceengineering/subcomponent/multi_select_input.ttl +0 -12
- package/data/concept/Question-mark-vs-information-icon.ttl +0 -11
- package/data/global/modifier/editable.ttl +0 -8
- package/data/global/modifier/focused.ttl +0 -8
- package/data/global/modifier/highlighted.ttl +0 -8
- package/data/global/modifier/loading.ttl +0 -8
- package/data/global/modifier/muted.ttl +0 -8
- package/data/global/modifier/wireframe.ttl +0 -8
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: map-journeys
|
|
3
|
+
description: Map who uses an application, what each of them needs, and in what order, as personas, jobs and journeys; also runs as a guided tutorial on a worked example
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Map Journeys
|
|
7
|
+
|
|
8
|
+
Write down who uses an application, what each of them needs, and in what order. The
|
|
9
|
+
result is three lists: personas, jobs and journeys. They are written before anything is
|
|
10
|
+
designed, and they are what a design is later judged against.
|
|
11
|
+
|
|
12
|
+
**A persona is real people with real interests, said in the organisation's own words
|
|
13
|
+
and recognised by the operator.** Jobs come from a persona's interests, and a journey
|
|
14
|
+
puts a persona's jobs in order. If the personas are wrong, everything after them is
|
|
15
|
+
misaligned.
|
|
16
|
+
|
|
17
|
+
In a fresh session, orient first:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pragma capabilities
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
The design-system graph holds no personas, jobs or journeys. This skill is interview
|
|
24
|
+
work.
|
|
25
|
+
|
|
26
|
+
## Working mode: assistant to a design authority
|
|
27
|
+
|
|
28
|
+
Most of the time this skill runs with an operator: a designer, an engineer or a product
|
|
29
|
+
lead who knows the application and the people around it. They are the authority. You
|
|
30
|
+
are the assistant whose job is to make them successful:
|
|
31
|
+
|
|
32
|
+
- Say which step comes next and why.
|
|
33
|
+
- Do the legwork yourself. Read the application, draft the candidates, write the lists.
|
|
34
|
+
- Bring each decision as a recommendation plus a question, never as a fait accompli.
|
|
35
|
+
Who really uses the application, and what they care about, is in no file.
|
|
36
|
+
|
|
37
|
+
Full autonomy is the exception. Run the whole flow alone only when explicitly asked to.
|
|
38
|
+
Then every persona and every journey's order stays marked as a guess, and the final
|
|
39
|
+
report lists each judgment call.
|
|
40
|
+
|
|
41
|
+
Decision gates — pause at each and resolve it WITH the operator:
|
|
42
|
+
|
|
43
|
+
1. Create or update, whenever the signs leave any doubt.
|
|
44
|
+
2. The output form, and where it is saved.
|
|
45
|
+
3. The personas.
|
|
46
|
+
4. The jobs, and which are deferred.
|
|
47
|
+
5. The journeys.
|
|
48
|
+
|
|
49
|
+
## When to Use
|
|
50
|
+
|
|
51
|
+
- A new application is being planned and nobody has written down who it is for
|
|
52
|
+
- An existing application needs its personas, jobs and journeys made explicit
|
|
53
|
+
- Earlier personas, jobs or journeys need updating after design decisions
|
|
54
|
+
|
|
55
|
+
## When NOT to Use
|
|
56
|
+
|
|
57
|
+
- Choosing domains, paths, views or layouts — use `model-domains`, which starts from
|
|
58
|
+
this skill's lists
|
|
59
|
+
- Specifying a component or a pattern — use `specify-component` or `specify-pattern`
|
|
60
|
+
- Confirming jobs with real users — that is separate research
|
|
61
|
+
|
|
62
|
+
## Opening move: ask, or offer the tutorial
|
|
63
|
+
|
|
64
|
+
Unless the first message already names the work, ask for the starting point as a
|
|
65
|
+
suggestion carrying an example, not as a form to fill in:
|
|
66
|
+
|
|
67
|
+
> To get started, tell me which application this is about and what it is for, in a
|
|
68
|
+
> sentence. Something like "a tracker that shows how far each of our apps has moved to
|
|
69
|
+
> the new design system".
|
|
70
|
+
|
|
71
|
+
If the message already carries the starting point, say what you took it to be, and go.
|
|
72
|
+
|
|
73
|
+
Offer the tutorial in the same breath:
|
|
74
|
+
|
|
75
|
+
> Or if you'd rather see the flow first, I can run it as a tutorial on a worked
|
|
76
|
+
> example: a tracker that measures design-system adoption across four apps.
|
|
77
|
+
|
|
78
|
+
Tutorial mode runs the same steps on the worked example at the end of this skill, with
|
|
79
|
+
the reasoning at each gate spelled out. It publishes and writes nothing unless the
|
|
80
|
+
operator asks to keep what was built.
|
|
81
|
+
|
|
82
|
+
## Read the situation: new or existing, create or update
|
|
83
|
+
|
|
84
|
+
Work out two things from context before step 1, and say what you took them to be in
|
|
85
|
+
one line.
|
|
86
|
+
|
|
87
|
+
- **New or existing application.** Existing when there is application code where you
|
|
88
|
+
are running, or the operator names an application or a repository.
|
|
89
|
+
- **Create or update.** Update when earlier output exists: a file in the repository, or
|
|
90
|
+
a page the operator links. A published page lives outside the repository, so you only
|
|
91
|
+
find one when it is linked.
|
|
92
|
+
|
|
93
|
+
**When in doubt about create or update, ask. Never guess, and never change earlier
|
|
94
|
+
output on a guess.** Doubt is a request that sounds like an update with no earlier
|
|
95
|
+
output found, a request that sounds like a fresh start with earlier output found, or
|
|
96
|
+
more than one earlier output. Ask in one plain line with two options:
|
|
97
|
+
|
|
98
|
+
> I found `journeys.json` in `docs/`. Do I update it, or start a new one?
|
|
99
|
+
|
|
100
|
+
| | Create | Update |
|
|
101
|
+
|---|---|---|
|
|
102
|
+
| **New application** | Interview from scratch. | Change only what the request touches. |
|
|
103
|
+
| **Existing application** | Read the application for candidates, then interview. | Also report where the application and the earlier output have drifted apart. |
|
|
104
|
+
|
|
105
|
+
## Every step is narrated: outcome, path, conclusion
|
|
106
|
+
|
|
107
|
+
Open every step by telling the operator what it is FOR and how you will get there.
|
|
108
|
+
Close it with what it established and what that means for the next step. One sentence
|
|
109
|
+
each is enough. The operator can only steer a step they saw coming.
|
|
110
|
+
|
|
111
|
+
Do:
|
|
112
|
+
|
|
113
|
+
> **Step 3 — personas.** The outcome is a short list of the people this application is
|
|
114
|
+
> for, each one in your own words. I read the application for candidates, then ask you
|
|
115
|
+
> about each one.
|
|
116
|
+
>
|
|
117
|
+
> …
|
|
118
|
+
>
|
|
119
|
+
> So: three personas, and the steward and the project manager are sometimes the same
|
|
120
|
+
> person. They care about different things in each role, which is what step 4 needs.
|
|
121
|
+
|
|
122
|
+
Don't:
|
|
123
|
+
|
|
124
|
+
> Step 3 — Personas
|
|
125
|
+
>
|
|
126
|
+
> Steward, project manager, app owner.
|
|
127
|
+
|
|
128
|
+
## Asked about the skill: methodology and outcomes first
|
|
129
|
+
|
|
130
|
+
Asked what this skill does, give the method and the outcome before the list of steps:
|
|
131
|
+
|
|
132
|
+
> It maps who an application is for. You confirm each persona, in your organisation's
|
|
133
|
+
> own words. Jobs come from what each persona cares about and never name a solution. A
|
|
134
|
+
> journey is one persona's jobs in order. You end holding three lists that any design
|
|
135
|
+
> can be judged against.
|
|
136
|
+
|
|
137
|
+
## The output
|
|
138
|
+
|
|
139
|
+
The operator picks one of three forms. The content is the same in all of them.
|
|
140
|
+
|
|
141
|
+
- **A page with its data (recommended).** Two files: `journeys.json` holds the lists,
|
|
142
|
+
and `journeys.html` draws them as a graph and as tables. `model-domains` reads and
|
|
143
|
+
extends the same JSON.
|
|
144
|
+
- **A decision record.** Context, alternatives, decision, in the convention of the
|
|
145
|
+
repository that holds it. The graph is a Mermaid flowchart.
|
|
146
|
+
- **A markdown plan.** One table per list, and the graph as Mermaid.
|
|
147
|
+
|
|
148
|
+
**The lists are written once.** Every table and the graph are drawn from them. A link
|
|
149
|
+
that is stored twice drifts.
|
|
150
|
+
|
|
151
|
+
```json
|
|
152
|
+
{
|
|
153
|
+
"name": "the application's name",
|
|
154
|
+
"goal": "one sentence",
|
|
155
|
+
"personas": [{ "id": "", "name": "", "description": "", "interests": [""],
|
|
156
|
+
"guess": true }],
|
|
157
|
+
"jobs": [{ "id": "J1", "name": "", "personas": [""], "story": "",
|
|
158
|
+
"outside": ["a command, a file or another tool"], "deferred": true }],
|
|
159
|
+
"journeys": [{ "persona": "", "question": "", "jobs": ["J1"], "guess": true }]
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
`outside`, `deferred` and `guess` appear only where they apply. `guess` marks a persona
|
|
164
|
+
the operator has not confirmed, or a journey whose order they have not confirmed. The
|
|
165
|
+
page shows it as a tag.
|
|
166
|
+
|
|
167
|
+
**The graph** has personas on the left, journeys in the middle and jobs on the right.
|
|
168
|
+
A journey's jobs are numbered in order. Overlap is shown, not hidden: a job shared by
|
|
169
|
+
two journeys is one box with a numbered link from each, and dots on every job show all
|
|
170
|
+
the personas that hold it. Jobs a persona holds outside its journeys hang off a dashed
|
|
171
|
+
"off the journey" box. A deferred job is dashed.
|
|
172
|
+
|
|
173
|
+
`journey-graph.example.html` is a complete example on the worked example's data. It
|
|
174
|
+
sits in this skill's folder, which is the `sourcePath` that
|
|
175
|
+
`pragma skill lookup map-journeys --format json` reports. Start the page from it. Its
|
|
176
|
+
title, heading and everything else are drawn from the data.
|
|
177
|
+
|
|
178
|
+
The page reads `journeys.json` from its own folder, or the same JSON placed in its data
|
|
179
|
+
block. Use the block when the page must stand alone: published as a single page, or
|
|
180
|
+
opened from disk, where a browser will not read a second file. The JSON file stays the
|
|
181
|
+
source: copy it into the block whole, and never edit the block by hand.
|
|
182
|
+
|
|
183
|
+
Where the output is committed, that repository's rules and the `git` standards apply
|
|
184
|
+
(`pragma standard categories` lists the current set).
|
|
185
|
+
|
|
186
|
+
## The six steps
|
|
187
|
+
|
|
188
|
+
### 1. Output form
|
|
189
|
+
|
|
190
|
+
On an update, keep the form already in use. On a create, the operator picks the form
|
|
191
|
+
and names where it is saved. Do not assume a folder.
|
|
192
|
+
|
|
193
|
+
Outcome gate: **one form, and one named place.**
|
|
194
|
+
|
|
195
|
+
### 2. Goal
|
|
196
|
+
|
|
197
|
+
Ask what the application is for, in one sentence. For an existing application, read
|
|
198
|
+
its README and landing page, propose the sentence, and let the operator correct it. A
|
|
199
|
+
job that does not serve the goal is deferred, not designed.
|
|
200
|
+
|
|
201
|
+
Outcome gate: **one sentence the operator agrees with.**
|
|
202
|
+
|
|
203
|
+
### 3. Personas
|
|
204
|
+
|
|
205
|
+
This is the centre of the skill. Take the time it needs.
|
|
206
|
+
|
|
207
|
+
- **A persona is a hat, not a person.** It names a way of using the application. One
|
|
208
|
+
person can wear several hats, and several roles can share one. Never split or merge
|
|
209
|
+
personas to make roles tidy.
|
|
210
|
+
- **It is a sentence or two in the organisation's own words.** It says who usually
|
|
211
|
+
wears the hat. It need not be a job title, but it points at real people: "design
|
|
212
|
+
system steward" is not a position, and it maps to the managers who work on the design
|
|
213
|
+
system. Record a loose answer as given ("usually the managers, sometimes an
|
|
214
|
+
engineer"). Never push it into a formal definition.
|
|
215
|
+
- **Its interests are what the persona cares about while wearing the hat.** The same
|
|
216
|
+
person cares about different things when reporting progress than when fixing their
|
|
217
|
+
own application.
|
|
218
|
+
- **It is nothing else.** No skill levels, no permissions. A persona never becomes a
|
|
219
|
+
domain, a menu or an access rule.
|
|
220
|
+
|
|
221
|
+
**New application.** Ask who will use it and what each of them cares about.
|
|
222
|
+
|
|
223
|
+
**Existing application.** Read first, and bring candidates with their evidence, each
|
|
224
|
+
marked as a guess:
|
|
225
|
+
|
|
226
|
+
- permission roles in the code,
|
|
227
|
+
- navigation and pages, for who each area seems to be for,
|
|
228
|
+
- the README and the documentation, for who the product says it is for.
|
|
229
|
+
|
|
230
|
+
The code cannot say who these people are or what they care about. A permission role
|
|
231
|
+
says what someone may do. People who never log in, such as someone who only reads a
|
|
232
|
+
report, are not in the code at all. So always go on to the interview.
|
|
233
|
+
|
|
234
|
+
**The interview.** One candidate at a time:
|
|
235
|
+
|
|
236
|
+
1. Who usually wears this hat here?
|
|
237
|
+
2. What do they care about when they do?
|
|
238
|
+
3. Does the name sound like how you would say it?
|
|
239
|
+
4. Who is missing?
|
|
240
|
+
|
|
241
|
+
Outcome gate: **the operator recognises each persona and would say it that way.** You
|
|
242
|
+
never confirm a persona yourself. In an unattended run every persona stays marked as a
|
|
243
|
+
guess.
|
|
244
|
+
|
|
245
|
+
### 4. Jobs
|
|
246
|
+
|
|
247
|
+
A job is one thing a persona needs, written as a four-part story:
|
|
248
|
+
|
|
249
|
+
> When [situation], I want [capability], so I can [outcome], without [what I do today].
|
|
250
|
+
|
|
251
|
+
It has an id (`J1`, `J2`, …) that is never reused or renumbered, a short name written
|
|
252
|
+
as an instruction, and one or more personas.
|
|
253
|
+
|
|
254
|
+
**Jobs are shared.** When two personas need the same thing, it is one job with two
|
|
255
|
+
personas. Never copy or split a job to give each persona its own. List a persona on a
|
|
256
|
+
job when the job serves one of its interests; a job everyone passes through, such as
|
|
257
|
+
signing in, lists those who care how it goes.
|
|
258
|
+
|
|
259
|
+
**Jobs stay put while the solution moves.** A story never names a page, a screen or a
|
|
260
|
+
feature. That is why the same jobs can judge several designs. For an existing
|
|
261
|
+
application, do not read jobs off its pages. Ask what each persona is trying to get
|
|
262
|
+
done.
|
|
263
|
+
|
|
264
|
+
Do:
|
|
265
|
+
|
|
266
|
+
> When I pick up adoption work, I want the usages in one folder with file and line, so
|
|
267
|
+
> I can fix them in one pull request, without searching the codebase.
|
|
268
|
+
|
|
269
|
+
Don't:
|
|
270
|
+
|
|
271
|
+
> When I open the findings tab, I want to filter the evidence list by slice.
|
|
272
|
+
|
|
273
|
+
**Every job serves an interest of its persona.** Say which one when you present the
|
|
274
|
+
job. "Spot stalled apps" serves the project manager's interest in seeing stalls early.
|
|
275
|
+
An interest with no job is a gap to raise.
|
|
276
|
+
|
|
277
|
+
Mark two things where they apply:
|
|
278
|
+
|
|
279
|
+
- **Deferred.** A need that is real but not for now is written in full and marked. It
|
|
280
|
+
stays visible and gets no view.
|
|
281
|
+
- **Outside the application.** A job done anywhere else, with a command, a file or
|
|
282
|
+
another tool, names that place as people call it, and gets no view.
|
|
283
|
+
|
|
284
|
+
Jobs are drafts until real users confirm them. Say so in the output.
|
|
285
|
+
|
|
286
|
+
Outcome gate: **every story names no solution and serves an interest; deferred jobs and
|
|
287
|
+
jobs done outside the application are marked.**
|
|
288
|
+
|
|
289
|
+
### 5. Journeys
|
|
290
|
+
|
|
291
|
+
A journey is one persona's jobs, in the order they do them, under one question: "What
|
|
292
|
+
do I fix next in my app?"
|
|
293
|
+
|
|
294
|
+
- The order is what people really do. Never rearrange it to flatter a design.
|
|
295
|
+
- One journey per persona is the default. A persona with two questions gets two.
|
|
296
|
+
- A job can be on several journeys, at its own place in each. Journeys overlap wherever
|
|
297
|
+
the work does. Never keep them apart artificially.
|
|
298
|
+
- A journey names no views. `model-domains` adds those.
|
|
299
|
+
|
|
300
|
+
List every job that is on no journey and ask whether that is meant. Some jobs are
|
|
301
|
+
occasional. Others reveal a second question.
|
|
302
|
+
|
|
303
|
+
Outcome gate: **each persona has a question and its jobs in order, and the operator has
|
|
304
|
+
ruled on every job that is on no journey.**
|
|
305
|
+
|
|
306
|
+
### 6. Check and hand on
|
|
307
|
+
|
|
308
|
+
Read every outcome gate again against the finished lists. Each must still hold. A job
|
|
309
|
+
on a persona's journey is one of that persona's jobs: where the job does not list the
|
|
310
|
+
persona yet, add it. Then write the output.
|
|
311
|
+
|
|
312
|
+
`model-domains` takes it from there. It lays out several domain designs, walks every
|
|
313
|
+
journey through each one job by job, and scores what each move costs the persona. It
|
|
314
|
+
adds the views to the same output and may hand back a job it found missing.
|
|
315
|
+
|
|
316
|
+
Outcome gate: **the gates hold and the output is written.**
|
|
317
|
+
|
|
318
|
+
## Running as an update
|
|
319
|
+
|
|
320
|
+
An update runs the same steps on the earlier output and touches only what changed.
|
|
321
|
+
|
|
322
|
+
- Nothing is removed silently. A job that no longer applies now is marked deferred.
|
|
323
|
+
- A story is reworded only when it names a solution that was dropped.
|
|
324
|
+
- A changed or new row is marked, with the date of the round.
|
|
325
|
+
- Personas rarely change, because design decisions change what is shown, not who uses
|
|
326
|
+
the application. Revisit them when a new group of people appears.
|
|
327
|
+
- A journey that stays costly in every design `model-domains` scores may hold two
|
|
328
|
+
questions, or its persona may be two hats. Raise it. Force nothing.
|
|
329
|
+
|
|
330
|
+
Update after each round of design decisions, when a new domain appears, and when a view
|
|
331
|
+
is cut, merged or reshaped.
|
|
332
|
+
|
|
333
|
+
**Say what else may now be out of date.** Other work was built on these lists. Before
|
|
334
|
+
you finish an update, tell the operator briefly what changed and what it may touch.
|
|
335
|
+
Name the things; do not update them yourself.
|
|
336
|
+
|
|
337
|
+
> Two jobs changed and the app owner's journey has a new order. The domain model was
|
|
338
|
+
> built on the earlier lists: three views serve those jobs, and the scores no longer
|
|
339
|
+
> match. Run `model-domains` as an update next.
|
|
340
|
+
|
|
341
|
+
Look for the domain model first: the views in the same output. Then anything the
|
|
342
|
+
operator has mentioned that rests on the jobs, such as wireframes or built pages.
|
|
343
|
+
|
|
344
|
+
## Response format
|
|
345
|
+
|
|
346
|
+
```markdown
|
|
347
|
+
Situation: <new | existing> application, <create | update>
|
|
348
|
+
Output: <form> at <place>
|
|
349
|
+
|
|
350
|
+
- [ ] 1. Output form: …
|
|
351
|
+
- [ ] 2. Goal: "<one sentence>"
|
|
352
|
+
- [ ] 3. Personas: <n>, each recognised by the operator (or: marked as guesses)
|
|
353
|
+
- [ ] 4. Jobs: <n> drafts, <n> deferred, <n> done outside the application
|
|
354
|
+
- [ ] 5. Journeys: <n>; jobs on no journey: …
|
|
355
|
+
- [ ] 6. Gates re-read: hold (or: what failed)
|
|
356
|
+
|
|
357
|
+
On an update, what else may need updating: … (for instance the domain model)
|
|
358
|
+
Judgment calls made without the operator: …
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
## Worked example: the adoption tracker
|
|
362
|
+
|
|
363
|
+
An application that shows how far four apps have moved to a new design system. Its
|
|
364
|
+
goal, three personas, fifteen jobs and three journeys are the data block of
|
|
365
|
+
`journey-graph.example.html`. Read them there for the tutorial.
|
|
366
|
+
|
|
367
|
+
What the tutorial should bring out:
|
|
368
|
+
|
|
369
|
+
- **Step 3.** The steward and the project manager can be the same person. They stay two
|
|
370
|
+
personas because their interests differ.
|
|
371
|
+
- **Step 4.** Two needs were real but not for now. They are written in full and
|
|
372
|
+
deferred.
|
|
373
|
+
- **Step 5.** Two jobs sit on two journeys each, at a different place in each. Four of
|
|
374
|
+
the steward's jobs are on no journey: two are deferred, one is occasional, and one
|
|
375
|
+
may be a second question.
|
|
376
|
+
- **Scope with no job.** In the real project, work was planned that no job asked for.
|
|
377
|
+
It was found only in a later audit. Run the gates early.
|
|
378
|
+
|
|
379
|
+
## Related skills
|
|
380
|
+
|
|
381
|
+
- `model-domains` — what comes next: domains, paths, views and layouts, judged against
|
|
382
|
+
these journeys
|
|
383
|
+
- `specify-component` and `specify-pattern` — for a component or pattern gap that the
|
|
384
|
+
later design work uncovers
|
|
385
|
+
|
|
386
|
+
## Support
|
|
387
|
+
|
|
388
|
+
If this skill leads somewhere broken — a command that errors, guidance that
|
|
389
|
+
contradicts what the live system answers, a gap the flow cannot cover — you are not
|
|
390
|
+
stuck:
|
|
391
|
+
|
|
392
|
+
- Raise an issue in the pragma-core repo: https://github.com/canonical/pragma-core/issues —
|
|
393
|
+
include the skill name, what was run, and expected vs. actual outcome.
|
|
394
|
+
- Or contact the design-system team owners directly through your organization's
|
|
395
|
+
professional messaging channels for assistance.
|