Page MenuHomePhabricator

[web] Support setting image avatars for thick threads
ClosedPublic

Authored by bartek on Sep 11 2024, 1:41 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 9:41 PM
Unknown Object (File)
Mon, Nov 25, 8:23 PM
Unknown Object (File)
Mon, Nov 25, 5:40 PM
Unknown Object (File)
Fri, Nov 22, 4:07 PM
Unknown Object (File)
Fri, Nov 22, 4:07 PM
Unknown Object (File)
Tue, Nov 12, 6:32 AM
Unknown Object (File)
Tue, Nov 12, 5:56 AM
Unknown Object (File)
Mon, Nov 11, 11:47 PM
Subscribers

Details

Summary

Updated avatar upload hook on web to make keyserver upload optional. Disabled upload for thick threads. Forced Blob uploads for non-keyserver uploads, regardless of the flag.
This follows chagnes from D13280.

Depends on D13280, D13285

Test Plan
  • Successfully set image avatar for DM thread, with keyserver killed.
  • Keyserver avatars work as before

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Sep 11 2024, 2:08 AM
bartek edited the test plan for this revision. (Show Details)
bartek added a reviewer: tomek.
This revision is now accepted and ready to land.Sep 11 2024, 2:45 AM
web/avatars/avatar-hooks.react.js
21 ↗(On Diff #44028)

Read-only types unless we need them to be writable

Rebase, make type readonly