← Back to Hub ← 返回主页

Week 9: User Interface 第 9 周:用户界面

Learning Objectives 学习目标

  • State user interface design goals for decision support.
  • Explain dialog styles and communication mechanisms.
  • Design custom dashboard layouts based on usability principles.

Step-by-Step Guide 分步指南

6.1 Goals of User Interface

  • Usability: Focuses on how easy and intuitive a system is to navigate for the user.
  • Utility: Focuses on whether the system provides the actual functions required to solve the manager's business problem.
  • Error Prevention: Clear layouts and input validation to stop incorrect data entry before models execute.
  • Cognitive Load Reduction: Limiting dashboard clutter to prevent information fatigue.

Real-world Case: Apple Store Operations

  • Apple designs Store Manager dashboards with extreme usability constraints.
  • KPIs are represented by simple, high-contrast visual status indicators so managers can scan performance in seconds without reading data tables.

Reference: Apple Human Interface Design Guidelines

6.2 Mechanism of User Interface

  • Command Line: Direct text commands (fastest for experts but has a high learning curve).
  • Menu-driven: Selection from structured lists (prevents syntax errors, easy for novices).
  • Form-fill: Guided input text fields (ideal for database entry and parameter constraints).
  • Graphical User Interface (GUI): Uses icons, windows, menus, and drag-and-drop operations (highly interactive).

Real-world Case: Bloomberg L.P.

  • The Bloomberg Terminal combines a Command Line mechanism (using quick code commands like "AAPL GO") with graphical chart UIs to allow financial traders to execute trades instantly.

Reference: Bloomberg Terminal Interface and Operations

6.3 User Interface Components

  • Navigation Elements: Sidebars, dropdown menus, tabs, and navigation hierarchies.
  • Input Components: Parameter sliders, file upload grids, radio selections, and text boxes.
  • Output Visualization: Real-time charts, indicators, progress circles, and layout layouts.
  • Figma Prototyping: Collaborative vector design tool used to draft, wireframe, and test UI dialog paths before code generation.

Real-world Case: Airbnb

  • Airbnb designers test search filter dialog sequences (e.g., date picker -> guest count -> price slider) in Figma mockups.
  • They analyze user click heatmaps to eliminate navigation friction before developers write the front-end components.

Reference: Building a Visual Language at Airbnb

Comparison of Dialog Styles

Dialog Style Ease of Learning Control Level Best Scenarios Disadvantages
Command-Line (CLI) Very Low Extremely High Systems programmers, rapid scripts Steep learning curve, syntax error-prone
Menu-Driven High Moderate Kiosks, structured workflows Slow navigation, nested structures
Graphical (GUI) Very High High Executive dashboards, data analysis Consumes server power, hard to program

Core Usability Goals in DSS UI

  • Minimized Memory Load: Users should not have to remember data across screens.
  • Consistency: Fonts, buttons, colors, and layout grid must follow clear patterns.
  • Actionable Feedback: The system must show loading states and error notifications.

6.1 用户界面的目标

  • 易用性 (Usability): 侧重于系统对用户而言导航的简便性与直观性。
  • 实用性 (Utility): 侧重于系统是否提供了解决管理者业务问题所需的实际功能。
  • 防错机制: 清晰的布局和输入验证,以在模型执行前拦截错误数据。
  • 降低认知负荷: 限制仪表板的杂乱程度,防止信息疲劳。

真实企业案例:苹果零售店运营 (Apple Retail)

  • Apple 设计的门店经理仪表板具有极高的易用性限制。
  • KPI 使用简单的、高对比度的视觉状态指示器,使经理能够在几秒钟内浏览业绩,而无需阅读详细数据表。

参考链接: Apple 人机交互指南

6.2 用户界面的对话机制与交互风格

  • 命令行界面 (Command Line): 直接输入文本命令(对专家最快,但学习曲线高)。
  • 菜单驱动界面 (Menu-driven): 从结构化列表中进行选择(防止语法错误,对新手友好)。
  • 表单填充界面 (Form-fill): 引导式的输入文本框(非常适合数据库录入和参数限制)。
  • 图形用户界面 (GUI): 使用图标、窗口、菜单和拖拽操作(高度互动)。

真实企业案例:彭博社 (Bloomberg Terminal)

  • 彭博终端融合了命令行机制(使用快速代码命令如“AAPL GO”)与图形化走势图表界面,使金融交易员能够瞬间执行交易决策。

参考链接: 彭博终端界面与运营

