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

Fix: Update styles for archive campaign modal UI #7618

Merged
merged 6 commits into from
Nov 21, 2024

Conversation

jdghinson
Copy link
Contributor

@jdghinson jdghinson commented Nov 10, 2024

Description

This PR updates the archive campaign modal UI to match the designs in Zeplin. I also added hover states to both the cancel and archive campaign button. Updated our design system to make good use of the neutral colors.

Affects

Affects the archive campaign modal in campaigns.

Visuals

Before
https://www.loom.com/share/53b768c90434437d98e051f201e0043d?sid=33dc9237-5ef4-43e4-9339-fad58f813c99

After
https://www.loom.com/share/293a55f6123b42fdb9a5eb53b1496166?sid=c84b8d6c-94f0-4519-803d-debf2e7bd8ed

Testing Instructions

  1. Open an active campaign
  2. Click on the more button and select archive campaign
  3. Check the updated modal UI

Pre-review Checklist

  • Acceptance criteria satisfied and marked in related issue
  • Relevant @unreleased tags included in DocBlocks
  • Includes unit tests
  • Reviewed by the designer (if follows a design)
  • Self Review of code and UX completed

@jdghinson jdghinson marked this pull request as ready for review November 15, 2024 15:24
@jdghinson jdghinson changed the title Updated archive campaign modal UI Fix: Update styles for archive campaign modal UI Nov 15, 2024
Copy link
Contributor

@JasonTheAdams JasonTheAdams left a comment

Choose a reason for hiding this comment

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

Love the tweaking, @jdghinson! Left a comment for educational and consideration purposes. 😄

@jdghinson jdghinson requested review from jonwaldstein and removed request for pauloiankoski November 15, 2024 17:32
@@ -185,38 +185,48 @@ select[name="campaignId"] {
font-size: 16px;
font-weight: 500;
line-height: 1.5;
padding: var(--givewp-spacing-3);
color: #1f2937;
Copy link
Contributor

Choose a reason for hiding this comment

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

@jdghinson I'm guessing we just don't have a design system color we want to use here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice! 🎉

As a friendly note, @jdghinson, now that you're a dope dev-design unicorn, the convention we use is to include the hash in the follow up comment that is intended to resolve the comment. For example, for this comment you'd say something like:

Resolved in 0fc7b20

😃

Copy link
Contributor

@JasonTheAdams JasonTheAdams left a comment

Choose a reason for hiding this comment

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

Fantastic work, @jdghinson! The UI is even more polished and the code is even better because you worked on it.

chefs kiss

@jdghinson
Copy link
Contributor Author

Thank you!! @JasonTheAdams

Copy link
Member

@rickalday rickalday left a comment

Choose a reason for hiding this comment

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

Passed manual QA tests.

@jdghinson jdghinson merged commit 670498e into epic/campaigns Nov 21, 2024
20 checks passed
@jdghinson jdghinson deleted the refactor/update-archive-modal-ui branch November 21, 2024 14:17
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.

3 participants