FE-1509: Document the Notebook view and register it with the AI assistant - #9351
FE-1509: Document the Notebook view and register it with the AI assistant#9351kube wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Semgrep found 2 RegExp() called with a View Dataflow Graphflowchart LR
classDef invis fill:white, stroke: none
classDef default fill:#e7f5ff, color:#1c7fd6, stroke: none
subgraph File0["<b>libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts</b>"]
direction LR
%% Source
subgraph Source
direction LR
v0["<a href=https://github.com/hashintel/hash/blob/37624eb2e9bcfe0d83be67cd886a346f2019f70f/libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts#L191 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 191] variableName</a>"]
end
%% Intermediate
subgraph Traces0[Traces]
direction TB
v2["<a href=https://github.com/hashintel/hash/blob/37624eb2e9bcfe0d83be67cd886a346f2019f70f/libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts#L191 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 191] variableName</a>"]
v3["<a href=https://github.com/hashintel/hash/blob/37624eb2e9bcfe0d83be67cd886a346f2019f70f/libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts#L196 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 196] escapeRegExp</a>"]
v4["<a href=https://github.com/hashintel/hash/blob/37624eb2e9bcfe0d83be67cd886a346f2019f70f/libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts#L184 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 184] value</a>"]
v5["<a href=https://github.com/hashintel/hash/blob/37624eb2e9bcfe0d83be67cd886a346f2019f70f/libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts#L196 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 196] `</a>"]
end
v2 --> v3
v3 --> v4
v4 --> v5
%% Sink
subgraph Sink
direction LR
v1["<a href=https://github.com/hashintel/hash/blob/37624eb2e9bcfe0d83be67cd886a346f2019f70f/libs/@hashintel/petrinaut/src/ui/views/Notebook/notebook-model.ts#L196 target=_blank style='text-decoration:none; color:#1c7fd6'>[Line: 196] new RegExp(`\\b${escapeRegExp(variableName)}\\b`, "u")</a>"]
end
end
%% Class Assignment
Source:::invis
Sink:::invis
Traces0:::invis
File0:::invis
%% Connections
Source --> Traces0
Traces0 --> Sink
Semgrep found 1 Ensure that the regex used to compare with user supplied input is safe from regular expression denial of service. |
37624eb to
865d012
Compare
865d012 to
f5c8164
Compare
f5c8164 to
65d6ce8
Compare
65d6ce8 to
e67c788
Compare
0e2a3a6 to
9000c22
Compare
9000c22 to
75587ff
Compare
75587ff to
bf4c951
Compare
bf4c951 to
96688b0
Compare
96688b0 to
bfc27e0
Compare
…tant Adds the notebook-view user guide page, links it from the docs index and the visual settings page, registers it in petrinautDocNames / petrinautDocSummaries and the raw docs content map, and records one patch changeset for the whole stack.
Important
User guide, AI-assistant registration, and the stack's changeset.
Summary
Before this PR, the Notebook view ships undocumented. The in-app AI assistant reads the user guide at runtime through its docs tool, so a missing page means the assistant cannot answer questions about the view at all.
Adds the Notebook View guide page covering cells, in-place editing, keyboard flow, badges, and the graph explorer, links it from the guide index, and registers it with the assistant's docs tool. Carries the stack's one patch changeset.
Links
Changes
notebook-view.mduser guide pageTest coverage
ai.test.ts,petrinaut-docs-content.test.ts:How to test