Skip to content

Conversation

LianaHarris360
Copy link
Member

Summary

This pull request updates the styling of the metadata category tags to ensure visual consistency and enhance their styling, so that it is easier to more quickly identify when category tags have been successfully updated during bulk editing.

Before:

Before

After:

After

References

Fixes #5042

Reviewer guidance

Ensure that the category tags have the same visual styling as the grade level tags and that there are no regressions when updating the category tags.

Copy link
Member

@MisRob MisRob left a comment

Choose a reason for hiding this comment

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

Hi @LianaHarris360, thank you. Code looks good to me overall.

Before I preview - updated experience looks much better to me from the screenshots, just want to make sure that this is okay with designers? Was there a previous conversation?

>{{ subtitle }}</span>
<span
v-if="node.categories ? Object.keys(node.categories).length > 0 : null"
class="text"
Copy link
Member

Choose a reason for hiding this comment

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

I don't see text class being used from anywhere now, can be removed from <styles>

Copy link
Member Author

Choose a reason for hiding this comment

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

The subtitle above uses the text class as well :)

Copy link
Member

Choose a reason for hiding this comment

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

Ah sorry I've missed that

Copy link
Member

@akolson akolson left a comment

Choose a reason for hiding this comment

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

Code changes look correct to me. I was however unable to run the branch locally although I think this is not related any changes you have made (I'll cross-check with unstable). So merging this pr should be fine after incorporating Misha's feedback. Thanks @LianaHarris360

@MisRob
Copy link
Member

MisRob commented Jun 23, 2025

@akolson

I was however unable to run the branch locally although I think this is not related any changes you have made

It's not related to this PR, thread here. Liana just probably didn't yet run pnpm install so it worked for her :)

@LianaHarris360
Copy link
Member Author

Yes @MisRob, I checked in with the designers in this thread, I should have noted this in the PR description as well!

@MisRob
Copy link
Member

MisRob commented Jun 23, 2025

That's fine @LianaHarris360, I thought there might be some hidden Slack threads :)

@LianaHarris360 LianaHarris360 merged commit 97e78f5 into learningequality:unstable Jun 23, 2025
14 checks passed
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.

Ensure visual consistency of metadata tags
3 participants