Page MenuHomePhabricator

[web] Introduce getRelatedMessages to shared worker
ClosedPublic

Authored by ashoat on Jul 14 2024, 6:11 PM.
Tags
None
Referenced Files
F3524470: D12738.id42368.diff
Mon, Dec 23, 12:40 PM
F3524469: D12738.id42333.diff
Mon, Dec 23, 12:40 PM
F3524468: D12738.id42316.diff
Mon, Dec 23, 12:40 PM
F3524467: D12738.id42310.diff
Mon, Dec 23, 12:40 PM
F3524466: D12738.id42271.diff
Mon, Dec 23, 12:40 PM
F3524426: D12738.id.diff
Mon, Dec 23, 12:40 PM
F3524408: D12738.diff
Mon, Dec 23, 12:39 PM
Unknown Object (File)
Sun, Dec 22, 2:59 AM
Subscribers
None

Details

Summary

This diff introduces the code on web to interface with our new getRelatedMessages API exposed via WASM.

Depends on D12737

Test Plan
  1. In combination with later diffs, I tested a patch on both native and web that hit getRelatedMessages with a specific message ID and confirmed that it returned the message
  2. I tested a message ID that did not exist and confirmed I got undefined back

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Jul 15 2024, 2:53 AM
ashoat retitled this revision from [web] Introduce getLatestMessageEdit to shared worker to [web] Introduce getRelatedMessages to shared worker.Jul 15 2024, 7:02 PM
ashoat edited the summary of this revision. (Show Details)
ashoat edited the test plan for this revision. (Show Details)
ashoat retitled this revision from [web] Introduce getRelatedMessages to shared worker to [web] Introduce getRelatedMessages to shared worker.
ashoat edited the test plan for this revision. (Show Details)
ashoat edited the summary of this revision. (Show Details)

Rework into getRelatedMessages, which can be reused for rendering search results