Page MenuHomePhabricator

[lib] implement changing DM threads settings
ClosedPublic

Authored by kamil on Wed, Aug 28, 5:57 AM.
Tags
None
Referenced Files
F2788862: D13192.id43777.diff
Sat, Sep 21, 7:55 AM
F2788837: D13192.id43749.diff
Sat, Sep 21, 7:43 AM
F2788815: D13192.id43784.diff
Sat, Sep 21, 7:32 AM
F2788072: D13192.diff
Sat, Sep 21, 5:39 AM
Unknown Object (File)
Thu, Sep 19, 4:21 AM
Unknown Object (File)
Thu, Sep 19, 2:38 AM
Unknown Object (File)
Wed, Sep 18, 7:53 PM
Unknown Object (File)
Fri, Sep 13, 3:39 AM
Subscribers

Details

Summary

ENG-8979;

Because we can just return empty ChangeThreadSettingsPayload we were able to update this here, not in each component. This simplified things a lot, implicitly handled loading status, and saved a lot of other work.

To fully support avatars I created ENG-9102.

Test Plan

Test:

  1. Changing thread name
  2. Changing thread description
  3. Changing thread colors
  4. Changing thread avatars (only emojis)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil edited the test plan for this revision. (Show Details)
tomek added inline comments.
web/modals/threads/settings/thread-settings-utils.js
87 ↗(On Diff #43749)

Why do we use null here?

This revision is now accepted and ready to land.Wed, Aug 28, 9:13 AM
web/modals/threads/settings/thread-settings-utils.js
87 ↗(On Diff #43749)

removed