Page MenuHomePhabricator

[native] fix change role modal border radius style
ClosedPublic

Authored by ginsu on Feb 8 2024, 11:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 1:06 PM
Unknown Object (File)
Tue, Oct 22, 9:02 AM
Unknown Object (File)
Tue, Oct 22, 8:36 AM
Unknown Object (File)
Tue, Oct 22, 8:36 AM
Unknown Object (File)
Tue, Oct 22, 8:36 AM
Unknown Object (File)
Tue, Oct 22, 8:36 AM
Unknown Object (File)
Sep 10 2024, 11:58 PM
Unknown Object (File)
Sep 6 2024, 10:38 PM
Subscribers

Details

Summary

When a user went into the change role modal in light mode the bottom corners had a border radius that showed a darker background. To fix this I added the cardStyleInterpolator option to the changeRolesScreenOptions so that it is just a full screen modal w/o any border radius. (This is also the same convention we use in the create community full screen modal)

Linear task: https://linear.app/comm/issue/ENG-6354/lower-rounded-corners-in-change-role-screen-on-mobile-need-to-be

Depends on D11002

Test Plan

Please see demo video below

before:

after:

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Feb 8 2024, 11:24 AM
Harbormaster failed remote builds in B26668: Diff 36878!
ginsu edited the summary of this revision. (Show Details)

update

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, inka.
Harbormaster returned this revision to the author for changes because remote builds failed.Feb 8 2024, 12:04 PM
Harbormaster failed remote builds in B26675: Diff 36885!
ginsu requested review of this revision.Feb 8 2024, 12:05 PM

will make sure ci passes before landing

This revision is now accepted and ready to land.Feb 8 2024, 12:27 PM
ginsu edited the test plan for this revision. (Show Details)

rebase with ci fix