Page MenuHomePhabricator

[web] make FullScreenViewModal completly generic
ClosedPublic

Authored by ginsu on Oct 15 2023, 9:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jun 30, 12:38 AM
Unknown Object (File)
Sat, Jun 29, 7:05 PM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:37 AM
Unknown Object (File)
Sat, Jun 29, 4:35 AM
Unknown Object (File)
Sat, Jun 29, 1:47 AM
Subscribers

Details

Summary

This is a simple rename diff to make FullScreenViewModal completely generic

This is step 3 in the list below
Outlined below are the steps I will take in this stack (each point here will be it's own diff):

  1. Introduce FullScreenViewModal file and move everything from the ImageModal file into here, and change what is absolutely necessary (the imports)
  2. Lift the rendering of mediaModalItem out of FullScreenViewModal
  3. Finish renaming + updating remaining variables/callbacks to make FullScreenViewModal completly generic
  4. Introduce UserProfileAvatarModal

Part of this linear task: https://linear.app/comm/issue/ENG-5201/factor-out-viewing-image-multimedia-messages-specific-code-from

Depends on D9496

Test Plan

Confirmed that there were no regressions with viewing a multimedia message in a full screen view

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu requested review of this revision.Oct 15 2023, 9:43 PM

Didn't read carefully, trusting that it's a simple find/replace diff

This revision is now accepted and ready to land.Oct 16 2023, 5:06 PM