HomePhabricator
Diffusion Comm fc8ff7de1bbc

[web] [refactor] change input buttons to <Button /> component

Tags
None
Referenced Files
F21687: Image 2022-03-14 at 2.10.57 PM.jpg
Mar 15 2022, 11:55 AM
F21696: Image 2022-03-14 at 3.09.55 PM.jpg
Mar 15 2022, 11:55 AM
F21686: Image 2022-03-14 at 2.09.10 PM.jpg
Mar 15 2022, 11:55 AM
F21688: Screen Recording 2022-03-14 at 02.40.19 PM.gif
Mar 15 2022, 11:55 AM
Subscribers
None

Description

[web] [refactor] change input buttons to <Button /> component

Summary:
Replace all input elements that are submit buttons with HTML Button components. Right now all of the styling is still very off. We should use button elements and our button component in general.

before:

Image 2022-03-14 at 2.09.10 PM.jpg (918×1 px, 160 KB)

after:
Image 2022-03-14 at 2.10.57 PM.jpg (740×1 px, 86 KB)

danger:

Image 2022-03-14 at 3.09.55 PM.jpg (704×1 px, 63 KB)

gif:

Screen Recording 2022-03-14 at 02.40.19 PM.gif (377×653 px, 199 KB)

Test Plan: Make sure functionality still works. I tested the button elements and they all seem to be working.

Reviewers: atul, def-au1t, palys-swm

Reviewed By: palys-swm

Subscribers: ashoat, palys-swm, Adrian, karol-bisztyga

Differential Revision: https://phabricator.ashoat.com/D3425

Details

Provenance
benschacAuthored on Mar 14 2022, 11:50 AM
Reviewer
tomek
Differential Revision
D3425: [web] [refactor] change input buttons to <Button /> component
Parents
rCOMMafe6bc7c0d8d: [chore] add recommended extensions for vscode users
Branches
Unknown
Tags
Unknown