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 add icon being accidentally tiny #4975

Merged
merged 2 commits into from
Jun 11, 2024
Merged

fix add icon being accidentally tiny #4975

merged 2 commits into from
Jun 11, 2024

Conversation

jpople
Copy link
Contributor

@jpople jpople commented Jun 11, 2024

Description Of Changes

Fixes add icon on some buttons mistakenly being wrong size.

Changes icon on:

ScrollableList component used in privacy experience/notice forms:

Before:

Screenshot 2024-06-11 at 11 25 42

After:

Screenshot 2024-06-11 at 11 13 53

Data uses tab in system information form (both empty state and when data uses are present):

Before:

Screenshot 2024-06-11 at 11 26 51

After:

Screenshot 2024-06-11 at 11 27 12

Code Changes

  • AddIcon component changed to SmallAddIcon in applicable locations
  • Unused CustomFieldsModal and CustomFieldButton components removed

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Issue Requirements are Met
  • Update CHANGELOG.md

Copy link

vercel bot commented Jun 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
fides-plus-nightly ⬜️ Ignored (Inspect) Visit Preview Jun 11, 2024 3:32pm

Copy link
Contributor

@eastandwestwind eastandwestwind 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 so far! In addition to my question below, I'm wondering about these additional use cases:

  • CreateCustomLists.tsx
  • CustomFieldForm.tsx

export * from "./CustomFieldsList";
export * from "./CustomFieldsModal";
Copy link
Contributor

Choose a reason for hiding this comment

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

Were these just dangling unused components?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, they were exported here but neither was imported anywhere. ¯\_(ツ)_/¯

Copy link

cypress bot commented Jun 11, 2024

Passing run #8247 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge 3b19a97 into 2c2f28d...
Project: fides Commit: 1d6a86623b ℹ️
Status: Passed Duration: 00:34 💡
Started: Jun 11, 2024 3:44 PM Ended: Jun 11, 2024 3:44 PM

Review all test suite changes for PR #4975 ↗︎

@jpople
Copy link
Contributor Author

jpople commented Jun 11, 2024

@eastandwestwind CreateCustomLists and CustomFieldForm are not using the tiny incorrect AddIcon but rather a locally defined icon also called AddIcon that is a reasonable size. It's in ~/features/common/custom-fields/icons/AddIcon.tsx, you can see it on the "add a list value" button here:

Screenshot 2024-06-11 at 11 45 30

Copy link
Contributor

@eastandwestwind eastandwestwind left a comment

Choose a reason for hiding this comment

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

Thanks for clarifying, looks good to me.

@jpople jpople merged commit 8530b3f into main Jun 11, 2024
13 checks passed
@jpople jpople deleted the jpople/add-icons-fix branch June 11, 2024 15:49
Copy link

cypress bot commented Jun 11, 2024

Passing run #8249 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Fix incorrect add icon sizing (#4975)
Project: fides Commit: 8530b3f1d5
Status: Passed Duration: 00:35 💡
Started: Jun 11, 2024 4:00 PM Ended: Jun 11, 2024 4:01 PM

Review all test suite changes for PR #4975 ↗︎

jpople added a commit that referenced this pull request Jun 11, 2024
@cypress cypress bot mentioned this pull request Jun 11, 2024
31 tasks
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