Page MenuHomePhabricator

[lib] remove `newMemberIDs` from `DMThreadSettingsChanges`
ClosedPublic

Authored by kamil on Aug 28 2024, 7:42 AM.
Tags
None
Referenced Files
F3378657: D13195.diff
Wed, Nov 27, 12:13 PM
Unknown Object (File)
Sun, Nov 24, 12:53 AM
Unknown Object (File)
Sat, Nov 23, 9:40 PM
Unknown Object (File)
Sat, Nov 23, 9:09 PM
Unknown Object (File)
Sun, Nov 17, 3:39 PM
Unknown Object (File)
Wed, Nov 6, 10:19 PM
Unknown Object (File)
Wed, Nov 6, 10:19 PM
Unknown Object (File)
Wed, Nov 6, 10:19 PM
Subscribers

Details

Summary

ENG-8979;

For adding new members there is separate spec, ADD_MEMBERS and ADD_VIEWER_TO_THREAD_MEMBERS.

Depends on D13192

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 28 2024, 7:55 AM
tomek added inline comments.
lib/shared/dm-ops/change-thread-settings-spec.js
60 ↗(On Diff #43751)

This function could now be inlined in addMembersSpec.

154 ↗(On Diff #43751)

This can also be inlined.

lib/types/dm-ops.js
31–32 ↗(On Diff #43751)

This can be deleted.

281–299 ↗(On Diff #43751)

We can inline dmChangeThreadSettingsBaseValidatorShape into dmChangeThreadSettingsOperationValidator.

306–316 ↗(On Diff #43751)

We can delete these.

This revision is now accepted and ready to land.Aug 28 2024, 9:19 AM