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

[AAQ-456] Add tests and final cleanups #154

Merged
merged 27 commits into from
Apr 11, 2024

Conversation

lickem22
Copy link
Contributor

@lickem22 lickem22 commented Apr 9, 2024

Reviewer: @suzinyou
Estimate: 1h


Ticket

Fixes: AAQ-456

Description

Goal

The goal of this PR is to update the tests with multilingual support and do the final cleanup/ tests to the frontend to make sure the first changes work seamlessly.

Changes

The following changes have been made on the front end:

  • Fixing the snackmessage not displaying when deleting last content
  • Fixing error when deleting last content
    The following changes have been made to backend:
  • Updating tests
  • Updating validation tests

How has this been tested?

This has been tested by running test and making sure it is working fine. This is the final feature PR. I suggest testing by making sure everything works as it should. If an issue is noticed we can decide whether to fix right away or raise the ticket depending on how critical it is and how easy it is to fix.

Checklist

Fill with x for completed. Delete any lines that are not relevant

  • My code follows the style guidelines of this project
  • I have reviewed my own code to ensure good quality
  • I have tested the functionality of my code to ensure it works as intended
  • I have resolved merge conflicts
  • I have updated the automated tests (if applicable)
  • I have updated the requirements (if applicable)
  • I have updated the README file (if applicable)
  • I have updated affected documentation (if applicable)

@lickem22 lickem22 deployed to validation-mc April 10, 2024 07:34 — with GitHub Actions Active
@lickem22 lickem22 requested a review from suzinyou April 10, 2024 09:50
@@ -28,4 +28,4 @@
"prettier-plugin-organize-imports": "^3.2.4",
"typescript": "^5"
}
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you please fix that again on your side please @suzinyou

@lickem22 lickem22 marked this pull request as ready for review April 10, 2024 12:32
@suzinyou
Copy link
Collaborator

It's weird that unittests GA didn't run!

@suzinyou
Copy link
Collaborator

Oh weird. It ran, but on the merge commit, and it's not getting associated with this PR 🤔
https://github.com/IDinsight/aaq-core/actions/runs/8615477433

Copy link
Collaborator

@suzinyou suzinyou left a comment

Choose a reason for hiding this comment

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

Works as expected! Did the validation script run?

@@ -28,4 +28,4 @@
"prettier-plugin-organize-imports": "^3.2.4",
"typescript": "^5"
}
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
}
}

@@ -314,6 +315,7 @@ const CardsGrid = ({
return apiCalls.deleteContent(content_id, null, token!);
}}
deleteLanguageVersion={handleDeleteLanguageVersion}
setRefreshKey={setRefreshKey}
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It refreshes the content after deleting contents

@lickem22 lickem22 merged commit d9071c0 into feature-multilingual Apr 11, 2024
1 check 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.

2 participants