Page MenuHomePhabricator

[landing] change request access back to subscribe for updates
ClosedPublic

Authored by ginsu on Aug 10 2023, 3:04 PM.
Tags
None
Referenced Files
F3529398: D8782.id29885.diff
Tue, Dec 24, 6:23 PM
F3529395: D8782.id29842.diff
Tue, Dec 24, 6:21 PM
F3529289: D8782.id29894.diff
Tue, Dec 24, 5:40 PM
F3529288: D8782.id29825.diff
Tue, Dec 24, 5:39 PM
F3527505: D8782.diff
Tue, Dec 24, 5:26 AM
Unknown Object (File)
Sat, Dec 14, 7:13 AM
Unknown Object (File)
Nov 23 2024, 1:59 PM
Unknown Object (File)
Nov 23 2024, 1:59 PM
Subscribers

Details

Summary
Test Plan

Please see screenshots:

Default states:

Screenshot 2023-08-10 at 6.05.28 PM.png (2×3 px, 844 KB)

Screenshot 2023-08-10 at 6.06.56 PM.png (1×3 px, 1 MB)

Success state:

Screenshot 2023-08-10 at 6.05.46 PM.png (2×3 px, 849 KB)

Error state:

Screenshot 2023-08-10 at 6.06.32 PM.png (1×3 px, 670 KB)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

landing/request-access.css
18

Increased width here to accommodate for the increase in the width of the text content going from "Request access" => "Subscribe for updates"

landing/subscription-form.react.js
70

https://linear.app/comm/issue/ENG-4620#comment-f031c572

@ashoat and I talk about making the text read "Subscribe for updates"

83

https://linear.app/comm/issue/ENG-4620#comment-fcc1b8af

@ashoat and I talk about removing the feedback text

ginsu requested review of this revision.Aug 10 2023, 3:24 PM
landing/subscription-form.react.js
83–85

Why didn't you remove feedbackText / feedbackTextStyle here?

landing/subscription-form.react.js
83–85

ahh I just missed that thanks for catching this

landing/request-access.css
18 ↗(On Diff #29842)

Increased width here to accommodate for the increase in the width of the text content going from "Request access" => "Subscribe for updates"

landing/subscription-form.react.js
70 ↗(On Diff #29842)

https://linear.app/comm/issue/ENG-4620#comment-f031c572

@ashoat and I talk about making the text read "Subscribe for updates"

83 ↗(On Diff #29842)

https://linear.app/comm/issue/ENG-4620#comment-fcc1b8af

@ashoat and I talk about removing this feedback text

landing/subscription-form.react.js
74 ↗(On Diff #29842)

Why is this still here? What is it for?

landing/subscription-form.react.js
74 ↗(On Diff #29842)

This is for the error case:

Screenshot 2023-08-10 at 6.06.32 PM.png (1×3 px, 670 KB)

Can also remove this too, was just under the impression that we only wanted to remove the text for the success case. Here is the figma design for reference:

Screenshot 2023-08-11 at 3.40.50 PM.png (2×3 px, 2 MB)

landing/subscription-form.react.js
74 ↗(On Diff #29842)

Can you rename the variable and remove the code for determining the color? Imagine this was built from scratch just to support the error case… what would it look like?

landing/request-access.css
18 ↗(On Diff #29845)

Increased width here to accommodate for the increase in the width of the text content going from "Request access" => "Subscribe for updates"

landing/subscription-form.react.js
90–97 ↗(On Diff #29845)

I thought it was cleaner to create this additional if block instead of trying to fit this in to the if block above

This revision is now accepted and ready to land.Aug 15 2023, 6:24 AM
This revision was landed with ongoing or failed builds.Aug 15 2023, 7:30 AM
This revision was automatically updated to reflect the committed changes.