Page MenuHomePhabricator

[lib] Introduce getRelatedMessages to SQLiteAPI
ClosedPublic

Authored by ashoat on Jul 14 2024, 6:14 PM.
Tags
None
Referenced Files
F3524482: D12740.id42371.diff
Mon, Dec 23, 12:41 PM
F3524481: D12740.id42335.diff
Mon, Dec 23, 12:40 PM
F3524480: D12740.id42318.diff
Mon, Dec 23, 12:40 PM
F3524479: D12740.id42312.diff
Mon, Dec 23, 12:40 PM
F3524478: D12740.id42273.diff
Mon, Dec 23, 12:40 PM
F3524429: D12740.id.diff
Mon, Dec 23, 12:40 PM
F3524404: D12740.diff
Mon, Dec 23, 12:39 PM
Unknown Object (File)
Sat, Dec 14, 2:07 PM
Subscribers
None

Details

Summary

This diff introduces a shared interface on SQLiteAPI so the JS code in lib can hit this API on both native and web.

Depends on D12739

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:58 AM
ashoat retitled this revision from [lib] Introduce getLatestMessageEdit to SQLiteAPI to [lib] Introduce getRelatedMessages to SQLiteAPI.Jul 15 2024, 7:03 PM
ashoat edited the test plan for this revision. (Show Details)

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