0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/cypress/fixtures/api/notebooks/notebooks.json
David Newell 410e10ed3c
feat: notebooks new line suggestions (#16737)
* single insertion suggestion

* Add tab completion function

* preview styling

* implement proper types

* Do not expose TipTap editor externally

* maintain focus after tabbing

* reference child timestamp node

* cleanup all Node type issues

* fix type missing

* add keyboard handler insertion suggestion tests

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-07-26 18:22:53 +01:00

72 lines
2.5 KiB
JSON

{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "018973f9-8df2-0000-5f7a-bf6e5e9b0969",
"short_id": "h11RoiwV",
"title": "Test Notebook",
"content": {
"type": "doc",
"content": [
{
"type": "heading",
"attrs": {
"level": 1
},
"content": [
{
"text": "Test Notebook",
"type": "text"
}
]
},
{
"type": "ph-recording",
"attrs": {
"id": "17c49bdf172ca-08eead1c4310948-455f6c-17eda0-17c49bdf1738b6"
}
},
{
"type": "paragraph",
"content": [
{
"type": "ph-replay-timestamp",
"attrs": {
"playbackTime": 100,
"sessionRecordingId": "17c49bdf172ca-08eead1c4310948-455f6c-17eda0-17c49bdf1738b6"
}
},
{
"text": " ",
"type": "text"
}
]
}
]
},
"version": 10,
"deleted": false,
"created_at": "2023-07-20T15:44:41.970217Z",
"created_by": {
"id": 1,
"uuid": "01894553-12c3-0000-4120-f6e3c5e8c06b",
"distinct_id": "OxCqS42wM8Nl1qnGOZHYYIK7A1wXEoRFFVnvdnHvuJQ",
"first_name": "Employee 427",
"email": "test@posthog.com",
"is_email_verified": null
},
"last_modified_at": "2023-07-20T15:44:41.970101Z",
"last_modified_by": {
"id": 1,
"uuid": "01894553-12c3-0000-4120-f6e3c5e8c06b",
"distinct_id": "OxCqS42wM8Nl1qnGOZHYYIK7A1wXEoRFFVnvdnHvuJQ",
"first_name": "Employee 427",
"email": "test@posthog.com",
"is_email_verified": null
}
}
]
}