Page MenuHomePhabricator

[web] fix button in add friends modal not visible on small screens
ClosedPublic

Authored by ginsu on Jan 26 2024, 1:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 6:44 AM
Unknown Object (File)
Apr 9 2024, 12:11 AM
Unknown Object (File)
Apr 9 2024, 12:11 AM
Unknown Object (File)
Apr 9 2024, 12:11 AM
Unknown Object (File)
Apr 9 2024, 12:10 AM
Unknown Object (File)
Apr 9 2024, 12:09 AM
Unknown Object (File)
Mar 31 2024, 11:08 AM
Unknown Object (File)
Mar 5 2024, 10:03 AM
Subscribers

Details

Summary

PLEASE NOTE THAT THIS DIFF AND SUBSEQUENT DIFFS IN THIS STACK WILL NOT BE LANDED UNTIL MORE OF THE REDESIGN IS READY SINCE THIS WILL CAUSE REGRESSIONS IN PROD

The cta button in the add friend/block friend modal were not visible on smaller screens. This is because we were setting a fixed height of that would extend some screens. This diff fixes that bug + some copy that was requested in the linear task.

Linear task: https://linear.app/comm/issue/ENG-6387/buttons-in-add-friends-modal-not-visible-on-small-screens

Depends on D10823

Test Plan

Please see the screenshots below

before:

Screenshot 2024-01-26 at 5.02.03 PM.png (2×3 px, 746 KB)

after:

Screenshot 2024-01-26 at 5.03.49 PM.png (2×3 px, 772 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, inka, ashoat.

Made @ashoat a blocking reviewer since this diff has some copy changes

web/settings/relationship/block-users-modal.react.js
30 ↗(On Diff #36197)

Wasn't mentioned in the linear task, but figured we would also want to change this

ginsu requested review of this revision.Jan 26 2024, 2:18 PM

Thanks for fixing up that copy!

This revision is now accepted and ready to land.Jan 29 2024, 10:07 PM
This revision was landed with ongoing or failed builds.Feb 15 2024, 1:19 AM
This revision was automatically updated to reflect the committed changes.