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)
Sat, Oct 12, 1:05 AM
Unknown Object (File)
Sat, Oct 12, 1:05 AM
Unknown Object (File)
Sat, Oct 12, 1:03 AM
Unknown Object (File)
Fri, Oct 11, 9:16 PM
Unknown Object (File)
Thu, Oct 10, 9:58 AM
Unknown Object (File)
Thu, Oct 3, 7:22 PM
Unknown Object (File)
Wed, Oct 2, 2:56 AM
Unknown Object (File)
Thu, Sep 26, 1:13 AM
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