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

MC-1556: Ensure ‘Coronavirus’ is not available as a Topic when adding an Item #1222

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

katerinachinnappan
Copy link
Contributor

@katerinachinnappan katerinachinnappan commented Oct 30, 2024

Goal

Upon adding, editing an item, ensure "Coronavirus" is not in the Topics list. For existing items with "Coronavirus" topic, the topic will be displayed as "N/A"

Todos

  • deploy to dev

Reference

Tickets:

@katerinachinnappan katerinachinnappan requested a review from a team as a code owner October 30, 2024 17:09
@@ -94,7 +94,7 @@ describe('helper functions related to topics', () => {

it('returns a full list of topics if requested', () => {
const topics = getGroupedTopicData(data);
expect(topics).to.be.an('array').with.lengthOf(17);
expect(topics).to.be.an('array').with.lengthOf(16);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should I get rid of the 'returns a list of topics without "Coronavirus" if requested' test case as we don't show this topic?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should if this topic is no longer present anywhere in the rest of the codebase now!

nina-py
nina-py previously approved these changes Oct 30, 2024
@katerinachinnappan katerinachinnappan merged commit 1ee961e into main Oct 30, 2024
6 checks passed
@katerinachinnappan katerinachinnappan deleted the katerina/MC-1556-remove-coronavirus-topic branch October 30, 2024 22:02
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