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, Nov 21, 3:19 PM
Unknown Object (File)
Mon, Nov 18, 7:03 PM
Unknown Object (File)
Sat, Nov 9, 9:32 PM
Unknown Object (File)
Fri, Nov 8, 8:10 PM
Unknown Object (File)
Oct 26 2024, 11:43 PM
Unknown Object (File)
Oct 26 2024, 11:43 PM
Unknown Object (File)
Oct 26 2024, 11:43 PM
Unknown Object (File)
Oct 26 2024, 11:43 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

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