Ricerca dei profili con suggerimenti e foto (#37)
«Aggiungi account» ha una sola casella: mentre Alberto scrive compaiono subito i suggerimenti locali, poi i profili di Instagram con la foto, come chiesto in #37. Il browser di Febe scrive nella casella «Cerca» di Instagram con tasti veri da una mappa chiusa (mai Invio, Tab o Esc), controlla prima il fuoco, legge la risposta della pagina e non clicca mai un risultato. La ricerca ha una categoria propria nel Governatore, con tetti larghi che non consumano quelli della raccolta, e si dà il turno con il motore sull'unica pagina; a fine sessione la pagina torna comunque al riposo. Le foto passano dal CDN con un permesso ciascuna e restano solo in memoria. Le risposte di Alberto del 15 novembre (controllo del fuoco, turni, evento requestWillBeSent, niente foto dei seguiti per ora) sono in §6.1 e in docs/decisioni.md. Su Instagram vero la ricerca parte quando i bersagli search-open e search-box saranno raccolti dal vivo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5e417c666d
commit
9941a2fa1f
98 files changed
+8021
-229
No files matched your search
@@ -29,6 +29,11 @@ public enum HostKind
|
||||
/// <param name="ResourceType">Browser resource type (Document, XHR, Fetch, Image, ...), when known.</param>
|
||||
/// <param name="IsMainFrameDocument">True for the document of the main frame (a page load).</param>
|
||||
/// <param name="At">When the response was seen.</param>
|
||||
/// <param name="RequestOrder">
|
||||
/// Order in which the page started the request among the site's requests (from 1, <c>Network.requestWillBeSent</c>);
|
||||
/// 0 when unknown. The profile search (issue #37) tells answers to texts typed before the last key from the answer to
|
||||
/// the text in the box with it.
|
||||
/// </param>
|
||||
public sealed record ResponseDescriptor(
|
||||
string RequestId,
|
||||
HostKind HostKind,
|
||||
@@ -39,7 +44,8 @@ public sealed record ResponseDescriptor(
|
||||
string MimeType,
|
||||
string? ResourceType,
|
||||
bool IsMainFrameDocument,
|
||||
DateTimeOffset At);
|
||||
DateTimeOffset At,
|
||||
long RequestOrder = 0);
|
||||
|
||||
/// <summary>A main-frame navigation: a new document, or a route change inside a single-page site.</summary>
|
||||
/// <param name="HostKind">Site, CDN or other.</param>
|
||||
@@ -92,6 +98,14 @@ public interface IResponseObserver
|
||||
void OnLoadingFinished(string requestId, long encodedBytes)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The page started a request to the site: <paramref name="order"/> is its <see cref="ResponseDescriptor.RequestOrder"/>.
|
||||
/// Nothing else of the request is passed (no address, no body).
|
||||
/// </summary>
|
||||
void OnRequestStarted(long order)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Why the body of a response did not reach the consumers (closed list: a report may show it).</summary>
|
||||
|
||||
Reference in new issue
Block a user