6.3 用户界面关键组件

  • 导航元素: 侧边栏、下拉菜单、选项卡以及层级导航结构。
  • 输入组件: 参数滑动条、文件上传拖拽网格、单选按钮和输入文本框。
  • 输出可视化: 实时图表、仪表盘指针、进度指示圈和布局排版。
  • Figma 原型开发: 协同式矢量设计工具,用于在代码开发前进行草图勾勒、线框图设计和 UI 对话路径测试。

真实企业案例:爱彼迎 (Airbnb)

  • Airbnb 设计师在 Figma 原型中测试搜索过滤器的对话顺序(如日期选择 -> 房客数量 -> 价格滑块)。
  • 他们在开发人员编写前端组件之前,分析用户点击热图以消除导航阻碍。

参考链接: 在 Airbnb 构建视觉设计语言

人机交互对话风格对比

对话交互风格 易学易用度 控制灵活度 最佳应用场景 主要缺点
命令行界面 (CLI) 非常低 极高 系统程序员、快速批处理脚本 学习曲线陡峭、易犯语法错误
菜单驱动界面 高 中等程度 自主终端、高度结构化的流程 导航相对缓慢、层级嵌套深
图形界面 (GUI) 非常高 高 企业决策仪表板、多维数据分析 消耗较多服务器资源、开发较复杂

DSS 界面核心可用性目标

  • 最小化记忆负荷: 用户无需在不同屏幕间记忆信息。
  • 一致性原则: 字体、按钮、配色和布局网格必须遵循清晰统一的设计规范。
  • 即时且明确的反馈: 系统在执行计算时必须展示加载状态,并在异常时给出明确提示。

Concept Visualization 概念可视化

NavigationInput FormOutput Charts

Educational Infographic 教学信息图

Visual concept map explaining the key module topic: 解释该模块核心主题的视觉概念图:

Command-Line (CLI) Text Commands & Syntax Menu-Driven Select from Options lists GUI Windows, Icons, Charts

📊 Practical Decision Support Suite (Week 9) 📊 实用决策支持套件(第 9 周)

📈 Looker Studio Executive UI Layout Schema

Design user-friendly, high-contrast DSS web interfaces:

Top Bar : Global Region Filter | Date Range Slicer KPI Row : Revenue Scorecard | Profit Margin % | CSAT Average Main Panel : Multi-Region Interactive Geo Map Chart Detail Grid: Drill-Through Transaction Table

Tips 提示

GUI stands for Graphical User Interface. Remember that Figma is used to prototype and test interfaces before any actual code development.
GUI 代表图形用户界面。记住,Figma 用于在实际编码开发之前对界面进行原型设计和测试。

Knowledge Check 知识自测

1. The user interface goal that focuses on preventing user errors is called: 专注于防止用户操作错误的 UI 设计目标被称为:

Show Explanation 显示解析
Correct Answer: Option 3 正确选项:选项 3

2. Which UI mechanism is easiest for novice users to avoid syntax entry errors? 哪种 UI 对话机制最方便新手用户避免语法输入错误?

Show Explanation 显示解析
Correct Answer: Option 2 正确选项:选项 2

3. Figma is primarily used during which stage of DSS development? Figma 主要用于 DSS 开发的哪个阶段?

Show Explanation 显示解析
Correct Answer: Option 2 正确选项:选项 2

Practical Exercise 实践练习

Task 1: Write HTML input tag for a standard text field named 'dssName'. 任务 1: 编写一个名为 'dssName' 的标准文本输入字段的 HTML input 标签。

Task 2: CSS rule syntax to set body text color to deep black (#111111). 任务 2: CSS 规则语法:将 body 文本颜色设置为深黑色 (#111111)。

Task 3: JavaScript statement to display an alert dialog containing 'Success'. 任务 3: JavaScript 语句:显示包含 'Success' 内容的警报对话框。

Revision Guide 复习指南

Revision Checklist:

  • I can list key user interface design goals.
  • I know the pros and cons of CLI, Menu-driven, and GUI dialog styles.
  • I understand the layout requirements for executive-level dashboards.

Key Concepts to Remember:

  • Goals of User Interface:
    • Usability: Focuses on how easy and intuitive a system is to navig...
    • Mechanism of User Interface:
      • Command Line: Direct text commands (fastest for experts but has a...
      • User Interface Components:
        • Navigation Elements: Sidebars, dropdown menus, tabs, and navigati...

Matching Game 配对游戏

Match the term on the left with its definition on the right. 将左侧的术语与右侧的定义进行配对。

Usability
Focuses on providing the actual functions to solve issues专注于提供解决问题的实际功能
Utility
Collaborative interface design and wireframe tool协作式的界面设计和线框图工具
Menu-driven
Focuses on the ease of system navigation and learning专注于系统导航和学习的简易度
Figma
Dialog mechanism relying on selecting items from lists依赖于从列表中选择项目的对话机制