Page MenuHomePhabricator

[web] Change alert type in UserListItem
AbandonedPublic

Authored by kuba on Nov 9 2022, 5:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:53 PM
Unknown Object (File)
Thu, Mar 28, 9:52 PM
Unknown Object (File)
Thu, Mar 28, 9:52 PM
Unknown Object (File)
Thu, Mar 28, 9:52 PM
Unknown Object (File)
Thu, Mar 28, 9:52 PM
Subscribers

Details

Summary

Raised in D5518, it doesn't make sense for only one of alertText and alertTitle to be defined. This diff changes the type to make sure they are always defined together and updates the usages.

Depends on D5463

Test Plan

Check for flow errors. Check if thread composer works correctly on web and native

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

michal requested review of this revision.Nov 9 2022, 5:56 AM
tomek added inline comments.
lib/types/user-types.js
75–76 ↗(On Diff #18266)

These two should be read only

This revision is now accepted and ready to land.Nov 10 2022, 5:46 AM
kuba added a reviewer: michal.

Another try to fix rebasing