Page MenuHomePhabricator

[lib] implement changing DM threads settings
ClosedPublic

Authored by kamil on Wed, Aug 28, 5:57 AM.
Tags
None
Referenced Files
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
Unknown Object (File)
Thu, Sep 12, 10:33 AM
Unknown Object (File)
Wed, Sep 11, 11:12 PM
Unknown Object (File)
Wed, Sep 11, 11:02 PM
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
No Lint Coverage
Unit
No Test Coverage

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