Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor review approval modal content edit and close button fix #1206

Merged
merged 3 commits into from
Sep 11, 2024

Conversation

stalgiag
Copy link
Contributor

@stalgiag stalgiag commented Aug 28, 2024

see #1202
see #1203

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted this while renaming because it was just a stub without meaningful customization and we aren't using stories as far as I understand.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That seems fine.

Part of me has felt keeping the storybook setup to be unnecessary. Historically, it hasn't gotten much traffic during development time and that's also reflected currently with only 2 storybook components being defined. Some only being created after the fact, so lacking for prototyping and certainly not much created after component creation so not much done in the way of functionalliy documenting components' usages. I'm all for the concept but not when there isn't any strong support for it -- right now at least.

Another thing is this project's versions are severely outdated and should probably get some updates!

)}
{confirmationModal && confirmationModal}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically unnecessary but I thought it helped convey the possible of a no render for the modal.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, thinking you don't have to make conveying this clear but {!!confirmationModal && confirmationModal} could also display that?

@stalgiag stalgiag changed the title Modify vendor review message Vendor review approval modal content edit and close button fix Aug 28, 2024
@stalgiag stalgiag requested a review from howard-e August 29, 2024 01:20
Copy link
Contributor

@howard-e howard-e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Left a small inline comment on a design thought but nothing blocking here, thanks!

title={
<div className="review-confirmation-title">
<FontAwesomeIcon
icon={faCheck}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking an orange info circle or so could quickly reflect that this is the "non-final" path. I still thought I had incorrectly selected "Approved" instead of "Not Approved" at the end.

Just a thought, what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The green check felt odd to me too but I wasn't confident enough about what sentiment we wanted to convey about 'not approved' reviews. Now that I know it feels odd to you as well, I'll swap it out.

Copy link
Contributor Author

@stalgiag stalgiag Sep 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was challenging. I decided that the exclamation triangle felt most accurate after trying a few others including the info circle. That change is in this commit but I don't feel attached to that decision. That particular "i" just felt off for a modal that didn't have information but instead reflected the outcome of a decision. I felt that the exclamation mark conveyed the need for attention without being too severe since it is orange. Another option is a pause to indicate the process is on hold or waiting further approval.

Here are some screenshots. Do you have a preference?

modal with orange info i in circle modal with orange info i in circle
modal with orange triangle exclamation modal with orange triangle exclamation
modal with info i with no circle modal with info i with no circle

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm also not strongly tied to either (except the 'i' with no background). Moving forward with the triangle seems fine to me! But thanks so much for the thought you put into that

@howard-e howard-e merged commit 733f446 into development Sep 11, 2024
2 checks passed
@howard-e howard-e deleted the vendor-review-message branch September 11, 2024 19:52
howard-e added a commit that referenced this pull request Sep 18, 2024
…024 Release

Includes the following changes:
* #1206, to address #1202 and #1203
* #1209, to address #1204
* #1195, to address #975
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants