Skip to content

Commit 61c4eba

Browse files
committed
docs for entries_delete
1 parent b852c93 commit 61c4eba

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

special-pages/pages/history/app/history.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ Response, note: always return the same query I sent:
9191
"domain": "example.com",
9292
"etldPlusOne": "example.com",
9393
"title": "Example Website",
94-
"url": "https://example.com/page"
94+
"url": "https://example.com/page",
95+
"favicon": {
96+
"src": "...",
97+
"maxAvailableSize": 64
98+
}
9599
}
96100
]
97101
}
@@ -171,13 +175,35 @@ Sent when a right-click is issued on a section title (or when the three-dots but
171175
}
172176
```
173177

178+
**response, to trigger a domain search**
179+
```json
180+
{
181+
"action": "domain-search"
182+
}
183+
```
184+
174185
**response, otherwise**
175186
```json
176187
{
177188
"action": "none"
178189
}
179190
```
180191

192+
### `entries_delete`
193+
{@link "History Messages".EntriesDeleteRequest}
194+
195+
Sent when the delete key is pressed on an item, or a group of items
196+
197+
**Types:**
198+
- Parameters: {@link "History Messages".EntriesDeleteParams}
199+
- Response: {@link "History Messages".EntriesDeleteResponse}
200+
201+
Note: if a single `id` is sent, **no modal/confirmation should be shown** - but you must
202+
still reply with an {@link "History Messages".ActionResponse} when the action was completed.
203+
204+
If multiple `id`s are sent, then present a modal window for confirmation, eventually
205+
responding to the message with {@link "History Messages".ActionResponse}
206+
181207
## Notifications
182208

183209
### `open`

0 commit comments

Comments
 (0)