VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

Migrated Checkin Button to Material UI

Open ntrehan opened this issue 1 year ago • 2 comments

Fixes #1683

What changes did you make and why did you make them ?

Changed from Default react components to Material UI in CheckinButtons.js

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied

image

Visuals after changes are applied

image

ntrehan avatar Aug 10 '24 03:08 ntrehan

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b ntrehan-1683 development
git pull https://github.com/ntrehan/VRMS.git 1683

github-actions[bot] avatar Aug 10 '24 03:08 github-actions[bot]

@ntrehan & @trillium - looks like the updated MUI buttons used in the above screenshots are no longer viewable to the user (no outline viewable on the button, only button text is viewable which may impact clear usability / understanding that this is an interactive element for the user).

I might recommend using the following MUI component if we want to replicate a similar style to the old button layout: <Button variant="outlined">Outlined</Button>. See more here: https://mui.com/material-ui/react-button/

That said, I'd check with @trillium on this first to get his thoughts :)

JackHaeg avatar Aug 15 '24 19:08 JackHaeg

@trillium Do you think we should change this to an outlined button, like I mentioned in my previous comment before we go ahead and merge?

JackHaeg avatar Feb 14 '25 01:02 JackHaeg

@ntrehan, confirmed with @trillium that we should change the button style to contain borders - please make the updates according to the above comment: https://github.com/hackforla/VRMS/pull/1725#issuecomment-2292034373

JackHaeg avatar Feb 20 '25 21:02 JackHaeg

Hi @JackHaeg , @trillium I have made the required changes as pointed out by jack and have also taken the liberty to add a small margin to avoid clumping of the outlined buttons image Please let me know if this is okay or any further changes are required

ntrehan avatar Mar 03 '25 22:03 ntrehan

@trillium agrees with the changes above. Any team member can review this issue.

JackHaeg avatar Mar 04 '25 03:03 JackHaeg