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)
Thu, Oct 31, 8:36 AM
Unknown Object (File)
Thu, Oct 31, 8:36 AM
Unknown Object (File)
Thu, Oct 31, 8:36 AM
Unknown Object (File)
Thu, Oct 31, 8:36 AM
Unknown Object (File)
Thu, Oct 31, 8:36 AM
Unknown Object (File)
Oct 3 2024, 3:33 PM
Unknown Object (File)
Sep 20 2024, 8:19 AM
Unknown Object (File)
Sep 17 2024, 7:43 PM
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.