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.
🌟 What is the purpose of this PR?
Top of the Notebook view stack, stacked on #9408: the user guide page for the new view, its registration with the in-app AI assistant, and the stack's patch changeset.
🔗 Related links
🔍 What does this change?
docs/notebook-view.md(cells, keyboard and search, badges, ordering, the graph explorer, limits) and links it from the docs index and the visual settings page.petrinautDocNames/petrinautDocSummariesand the raw docs content map, so the AI assistant can read it; the existing tests enforce all three stay in sync.@hashintel/petrinautand@hashintel/petrinaut-core, covering the whole stack.Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
🛡 What tests cover this?
ai.test.tsandpetrinaut-docs-content.test.tsfail if the page is missing from the name enum, the summaries, or the content map.❓ How to test this?
libs/@hashintel/petrinaut/docs/notebook-view.mdagainst the running view.