Holarch
课程章节

培训 · 课程 1. 入门 · 第 1.6 章,共 8 章

1.6 查找内容 2:37

搜索、筛选、保存视图、使用 Command K 跳转,以及查看条目的历史记录。

演示 Holarch 1.27。

您将学到

  • 在输入时按名称、编号或描述搜索数据库
  • 使用 + 筛选 按类和属性值筛选
  • 将查询保存为与项目共享的视图
  • 使用 ⌘K / Ctrl+K 打开条目和页面并运行命令
  • 查看条目的更改历史记录

在 Bike-Share Dock 模型中查找任何内容:在输入时搜索数据库,按类和属性筛选,查找没有关系的条目,为整个项目保存视图,使用 Command K 跳转到条目、页面和操作,并查看条目的历史记录。

项目文件

  • 起始项目 (.holarch.json;管理项目 → 项目文件 ▾ → 导入项目 (.json)…)
  • 完成项目 (.holarch.json;管理项目 → 项目文件 ▾ → 导入项目 (.json)…)

视频从 holarch.app 播放;参见隐私政策。

练习

在 Holarch 中基于 CubeSat EO-1 演示项目亲自完成此操作。

  1. 打开您的 EO-1 演示项目(或创建它:管理项目 → 项目文件 ▾ → 新建演示项目 → CubeSat(引导式系统工程))。
  2. 在 数据库 的搜索框中输入 downlink,查看结果来自哪些类。清除搜索。
  3. 单击 + 筛选,选择类 Requirement,然后在 需求属性 下选择 Status、= 是、In Review,并单击 添加筛选条件。
  4. 在 视图 窗格中单击 保存视图…,将其命名为 Awaiting decision,勾选 与项目共享,然后单击 保存。
  5. 按 ⌘K / Ctrl+K 并输入 TC-09 打开 Safe Mode Entry Test;再次按 ⌘K / Ctrl+K,输入 rvtm 并打开 RVTM 页面;然后输入 new test,不创建任何内容直接按 Esc。
  6. 在 条目视图 中打开 3.1 Orbit Average Power,单击 历史记录…。查看哪些字段发生了更改以及更改人。

当 Awaiting decision 带共享标记出现在“视图”窗格中,且只列出 In Review 状态的需求时,即完成练习。

自测

  1. 一位同事每周都会询问哪些需求仍在评审中。向其提供该列表的最快方法是什么?
  2. “无关系”筛选会找到什么?为什么它有用?
  3. 未勾选“与项目共享”而保存的视图,谁能看到?
显示答案
  1. 一位同事每周都会询问哪些需求仍在评审中。向其提供该列表的最快方法是什么?

    将查询保存为视图并勾选“与项目共享”。项目中的每个人都会在“视图”窗格中看到它,并且它始终反映当前模型。

  2. “无关系”筛选会找到什么?为什么它有用?

    完全没有关联的条目,例如没有任何内容追溯到的需要,或没有任何内容满足的需求。它们是模型中的遗漏之处。

  3. 未勾选“与项目共享”而保存的视图,谁能看到?

    只有您自己,且仅限于此浏览器。它保存在浏览器中,并在您于该浏览器中打开的每个项目中提供。

延伸阅读

文字稿

显示文字稿 (旁白和屏幕内容)

Introduction

Chapter six: finding things. A model grows quickly, and a few tools let you find any item in seconds.

We use the Bike-Share Dock project as it stands after the last chapter.

Search and filter

Open the Database, and type in the search box. The table filters as you type, and the search covers names, numbers and descriptions. Searching for bike finds every item that mentions bikes.

On screen: Database → search: bike.

Click Clear. To narrow by kind, click Filter and choose a class, here Requirement. Each filter shows as a chip next to the search.

On screen: Clear → + Filter → Class: Requirement.

With a class chosen, the menu also lists that class's attributes. Choose Status, then is Draft, and click Add Filter. These are the requirements nobody has reviewed yet: all of them, so far.

On screen: Requirement attributes → Status = Draft → Add Filter.

Loose ends and saved views

Click Clear again. Then click Filter, and choose No relationships. It lists items that have no relationships at all: statements no requirement traces to yet, and requirements nothing satisfies. These are the loose ends to work on next.

On screen: Clear → + Filter → No relationships.

A query you will use again can be saved as a view. Click Save View, and name it Loose ends. Tick Share with project, so everyone on the project gets it in the Views pane.

On screen: Save View… → Loose ends → Share with project → Save.

Command K

Command K is the fastest way to anything. Press it, or click Search in the top bar, and type pay. Items are found by name or number.

On screen: Search → pay.

Press Enter, and Take Payment opens in the Entity View.

On screen: Enter → Take Payment.

Command K also finds pages. Type trace, and choose the Traceability Matrix page.

On screen: Search → trace → Traceability Matrix.

And it runs actions. Type new req, and New Requirement is offered. Press Escape to close it without creating anything.

On screen: Search → new req → Escape.

History

Every item keeps its history. Open Rental Kiosk with Command K, and click History. Each change is listed with who made it and when, including the rename from Kiosk in chapter four.

On screen: Search → Rental Kiosk → Enter → History…

Recap

Close the history. Let's recap: you searched as you typed, filtered by class and attribute, found loose ends, saved a view for the project, used Command K for items, pages and actions, and read an item's history.

On screen: Close → Recap card.

Next, you share the project with others and decide what each person may do.