Skip to content

Conversation

@msquance-stem
Copy link
Contributor

@msquance-stem msquance-stem commented Mar 14, 2025

Status

Review progress:

  • Browser tested
  • Front-end review completed
  • Tech review completed

What's changed?

  • Changed the card to work if there was no title provided (will not show icon if no title given)
  • Limited the size of the icons
  • Fixed a weird class print error in the cms-image component

Steps to perform after deploying to production

If the production environment requires any extra work after this PR has been deployed detail it here. This could be running a Rake task, migrating a DB table, or upgrading a Gem. That kind of thing.

@tc-deploybot tc-deploybot temporarily deployed to teachcomputing-pr-2356 March 14, 2025 15:32 Inactive
We will not show icon unless we have a title
Sorted bad print of [] in image component class
@msquance-stem msquance-stem force-pushed the 2998-strapi-component---resource-card-title-optional branch from d721a3f to d8a97f1 Compare March 18, 2025 11:13
@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2356 March 18, 2025 11:13 Inactive
))
end

it "should add them" do
Copy link
Contributor

Choose a reason for hiding this comment

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

Could this be a bit more descriptive "should add the class" or something similar? Same for line 98

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, they are not very clear, I will update

Copy link
Contributor

@A-Wheeto A-Wheeto left a comment

Choose a reason for hiding this comment

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

One minor comment on image component test, but otherwise LGTM

@msquance-stem msquance-stem temporarily deployed to teachcomputing-pr-2356 March 18, 2025 15:53 Inactive
@sonarqubecloud
Copy link

@msquance-stem msquance-stem merged commit 33ac25f into main Mar 18, 2025
8 checks passed
@msquance-stem msquance-stem deleted the 2998-strapi-component---resource-card-title-optional branch March 18, 2025 16:28
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.

4 participants