Page MenuHomePhabricator

[web] introduce light mode to confirm leave thread modal
ClosedPublic

Authored by ginsu on Jan 8 2024, 1:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 3:59 PM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Thu, Oct 31, 9:17 AM
Unknown Object (File)
Oct 16 2024, 7:30 PM
Unknown Object (File)
Sep 26 2024, 2:12 PM
Subscribers

Details

Summary

This diff introduces the new color design system/light mode to the confirm leave thread modal.

For additional context about this new color design system and the new naming convention here is the notion doc:
https://www.notion.so/commapp/New-Color-System-Proposal-ef80b4e4b9ec42949095056161223a42

Linear task: https://linear.app/comm/issue/ENG-5037/confirm-leave-thread-modal

Test Plan

Please see screenshots below

dark:

Screenshot 2024-01-08 at 4.18.39 AM.png (2×3 px, 879 KB)

light:

Screenshot 2024-01-08 at 4.19.06 AM.png (2×3 px, 873 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu published this revision for review.Jan 8 2024, 1:19 AM
ginsu edited the summary of this revision. (Show Details)
ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: atul, inka.

will make sure ci passes before landing

Several things look weird about this modal:

  1. The "Are you sure" line isn't aligned, neither with the icon nor with the header text
  2. The spacing between the "Are you sure" line and the one above seems too light given the spacing elsewhere
  3. It doesn't have a separation between the button area and the text area. I thought Ted's most recent designs for modals introduced this, but I'm not sure if it was meant to apply universally or not

Not sure this diff is meant to address any of this. Feel free to land without addressing, but in that case please link a relevant Linear issue that explicitly mentions all of the above before landing

Changes described in summary look good.

This revision is now accepted and ready to land.Jan 8 2024, 12:35 PM

Several things look weird about this modal:

  1. The "Are you sure" line isn't aligned, neither with the icon nor with the header text
  2. The spacing between the "Are you sure" line and the one above seems too light given the spacing elsewhere
  3. It doesn't have a separation between the button area and the text area. I thought Ted's most recent designs for modals introduced this, but I'm not sure if it was meant to apply universally or not

Not sure this diff is meant to address any of this. Feel free to land without addressing, but in that case please link a relevant Linear issue that explicitly mentions all of the above before landing

When I rebased this diff to get the updates of the new redesigned modals, it seemed like all your pieces of feedback were addressed. To make sure this is true tho, I created this linear task to continue the conversation:
https://linear.app/comm/issue/ENG-6885/clean-up-confirm-leave-thread-modal